Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
User Rating hack Details »»
User Rating hack
Version: 1.00, by Sc0rp Sc0rp is offline
Developer Last Online: May 2012 Show Printable Version Email this Page

Version: 2.3.x Rating:
Released: 07-16-2003 Last Update: Never Installs: 10
 
No support by the author.

[high]VERSION 2.0 RELEASED, CLICK HERE[/high]

Oke this is my very first 'released' hack and allthough its pretty simple I presonally quite like it

what this basicly does is count rating towards users when they reply or start a new thread, of course you can specify in what forums it will do this and how much rating points they will get when replying or starting a new thread, you can also TAKE rating away when a user replies or starts a thread.

In my eyes this is perfect to keep your users monitored automaticly, for example.. say you got a babes board, like rip-productions and users can request babe pix, say you withdraw 5 points each time this user requests pix of a babe so eventually he will reach 0 or even less (-10 whatever..) you can spot this way more easily and do something about it..

of course this is not entirely automated yet I am going to make this hack more advanced, so you can get certain stats (list users with rating betwean x and x.. as an example) but for now this is gonna have to do as I do not have a lot of time to work on this..

Im sure a lot of you will think this is a useless hack but hey.. I thought it would come in handy for my board so maybe others could use it aswell

anyways, to install the hack just follow the instructions in the attached file, screenshots are beneath this post.. please click the install button when you use this hack!

and BACKUP your files! allthough I have tested this hack it may still have bugs!

[high]IF YOU USE THIS HACK PLEASE PRESS INSTALL [/high]

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 07-17-2003, 06:08 PM
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Posts: 3,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It alternates for each style. on the default, high is yellow, on purple (which is mine and a number of others) its red.
Reply With Quote
  #13  
Old 07-17-2003, 06:09 PM
Sc0rp Sc0rp is offline
 
Join Date: Jul 2002
Location: Netherlands
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

++++ was to late editing

just noticed the different styles
Reply With Quote
  #14  
Old 07-17-2003, 06:12 PM
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Posts: 3,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Now it looks cool.

Nice hack.
Reply With Quote
  #15  
Old 07-17-2003, 06:14 PM
Sc0rp Sc0rp is offline
 
Join Date: Jul 2002
Location: Netherlands
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks, im glad some ppl take the time to reply (note vieuws and replies) even though its for a silly little thing as the color of the highlighted text!
Reply With Quote
  #16  
Old 07-17-2003, 07:03 PM
Xyphen's Avatar
Xyphen Xyphen is offline
 
Join Date: Dec 2002
Location: ON, Canada
Posts: 370
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice hack.. thanks for sharing this nice idea!
Reply With Quote
  #17  
Old 07-17-2003, 09:42 PM
Almax Almax is offline
 
Join Date: May 2002
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any chance of putting this hack in a table on a seperate page to see who the leader is ??
Reply With Quote
  #18  
Old 07-17-2003, 11:50 PM
Almax Almax is offline
 
Join Date: May 2002
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

btw some users are going back to 0 for no reason ??
seems it happened when the guy was moved up to super moderator ??

Confirmed BUG

if you move user up/down usergroup it resets Rating to 0
Reply With Quote
  #19  
Old 07-18-2003, 07:10 AM
Sc0rp Sc0rp is offline
 
Join Date: Jul 2002
Location: Netherlands
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Almax, I have already got that on my site yes but will post an update for the hack soon, I'll post a bugfix tonight I cant right now as I am at my work
Reply With Quote
  #20  
Old 07-18-2003, 09:58 AM
Sc0rp Sc0rp is offline
 
Join Date: Jul 2002
Location: Netherlands
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm works fine here..

make sure youve done this step correctly:

PHP Code:
====================================================================
step 3:
Editadmin/user.php
====================================================================

Find:

    
makeinputcode("Parent Email Address""parentemail"$user[parentemail], 0);

UNDER that ADD:

    
makeinputcode("User Rating""urating"$user[userrating]);


Find:

lastactivity=$lastactivity,lastpost=$lastpost,

AFTER that (not underADD:

userrating='$urating',


Save admin/user.php 
Reply With Quote
  #21  
Old 07-18-2003, 10:20 AM
Almax Almax is offline
 
Join Date: May 2002
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yup done this
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 05:11 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07310 seconds
  • Memory Usage 2,303KB
  • 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
  • (1)bbcode_php
  • (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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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