PDA

View Full Version : Custom Status Icons


TandyServices
19 Nov 2009, 11:56
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
25 Nov 2009, 15:09
Im intrested in this to i even updated path in stylevars and they still dont show ?

Charlie98902
25 Nov 2009, 15:30
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
26 Nov 2009, 14:46
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
26 Nov 2009, 16:29
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
26 Nov 2009, 18:28
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: http://www.vbulletin.org/forum/showthread.php?t=228937

VonDoom
02 Dec 2009, 18:01
Hmm this just may solve my post icon problems The gifs look like crap and need to be changed to pngs.

BBR-APBT
02 Dec 2009, 18:33
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
02 Dec 2009, 20:01
Damn thanks again, thats an easy enough solution. Id hook ya up with some rep but well there disabled here.

The Cat!
06 Dec 2009, 22:18
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
06 Dec 2009, 22:27
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!
06 Dec 2009, 22:32
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
11 Dec 2009, 20:17
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
15 Dec 2009, 21:01
The right way

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

thats it ...

oxman
17 Dec 2009, 20:44
How do I change it though to a different photo? What is the process to upload? Thanks!

ymam
13 Jan 2010, 16:58
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?