PDA

View Full Version : Custom Status Icons


TandyServices
11-19-2009, 09:56 AM
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:
<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 {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
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
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.


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
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 1260139188 at 1260139188 ---------------

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?