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)

mewgood 04-03-2002 06:34 AM

ar... why when I try to click who rate me it appears an error..

example: http://www.mewgood.com/~vbb/showthre...=&threadid=818
try to click the number of votes and you will get an error...
Can anyone help me out?

Rapdis 04-03-2002 04:21 PM

I really want this hack! but im a novice at configuring....

Please help.... with a much simpler install guide.... or if u can help.... add me on msn... search aj@tupacfans.net...

my forum is at www.rapdis.com/forum

Neo 04-03-2002 11:40 PM

Hmmm... well finallt after soooo long I am going to be using this hack on my site... got to get those spammer ;)

Crazy Mofo 04-14-2002 03:19 PM

is there a way too put in the postbit template under above the actull image


"Rate This User" ?

Also any1 got any good stars i want some gold stars foe it :D thx..

Mofo

Beams 04-15-2002 10:36 AM

Just noticed when clicking on the link to see who voted for you any smiles in the thread will stop animating, i don't recall this happening on 2.2.4 but is on 2.2.5 is there anyway around this plz

Beams :D

EXCHANGE 04-15-2002 04:16 PM

That's because the thread is not your active browser window anymore, when you click on "who rated".

@Crazy Mofo

Some Stars

212rikanmofo 04-24-2002 08:35 PM

another idea for this hack would be when you click Who rated, it popups a window and lists the name of all the people who rated you. But besides there name can you show like what they rated you as? like how many points they gave to you 1-5? that would be much better.

and also has anyone tried figuring out how to incorporate this hack into your postbit template so users can click and rate you in there as well? thanks...

great hack!

Roxie 05-20-2002 05:13 PM

Hi, does this work with 2.2.5?
Thanks!

EXCHANGE 05-20-2002 07:40 PM

Quote:

Originally posted by Roxie
Hi, does this work with 2.2.5?
Thanks!

yes it does :)

asweetdeal 06-05-2002 05:00 PM

Quote:

Originally posted by Erwin

I manage to insert the rating bar in my postbit too, so people can be rated from the postbit.

Great hack!!! :) [/B]
How did you put it in the postbit?

Also... I would like the rating to show under the user's avitar, what changes do I need to do in order to do this? Right now it appears above the post.



Thanks!
ASweetDeal

Bro_Joey_Gowdy 06-24-2002 12:20 PM

Nice hack

X-Fan 06-24-2002 02:14 PM

I'd like to know how to add the option to rate a user from their posts as well.

It would also be good to prevent people from voting for themselves, just to keep things fair.

Any suiggestions as to how to do the above?

fasthu 06-27-2002 12:19 AM

maybe I'm retarded but all mine says is Rating:(no Votes)
and under user options the radio buttons for user rating or unchecked.

and how do I vote?!

Awesome mod...
thanks in advance

EXCHANGE 06-27-2002 03:25 AM

You can vote in the members profiles.
If not you'll have to check your installation again. If you did everything right the hack has to work.
Also works in 2.2.6

Mystislav 07-12-2002 06:34 PM

Well I guess I'll be installing again.. :( When I modifeid the Members.php lots of ++++ed up ++++ happened, like you couldnt change ur avatar, and when u clicked "yes i wanna be rated" it would be a error, and when u clicked someones profile it'd ++++ up.

BigJohnson 07-12-2002 06:41 PM

How can you make it so u cannot rate your self. I think rating your self is pretty dumb. Please help. Thanks.

Mystislav 07-12-2002 08:25 PM

Someone please answer my question...

Mystislav 07-15-2002 05:20 PM

When I run the Queries this is the error message I get..

----

Database error in vBulletin Control Panel 2.2.6:

Invalid SQL: CREATE TABLE user_rate (
userrateid int(10) unsigned NOT NULL auto_increment,
rateduser int(10) unsigned DEFAULT '0' NOT NULL,
userid int(10) unsigned DEFAULT '0' NOT NULL,
userrating smallint(6) DEFAULT '0' NOT NULL,
PRIMARY KEY (userrateid),
KEY rateduser (userid)
);
ALTER TABLE user ADD ratenum SMALLINT(5) UNSIGNED DEFAULT '0' NOT NULL;
ALTER TABLE user ADD ratetotal SMALLINT(5) UNSIGNED DEFAULT '0' NOT NULL;
ALTER TABLE user ADD allowrate SMALLINT(5) UNSIGNED DEFAULT '1' NOT NULL;
mysql error: You have an error in your SQL syntax near ';
ALTER TABLE user ADD ratenum SMALLINT(5) UNSIGNED DEFAULT '0' NOT NULL;
ALT' at line 8

mysql error number: 1064

Date: Monday 15th of July 2002 02:20:09 PM
Script: http://66.192.45.86/~sjmadho/board/b...dmin/query.php
Referer: http://www.sjmadhouse.net/board/admin/query.php

------

Can someone help me out

Mystislav 07-16-2002 06:32 AM

^BUMP^

BigJohnson 07-16-2002 11:43 AM

same here bump. I would like y question answered to please.

Mystislav 07-17-2002 07:32 AM

Is anyone gonna help us???????????

BigJohnson 07-20-2002 09:21 AM

HELP PLEASE. I would like to no how you can change this hack so you cannot rate your self please.

FrankR310 07-28-2002 01:22 AM

anyone know how many additional queries this adds?

ULTIMATESSJ 08-29-2002 12:19 PM

Does this hack work with 2.2.6

EXCHANGE 08-29-2002 04:15 PM

yes

Erwin 08-29-2002 05:36 PM

Quote:

Originally posted by BigJohnson
HELP PLEASE. I would like to no how you can change this hack so you cannot rate your self please.
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!

Kars10 08-31-2002 12:43 PM

This Hack is great!! Works like a charm on 2.2.6 and install without any Problems!!
[high]* Minifreunde klicks install!! :)[/high]

LordB 10-16-2002 02:19 AM

Has any one tryed this with 2.2.8?

Also how easy is it to reaply the patch after an upgrade.

B

Erwin 10-16-2002 02:42 AM

Works 100% with vB 2.2.8.

I upgrade using Araxis Merge, so no need to reapply.

lifesourcerec 12-04-2002 02:05 AM

Have a question. this may be a totally different hack. A user rating system (such as feedback) where it is only +1 and -1 (somewhat like Ebay feedback). Is there a hack like that?

Crazy Pete 12-09-2002 09:11 PM

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?

Erwin 12-10-2002 01:51 AM

Make sure there is a } underneath. You must have deleted the } by accident.

Crazy Pete 12-10-2002 02:04 AM

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.

BrAinZ 12-28-2002 09:23 PM

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?

zefman 12-29-2002 12:22 PM

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

BrAinZ 12-29-2002 07:44 PM

Nice one.. thanks, I'll give it a go then.

Colon33 01-08-2003 09:44 PM

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?

PiotrasG 01-16-2003 07:14 PM

hey works great with 2.29 one question how can i get the rating form to work in postbit.

Yuber 02-20-2003 03:22 PM

Thanks for the hack

Xyphen 03-08-2003 12:17 AM

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


All times are GMT. The time now is 09:38 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.01247 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
  • (2)bbcode_code_printable
  • (4)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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