Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

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


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Jan 29, 2011, 06:09 PM
jtmeyer
 
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:
Code:
<?php if (defined("STARRATING_INSTALLED")) : ?>
<div style="float: right">
<?php  wp_gdsr_comment_integrate_multi_result(get_comment_ID(), 4, 0, "crystal", 16); ?>
</div>
<?php endif; comment_text(); ?>
At line 83:
Code:
<?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.

http://www.gdstarrating.com/2009/05/...integration-1/
http://www.gdstarrating.com/2009/05/...integration-2/

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

Bookmarks

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 09:03 PM
[SOLVED] Atahualpa, WP Super Cache and WP Post-ratings seboush Plugins & Atahualpa 4 Jan 20, 2011 08:52 AM
GD Star Rating results in Byline? crashley1784 Plugins & Atahualpa 0 Jun 28, 2010 08:01 PM
Small bug in comments.php VesaT Languages & Translations 1 Oct 20, 2009 05:06 AM
Need help with integrating hype it! Button frankhamm Post-Kicker, -Byline & -Footer 1 Mar 30, 2009 06:34 PM


All times are GMT -6. The time now is 03:38 PM.


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