Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-04-2007, 05:59 PM
Tact7626 Tact7626 is offline
 
Join Date: Feb 2007
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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.
Reply With Quote
  #2  
Old 04-04-2007, 06:45 PM
calorie calorie is offline
 
Join Date: May 2003
Posts: 2,804
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #3  
Old 04-05-2007, 09:59 PM
Tact7626 Tact7626 is offline
 
Join Date: Feb 2007
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

awesome, awesome, awesome.

thank you very much.
Reply With Quote
  #4  
Old 06-22-2008, 05:48 PM
Raptor Raptor is offline
 
Join Date: Nov 2001
Posts: 499
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is great - just what I needed for vb 3.7.1

Now what about forum_link.gif & forum_new_lock.gif ?

Thanks
Reply With Quote
  #5  
Old 06-23-2008, 02:47 PM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #6  
Old 06-24-2008, 09:06 AM
Raptor Raptor is offline
 
Join Date: Nov 2001
Posts: 499
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FRDS View Post
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 !
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 06:59 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.03609 seconds
  • Memory Usage 2,206KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete