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)
-   -   Custom Status Icons (https://vborg.vbsupport.ru/showthread.php?t=228360)

TandyServices 11-19-2009 09:56 AM

Custom Status Icons
 
I'm wondering what I'm missing here.. I have made custom status icons and I'm trying to make them work in my styles. I have changed the filepaths in the Stylevars and all style options, but only the forum images are showing up. The small icons (legend) and thread icons are still showing the default. Is there any place else where I have to change the filepath?
Thanks :)

cabledr 11-25-2009 01:09 PM

Im intrested in this to i even updated path in stylevars and they still dont show ?

Charlie98902 11-25-2009 01:30 PM

They are images and located - / public_html / your test forum / images / statusicon

user-invisible.png

user-offline.png

user-online.png

Mostly all new images on VB4 are png's.

Make your png's and overwrite the ones there by default.

hoof 11-26-2009 12:46 PM

In the Forumhome and Forumdisplay templates they have been renamed to .png and sizes. The issue is no matter how many times you change your image path to your style folder the way they are coded on the templates still revert to the image directory of vB4 default.

Example on Forumdisplay:
Code:

<dl id="icon_legends">
                                <dt><img src="images/statusicon/thread_new-16.png" alt="{vb:rawphrase new_posts}" /></dt><dd>{vb:rawphrase new_posts}</dd>
                                <dt><img src="images/statusicon/thread-16.png" alt="{vb:rawphrase no_new_posts}" /></dt><dd>{vb:rawphrase no_new_posts}</dd>
                                <vb:if condition="$vboptions['usehotthreads']">
                                <dt><img src="images/statusicon/thread_hot_new-16.png" alt="{vb:rawphrase more_than_x_replies_or_y_views, {vb:raw vboptions.hotnumberposts}, {vb:raw vboptions.hotnumberviews}}" /></dt><dd>{vb:rawphrase hot_thread_with_new_posts}</dd>
                                <dt><img src="images/statusicon/thread_hot-16.png" alt="{vb:rawphrase more_than_x_replies_or_y_views, {vb:raw vboptions.hotnumberposts}, {vb:raw vboptions.hotnumberviews}}" /></dt><dd>{vb:rawphrase hot_thread_with_no_new_posts}</dd>
                                </vb:if>
                                <dt><img src="images/statusicon/thread_lock-16.png" alt="{vb:rawphrase closed_thread}" /></dt><dd>{vb:rawphrase thread_is_closed}</dd>
                                <dt><img src="images/statusicon/thread_dot-16.png" alt="{vb:rawphrase thread_contains_a_message_written_by_you}" /></dt><dd>{vb:rawphrase you_have_posted_in_this_thread}</dd>

The img src still points to the "image" directory and won't change unless you change the path or add the
Code:

{vb:stylevar imgdir_statusicon}
to these lines of code.

You will have to go through these 2 templates and find all that are coded with "images/statusicon" and fix them up to see the correct images.

Hope this helps

Blind Dragon 11-26-2009 02:29 PM

Guessing they will fix this in future release, because none of the image paths work through the old path settings or the new stylevars imagepaths.

It makes it pretty much impossible to make multiple, new styles without this option.

820Media 11-26-2009 04:28 PM

Ive got it to work perfect, all i had to do was change the formart to png (from .gif, vB3 stat icons) renamed to the vB4 ones and it worked perfect..

As you can see: https://vborg.vbsupport.ru/showthread.php?t=228937

VonDoom 12-02-2009 04:01 PM

Hmm this just may solve my post icon problems The gifs look like crap and need to be changed to pngs.

BBR-APBT 12-02-2009 04:33 PM

Quote:

Originally Posted by VonDoom (Post 1924143)
Hmm this just may solve my post icon problems The gifs look like crap and need to be changed to pngs.

You can replace them by using the Replacement Variable Manager.

AdminCP --> Styles & Templates --> Replacement Variable Manager

On the page next to the style you want to change them on click Add New Replacement Variable
Search for Text = first.png
Replace with Text = abv_yourimage.ext
Press save

Thats how I replaced my icons and pagination graphics. I just abbreviate mine with bbr_ and drop them in the same folder. So for my pagination image I named it bbr_first.png

VonDoom 12-02-2009 06:01 PM

Damn thanks again, thats an easy enough solution. Id hook ya up with some rep but well there disabled here.

The Cat! 12-06-2009 08:18 PM

I want to use animated gif's instead of png's. I can't figure out what to change to make it happen.

BBR-APBT 12-06-2009 08:27 PM

Quote:

Originally Posted by The Cat! (Post 1926476)
I want to use animated gif's instead of png's. I can't figure out what to change to make it happen.

Read my post above.


Quote:

Originally Posted by BBR-APBT (Post 1924153)
You can replace them by using the Replacement Variable Manager.

AdminCP --> Styles & Templates --> Replacement Variable Manager

On the page next to the style you want to change them on click Add New Replacement Variable
Search for Text = first.png
Replace with Text = abv_yourimage.ext
Press save

Thats how I replaced my icons and pagination graphics. I just abbreviate mine with bbr_ and drop them in the same folder. So for my pagination image I named it bbr_first.png


The Cat! 12-06-2009 08:32 PM

Quote:

Originally Posted by BBR-APBT (Post 1926480)
Read my post above.

First of all, thank's for your help.

When I do a search for "forum_new-48.png" which is the forum home png, it don't find that name in any of the templates.

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

Ok, I see what you're talking about.

Thanks a million!

oxman 12-11-2009 06:17 PM

I could use some help with this. I'am new to mods and this is one I'am wanting to add. I have file folders as post status icons and I don't have any idea how to change them, make new ones or anything especially how to add them to my site? Any help is greatly apprecited!! thanks!

fabiocesar 12-15-2009 07:01 PM

The right way

in forumhome_forumbit_level1_post search for forum_{vb:raw forum.statusicon}-48.png

thats it ...

oxman 12-17-2009 06:44 PM

How do I change it though to a different photo? What is the process to upload? Thanks!

ymam 01-13-2010 02:58 PM

I would like to make custom status icon that are displayed only in certain sections of our forums.
I've tried editing the Prefix for Forum Status Icons and the result is the forums in question have disappeared in vB 4.0.1.
Any suggestions?


All times are GMT. The time now is 04:54 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.01133 seconds
  • Memory Usage 1,754KB
  • 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
  • (2)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (16)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