Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages » Comments, trackbacks & pings »

Integrating GD-Star ratings into Comments.php

Old Jan 29, 2011, 05:09 PM
4 posts · Jan 2011
I'm having a bit of trouble integrating some plugin code into the comments.php file. I'm afraid my PHP skills aren't quite as up to snuff as I would like to imagine...

I have instructions to insert a couple small bits of code at specific lines in the default wordpress theme's comments.php file. Obviously the lines are quite different in the Atahualpa file!

At line 39:
<?php if (defined("STARRATING_INSTALLED")) : ?>
<div style="float: right">
<?php  wp_gdsr_comment_integrate_multi_result(get_comment_ID(), 4, 0, "crystal", 16); ?>
<?php endif; comment_text(); ?>
At line 83:
<?php if (defined("STARRATING_INSTALLED")) : ?>
<p><?php wp_gdsr_comment_integrate_multi_rating(1); ?>
<label for="url"><small>Rating</small></label>
</p><?php endif; ?>
The GD Star developer won't offer advice for specific themes, unfortunately. I'm hoping the friendly and knowledgeable friends here in the forums will be able to help.

If my explanation here isn't clear enough -- i'm trying to adapt the instructions listed on these two brief posts.


Again, thanks so much for any help you may be able to offer.


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Plugin : WP Print & WP Post Ratings do not work sns Plugins & Atahualpa 8 Feb 17, 2011 08:03 PM
[SOLVED] Atahualpa, WP Super Cache and WP Post-ratings seboush Plugins & Atahualpa 4 Jan 20, 2011 07:52 AM
GD Star Rating results in Byline? crashley1784 Plugins & Atahualpa 0 Jun 28, 2010 07:01 PM
Small bug in comments.php VesaT Languages & Translations 1 Oct 20, 2009 04:06 AM
Need help with integrating hype it! Button frankhamm Post-Kicker, -Byline & -Footer 1 Mar 30, 2009 05:34 PM

All times are GMT -6. The time now is 05:17 PM.

Powered by vBulletin® Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.