PDA

View Full Version : Change file extension on statusicon images?


Tact7626
04-04-2007, 05:59 PM
Hello again. I have a question regarding the directories used for the forum. like Statusicon, buttons, and so on.

I learned how to change those images thanks to Damian here at vb.org. But now i'm wondering if its possible to change the file extension (maybe even the name) of the images themselves. I know i can phsycially do this, but vb will of course ignore those and not use them unless they have the exact name and stuff.

The reason I want to do this is because 2 of the styles i created in my friends forum use png's with 50% opacity so you can still see the bg through the forum.
(which so far can only be viewed in Firefox and IE7). You can see it here if you like.

"puresky"
http://www.legionofangels.net/forum/?styleid=10

"darksky"
http://www.legionofangels.net/forum/?styleid=11


The images i want to change are "forum_old", "forum_old_lock" and "forum_new". I want to make them png files and have vbulletin use those png files so I can take advantage of the alphalayers that only png's can do.


I just wanna know if it's possible. And if so, how it can be done. Thanks in advance.

calorie
04-04-2007, 06:45 PM
Replace .gif with .png in the following templates:

Where : forumhome_forumbit_level1_post, forumhome_forumbit_level2_post
What : forum_$forum[statusicon].gif

Where : FORUMDISPLAY, FORUMHOME
What : forum_new.gif, forum_old.gif, forum_old_lock.gif

Where : help_bbcodes
What : forum_new.gif

Tact7626
04-05-2007, 09:59 PM
awesome, awesome, awesome.

thank you very much.

Raptor
06-22-2008, 05:48 PM
This is great - just what I needed for vb 3.7.1

Now what about forum_link.gif & forum_new_lock.gif ?

Thanks

SEOvB
06-23-2008, 02:47 PM
You can also use the replacement variable manage to avoid template edits.

Just enter in the image_name.gif with new_image_name.png and it will change them.

You can find the Replacement Variable manager under the Styles and Templates menu

Raptor
06-24-2008, 09:06 AM
You can also use the replacement variable manage to avoid template edits.

Just enter in the image_name.gif with new_image_name.png and it will change them.

You can find the Replacement Variable manager under the Styles and Templates menu


a superb suggestion !