php forum
php mysql forum
php mysql smarty
 
Page 1 of 2 1 2 >
Topic Options
#237514 - 02/22/03 01:02 AM Stylesheet Popularity 1.0
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC

   Stylesheet Popularity 1.0 to Del.icio.us Add to del.icio.us
  Digg Stylesheet Popularity 1.0 Digg it
Mod Name / Version: Stylesheet Popularity 1.0<br /><br />Description: Adds a quick link (graphical interface) in the Admin menu to display how many users are using which of your stylesheets. Saves having to remember the query. <br /><br />Working under: 6.2<br /><br />Any pre-requisites: none<br /><br />Author(s): JoshPet from www.joshuapettit.com<br />              for discussions and bugs go to www.threadsdev.com<br /><br />Date: 2/21/03<br /><br />Credits: The Real Kudos go to RandyJG for the Query I used. <img src="/forum/images/graemlins/wink.gif" alt="" /><br /><br />Files Altered: /admin/menu.php<br /><br />Database Altered: No.<br /><br />New Files: csspopularity.php is added to the admin directory of your threads install.<br /><br />Notes: Very simple hack.<br /><br />


Attachments
70300-stylesheetpopularity1.0.zip (88 downloads)

_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#237515 - 02/22/03 02:29 AM Re: Stylesheet Popularity 1.0 [Re: Daine]
smilesforu Offline
Junior Member

Registered: 01/31/02
Posts: 676
Added this one... interesting to see which one the folks are using. I was surprised.

Top
#237516 - 02/22/03 10:12 AM Re: Stylesheet Popularity 1.0 [Re: Daine]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Very <img src="/forum/images/graemlins/cool.gif" alt="" /> !
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#237517 - 02/22/03 07:28 PM great - it works under [6.1.1] [Re: Daine]
Slawek_L Offline
Enthusiast

Registered: 01/28/03
Posts: 364
Loc: Poland, Warsaw
If we delete lines:<br /><br />// -------------<br />// Get the input<br /> $Cat = get_input("Cat","get");<br /><br />File will be work under [6.1.1] version <img src="/forum/images/graemlins/laugh.gif" alt="" />
_________________________
[]http://www.mb.org.pl/forum/images/graemlins/icon_astro.gif[/] MB Klub Polska
[b]& Orlen-Team

Top
#237518 - 02/23/03 03:00 AM Re: great - it works under [6.1.1] [Re: Dawg_dup1]
Gardener Offline
Addict

Registered: 05/11/99
Posts: 1956
Loc: Sweden, Uppsala
That's good to know, I think I'll install it then. It's a nice little script.
_________________________
/Gardener | Complete list of my mods

Top
#237519 - 02/23/03 03:03 AM Re: great - it works under [6.1.1] [Re: c0bra]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
he he<br />You gotta get to 6.2. <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#237520 - 02/23/03 03:06 AM Re: Stylesheet Popularity 1.0 [Re: Daine]
Zackary Offline
Member

Registered: 03/01/01
Posts: 652
Loc: West Fargo, ND USA
Easiest mod I've ever added! Nice work <img src="/forum/images/graemlins/smile.gif" alt="" />

Top
#237521 - 02/23/03 03:28 AM Re: great - it works under [6.1.1] [Re: Daine]
Gardener Offline
Addict

Registered: 05/11/99
Posts: 1956
Loc: Sweden, Uppsala
Well, I can answer 6.1.1 questions easier, so maybe I'll just stick to this version. =] Nahh. Just need to get my site moved to a new CMS before I upgrade threads, and I also think my users need some time before any more changes to threads. They are very frail, any change at all and they go completely insane. Even if it is something they've been bugging me to fix for ages...
_________________________
/Gardener | Complete list of my mods

Top
#237522 - 02/23/03 03:46 AM Re: great - it works under [6.1.1] [Re: c0bra]
Hal9000 Offline
Journeyman

Registered: 11/04/02
Posts: 120
Very good. Thanks Josh

Top
#237523 - 02/23/03 05:27 PM Re: Stylesheet Popularity 1.0 [Re: Daine]
dimopoulos Offline
Kahuna

Registered: 08/18/02
Posts: 1271
Loc: Vienna, Austria
Very nice one Josh! Thanks for that!<br /><br />I never knew how popular some stylesheets are!
_________________________
Nikos

Top
#237524 - 02/24/03 01:50 AM Re: Stylesheet Popularity 1.0 [Re: Daine]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
What about the option to force the users who have selected "style sheet x" to now use "style sheet y" so that if you change the style sheets you can fix style sheet errors before people complain <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#237525 - 02/24/03 12:10 PM Re: Stylesheet Popularity 1.0 [Re: Hal_dup2]
oceanwest Offline
Enthusiast

Registered: 04/25/02
Posts: 490
Loc: Escondido, CA
This is great... one queston i have 16 people useing a style that has NO Name... yesterday I had forced everyone to use default. <br /><br />I have cleared my style sheets and uploaded only the default one plus my styles.<br /><br />Any thoughts?
_________________________
FM Forums
Largest Online FileMaker Community
http://www.fmforums.com

Top
#237526 - 02/24/03 12:41 PM Re: Stylesheet Popularity 1.0 [Re: sdf123]
Dave_L_dup1 Offline
Addict

Registered: 04/23/02
Posts: 1929
Loc: Virginia, USA
[]yesterday I had forced everyone to use default[/]<br /><br />How exactly did you do that?
_________________________
UBB.threads beta tester / threadsdev.com moderator
Software consulting services including UBB.threads problem resolution / installs / upgrades / customization.

Top
#237527 - 02/24/03 02:08 PM Re: Stylesheet Popularity 1.0 [Re: joeuser]
oceanwest Offline
Enthusiast

Registered: 04/25/02
Posts: 490
Loc: Escondido, CA
_________________________
FM Forums
Largest Online FileMaker Community
http://www.fmforums.com

Top
#237528 - 02/24/03 03:39 PM Re: Stylesheet Popularity 1.0 [Re: sdf123]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
The same thing happened to me.
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#237529 - 02/24/03 03:41 PM Re: Stylesheet Popularity 1.0 [Re: jacksonm99]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Yeah, I've noticed Blank Stylesheets to... which would cause them to end up being shown the default. <br /><br />But I notice that even shorly after I reset everyone with the query.
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#237530 - 02/24/03 03:50 PM Re: Stylesheet Popularity 1.0 [Re: sdf123]
Dave_L_dup1 Offline
Addict

Registered: 04/23/02
Posts: 1929
Loc: Virginia, USA
Ok. The default value for a user's stylesheet is NULL, which is interpreted the same as 'usedefault', and would show up as an empty string when this hack is used.
_________________________
UBB.threads beta tester / threadsdev.com moderator
Software consulting services including UBB.threads problem resolution / installs / upgrades / customization.

Top
#237531 - 02/24/03 11:44 PM Re: Stylesheet Popularity 1.0 [Re: joeuser]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Thanke for the explanation dave! Is this another one of those "irritations" in Threads that needs to be fixed?
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#237532 - 02/24/03 11:49 PM Re: Stylesheet Popularity 1.0 [Re: jacksonm99]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Dave, is this is another case where "NULL" shouldn't be used?<br /><br />Shouldn't the default setting in the database be 'usedefault'?
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#237533 - 02/25/03 08:40 AM Re: Stylesheet Popularity 1.0 [Re: Daine]
Gardener Offline
Addict

Registered: 05/11/99
Posts: 1956
Loc: Sweden, Uppsala
Sounds like it. They can really make things work in quirky ways.
_________________________
/Gardener | Complete list of my mods

Top
Page 1 of 2 1 2 >


Top Posters Last 30 Days
AllenAyres 20
Gizmo 10
blaaskaak 2
S7ARBVCK 2
Iann128 1
Claus1 1
M4D 1
Who's Online
1 Registered (AllenAyres), 33 Guests and 7 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Security Patch released for all 7.x versions
by AllenAyres
Today at 08:00 PM
What do you use to edit the files
by AllenAyres
Today at 07:54 PM
Team UBBDev Rides Again!
by AllenAyres
Today at 07:32 PM
Here I am! Rock me like a Hurricane!
by AllenAyres
Today at 07:20 PM
BeyondCompare v3.00
by AllenAyres
Today at 07:16 PM
[7.3.1] add search to showmembers page
by AllenAyres
Today at 07:13 PM
Noob - need help, or a reality check!
by Gizmo
09/04/08 03:21 AM
New Mods
[7.3.1] add search to showmembers page
by blaaskaak
Today at 04:50 AM
Installing FlashChat with 7.3
by Paug
08/23/08 12:14 AM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.2.1] - Naked shoutbox
by sirdude
08/17/07 10:36 PM
[7.x] Generic Page Outside of forum directory
by
01/14/07 10:58 PM
Newest Members
veedubb8, twentyseven, Claus1, welcomeback1, Paug
13327 Registered Users

 

 

 
fusionbb message board php hacks