vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Is there any other reason (https://vborg.vbsupport.ru/showthread.php?t=295000)

Disco_Dave 02-11-2013 01:49 PM

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


LifesGreatestGift 02-11-2013 03:43 PM

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.

Disco_Dave 02-12-2013 07:39 AM

Cheers @Lifesgreatestgift I do have the right folder selected, and I'm editing the right template. Just doesn't want to work :(

nhawk 02-12-2013 11:53 AM

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.

Disco_Dave 02-12-2013 12:32 PM

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 :(

John Lester 02-13-2013 04:18 PM

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.

Disco_Dave 02-13-2013 04:27 PM

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

Is that correct?

John Lester 02-13-2013 04:28 PM

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"


All times are GMT. The time now is 03:50 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.01084 seconds
  • Memory Usage 1,731KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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