Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Design and Graphics Discussions
  #1  
Old 05-12-2010, 01:05 AM
wptavern wptavern is offline
 
Join Date: Jan 2009
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Default Style And Image Directories

I'm trying to port an old theme into Vbulletin 4.0 using the default style that ships with it. My old style used .gif images. I noticed in the stylevar area, you can specify the image directory for certain images. For some reason, the default style wants to ignore the image directory paths I put in. And when I do have them saved, the images don't even load. It says it can not find the image on the server. What do I have to do to get all of my old style images to work in VB 4 with the default style? Also, why is something as trivial as images this difficult?
Reply With Quote
  #2  
Old 05-12-2010, 04:45 AM
napy8gen napy8gen is offline
 
Join Date: Jan 2006
Location: port ++++son
Posts: 519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vbulletin 4 uses mainly PNGs.

vb3.8.x uses gifs.
Reply With Quote
  #3  
Old 05-12-2010, 12:46 PM
visageiii visageiii is offline
 
Join Date: Apr 2010
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

welcome to my nightmare. I had to download all the old images, and I used photoshop to rename all of them.
(yes I realize I could've used a replacement var but I'd rather keep the code as clean as possible)

hint, for every image there seems to be 3 or 4 that need to be made. so if you want everything to be the same size image, just save the same image under all the names. (40b, 30, etc)
Reply With Quote
  #4  
Old 05-12-2010, 10:28 PM
setishock setishock is offline
 
Join Date: Feb 2008
Location: Houma, La.
Posts: 1,177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You'll either have to convert your images to .png and rename them to match the calls in the templates, or go through the templates and look for the calls for the icons and rename them.
Reply With Quote
  #5  
Old 05-13-2010, 12:41 AM
wptavern wptavern is offline
 
Join Date: Jan 2009
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the help. Which do you think would be easier? I know you can't answer the next question but I find it dumb that the VBulletin team forces the PNG format down our throats. If I put in an image directory path, it should use the images within them regardless of what format they are in.
Reply With Quote
  #6  
Old 05-13-2010, 04:46 AM
setishock setishock is offline
 
Join Date: Feb 2008
Location: Houma, La.
Posts: 1,177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No the call for the status icons is hard coded in. Look in the forum templates. Forumhome and forum display templates have .png images calls hardcoded in. It's just gonna be quicker to get IrFanView and do a batch conversion. You may lose the transparent corners though.
Reply With Quote
  #7  
Old 05-13-2010, 02:03 PM
visageiii visageiii is offline
 
Join Date: Apr 2010
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by setishock View Post
No the call for the status icons is hard coded in. Look in the forum templates. Forumhome and forum display templates have .png images calls hardcoded in. It's just gonna be quicker to get IrFanView and do a batch conversion. You may lose the transparent corners though.
photoshop converstion doesn't have that problem. (losing transpartent corners that is)
Reply With Quote
Reply

Thread Tools
Display Modes

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 11:05 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04817 seconds
  • Memory Usage 2,208KB
  • Queries Executed 13 (?)
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_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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_postinfo_query
  • fetch_postinfo
  • 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