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

Reply
 
Thread Tools Display Modes
  #1  
Old 02-11-2013, 01:49 PM
Disco_Dave's Avatar
Disco_Dave Disco_Dave is offline
 
Join Date: May 2011
Location: Belfast
Posts: 586
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Is there any other reason

Hi Guys/Gals

Is there another reason to why these images below wouldn't work as a gif? I chenged the below, to read the gif's instead of the png's. But the images won't select?

Any ideas would be great

Dave



PHP Code:
<div id="pmlist_info" class="floatcontainer">
    <
div id="forum_icon_legend" >
        <
h5>{vb:rawphrase icon_legend}</h5>
        <
div class="forum_info_block blockbody formcontrols">
            <
dl class="forum_info_subblock icon_legends" id="icon_legends">
                <
dt><img src="{vb:stylevar imgdir_statusicon}/pm_new.gif" alt="{vb:rawphrase unread_message}" /></dt><dd>{vb:rawphrase unread_message}</dd>
                <
dt><img src="{vb:stylevar imgdir_statusicon}/pm_old.gif" alt="{vb:rawphrase read_message}" /></dt><dd>{vb:rawphrase read_message}</dd>
                <
dt><img src="{vb:stylevar imgdir_statusicon}/pm_replied.gif" alt="{vb:rawphrase repliedto_message}" /></dt><dd>{vb:rawphrase repliedto_message}</dd>
                <
dt><img src="{vb:stylevar imgdir_statusicon}/pm_forwarded.gif" alt="{vb:rawphrase forwarded_message}" /></dt><dd>{vb:rawphrase forwarded_message}</dd>
            </
dl
Reply With Quote
  #2  
Old 02-11-2013, 03:43 PM
LifesGreatestGift's Avatar
LifesGreatestGift LifesGreatestGift is offline
 
Join Date: Jul 2009
Location: Louisville, KY USA
Posts: 885
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nope just make sure you are uploading them into the proper directory, if you are using the default vbulletin or using a custom style they will have their own "Statusicon" folders.
Reply With Quote
  #3  
Old 02-12-2013, 07:39 AM
Disco_Dave's Avatar
Disco_Dave Disco_Dave is offline
 
Join Date: May 2011
Location: Belfast
Posts: 586
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cheers @Lifesgreatestgift I do have the right folder selected, and I'm editing the right template. Just doesn't want to work
Reply With Quote
  #4  
Old 02-12-2013, 11:53 AM
nhawk nhawk is offline
 
Join Date: Jan 2011
Posts: 1,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dave,

Go to ACP->Styles & Templates->Style Manager. For the style you edited the template in, select Style Variable Editor. In the search stylevar box type img.

Check the path for imgdir_statusicon. It may not be where you think it is and you may need to move the gifs to that folder.
Reply With Quote
  #5  
Old 02-12-2013, 12:32 PM
Disco_Dave's Avatar
Disco_Dave Disco_Dave is offline
 
Join Date: May 2011
Location: Belfast
Posts: 586
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks @nhawk, I'll check that.

Cheers

--------------- Added [DATE]1360753487[/DATE] at [TIME]1360753487[/TIME] ---------------

Folder checked, imgdir_statusicon checked, selecting the right folder. Edited the template from png to gif, but they will not show. the only way I can get them to show is if I change the names of my gif images to png's.......Has me
Reply With Quote
  #6  
Old 02-13-2013, 04:18 PM
John Lester John Lester is offline
 
Join Date: Nov 2004
Posts: 543
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you certain that you are editing the template for the right style? Ichanged out the pngs for gifs on my test site and it worked flawlessly.
Reply With Quote
  #7  
Old 02-13-2013, 04:27 PM
Disco_Dave's Avatar
Disco_Dave Disco_Dave is offline
 
Join Date: May 2011
Location: Belfast
Posts: 586
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes John, we only have two styles, default and a mobile style. I'm editing this one: pm_messagelist

Is that correct?
Reply With Quote
  #8  
Old 02-13-2013, 04:28 PM
John Lester John Lester is offline
 
Join Date: Nov 2004
Posts: 543
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yep that's the one I edited. Have you tried deleting the pngs from the status icon folder?

ADDED:

You could also try using a direct path for the images like (from my test site) <img src="/vb4112pl3/images/statusicon/pm_forwarded.gif" instead of <img src="{vb:stylevar imgdir_statusicon}/pm_forwarded.gif"
Reply With Quote
Благодарность от:
Disco_Dave
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 10:46 PM.


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.04238 seconds
  • Memory Usage 2,240KB
  • 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_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (1)post_thanks_box_bit
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete