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

Almax1 10-13-2003 06:06 PM

and can u zip the screenies i cant seem to get them :(

Sc0rp 10-13-2003 08:02 PM

dude try reading my post :p

Quote:

- top xx in memberlist
and screenshots zip attached, though dont know what the problem is, they work fine here :)

Almax1 10-13-2003 09:35 PM

i asked because the memberlist bit does not show any reference to the hack
it is as it was b4

step 3:
edit memberlist.php
================================================== ==================

find:

if ($what=="topposters") {
$orderby="posts";
$direction="DESC";
}

UNDER that ADD:

-(start copying)-

if ($what=="toprated") {
$orderby="userrating";
$direction="DESC";
}

-(stop copying)-

save memberlist.php

is this all the code ??

everything else is sweet ;)

Almax1 10-13-2003 09:39 PM

edit memberlist template maybe ??

no reference in your file :P

MrNase 10-14-2003 10:50 AM

Do all ratings start by zero or is there a possibility to give my users the correct rating right from the start?

Sc0rp 10-14-2003 11:23 AM

almax, fixed it.. sorry for all the trouble.. I gotta make a list of what Im doing next time im writing a hack for the public :p Ive uploaded a fixed .txt so goodluck :)

MrNase, as I said there is a function to update the members rating, so yes you can give your users the correct rating from the start.. though it will run a LOT of queries.. I know there are better ways of doing this but I aint no MySQL hero.. was hoping that one of the pro's could help me out on that one :)

MrNase 10-14-2003 03:25 PM

i'd really like to use it but i already used v1 and my users didn't like it.
I could tell them this version runs better (it's the thruth) and all the bugs are fixed but the may feel like beeing on a playground and leave my board because they don't want to be rated.

I'll talk to my staff to find a solution but anyways: thanks for this hack, a lot of people waited a long time for this :)

Sc0rp 10-14-2003 04:05 PM

hmm sounds a bit weird to me, if u customize it right so that a member gets 1 rating for a reply and 3 for a thread there shouldnt be any problems imo.. its the same as having a post counter.. some ppl might not like it beacuse they dont have a lot of posts.. it represents the loyalty of your members and if they aint loyal/active then thats their problem right? :)

anyways its the peoples personal opinion on being rated (which represents their own activeness and loyalty 100%) I dont think there's much I can do about this

Almax1 10-14-2003 11:31 PM

thanks 4 the update m8 but u still missing a bit
no reference in your update to [top 10 rated] link
which resides in the memberlist template i think

think you may have forgotten
sorry mate 4 any hassle :P

Sc0rp 10-16-2003 12:03 PM

baah this is the most chaotic install file I made so far :p

Code:

find:

<td bgcolor="{secondaltcolor}"><smallfont><a href="memberlist.php?s=$session[sessionhash]&what=topposters&perpage=$memberlisttopposters"><b>Top $memberlisttopposters Posters</b></a></smallfont></td>

UNDER it ADD:

-(start copying)-

<td bgcolor="{secondaltcolor}"><smallfont><a href="memberlist.php?s=$session[sessionhash]&what=toprated&perpage=$memberlisttopposters"><b>Top $memberlisttopposters Rated</b></a></smallfont></td>

-(stop copying)-

there ya go :)


All times are GMT. The time now is 08:06 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.00970 seconds
  • Memory Usage 1,735KB
  • 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
  • (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