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
  #72  
Old 01-03-2008, 11:00 PM
ran_iu_Conan ran_iu_Conan is offline
 
Join Date: Jul 2006
Location: Viet Nam
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i like it.
thanks so much
love you ^^~
Reply With Quote
  #73  
Old 01-29-2008, 01:40 PM
gldtn gldtn is offline
 
Join Date: Apr 2003
Location: US
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any plans on updating this to vB3.7?
Reply With Quote
  #74  
Old 02-06-2008, 02:22 AM
baz_kingfish's Avatar
baz_kingfish baz_kingfish is offline
 
Join Date: Jan 2008
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yoyoyoyo View Post
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.
yoyo,
I ran the XML in TMS and created the templates, but nothing is showing up in my forum. All of the TMS modifications are "enabled", what am I missing? Lastly, is the XML based on Rich's hack or the one from Mangus?
Thanks,
KF
Reply With Quote
  #75  
Old 02-07-2008, 07:20 PM
mangandini mangandini is offline
 
Join Date: Jun 2007
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The plugin have a bug if a thread id doesnt' exist, just modify the first line.
;-)

PHP Code:
if ($vbulletin->userinfo['userid'] && $threadinfo[threadid])
{
    if (
$rating $db->query_first("
        SELECT *
        FROM " 
TABLE_PREFIX "threadrate
        WHERE userid = " 
$vbulletin->userinfo['userid'] . "
            AND threadid = 
$threadinfo[threadid]
    "
))

 { 
   
$rated true
 }  


Quote:
Originally Posted by codehack View Post
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
  #76  
Old 02-07-2008, 07:33 PM
baz_kingfish's Avatar
baz_kingfish baz_kingfish is offline
 
Join Date: Jan 2008
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mang,
What about my problem...can you help me with that?
Thanks,
KF

Quote:
Originally Posted by baz_kingfish View Post
yoyo,
I ran the XML in TMS and created the templates, but nothing is showing up in my forum. All of the TMS modifications are "enabled", what am I missing? Lastly, is the XML based on Rich's hack or the one from Mangus?
Thanks,
KF
Reply With Quote
  #77  
Old 02-07-2008, 08:46 PM
Rich's Avatar
Rich Rich is offline
 
Join Date: Mar 2004
Location: U.S.A
Posts: 921
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't use the TMS so i don't know how it operates, nor am I interested in installing it to see how it operates. (no offense to its creator. Its just not a mod I need right now.)

I am hoping to have a new version released within the next 2 weeks.
Reply With Quote
  #78  
Old 02-07-2008, 08:56 PM
baz_kingfish's Avatar
baz_kingfish baz_kingfish is offline
 
Join Date: Jan 2008
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for responding. All the TMS does is apply the edits to the respective Template without having to go and manually search and find everything. It works beautifully. Any idea what the problem might be as to why the ratings box is not showing up? I don't even know where to start looking. Will your next release be a plugin or just a Template Mod...I can wait.
Reply With Quote
  #79  
Old 02-07-2008, 09:12 PM
baz_kingfish's Avatar
baz_kingfish baz_kingfish is offline
 
Join Date: Jan 2008
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yoyoyoyo View Post
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.
These XML template edits DO NOT WORK or test successfully in 3.6.8...
Reply With Quote
  #80  
Old 02-10-2008, 10:59 AM
Scamorz Scamorz is offline
 
Join Date: Oct 2006
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, a little problem:

when i delete a post in a thread rated and then write the post link it show me an error:

Code:
Database error in vBulletin 3.6.8:

Invalid SQL:

		SELECT *
		FROM vb_threadrate
		WHERE userid = 3
			AND threadid =;

MySQL Error  : 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
Error Number : 1064
Date         : Sunday, February 10th 2008 @ 12:54:23 PM
Script       : http://www.mysite.com/forum/showthread.php?p=84858
Referrer     : 
IP Address   : 87.4.173.165
Username     : user
Classname    : vb_database

My plugin code is:

Code:
if ($vbulletin->userinfo['userid'])
{
    if ($rating = $db->query_first("
        SELECT *
        FROM " . TABLE_PREFIX . "threadrate
        WHERE userid = " . $vbulletin->userinfo['userid'] . "
            AND threadid = $threadinfo[threadid]
    "))

 { 
   $rated = true; 
 }  
}
Please anyone can help me?

Thank you!
Reply With Quote
  #81  
Old 02-11-2008, 05:36 PM
Scamorz Scamorz is offline
 
Join Date: Oct 2006
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is the exact code:
PHP Code:
if ($vbulletin->userinfo['userid'] && trim($threadinfo[threadid])!='')
{
    if (
$rating $db->query_first("
        SELECT *
        FROM " 
TABLE_PREFIX "threadrate
        WHERE userid = " 
$vbulletin->userinfo['userid'] . "
            AND threadid = 
$threadinfo[threadid]
    "
))

 { 
   
$rated true
 }  

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 03:39 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.04731 seconds
  • Memory Usage 2,327KB
  • 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
  • (2)bbcode_code
  • (3)bbcode_php
  • (4)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