Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Show Users using Style in Stylechooser Details »
Show Users using Style in Stylechooser
Mod Version: 1.0.1, by Andreas (Coder) Andreas is offline
Developer Last Online: Mar 2019 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.5.0 RC2 Rating: (4 votes - 5.00 average) Installs: 94
Released: 04 Sep 2005 Last Update: 23 Aug 2006 Downloads: 196
Not Supported Uses Plugins Additional Files Is in Beta Stage  

Show Users using Style in Stylechooser

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

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	stylechooser.PNG
Views:	702
Size:	2.3 KB
ID:	34117  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 04 Sep 2005, 18:37
Xplorer4x4 Xplorer4x4 is offline
 
Join Date: Apr 2005
Real name: Call me X
First install. Thanks Kirby. I been needing this.
Reply With Quote
  #3  
Old 04 Sep 2005, 19:11
Kirk Y's Avatar
Kirk Y Kirk Y is offline
 
Join Date: Apr 2005
Sweet idea!

* acidburn0520 licks the install button
__________________
Former vBulletin.org Staff Member

Please feel free to re-use any of the code in any of my projects submitted to vB.org, so long as original attribution is retained.
Reply With Quote
  #4  
Old 04 Sep 2005, 20:56
Craigr's Avatar
Craigr Craigr is offline
 
Join Date: May 2002
Real name: Craig
Nice hack, installed and working : http://www.steven-seagal.net/forum/
Reply With Quote
  #5  
Old 04 Sep 2005, 21:13
turksengel turksengel is offline
 
Join Date: Aug 2005
thx clicked install
Reply With Quote
  #6  
Old 04 Sep 2005, 21:17
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Is there a way to add the vb_number_format for numbers over 999?
Reply With Quote
  #7  
Old 04 Sep 2005, 22:05
y2krazy y2krazy is offline
 
Join Date: Jun 2003
Real name: Sean
Installed. ^^

One question, where would I go to edit that number to, let's say, change it to "(X Users)"? Thanks again!
Reply With Quote
  #8  
Old 05 Sep 2005, 06:06
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Real name: Andreas
@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

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

to

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #9  
Old 05 Sep 2005, 09:40
y2krazy y2krazy is offline
 
Join Date: Jun 2003
Real name: Sean
Originally Posted by KirbyDE
@y2krazy
Sure. Take a look at functions_styleusers.php and change

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

to

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
Actually, that didn't change a thing. ><
Reply With Quote
  #10  
Old 05 Sep 2005, 10:08
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Real name: Andreas
It does - change your Style in UserCP, hit save and you'll see.
Reply With Quote
  #11  
Old 05 Sep 2005, 15:23
y2krazy y2krazy is offline
 
Join Date: Jun 2003
Real name: Sean
Originally Posted by KirbyDE
It does - change your Style in UserCP, hit save and you'll see.
Just tried it again, saved via the UCP, and it's still the same. Attachment included.
Attached Images
File Type: jpg Image2.jpg (8.7 KB, 76 views)
Reply With Quote
  #12  
Old 05 Sep 2005, 16:24
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Real name: Andreas
Normally that can't be. Send me a PM with an ACP and FTP Login and i'll take a look
Reply With Quote
  #13  
Old 22 Sep 2005, 12:03
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Ok, new wrinkle. I have 19 members and they are all using the forum default style. But in the style chooser it shows 17 using that style and 0 using the other one. Any ideas?
Reply With Quote
  #14  
Old 22 Sep 2005, 12:21
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Real name: Andreas
Uh? That should not happen, where are those 2 missing members ...


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


What does that tell?
Reply With Quote
  #15  
Old 22 Sep 2005, 14:04
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
ID - Count
----------
0 - 16
5 -1
6 -1
10 -1

But I deleted all styles except 2 of them. And rebuilt styles. Shouldn't it have reset?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 02:07.

Layout Options | Width: Wide Color: