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
  #42  
Old 10-13-2003, 06:06 PM
Almax1 Almax1 is offline
 
Join Date: Sep 2003
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

and can u zip the screenies i cant seem to get them
Reply With Quote
  #43  
Old 10-13-2003, 08:02 PM
Sc0rp Sc0rp is offline
 
Join Date: Jul 2002
Location: Netherlands
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

dude try reading my post

Quote:
- top xx in memberlist
and screenshots zip attached, though dont know what the problem is, they work fine here
Reply With Quote
  #44  
Old 10-13-2003, 09:35 PM
Almax1 Almax1 is offline
 
Join Date: Sep 2003
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i asked because the memberlist bit does not show any reference to the hack
it is as it was b4

step 3:
edit memberlist.php
================================================== ==================

find:

if ($what=="topposters") {
$orderby="posts";
$direction="DESC";
}

UNDER that ADD:

-(start copying)-

if ($what=="toprated") {
$orderby="userrating";
$direction="DESC";
}

-(stop copying)-

save memberlist.php

is this all the code ??

everything else is sweet
Reply With Quote
  #45  
Old 10-13-2003, 09:39 PM
Almax1 Almax1 is offline
 
Join Date: Sep 2003
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

edit memberlist template maybe ??

no reference in your file :P
Reply With Quote
  #46  
Old 10-14-2003, 10:50 AM
MrNase MrNase is offline
 
Join Date: May 2003
Location: Germany
Posts: 670
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do all ratings start by zero or is there a possibility to give my users the correct rating right from the start?
Reply With Quote
  #47  
Old 10-14-2003, 11:23 AM
Sc0rp Sc0rp is offline
 
Join Date: Jul 2002
Location: Netherlands
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

almax, fixed it.. sorry for all the trouble.. I gotta make a list of what Im doing next time im writing a hack for the public Ive uploaded a fixed .txt so goodluck

MrNase, as I said there is a function to update the members rating, so yes you can give your users the correct rating from the start.. though it will run a LOT of queries.. I know there are better ways of doing this but I aint no MySQL hero.. was hoping that one of the pro's could help me out on that one
Reply With Quote
  #48  
Old 10-14-2003, 03:25 PM
MrNase MrNase is offline
 
Join Date: May 2003
Location: Germany
Posts: 670
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i'd really like to use it but i already used v1 and my users didn't like it.
I could tell them this version runs better (it's the thruth) and all the bugs are fixed but the may feel like beeing on a playground and leave my board because they don't want to be rated.

I'll talk to my staff to find a solution but anyways: thanks for this hack, a lot of people waited a long time for this
Reply With Quote
  #49  
Old 10-14-2003, 04:05 PM
Sc0rp Sc0rp is offline
 
Join Date: Jul 2002
Location: Netherlands
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm sounds a bit weird to me, if u customize it right so that a member gets 1 rating for a reply and 3 for a thread there shouldnt be any problems imo.. its the same as having a post counter.. some ppl might not like it beacuse they dont have a lot of posts.. it represents the loyalty of your members and if they aint loyal/active then thats their problem right?

anyways its the peoples personal opinion on being rated (which represents their own activeness and loyalty 100%) I dont think there's much I can do about this
Reply With Quote
  #50  
Old 10-14-2003, 11:31 PM
Almax1 Almax1 is offline
 
Join Date: Sep 2003
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks 4 the update m8 but u still missing a bit
no reference in your update to [top 10 rated] link
which resides in the memberlist template i think

think you may have forgotten
sorry mate 4 any hassle :P
Reply With Quote
  #51  
Old 10-16-2003, 12:03 PM
Sc0rp Sc0rp is offline
 
Join Date: Jul 2002
Location: Netherlands
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

baah this is the most chaotic install file I made so far

Code:
find:

<td bgcolor="{secondaltcolor}"><smallfont><a href="memberlist.php?s=$session[sessionhash]&what=topposters&perpage=$memberlisttopposters"><b>Top $memberlisttopposters Posters</b></a></smallfont></td>

UNDER it ADD:

-(start copying)-

<td bgcolor="{secondaltcolor}"><smallfont><a href="memberlist.php?s=$session[sessionhash]&what=toprated&perpage=$memberlisttopposters"><b>Top $memberlisttopposters Rated</b></a></smallfont></td>

-(stop copying)-
there ya go
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:00 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.06278 seconds
  • Memory Usage 2,297KB
  • 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_code
  • (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
  • (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