vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Displaying Total Posts & Members on Header (https://vborg.vbsupport.ru/showthread.php?t=258284)

vivoperdio 03-18-2011 08:26 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2174466)
You can use the $bop variables just fine... if you use just $threads and $posts and such it might interfere with other mods or regular board functions, it's just a good idea to use unique names.

is this plug-in modifies database?

BirdOPrey5 03-18-2011 11:31 AM

No, no database modification. Just adds a query (reads from the database.)

vivoperdio 03-18-2011 12:24 PM

Thank you for your help, BOP5.. Have a great day always :)

vivoperdio 04-13-2011 09:07 AM

I used "$bopposts, $bopthreads, and $bopmembers" but not running:

https://vborg.vbsupport.ru/external/2011/04/28.png

BirdOPrey5 04-13-2011 05:14 PM

Are you sure you set "Active" to "Yes" in the plugin before saving it?

medicalforums 04-13-2011 08:40 PM

There's a mod for that. I use it and I have no problems.
Here's the link
https://vborg.vbsupport.ru/showthread.php?t=128863

vivoperdio 04-13-2011 11:30 PM

Hi there, medicalforums thanks for your advice :)

LoL.. I never used a plug-ins before, so the whole plug-ins system is disabled from the vBulletin Options.. I've enabled that and now the plug-ins is working.. Thanks BOP5 :D

Btw, how to make the total member display have ',' ?

For example, current display: 100000
How to make it displays: 100,000 ?

BirdOPrey5 04-14-2011 04:36 PM

Add this line to the end of the plugin:

Code:

$bopmembers = vb_number_format($bopmembers);
Should format the number with commas or periods or whatever you have set in vbulletin settings.

vivoperdio 04-16-2011 07:54 AM

Thanks BOP5, all set now :D

vivoperdio 04-19-2011 05:47 AM

@BOP5: I just upgraded to vBulletin 4, will this code works with vBulletin 4 ?


All times are GMT. The time now is 08:24 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.02128 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_code_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
  • (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