The vB Geek

Go Back   The vB Geek > vB Geek Products > Geek Article and Review System

Geek Article and Review System GARS is the mega popular system for turning forums into articles, tutorials, or even reviews.

Advertisement
This is an HTML example. Isn't it just wonderful?!?!
  Learn how to remove ads

Reply
 
Thread Tools Display Modes
  #1  
Old 10-12-2005, 08:42 PM
gldtn gldtn is offline
Senior Member
 
Join Date: Oct 2005
Location: Massachusetts, USA
Posts: 122
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder 
Default Rating module

Hello, I've looked at the modules that comes included, but it seems like the rating module has change since the early days of this hack, and this is why I decided to open this thread.

Geek, how can I make the rating from the original thread(the ones that is included with the tools from the original vB code) appear on the right column of my articles? I tried making a module, but it seems I can't get the template code correctly.

This is what I have for my template code:

Code:
<!-- thread rating menu -->

<form action="threadrate.php" method="post">
	<table cellpadding="4" cellspacing="1" border="0">
	<tr>
		
<if condition="$show['rating']">$vbphrase[rating]: <img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" alt="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" border="0" /><else />$vbphrase[rate_thread]</if></a>

<td class="thead">$vbphrase[rate_this_thread]<a name="goto_threadrating"></a></td>
	</tr>
	<if condition="$show['ratethread']">
	<tr>
		<td class="vbmenu_option" title="nohilite">
		<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_5.gif" alt="$vbphrase[excellent]" /><label for="vote5"><input type="radio" name="vote" id="vote5" value="5" $votechecked[5] />$vbphrase[excellent]</label></div>
		<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_4.gif" alt="$vbphrase[good]" /><label for="vote4"><input type="radio" name="vote" id="vote4" value="4" $votechecked[4] />$vbphrase[good]</label></div>
		<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_3.gif" alt="$vbphrase[average]" /><label for="vote3"><input type="radio" name="vote" id="vote3" value="3" $votechecked[3] />$vbphrase[average]</label></div>
		<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_2.gif" alt="$vbphrase[bad]" /><label for="vote2"><input type="radio" name="vote" id="vote2" value="2" $votechecked[2] />$vbphrase[bad]</label></div>
		<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_1.gif" alt="$vbphrase[terrible]" /><label for="vote1"><input type="radio" name="vote" id="vote1" value="1" $votechecked[1] />$vbphrase[terrible]</label></div>
		</td>
	</tr>
	<tr>
		<td class="vbmenu_option" title="nohilite" align="center">
			<input type="hidden" name="s" value="$session[dbsessionhash]" />
			<input type="hidden" name="t" value="$threadid" />
			<input type="hidden" name="pp" value="$perpage" />
			<input type="hidden" name="page" value="$pagenumber" />
			<input type="submit" class="button" value="$vbphrase[vote_now]" />
		</td>
	</tr>
	<else />
	<tr>
		<td>$vbphrase[already_rated_this_thread]</td>
	</tr>
	</if>
	</table>
</form>

<!-- / thread rating menu -->
This is what I get.
Reply With Quote
  #2  
Old 10-12-2005, 09:26 PM
The Geek's Avatar
The Geek The Geek is offline
Senior Member
 
Join Date: Aug 2005
Posts: 6,717
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

The original one isnt included... Ill have to investigate for you
Reply With Quote
  #3  
Old 10-13-2005, 06:37 PM
gldtn gldtn is offline
Senior Member
 
Join Date: Oct 2005
Location: Massachusetts, USA
Posts: 122
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder 
Default

Ok thanks! I'll be waiting
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Rating/Replys/Views option not working after first module zimdude Geek Gazette 2 07-31-2009 07:50 PM
Restyling the author rating module mreyes Geek Article and Review System 2 09-09-2008 05:48 PM
Combining author rating and user rating Alfa1 Geek Article and Review System 8 01-06-2007 08:49 PM
Taking the contents of the rating module out of the module? Chief Corn Geek Article and Review System 3 12-01-2006 05:40 PM
Rating module (author and users) with stars cclaerhout Geek Article and Review System 7 09-04-2006 05:49 PM


All times are GMT. The time now is 12:21 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.