vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   # Of Users Using Each Style (https://vborg.vbsupport.ru/showthread.php?t=92263)

paul41598 07-14-2005 10:00 PM

# Of Users Using Each Style
 
There wasnt anything out there like this, so I decided to write up a mod for it. The preferred method is to put it in the dropdown after the style name, but I could not get it to work for the life of me. So anyone can feel free to expand this mod to do so.

Description:

This mod/hack counts the number of users using each style and displays the results in a popup window for all to see.


Time For Install:

Less than 5 minutes


Files To Modify:

None
1 Added

Templates Modified:

1 (footer)
1 Added

Note: Feel free to modify the ? mark in the footer instructions and name it to whatever you want. Don't forgot to click install

bigcurt 07-15-2005 05:02 PM

Hey Hey, pretty nice man

[high]* bigcurt installs ( first :) )[/high]

Corriewf 07-15-2005 05:41 PM

Just to let those know that this does add another query to your forum homepage.

ze_roberto 07-16-2005 09:20 AM

Nice, clever and smooth :)

Thank you very much.

[high]* ze_roberto clicks install
[/high]

cheers, ze

Mr. Brian 07-20-2005 11:45 PM

Thanks for sharing it with us!

Keep up the good work man. :)

DS MrSinister 07-21-2005 02:26 AM

nice hack. any chance on making work with prefix's?

Roms 07-21-2005 07:14 PM

Nice hack. Just a few things... you need to add a scroll bar in the popup for those of us that have a ton of styles or you can't see them all (or make the window longer). Also if you use a prefix in your database you need to edit the php file or you'll get error.

Thanks I've wanted this for a while. Cheers

Clicks Install

DS MrSinister 07-22-2005 01:27 PM

CAn anyone help me on where i should add prefixs in the php file.
I am still new to this stuff..

Thanks

Marco van Herwaarden 07-22-2005 01:57 PM

Anywhere in front of a table name:
PHP Code:

".... FROM " TABLE_PREFIX "tablename....." 


Sleepyk 07-31-2005 10:12 PM

nice i seen this on some forums before with with vb 2.xxx?

good job


All times are GMT. The time now is 07:47 PM.

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.01048 seconds
  • Memory Usage 1,726KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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