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's Percent of Total Posts (https://vborg.vbsupport.ru/showthread.php?t=32050)

Admin 11-03-2001 04:39 PM

Ooops, sorry. Did a typo. :o
Try again. :)

GeorgeofCS 11-03-2001 05:02 PM

well that didn't work at first, but I found another typo and it works now with

$percentoftotalposts = sprintf('%.2f', (($userinfo[posts] / $totalposts) * 100));

Thank you :)

apfeifer 11-04-2001 09:08 PM

Glad to see you got it working!

Should I change the documentation so it is compatible with older versions of PHP?

:cool:

eva2000 11-04-2001 10:02 PM

:cool:

KuraFire 11-05-2001 10:57 PM

I've got this installed, thanks man, nice hack! ^_^

over 11-09-2001 08:37 PM

nice hack :) thnx
couple of days ago i spent ages gettin some stats sorted for the top 10 posters :) gonna slightly modify it if thats ok with u to show % on the topposters script.

Sweet Evil 11-14-2001 05:00 AM

Yet another nice little feature by apfeifer, Thanks! ;)

punkbull 11-17-2001 12:54 PM

I'm getting this error at the top of my forum's profile page:

Quote:

Warning: Division by zero in /home/punkbull/public_html/member.php on line 1151
The user has no posts... I noticed that this is not happening with the vBulletin.org forums... I'm using the code straight from that text file. Any ideas?

Sweet Evil 11-17-2001 02:22 PM

What is you line 1151?

Mine has nothing to do with this edit.. but talks about Moderators..

Did you install another hack at the same time as this one?

If I ever have a problem, I like to take Araxis Merge 2001 Professional and open my file thats having problems and a orig.. from the zip file.... to see what could be wrong..

punkbull 11-17-2001 11:08 PM

Ahh, it was because there were no threads on the entire board ;)

Thank you!


All times are GMT. The time now is 01:42 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.01020 seconds
  • Memory Usage 1,728KB
  • 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_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