Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications

Reply
 
Thread Tools
vB.org Rating System Replica Details »»
vB.org Rating System Replica
Version: 1.00, by Rich Rich is offline
Developer Last Online: Mar 2015 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.6.8 Rating:
Released: 08-19-2007 Last Update: 08-25-2007 Installs: 147
Template Edits
 
No support by the author.

I applogize for releasing this modification again for a second time. The initial thread has gone insane and literally doubles and triples ALL of my posts each time I have responded to the thread. I am not certain why, but it only occurs in that thread, so here we go again. lol

This modification will replicate the rating system found here on vBulletin.org. There is currently a release by Magnus out there that does some of this.

This version functions just like vb.orgs.

If you wish to see how this will appear, you can view the top of any page where there is a thread here on the .org. That rating box is what you will be installing.

I mean no disrespect to Magnus for releasing this modification. (It isn't his code, but he released something very similar.) I wanted to be able to support it and update the thread as needed.

------------------------------------------------------------------------------------------------

New Updated File Includes The Corrections To Make The Change Voting Work.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
sonic83

Comments
  #62  
Old 12-06-2007, 02:42 PM
ctfortner ctfortner is offline
 
Join Date: Nov 2007
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I cant figure that part out about putting the average rating inside the post, how did you do that? I did apply the code to display the average rating, but dont see how to put it inside the post?

thanks
Reply With Quote
  #63  
Old 12-06-2007, 09:16 PM
Sulaiti Sulaiti is offline
 
Join Date: Mar 2002
Location: Qatar
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack ....

I believe you need only update this part

PHP Code:
 
<div align="left"><span class="ratetext">$vbphrase[rate_this_thread] -  <em>$thread[title]</em>.</span></div>
<
a name="goto_threadrating"></a>    
        <
label for="vote5"><input type="radio" name="vote" id="vote5" value="5"  />Excellent</label
        <
label for="vote4"><input type="radio" name="vote" id="vote4" value="4"  />Good</label
        <
label for="vote3"><input type="radio" name="vote" id="vote3" value="3"  />Average</label
        <
label for="vote2"><input type="radio" name="vote" id="vote2" value="2"  />Bad</label
        <
label for="vote1"><input type="radio" name="vote" id="vote1" value="1"  />Terrible</label>
                <
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="" value="Vote Now!" /></if></div>
        </
td>    
</
tr
to:

PHP Code:
 
<div align="$stylevar[left]"><span class="ratetext">$vbphrase[rate_this_thread] -  <em>$thread[title]</em>.</span></div>
<
a name="goto_threadrating"></a>    
        <
label for="vote5"><input type="radio" name="vote" id="vote5" value="5" $votechecked[5] />$vbphrase[excellent]</label
        <
label for="vote4"><input type="radio" name="vote" id="vote4" value="4" $votechecked[4] />$vbphrase[good]</label
        <
label for="vote3"><input type="radio" name="vote" id="vote3" value="3" $votechecked[3] />$vbphrase[average]</label
        <
label for="vote2"><input type="radio" name="vote" id="vote2" value="2" $votechecked[2] />$vbphrase[bad]</label
        <
label for="vote1"><input type="radio" name="vote" id="vote1" value="1" $votechecked[1] />$vbphrase[terrible]</label>
                <
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]/></if></div>
        </
td>    
</
tr
Regards,
Reply With Quote
  #64  
Old 12-07-2007, 03:06 PM
tyranny tyranny is offline
 
Join Date: Jul 2002
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ctfortner View Post
I cant figure that part out about putting the average rating inside the post, how did you do that? I did apply the code to display the average rating, but dont see how to put it inside the post?

thanks

I just did this:

https://vborg.vbsupport.ru/showpost....0&postcount=49

and copied his code inside the actual post.

Reply With Quote
  #65  
Old 12-12-2007, 11:03 PM
codehack's Avatar
codehack codehack is offline
 
Join Date: Sep 2006
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PHP Code:
Invalid SQL:

        
SELECT *
        
FROM threadrate
        WHERE userid 
1
            
AND threadid =;

MySQL Error  You have an error in your SQL syntaxcheck the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 4
Error Number 
1064
Date         
ThursdayDecember 13th 2007 03:01:01 AM
Script       
http://www.xxxx.com/forum/showthread.php?t=1
Referrer     
IP Address   
Username     
Classname    vB_Database 
help me!!
Reply With Quote
  #66  
Old 12-13-2007, 06:12 AM
davekeats davekeats is offline
 
Join Date: Mar 2007
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Strange thing - I installed the mod perfectly, and it's appearing. The issue for me is, the rating mod is appearing even in forums for which I have NOT allowed thread ratings to appear.

What do think is up? Is there something I still need to add in the SHOWTHREAD template?
Reply With Quote
  #67  
Old 12-16-2007, 09:23 PM
VADOS VADOS is offline
 
Join Date: Nov 2007
Location: Russia
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello there!

I've installed your mod, thanx so much, it's great!

But I have a question: is it possible to move the rating table from it's original place (above the first post) to "below the first post"?

I have a template edit to make some table just below the first post (originally it's for adsense) and tried to move it there, but no good results reached.
Reply With Quote
  #68  
Old 12-24-2007, 11:42 PM
Scamorz Scamorz is offline
 
Join Date: Oct 2006
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, i installed this excellent mod but i don't understand how i can insert the score inside the post and not at external. (like vb.org).

I installed this modify to obtain the number of votes and average: https://vborg.vbsupport.ru/showpost....0&postcount=49

Thanks!
Reply With Quote
  #69  
Old 01-03-2008, 12:59 AM
synn synn is offline
 
Join Date: Nov 2004
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Seems to work fine but I must have made a boo-boo :erm:

Under my thread tools drop down the javascript is not right:

Attachment 74091

Can someone help?
Reply With Quote
  #70  
Old 01-03-2008, 12:04 PM
alfaowner alfaowner is offline
 
Join Date: Jul 2003
Location: London
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have installed this on a 3.6.4 board, all though it shows up, it doesnt alow me to vote, when I hit the button, nothing happens
Reply With Quote
  #71  
Old 01-03-2008, 08:26 PM
tei727's Avatar
tei727 tei727 is offline
 
Join Date: Feb 2006
Posts: 162
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

love it! how do i make it show how many people voted like the VB.org does? can this be shown on the new threads?
Reply With Quote
Reply

Thread Tools

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


All times are GMT. The time now is 01:07 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05028 seconds
  • Memory Usage 2,354KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete