vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - Top Posters (https://vborg.vbsupport.ru/showthread.php?t=121918)

Doglet 10-09-2006 12:21 PM

Hmm, I have a hidden moderators forum with hundreds of posts that don't count to the moderator's post count. In your utility they are being counted. My moderators are hidden from view and moderate as a bord and we let anonymous usernames be used to do the necessary moderation. This utility virtually identifies them as moderators as they have hundreds more posts than show andmy forum is less than 28 days old, hence the problem.

Paul M 10-09-2006 01:12 PM

Well I'm afraid the way it works is not going to change - about the only thing you could do is not include the moderators usergroup in the count (that is an option) - however, that assumes they are in their own primary usergroup and members might then wonder why those users never appear. If that's no good then I this hack is not for you.

jw00dy 10-17-2006 07:23 AM

Nice mod, as usual.

Installed

dendrob 10-17-2006 03:52 PM

Will this work on VB3.5.4 or do I need older version? I tried to install it, but it crapped up on me with this error:

Code:

Database error in vBulletin 3.5.4:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO vb_plugin
(`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`)
VALUES
('1', '5', 'Top Posters (1)', 'parse_templates', '$search_text = \'$vbphrase[open_buddy_list]</a></td></tr>\';\r\n$add_text = \'<tr><td class=\\\"vbmenu_option\\\"><a href=\\\"misc.php?$session[sessionurl]do=topposters\\\">$vbphrase[top_posters_list]</a></td></tr>\';\r\n$vbulletin->templatecache[\'navbar\'] = str_replace($search_text,$search_text.$add_text,$vbulletin->templatecache[\'navbar\']);', 'paulm_20051029');

MySQL Error  : Unknown column 'executionorder' in 'field list'
Error Number : 1054
Date        : Sunday, October 15th 2006 @ 11:31:17 AM
Script      : http://www.orchidboard.com/community/admincp/plugin.php
Referrer    : http://www.orchidboard.com/community...?do=productadd
IP Address  : 24.57.23.17
Username    : Marty
Classname    : vb_database
Database error in vBulletin 3.5.4:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO vb_plugin
(`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`)
VALUES
('1', '5', 'Top Posters (1)', 'parse_templates', '$search_text = \'$vbphrase[open_buddy_list]</a></td></tr>\';\r\n$add_text = \'<tr><td class=\\\"vbmenu_option\\\"><a href=\\\"misc.php?$session[sessionurl]do=topposters\\\">$vbphrase[top_posters_list]</a></td></tr>\';\r\n$vbulletin->templatecache[\'navbar\'] = str_replace($search_text,$search_text.$add_text,$vbulletin->templatecache[\'navbar\']);', 'paulm_20051029');

MySQL Error  : Unknown column 'executionorder' in 'field list'
Error Number : 1054
Date        : Sunday, October 15th 2006 @ 11:31:17 AM
Script      : http://www.orchidboard.com/community/admincp/plugin.php
Referrer    : http://www.orchidboard.com/community...?do=productadd
IP Address  : 24.57.23.17
Username    : Marty
Classname    : vb_database

The install entered into some type of a loop, making the [................] longer and longer and never quitting.

Paul M 10-17-2006 06:08 PM

You cannot install this version on 3.5 since it's for 3.6 - there is a seperate 3.5 version.

dendrob 10-17-2006 06:37 PM

Funny, you beat me to it...I just came here to tell you to ignore it as I found the 3.5 hack. Thanks a bunch.

Paul M 10-26-2006 08:00 AM

Hmm, my copyright message has gone walkies on your forum ........

webgeek247 10-26-2006 08:53 PM

Hi, Paul M!

I've installed this hack and the top posters link appears in quick links and all the info shows up ok on the page that loads up, but how do I get the custom info to appear at the bottom of my forums (home display)


eg like bradhaskins has done http://www.worldlawdirect.com/forum/index.php?

My forums are here

http://www.djpassion.co.uk/forums/mi...?do=topposters

chris

webgeek247 10-26-2006 09:03 PM

Lol, my bad... its ok I’ve just realised that it's a different hack what Brad used for the bottom of his forums

Err, is there anyway of showing the top 10 posters in a box kinda section at the bottom of the forums though? Or does the top posters feature only in appear in the quick links

Paul M 10-26-2006 10:54 PM

Do you mean the 'Top 5 Stats' stuff ? - Yes, That is another hack that he has installed.

Not sure I understand your second question - you can manually add a link wherever you want.


All times are GMT. The time now is 08:40 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.01394 seconds
  • Memory Usage 1,741KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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