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 11-19-2009, 09:56 AM
TandyServices's Avatar
TandyServices TandyServices is offline
 
Join Date: Aug 2008
Location: All over the USA
Posts: 216
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 11-25-2009, 01:09 PM
cabledr cabledr is offline
 
Join Date: Feb 2008
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im intrested in this to i even updated path in stylevars and they still dont show ?
Reply With Quote
  #3  
Old 11-25-2009, 01:30 PM
Charlie98902 Charlie98902 is offline
 
Join Date: Dec 2006
Posts: 1,156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 11-26-2009, 12:46 PM
hoof hoof is offline
 
Join Date: May 2006
Location: Texas, USA
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #5  
Old 11-26-2009, 02:29 PM
Blind Dragon Blind Dragon is offline
 
Join Date: Aug 2009
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 11-26-2009, 04:28 PM
820Media 820Media is offline
 
Join Date: Feb 2009
Location: England - Manchester
Posts: 231
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #7  
Old 12-02-2009, 04:01 PM
VonDoom's Avatar
VonDoom VonDoom is offline
 
Join Date: Dec 2008
Location: USA
Posts: 494
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm this just may solve my post icon problems The gifs look like crap and need to be changed to pngs.
Reply With Quote
  #8  
Old 12-02-2009, 04:33 PM
BBR-APBT's Avatar
BBR-APBT BBR-APBT is offline
 
Join Date: Feb 2009
Location: Maryland
Posts: 946
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by VonDoom View Post
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
Reply With Quote
  #9  
Old 12-02-2009, 06:01 PM
VonDoom's Avatar
VonDoom VonDoom is offline
 
Join Date: Dec 2008
Location: USA
Posts: 494
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Damn thanks again, thats an easy enough solution. Id hook ya up with some rep but well there disabled here.
Reply With Quote
  #10  
Old 12-06-2009, 08:18 PM
The Cat! The Cat! is offline
 
Join Date: Nov 2007
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I want to use animated gif's instead of png's. I can't figure out what to change to make it happen.
Reply With Quote
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 09:04 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.04247 seconds
  • Memory Usage 2,250KB
  • Queries Executed 11 (?)
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
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete