vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   Change file extension on statusicon images? (https://vborg.vbsupport.ru/showthread.php?t=144012)

Tact7626 04-04-2007 05:59 PM

Change file extension on statusicon images?
 
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:
Code:

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

Quote:

Originally Posted by FRDS (Post 1556867)
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 !


All times are GMT. The time now is 11:05 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01473 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete