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 Forum Activeness Hack v1.0 (https://vborg.vbsupport.ru/showthread.php?t=43116)

g-force2k2 09-18-2002 03:48 PM

yeah thanks dong ;) just shows im not a perfect coder :p im just coding off the top of my head... sorry for any of the errors ;) regards...

g-force2k2

PsYc 09-18-2002 05:27 PM

Quote:

Originally posted by g-force2k2
wolfe make sure you have the $forumactive variable in the getinfo template...

PsYc open the getinfo template find:

PHP Code:

    $f_posts floor(($t_post[ppforum] / $userinfo[posts]) * 100); 

replace it with:

PHP Code:

    if($t_posts[ppforum] > 0) {
             
$f_posts floor(($t_post[ppforum] / $userinfo[posts]) * 100);
            } else {
               
$f_posts 0;
            } 

that should do the trick... regards...

g-force2k2


thank you :) works great

Units 09-25-2002 12:48 AM

Excellent hack.

Installed.

Cyberhouse 09-28-2002 09:23 AM

Installed :)

looks great

over 12-19-2002 01:22 PM

testing b4 decide wether to install or not.

Kriek 07-08-2003 02:31 AM

Flawless via 2.3.0, first-rate work.

/me clicks install

legendarysk8er 09-03-2003 01:47 AM

Maybe I am just blind, but for some reason I cannot see the attachment to download it..

FastAttack 09-13-2003 03:46 PM

ever since they upgraded some of the threads have gone invalid :|

Liz 09-24-2003 04:07 AM

g-force2k2 - Any chance you can release this again as I'd really like it for my forum. ;)


All times are GMT. The time now is 06:11 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.01110 seconds
  • Memory Usage 1,744KB
  • 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_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