Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by EXCHANGE EXCHANGE is offline
Developer Last Online: Jun 2010 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 10-28-2001 Last Update: Never Installs: 100
 
No support by the author.

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

German version available in my forums.

Screenshot

Show Your Support

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

Comments
  #112  
Old 12-09-2002, 09:11 PM
Crazy Pete Crazy Pete is offline
 
Join Date: Nov 2002
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Erwin


Easy.

In userrate.php, find:

PHP Code:
} elseif ($rateduser[allowrate]==0) {
            eval(
"standarderror("".gettemplate("error_norate")."");");
            exit; 
Underneath, add:

PHP Code:
} elseif ($bbuserinfo['userid'] == $rateduser[userid]) {
            eval(
"standarderror("".gettemplate("error_samerate")."");");
            exit; 
Then, add a new template called:

error_samerate

with this contents:

Code:
You are not allowed to rate yourself! Press the back button to return to where you were.
Done!
I tried this, Erwin, but I'm getting a parse error with this line, and I'm not sure why...

} elseif ($bbuserinfo['userid'] == $rateduser[userid]) {

? That looks ok to me?
Reply With Quote
  #113  
Old 12-10-2002, 01:51 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Make sure there is a } underneath. You must have deleted the } by accident.
Reply With Quote
  #114  
Old 12-10-2002, 02:04 AM
Crazy Pete Crazy Pete is offline
 
Join Date: Nov 2002
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Eh, I thought it was still in there. In any case, I appreciate the help but as I thought about it more, I realized that the person who said before that some users might take it the wrong way and seem like they aren't wanted had a point. I wouldn't want to alienate anyone, so I removed it, at least for now.
Reply With Quote
  #115  
Old 12-28-2002, 09:23 PM
BrAinZ's Avatar
BrAinZ BrAinZ is offline
 
Join Date: Dec 2001
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Has anyone worked out how to ONLY allow Mods or Admins (or other user groups) to rate users.

I would like to add this system to our board, where existing Mods can start rating users who could potentialy become future mods after being rated well by a few others.

Can anyone help?
Reply With Quote
  #116  
Old 12-29-2002, 12:22 PM
zefman zefman is offline
 
Join Date: Feb 2002
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by BrAinZ
Has anyone worked out how to ONLY allow Mods or Admins (or other user groups) to rate users.

I would like to add this system to our board, where existing Mods can start rating users who could potentialy become future mods after being rated well by a few others.

Can anyone help?
Hello BrAinZ,
i had the same problem

but very easy to resolve :

just confine the code of the modified files (4 locations to edit) in such conditionnal :

if ($bbuserinfo[usergroupid] == 7 or $bbuserinfo[usergroupid] == 6) {
...
...the code in the instructions..
...
}

and this system will be invisible to all except your mods and you, the admin.

sorry crappy english
Reply With Quote
  #117  
Old 12-29-2002, 07:44 PM
BrAinZ's Avatar
BrAinZ BrAinZ is offline
 
Join Date: Dec 2001
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice one.. thanks, I'll give it a go then.
Reply With Quote
  #118  
Old 01-08-2003, 09:44 PM
Colon33
Guest
 
Posts: n/a
Default

Hello.

I am looking to see what we can do to get teh top 5 user rated members on the forum home or on the main page of the site. How can we call this type of information? This would be a great addition. Having the top 5 members rated on the forum homepage. I like it alot. Top 5 or Top 3 or Top 2 or whatever.. you know?
Reply With Quote
  #119  
Old 01-16-2003, 07:14 PM
PiotrasG's Avatar
PiotrasG PiotrasG is offline
 
Join Date: Sep 2002
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey works great with 2.29 one question how can i get the rating form to work in postbit.
Reply With Quote
  #120  
Old 02-20-2003, 03:22 PM
Yuber's Avatar
Yuber Yuber is offline
 
Join Date: Feb 2003
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the hack
Reply With Quote
  #121  
Old 03-08-2003, 12:17 AM
Xyphen's Avatar
Xyphen Xyphen is offline
 
Join Date: Dec 2002
Location: ON, Canada
Posts: 370
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works Perfectly fine on vB2.3.0, thank you very much for the great hack!!
Reply With Quote
Reply


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 01:14 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.04778 seconds
  • Memory Usage 2,310KB
  • 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
  • (2)bbcode_php
  • (2)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
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (10)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