iGidas
Forum Replies Created
-
Never mind 😀
Just found workaround by myself.
Change these lines:in user-submitted-posts/views/submission-form.php
<?php $category = get_category($categoryId); echo htmlentities($category->name); ?></option>to
<?php $category = get_category($categoryId); echo htmlentities($category->name, ENT_QUOTES, "UTF-8"); ?></option>and in user-submitted-posts/user-submitted-posts.php
<span><?php echo htmlentities($category->name); ?></span>to
<span><?php echo htmlentities($category->name, ENT_QUOTES, "UTF-8"); ?></span>Please update plugin, to fix this problems. And I think that all lines with htmlentities need to be changed with UTF-8 encoding. 😉
I had this problem too. After checking plugin’s init.php file, I found that there is no “?>” at the end of the file, so just add it.
Ok, I’ll give it a try. Thank you for your honest support 🙂
Oh, i forgot to give you a code of file: http://pastebin.com/Sh6UYvGt
I looked to my .htaccess file. And found that
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>this code appears twice. Is a bug with BP and W3 Total Cache, that after activating security mode and after rebuilding cache configuration this code is left? And maybe where are some other errors in this file?
*strange string
Thanks for respond, but I am not laying 🙂 All I did to the code of WP Image Tooltip is just changed the class plugin should look for from “tooltip” to “cboxElement”. I changed this part of Image-tooltip.php file:
jQuery(document).ready(function($) { $('a.cboxElement').cluetip({ fx: { open: 'fadeIn', // can be 'show' or 'slideDown' or 'fadeIn' openSpeed: '1' }, ajaxCache: false, clickThrough: true, dropShadow: false, cursor: 'default', topOffset: 20, leftOffset: 20, local: false, tracking:false, //waitImage:true, showTitle:false, attribute:'href', //height:'" . $imagetooltip_size[0] . "', //width:'" . $imagetooltip_size[1] . "', height:52, width:52, sticky: false, arrows:false });It’s just variables. I had to look for “cboxElement” class because plugin “jquery Colorbox” automatically adds this class to post images and so I don’t need to add another class like “tooltip” manually. I modified css file of plugin “WS Image Tooltips” too, using correct syntax.
As I mentioned before, these changes were tested and worked in Chrome, Firefox, even Internet Explorer. And even using proxy with browser caches deleted (to be sure that i am just a random guest for my site). After BP install, tooltips began to not to show correctly. Firstly, I didn’t see that strange string in image url, so I re-installed “WP Image Tooltip”. But problem still exists. Maybe I could try to comment some lines in BP security created .htaccess file, because where are lot of lines with Rewrite rules. I am just not a specialist, to know what lines or what code could make that strange strong appear. Thank you for your time.
WP Image Tooltip was working correctly till BP Security installation. Ok, thank you for support, let me know the results.
Thank you for a fast reply. As I understood, it is not a problem with BP security? And not this plugin creates this query string?