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)
-   -   Forum Post Breakdown (Per User) (https://vborg.vbsupport.ru/showthread.php?t=35040)

Shadowwalker 02-17-2002 02:37 AM

Will it work on 2.2.1, well I'll try it anyways.

TWTCommish 02-17-2002 03:01 AM

Yes, this should work on ALL 2.x versions. I don't see why it wouldn't...

eva2000 02-22-2002 11:04 AM

nice hack.. is it possible to make is viewable only in the admin control panel ?

TWTCommish 02-22-2002 11:51 AM

I 'spose so -- or to make it viewable only to admins of usergroupid 6. But where in the Admin CP would it be?

eva2000 02-22-2002 12:35 PM

Quote:

Originally posted by TWTCommish
I 'spose so -- or to make it viewable only to admins of usergroupid 6. But where in the Admin CP would it be?
i'd like to use this as tool for helping me determine who will become potential moderators on my forums

so maybe in admin panel under statistics category have heading

forum totals

when clicked

lists a hyperlinked list

forumtitle | total posts

when that's clicked reveals the totals for each member ?

TWTCommish 02-22-2002 12:36 PM

ooooh, tricky. I'll take a look and see what I can do. :)

Lucky 02-24-2002 06:13 AM

Works great on 2.2.2

Thank you.

Overgrow 02-24-2002 07:30 AM

Great little hack. Not your fault but it took too long (8 seconds on the larger forums and this is in the middle of the night with a small load.. 140k posts, 700k total). A quick modification and the link is now only visible to admins, normal users don't get the link:

open index.php, find:
PHP Code:

eval("\$forumbits .= \"".gettemplate("forumhome_forumbit_level$depth$tempext")."\";"); 

above that add:
PHP Code:

// *HACK: FORUM POST COUNTS

        
if ($bbuserinfo[usergroupid]==6) {
            
$replycountlink="<a href=\"javascript:whoposts($forum[forumid])\">$forum[replycount]</a>";
        } else {
            
$replycountlink="$forum[replycount]";
        }
        
// *HACK : FORUM POST COUNTS 

And then in the forumhome_forumbit_level1_post, etc templates, replace the link:
Code:

<a href="javascript:whoposts($forum[forumid])">$forum[replycount]</a>
with

Code:

$replycountlink

eGoR 04-08-2002 04:20 PM

great addie, Over
thx alot

and thx to hack writer :p


All times are GMT. The time now is 01:21 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.01021 seconds
  • Memory Usage 1,737KB
  • 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
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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