eqhes
Forum Replies Created
-
Hi Alberto,
To solve this, you should go to the CFT options page and check this on the “Global Settings” box:
“In case that you would like to deploy the box in each template.: Deploy the box in each template”Regards,
I’m getting the same issue using WordPress 3.2.1.
Forum: Plugins
In reply to: [Comment Extra Fields] [Plugin: Comment Extra Fields] Breaks admin areaHi,
I have not tested the plugin in WP 3.3, just on 3.2.1, but I found a bug that may affect you.
The problem: some javascript is output out of context, so we can find it above the RSS feed or the theme HTML output breaking them -they don’t validate-, for example.
The solution: put the javascript in context. How?
- Look into the plugins folder and open there the comment-extra-fields.php
- Between the lines 58 and 64 you will find the next code:
if(!isset($_POST['action'])) : ?> <script type="text/javascript"> var plugin_url = "<?php echo CEF_FULL_PLUGIN_PATH;?>"; </script> <?php endif;
You should replace that with this:
if(!isset($_POST['action'])) : wp_enqueue_script('comment-extra-fields-js-php-scripts', CEF_FULL_PLUGIN_PATH . 'js/scripts.php?cef_full_plugin_path='.urlencode(CEF_FULL_PLUGIN_PATH)); endif;
- Now, create a file in the “js” folder that is in the plugins one. This file should be named “scripts.php” and contain this code:
<?php $cef_full_plugin_path = urldecode($_GET['cef_full_plugin_path']); ?> var plugin_url = "<?php echo $cef_full_plugin_path;?>";
All done! It seems that everything is working fine now ??
@b_dark check this page (Addon vs Parked Domains, cPanel Docs), you will get the answer ??
Hi Veraxus,
I have edited the latest version of your plugin (1.5.4) to be WPML compatible. Check changes here: https://pastebin.com/yt5Rx71p (look for “//edit” to find the lines I have changed).
Merry Christmas! ??
Great! Thank you ;).
Hi,
I’m running Search Everything 6.6 and after a lot of research I ended up replacing this line:
$where = str_replace( ")))", ")$searchQuery))", $where );
By this other:
$where = str_replace( ")) ", ")$searchQuery) ", $where );
And now it’s working well :).
The solution of @proximity2008 didn’t work for me, maybe by anything related to some plugin’s code update in the last months…
I solved the gallery shortcode problem doing what’s explained in this post.
Forum: Fixing WordPress
In reply to: “An error has occurred; the feed is probably down. Try again later.”I had got the same problem when I updated to WordPress MU 1.3.3.
I have solved that issue updating the wp-includes/rss.php with the last version of MagpieRSS. Then, on wp-includes/widgets.php on line 967 I have changed this code:
$title = "<a class='rsswidget' href='$url' title='" . attribute_escape(__('Syndicate this content')) ."'><img style='background:orange;color:white;border:none;' width='14' height='14' src='$icon' alt='RSS' /></a> <a class='rsswidget' href='$link' title='$desc'>$title</a>";
With this other:
$title = utf8_encode("<a class='rsswidget' href='$url' title='" . attribute_escape(__('Syndicate this content')) ."'><img style='background:orange;color:white;border:none;' width='14' height='14' src='$icon' alt='RSS' /></a> <a class='rsswidget' href='$link' title='$desc'>$title</a>");
This the wp-includes/rss.php code:
[Moderated: Too much code. Please consider placing the code in a text file on your site with a link here -or- use a pastebin service such as https://wordpress.pastebin.ca. Thanks!]