Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-24-2007, 06:36 PM
Avensen Avensen is offline
 
Join Date: Oct 2006
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Different post icons and smiles for each style. How?

I have 3 skins at my vBulletin 3.6.4 forum:

- default vBulletin skin
- customskin1
- customskin2

customskin1 and customskin2 have modified post icons and smiles, however, vBulletin always shows post icons and smiles from /images/icons/ and /images/smiles/ folders, which have default images.

How do I set vBulletin to show custom icons from /customskin1/icons/, /customskin2/icons/ and smiles from /customskin1/smiles/, /customskin2/smiles/ folders when user chooses a non-default skin?

Thanks in advance!
Reply With Quote
  #2  
Old 02-24-2007, 10:35 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not possible on a default vbulletin installation.. it may be possible with a plugin
Reply With Quote
  #3  
Old 02-25-2007, 10:04 AM
Avensen Avensen is offline
 
Join Date: Oct 2006
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Princeton View Post
not possible on a default vbulletin installation.. it may be possible with a plugin
I'd appreciate if someone suggests such a plugin.
Reply With Quote
  #4  
Old 02-25-2007, 11:08 AM
fusiongoddess fusiongoddess is offline
 
Join Date: Jan 2003
Location: Ontario
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Me too!!
Reply With Quote
  #5  
Old 02-25-2007, 03:51 PM
Azhrialilu's Avatar
Azhrialilu Azhrialilu is offline
 
Join Date: Aug 2003
Location: Stretton, Derbyshire
Posts: 445
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Of course, this is possible - no plug ins or file mods required.

At the very bottom of your "all style options" page for each style (where you input the css values, etc) you'll see a box titled "Replacements Variables". Click "Add new replacement variable", select the style you want different images to show in. In the Search for Text box type in the original url, eg /images/icons and in the Replace with Text box type in the new url to the images, for example /newstyle/images/icons

You can do this with smilies too. Get stuck, give me a yell. Over on GFXStyles, we do this by default on all our styles.

One more thing, if you're going to do this for smilies, you must ensure that your replacement images are saved with the same file names as the defaults.
Reply With Quote
  #6  
Old 02-25-2007, 05:32 PM
Avensen Avensen is offline
 
Join Date: Oct 2006
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Azhrialilu View Post
Of course, this is possible - no plug ins or file mods required.

At the very bottom of your "all style options" page for each style (where you input the css values, etc) you'll see a box titled "Replacements Variables". Click "Add new replacement variable", select the style you want different images to show in. In the Search for Text box type in the original url, eg /images/icons and in the Replace with Text box type in the new url to the images, for example /newstyle/images/icons

You can do this with smilies too. Get stuck, give me a yell. Over on GFXStyles, we do this by default on all our styles.

One more thing, if you're going to do this for smilies, you must ensure that your replacement images are saved with the same file names as the defaults.
Thanks, Azhrialilu. It worked like a charm.
Reply With Quote
  #7  
Old 02-25-2007, 05:52 PM
Azhrialilu's Avatar
Azhrialilu Azhrialilu is offline
 
Join Date: Aug 2003
Location: Stretton, Derbyshire
Posts: 445
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You're more than welcome
Reply With Quote
  #8  
Old 03-15-2007, 03:59 AM
lostgirl815 lostgirl815 is offline
 
Join Date: Apr 2006
Posts: 228
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried this, and now style-specific icons are on styles other than the one I chose. I tried to change them back using the replacement variable on the style where I didn't want them - they're still there. I'm afraid to mess with it anymore. Does anybody have any idea why it would replace words in a different style? The target style was not a child style.
Reply With Quote
  #9  
Old 03-15-2007, 07:17 AM
Azhrialilu's Avatar
Azhrialilu Azhrialilu is offline
 
Join Date: Aug 2003
Location: Stretton, Derbyshire
Posts: 445
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It shouldn't. Where did you make the changes?
Reply With Quote
  #10  
Old 03-27-2007, 12:29 AM
odie3 odie3 is offline
 
Join Date: Mar 2007
Location: Kyle USA
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

man, I think I want to do this but that replacement thing scares me... I currently have vB theme and a Black/Gold theme and I would like to separate the icons at least [and perhaps the smilies too.

what if I mess up and want to change back? say i mess up?

Well, I tried it and it was easy to revert [delete] my change. Which is good cause it did not work...
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 12:48 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.05278 seconds
  • Memory Usage 2,253KB
  • 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_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