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)

Bat-Man 03-07-2002 03:26 PM

Quote:

Originally posted by EXCHANGE
For example you could add sth. like this to userrate.php:

PHP Code:

elseif ($action==rate){
   eval(
"dooutput(\"".gettemplate('rateoption')."\");");


This would call the template rateoption where you could place your HTML code.

Sorry I don't have time at the moment to do kind of an addon, this is just an idea how it could work.




Quote:

Originally posted by Nam
I'm sorry, I'm a newbie so I don't really get what you were saying. Where can put the line:

elseif ($action==rate){
eval("dooutput(\"".gettemplate('rateoption')."\"); ");
}

you told me to? what line number, under or above what in userrate.php?

Then I will have to createa template call rateoption ? What should I put HTML code in it then :confused: .

Help me whenever you have time, I'd appreciate it.


I too would really like to know where to add this line to the userrate.php

Thanks in advance.

lowlight 03-08-2002 03:27 AM

Just a small issue to note... When using the /forum/online.php, if someone is rating someone else, it reports "UNKNOWN LOCATION" and the URL... You could update this hack to display the correct location, that would be great :)

Gamingforce 03-12-2002 07:55 AM

People on my message board were suggesting that those who have ratings disabled for themselves shouldn't be able to vote for anyone else. Does anyone want to work on this modification? =)

Gamingforce 03-12-2002 08:42 AM

Lol, you can't rely on others to do the work for you. Gotta do it yourself :(.

Here it is guys. Use the attached userrate.php file.

Make sure you create a new template "error_notallowedtorate" and put "You are not allowed to rate this user if others cannot rate you" or something like that. Enjoy.

freehtml 03-17-2002 01:12 PM

I had installed it and somehow the hyperlink to open the javascript window does not occur and on eof my member somehow does not display the Rating under his post

freehtml 03-17-2002 01:26 PM

Quote:

Originally posted by squawell
i have one problem?

why am i only can rate user in profile page can't rate in post

am i miss something in postbit or.....

hope somebody help me~~

I seems to have this problem too. I am using vb 2.2.4

Erwin 03-20-2002 05:03 AM

Quote:

Originally posted by Gamingforce
Lol, you can't rely on others to do the work for you. Gotta do it yourself :(.

Here it is guys. Use the attached userrate.php file.

Make sure you create a new template "error_notallowedtorate" and put "You are not allowed to rate this user if others cannot rate you" or something like that. Enjoy.

Thanks! Nice addition! :)

mewgood 03-24-2002 10:01 PM

does this work for 2.2.2?

Erwin 03-25-2002 01:32 AM

Quote:

Originally posted by mewgood
does this work for 2.2.2?
Yes.

mvigod 03-25-2002 02:32 AM

There are still no user comments from other users like ebay on this hack, right? Only votes?


All times are GMT. The time now is 12:46 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.01533 seconds
  • Memory Usage 1,739KB
  • 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
  • (5)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