UBB.Dev
Posted By: JoshPet [6.2] Stylesheet Dependant New Post Icons - 03/22/2003 8:03 PM
Mod Name: Stylesheet Dependant New Post Icons 1.0

Description: This replaces the icons on the Main Index Page with new post icons of
your choosing, for each stylesheet.

Author: JoshPet of www.joshuapettit.com
        For discussion and bug reports go to www.ubbdev.com

Credits: Requested by AKD96

Date: 3/22/03

Working Under: 6.2

Files Modified: ubbthreads.php, ubbthreads.tmpl, categories.tmpl

New Files: New Images of your choice

Database Modifications: None

Instructions: Inside your 'images' directory, create newposts.gif and nonewposts.gif images prefaced with the name of the stylesheet. For example: infopop-newposts.gif, greenday-nonewposts.gif. You'll need a set of images for each stylesheet.


Attached File
Posted By: AKD96 Re: [6.2] Stylesheet Dependant New Post Icons - 03/25/2003 5:51 AM
I've finally had some time to work on this, and I now have it up and running on my site. I used "Stylesheet Popularity 1.0" (thanks Josh!) and made folder graphics for the stylesheets that my users use. I then made copies of the default lightbulb and gave them their appropriate names for the stylesheets that noone uses as of now.

Feel free to "rip" my folder graphics if anyone wants to! I borrowed the basic design from UBBDesign, but changed the colours to my liking.

Attached File
74182-folders.zip  (211 downloads)
Posted By: JoshPet Re: [6.2] Stylesheet Dependant New Post Icons - 03/25/2003 5:55 AM
Very cool. Thanks.

Your site looks VERY cool with the table wrapper mods... and the cool blue stylesheet (that's my new fav and I'm using it here). And you are using retrostats. Good for you.
Posted By: AKD96 Re: [6.2] Stylesheet Dependant New Post Icons - 03/25/2003 6:34 AM
Thanks. What can I say, yer my mentor!
Posted By: AKD96 Re: [6.2] Stylesheet Dependant New Post Icons - 04/17/2003 12:54 AM
It appears that in categories.php in 6.3br1 there appears a few instances of $boardfolder="newposts.gif" and $boardfolder="nonewposts.gif" I'm guessing that these need to be changed to add the $fstyle- as well?
Posted By: JoshPet Re: [6.2] Stylesheet Dependant New Post Icons - 04/17/2003 12:56 AM
Yes. I think that's right.
nice one josh
Posted By: AKD96 Re: [6.2] Stylesheet Dependant New Post Icons - 10/07/2003 9:41 PM
Updated instructions for 6.4

Are the quick and dirty instructions okay?

Attached File
© UBB.Developers