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)

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?


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