Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
FAQ Community Calendar Today's Posts Search

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
  #52  
Old 10-11-2007, 05:32 PM
hipgirl hipgirl is offline
 
Join Date: Sep 2007
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Rich View Post
I am going to assume that you want the average text displayed beside the results. If that is the case, simply do this:


SHOWTHREAD Template:

Find:


Code:
<span id="threadrating_current"><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" /></if></span>
Replace with:

Code:
<span id="threadrating_current" class="smallfont"><if condition="$show['rating']"><strong>$vbphrase[rating]:</strong> <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" />&nbsp;&nbsp;(<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>)</if></span>
In the above code, the smallfont class added to the opening span is optional.

Now you need to edit the phrase: thread_rating_x_votes_y_average in the acp and remove the "Thread Rating:" portion of it and save it.
Great!!! Just applied.

I noticed that somebody said the rating is not shown in 'new post' search. Same here. Is it solved? I'll keep monitoring this thread.

Thanks again for your time. Get well soon.

Michelle
Reply With Quote
  #53  
Old 10-24-2007, 12:58 AM
columbusgeek's Avatar
columbusgeek columbusgeek is offline
 
Join Date: Sep 2007
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any updates on djdonx's request about only showing in certain threads? I need the pretty functionality you have created, but really do not want it on every thread.

***NM, went with tDigg instead. That fit my need better. Sorry Rich***
Reply With Quote
  #54  
Old 10-28-2007, 03:04 AM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

here are the template edits in TMS (Template Modification System) XML format - if anyone has TMS installed all they need to do is import this.
Reply With Quote
  #55  
Old 11-06-2007, 02:01 PM
mrmike mrmike is offline
 
Join Date: May 2006
Location: Sweden
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks! :up:

I'm running 3.5.4 and manage to fix this with some tweak :S
Reply With Quote
  #56  
Old 11-12-2007, 05:46 PM
Snatch Snatch is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Since I installed this mod I get this DB-Error

Code:
Datenbankfehler in vBulletin 3.6.8:

Invalid SQL:

                SELECT *
                FROM threadrate
                WHERE userid = 1
                        AND threadid =;

MySQL-Fehler : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 4
Fehler-Nr.   : 1064
Datum        : Monday, November 12th 2007 @ 08:44:06 PM
Reply With Quote
  #57  
Old 11-15-2007, 11:27 PM
jaks jaks is offline
 
Join Date: Dec 2004
Location: Toronto
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rayphua View Post
Hi Rich,

What are the changes done on this new version?

Is the following done?

. Thread rating does not show in search for New Posts.

2. When we set "Required Thread Rating Votes to Show Rating" in Admincp to 2 or more, a single vote still does not do anything. Click on Vote Now and the box still stays there, does not disappear or anything, like nothing is happening.
Hi Rich! I hope all is well with your health.

This will be a great addition to my site however the points made by rayhua I quoted above are still issues. I can live with the rating not showing in the search for now but #2 is a serious issue since it doesn't go past the first vote. When viewing the thread you see the vote box and not the actual rating. No one can can vote now.

Has anyone figured out this issue and if so what is the fix?

Thanks
Jon
Reply With Quote
  #58  
Old 11-17-2007, 12:12 AM
NFLfbJunkie NFLfbJunkie is offline
 
Join Date: Sep 2006
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can I increase the spacing between the rating selections so there's not a lot ofsapce to the left of the "Excellent" selection and to the right of the "Vote Now" button?
Reply With Quote
  #59  
Old 11-17-2007, 05:47 AM
masons masons is offline
 
Join Date: Jan 2007
Posts: 150
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great ad-on!//

3.6.8(2) worked fine and very easy to install!
Reply With Quote
  #60  
Old 12-06-2007, 12:44 PM
ctfortner ctfortner is offline
 
Join Date: Nov 2007
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This worked great for my site, 3.6.8 (2). very easy to add, thanks for the mod, LOVE it
Reply With Quote
  #61  
Old 12-06-2007, 12:57 PM
tyranny tyranny is offline
 
Join Date: Jul 2002
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and working perfect. Using it with GARS too and it is exactly what I am looking for.

I added the code below around your voting box so only those who can vote can see it.

Code:
<if condition="$show['threadrating']">
your code here
</if>
Now it is only showing to those who can vote. I also made it show no box after voting and put the average rating inside the post as you mentioned above. Fantastic.

Thanks!
Reply With Quote
Reply


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:04 AM.


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.05072 seconds
  • Memory Usage 2,314KB
  • 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
  • (4)bbcode_code
  • (2)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