![]() |
Show Users using Style in Stylechooser
<font size="3">Show Users using Style in Stylechooser</font>
Description This Hack shows the number of Users permanently using a Style in Stylechooser. Details 1 Product XML with 2 Plugins 1 PHP Function File Note: No queries or processing Overhead for normal Display! History 1.0.0 Initial Version 1.0.1 Compatibiity Update for vBulletin 3.6 |
First install. :) Thanks Kirby. I been needing this.
|
Sweet idea!
* acidburn0520 licks the install button |
Nice hack, installed and working : http://www.steven-seagal.net/forum/ :)
|
thx clicked install
|
Is there a way to add the vb_number_format for numbers over 999?
|
Installed. ^^
One question, where would I go to edit that number to, let's say, change it to "(X Users)"? Thanks again! |
@Boofo
That's not that easy, as the Text is hardcoded into stylecache. If you use only one Thoustand Separator it will work fine if you just use vb_number_format(), but if you have several languages you will run into Problems. To solv this you would have to remove the line that modifies the Title, cycle through the Chache upon each pageload and add the formatted Number there - but that adds some Overhead. Or you can hack the function that buils the stylechooser - that would work without much Overhead, but has the drawback of requiring Fileedits. @y2krazy Sure. Take a look at functions_styleusers.php and change PHP Code:
PHP Code:
|
Quote:
|
It does - change your Style in UserCP, hit save and you'll see.
|
All times are GMT. The time now is 01:45 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|