vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   User Rating hack (https://vborg.vbsupport.ru/showthread.php?t=57849)

Sc0rp 07-16-2003 10:00 PM

User Rating hack
 
[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]

Sc0rp 07-17-2003 09:43 AM

Admin options, edit forum/add forum

Sc0rp 07-17-2003 09:43 AM

User Postbit

Almax 07-17-2003 12:53 PM

never worked m8 nice hack tho

had trouble finding
step 2:
Edit: admin/forum.php

Find:

mustreadtext='$mustreadtext', mustreadtext='$mustreadtext',

AFTER that (not under) ADD:

countrating='$aallowrating', replyrating='$replyrating', newthreadrating='$newthreadrating'
==================
might be coz my boards hacked can u give me another incline where to put the code ;)

Sc0rp 07-17-2003 01:16 PM

my mistake, was a hack I installed,

have changed the txt..

use it like this:

step 2:
Edit: admin/forum.php

find:

moderateattach='$moderateattach',

AFTER that (not under) ADD:

countrating='$aallowrating', replyrating='$replyrating', newthreadrating='$newthreadrating'

have fun and dont forget to press install:)

Almax 07-17-2003 01:18 PM

yup found that b4 u posted ;)

Sc0rp 07-17-2003 01:20 PM

well thanks for letting me know, at least now other ppl wont have that same problem and hopefully no problem at all ;)

Almax 07-17-2003 01:38 PM

work great clicks install ;)

Link14716 07-17-2003 04:31 PM

use [high] instead of [color=yellow]. ;)

Sc0rp 07-17-2003 06:05 PM

whuts the difference :p

--edit

nvr mind that :banana:

assassingod 07-17-2003 06:08 PM

It alternates for each style. on the default, high is yellow, on purple (which is mine and a number of others) its red.

Sc0rp 07-17-2003 06:09 PM

++++ was to late editing

just noticed the different styles :)

assassingod 07-17-2003 06:12 PM

:p Now it looks cool.

Nice hack.

Sc0rp 07-17-2003 06:14 PM

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! :p

Xyphen 07-17-2003 07:03 PM

nice hack.. thanks for sharing this nice idea!

Almax 07-17-2003 09:42 PM

Any chance of putting this hack in a table on a seperate page to see who the leader is ??

Almax 07-17-2003 11:50 PM

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

Sc0rp 07-18-2003 07:10 AM

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

Sc0rp 07-18-2003 09:58 AM

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 


Almax 07-18-2003 10:20 AM

yup done this

Sc0rp 07-18-2003 11:47 AM

maybe its because of another hack you installed..

see if you have multiple querries editing data in 'Edit User' (user.php)

Almax 07-18-2003 02:05 PM

nope sorry m8 u was rite my fault sweet hack btw
can you make a seperate page to display ratings as well as in the postbit ??

Sephiroth 9999 07-18-2003 02:29 PM

Good hack, and nice idea! :)

*kicks install*

Sc0rp 07-18-2003 04:43 PM

Quote:

Today at 04:05 PM Almax said this in Post #22
nope sorry m8 u was rite my fault sweet hack btw
can you make a seperate page to display ratings as well as in the postbit ??

like where? in the member stats, profile vieuw.. not a prob.. was planning on doing that :) will work on the hack this weekend

Almax 07-18-2003 05:22 PM

thanx man seperate table would be good for mods and admin to keep an eye on non posters

Sc0rp 07-19-2003 06:22 AM

am going to make an admin section where you can view all ratings between x and x points.. so that wont be a prob :)

MGM 07-19-2003 02:33 PM

u should make a seperate column in the memberlist displaying the ratings for each user, and maybe a Top 10 list?

MGM out

MrNase 07-21-2003 02:27 PM

Nice hack but my users ask me what they can do with the points :rolleyes:

Some questions:
Can i add that variable to another templates too?
What needs to be changed to make i working?

Do you have any updates?
(thought you'll do a memberlist integration last weekend?)

Christoff 07-21-2003 05:56 PM

That hack is gr8!

But i've got few questions... like.. will there be an option that deleting/merging threads will increase/decrese points?

Almax 07-28-2003 01:11 PM

any update 4 this ??

Sc0rp 07-29-2003 06:28 AM

Quote:

07-21-03 at 04:27 PM MrNase said this in Post #28
Nice hack but my users ask me what they can do with the points :rolleyes:

Some questions:
Can i add that variable to another templates too?
What needs to be changed to make i working?

Do you have any updates?
(thought you'll do a memberlist integration last weekend?)

you can use it everywhere where the 'user' table is used.
just install it to make it work? :p

and yes there are going to be updates but I had very little time lately.. I will make an update soon, promise :)

and about members asking what they can do with them.. well at this point it just reflects how much he really does on your board and if its good or not ;) however in the next update I will include the option in which the user can pay a certain amount of his rating points to another member.. I will also make an addon for this for lesane's store hack

Almax 08-14-2003 09:40 PM

still no update ?

Tom_R 08-20-2003 03:33 PM

idd sc0rp a great hack, nicely done and it something a lot of ppl have been waiting for i am sure..

but as said before is it possible to make a top 10 or top 100 or whatever for the highest rated ppl so they can actually race against eachother, that would motivate them to do better..

MoneyTec.Com 08-27-2003 02:59 PM

Is this the same members Rating hack on this forum http://www.trade2win.co.uk/boards/sh...2929#post42929

if not where can I find that one?

mariannet 10-07-2003 06:55 PM

Great hack, but the problem is that the rating only works on new Forums, why can it not be set in already running forums?

Sc0rp 10-11-2003 09:04 PM

sorry everyone, Ive been sooo extremely busy lately I didnt have the time to work on any hacks, I will release a new version asap!

more ideas for additions and fixes are more then welcome :)

MoneyTec.Com, dont know cant watch that thread, have to register, but if it is they are using my hack cuz this one is fully made by me

mariannet, atm you can only set the rating by editing a forum, so simply add a forum and then edit it to set the rating for it..
Of course this will be fixed in the new version

Sc0rp 10-13-2003 04:06 PM

Ok after a lot of time I finally started working on a new version :p sorry guys, just been to busy :)

This new version includes the following additions:

- Update user ratings
- Move/Prune Searches by User rating
- top xx in memberlist
- pay system (users can pay each other user rating)
- simple member info template addon

and of course the old functions :)

note when installing this hack that it is required to have installed the previous user rating hack v1.0 which can be found here

screenshots:
Admin > edit forum
admin > update counters
admin > move prune
Postbit
Profile View
memberlist
Payment System

Note on the payment 'system' that once a payment has been made a pm will send to the person who received the rating, also note that when counters are being updated all previous payments will be lost.

[high]If you install this hack please press INSTALL[/high]

enjoy!

Almax1 10-13-2003 05:07 PM

great stuff m8 ;) but an error her find what ??

-(stop copying)-

find:

UNDER that ADD:

-(start copying)-

<option value='urating DESC'>Rating DESC</option>

-(stop copying)-

Sc0rp 10-13-2003 05:40 PM

lol, sorry.. :D

find:

<option value='posts DESC'>Post Count</option>

UNDER that ADD:

.......

hope thats the only thing I forgot :D

Almax1 10-13-2003 06:03 PM

thanks ;) "quick request" :D
top ratings table can u do :P asked b4 :D


All times are GMT. The time now is 04:50 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.01402 seconds
  • Memory Usage 1,819KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete