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 Ratings (https://vborg.vbsupport.ru/showthread.php?t=31749)

EXCHANGE 10-28-2001 10:00 PM

This is a simple User Rating System, I hope you guys like it.

Features:
  • Rate another User 1 to 5 points.
  • Users can see how they rated a user before
  • Votes are updated to avoid cheating
  • Users can see who rated them but not how (works like the whoposted stuff)


Anyway
BACKUP YOUR DATABASE and ENJOY :D

German version available in my forums.

Screenshot

Neo 10-29-2001 09:41 PM

man you are the bomb :D really nice hack thanks for putting it up

cooldude 10-29-2001 10:24 PM

yes thankx m8

maverick1236 10-29-2001 10:38 PM

Any chance you could do those Gifs with a transparent background?

i have black background on my forum :D

great hack!!

Neo 10-29-2001 11:25 PM

ohh yeah images with transparent BGs would be nice

tweak 10-30-2001 06:53 AM

Nice hack thanx

ckevin 10-30-2001 07:20 AM

EXCHANGE, it works great, but I wonder if it can told us the average score (total score/no. of votes). Also can user vote over a member again? at least the user can modify the rating of a voted members?

Thanks a lot! :)

EXCHANGE 10-30-2001 07:55 AM

Users can only vote once. In case a user has already voted, the old value is replaced by the new rating.

Well, the average score is represented by the images and the number of votes is already included.

Anyway you could do it like this in postbit_userrating:

At the Moment we have:
Code:

<br>Rating:<br><img src="images/$userrating" alt="$post[ratenum] Votes">
<br><smallfont>$wholink</smallfont><br>

Change it to:
Code:

<br>Rating:<br><img src="images/$userrating" alt="$post[ratenum] Votes / $rating points average">
<br><smallfont>$wholink</smallfont><br>

do the same for getuserinfo_rating



You could also change the // User ratings....... Code in member.php and functions.php

change:
PHP Code:

$wholink="<a href=\"javascript:who($userid)\">($rateuser[ratenum] Votes)</a>";
}
else {
$wholink="($rateuser[ratenum] Votes)"

to:
PHP Code:

$wholink="<a href=\"javascript:who($userid)\">($rateuser[ratenum] Votes / $rating points average)</a>";
}
else {
$wholink="($rateuser[ratenum] Votes / $rating points average)"


ckevin 10-30-2001 08:18 AM

yup, it works :) thanks!

Lesane 10-30-2001 01:27 PM

I waited long for this hack :D, thanks for the great hack http://vecommunity.webhostuk.com/ima.../new/thumb.gif


All times are GMT. The time now is 06:56 AM.

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.01192 seconds
  • Memory Usage 1,738KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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