rtpayne44
Forum Replies Created
-
Forum: Plugins
In reply to: [YARPP - Yet Another Related Posts Plugin] wp_posts table engine issueI recently had to rebuild my wp_posts table and ran into the MyISAM storage engine issue. Uninstalling, deleting YARPP wp_options entries and reinstalling did the trick. Straight life savers, thank y’all!
Awesome, looks like that bit of code fixed the top rated display in firefox. In function widget($args, $instance) I added a line break to get it to display right in IE8.
replaced:echo '<li>'. '<a href="' . $permalink . '" title="' . $title . '">' . $short . '</a>'. '<br />'. '<div class="rw-ui-container rw-class-' . $rclass . ' rw-urid-' . $urid . '"></div>'. '</li>';
with:
echo '<li>'. '<a href="' . $permalink . '" title="' . $title . '">' . $short . '</a>'. '<br />'. '<div class="rw-ui-container rw-class-' . $rclass . ' rw-urid-' . $urid . '"></div>'. '</li></br>';
I was also thinking that I might be editing the wrong part of rating-widget.php for the custom images. In function rw_attach_rating_js($pElement) I’m replacing:
' . $rw_settings[$rclass]["options"] . '
with:
{"size":"large","advanced":{"font":{"type":"calibri","size":"18px"}},"type":"nero", "style":"custom", "imgUrl":{"ltr":"https://www.guesswhattylerdid.com/wp-content/plugins/rating-widget/thumbs.png", "rtl":"https://www.guesswhattylerdid.com/wp-content/plugins/rating-widget/thumbs.png"}}
Also, the top rated widget is displaying the number of ‘up’ votes oddly. Where can I edit the css for the classes that are used in rating-widget.php? Thanks for bearing with me.
I implemented your example code into rating-widget.php which loads the rating-widget but with no images.
rating-widget.php:[Code moderated as per the Forum Rules. Please use the pastebin]
I’m not sure if my theme (Thesis 1.8) is messing with the widget or not, either way I am one lost puppy.
Just be to clear, your editing rating-widget.php correct?
Sure can, and could you send me the exact code your using to implement the custom images. I’m probably missing something small that’s blowing the whole thing up!
No worries, now I can rest my bloodshot eyes! I am definitely interested in the pro version though, please email me the info when you get a chance. Happy debugging ??
The options were being pulled into RW.initClass() in rating-widget.php. Afer inserting the suggested code and loading my page the source code looks like:
RW.init({uid: “d56eb0d0ec981d238f3e4bc4e965b971”, vid: 1});
RW.initClass(“front-post”, {“size”:”large”,”advanced”:{“font”:{“type”:”calibri”,”size”:”18px”}},”type”:”nero”, “style”:”custom”, “imgUrl”:{“ltr”:”https://www.guesswhattylerdid.com/wp-content/plugins/rating-widget/thumbs.png”, “rtl”:”https://www.guesswhattylerdid.com/wp-content/plugins/rating-widget/thumbs.png”}});All the options are working except for the custom image! There are blank images where the thumbs should be with everything else loading fine. I have tried putting the suggested code in RW.init() to no avail. I’m lost!