Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Active Members Percentage Details »»
Active Members Percentage
Version: 1.00, by Gray Matter Gray Matter is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.6.5 Rating:
Released: 03-05-2007 Last Update: Never Installs: 56
Uses Plugins
 
No support by the author.

Want to display what percentage of your members are active? This little mod will do the trick.

About
0 template edits
0 phrases
0 file changes
1 plugin

Installation Time

<1 minute

Simply upload the plugin and you're ready to go! See below for a screenshot.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 03-25-2007, 07:59 PM
Gray Matter Gray Matter is offline
 
Join Date: May 2005
Posts: 260
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not sure why this wouldn't work for some of you.

The plugin will automatically replace the active members number on your forum home page with the active members number and percentage.

Try uploading the plugin and then adding this wherever you want the percentage to show up:

Code:
$activemembers_percent%
So if you want it to show up right after the number (like in the screenshot), then replace

Code:
$activemembers
with

Code:
$activemembers ($activemembers_percent%)
Let me know if that works for you.
Reply With Quote
  #13  
Old 03-25-2007, 08:53 PM
LisaD1's Avatar
LisaD1 LisaD1 is offline
 
Join Date: May 2005
Location: True North Strong & Free!
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<div align="left">That didn't work either, but I have vbtrends in and I see they don't work together. But before I didn't have vbtrends and it still didn't work.
Still great idea though! </div>
Reply With Quote
  #14  
Old 03-29-2007, 12:15 PM
daddygrim daddygrim is offline
 
Join Date: Mar 2006
Location: Northern Va
Posts: 353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Threads: 3,587, Posts: 63,922, Members: 289, Active Members: 153 (52.94%) mine works.
Reply With Quote
  #15  
Old 04-11-2007, 04:49 PM
vics's Avatar
vics vics is offline
 
Join Date: Dec 2005
Location: Boston & Concord Ma.
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by LisaD1 View Post
That didn't work either, but I have vbtrends in and I see they don't work together. But before I didn't have vbtrends and it still didn't work.
Still great idea though!
Won't work for me either.... ug
Reply With Quote
  #16  
Old 05-06-2007, 02:02 AM
MeMySelfNi MeMySelfNi is offline
 
Join Date: Dec 2003
Location: west coast
Posts: 129
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did anybody ever find out why this didnt work for some?
Reply With Quote
  #17  
Old 10-11-2007, 01:41 AM
Mrdby Mrdby is offline
 
Join Date: Mar 2007
Location: Hades
Posts: 1,298
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

still works fine for me
Reply With Quote
  #18  
Old 10-11-2007, 05:14 AM
asj's Avatar
asj asj is offline
 
Join Date: Jul 2006
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks
Reply With Quote
  #19  
Old 03-14-2008, 11:54 PM
ndut ndut is offline
 
Join Date: Sep 2007
Location: Indonesia
Posts: 335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

there is some error for me..

Members: 7,099, Active Members: 3,902 (0.04%)

the code is....
Quote:
$activemembers_p = vb_number_format($vbulletin->userstats['activemembers'])/($vbulletin->userstats['numbermembers'])*100;
$activemembers_percent = number_format($activemembers_p, 2, '.', '');
$vbulletin->templatecache['FORUMHOME'] = str_replace("\$activemembers", "\$activemembers (\$activemembers_percent%)", $vbulletin->templatecache['FORUMHOME']);
i change to...
Quote:
$activemembers_p = vb_number_format($vbulletin->userstats['activemembers'])/($vbulletin->userstats['numbermembers'])*100000;
$activemembers_percent = number_format($activemembers_p, 2, '.', '');
$vbulletin->templatecache['FORUMHOME'] = str_replace("\$activemembers", "\$activemembers (\$activemembers_percent%)", $vbulletin->templatecache['FORUMHOME']);
Members: 7,099, Active Members: 3,902 (42.26%)
is there something wrong??? i think the percentage.. should be greater than 50% ??
anybody can help me??
Reply With Quote
  #20  
Old 03-15-2008, 04:25 AM
mikkitine's Avatar
mikkitine mikkitine is offline
 
Join Date: Oct 2007
Location: London
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you. I like this.
Reply With Quote
  #21  
Old 08-20-2008, 10:42 PM
CarterMarkham CarterMarkham is offline
 
Join Date: Apr 2008
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyway to get this to work with 3.7.2?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:16 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06443 seconds
  • Memory Usage 2,307KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete