![]() |
The names of your moods need to be typed in your vBulletin Options in your AdminCP exactly as they're named and uploaded into your image folder.
|
Hey, here is some code to align the image with the text and make it look nicer. I already made the edits on my board, and thought I'd share :)
In the quick_mood_change_by_sniper template HTML Code:
<span style="vertical-align: middle;">$vbphrase[my_mood]: </span><a href="#" id="moods"><if condition="!empty($bbuserinfo[mood])"><img style="vertical-align: middle;" src="images/mood/$bbuserinfo[mood].gif" border="0" /><else />$vbphrase[change_mood]</if></a> PHP Code:
HTML Code:
<if condition="!empty($post[mood])"> |
Quote:
|
Sure, I also used optgroup to put images in the drop down instead of text.
Here is a couple screenshots: |
WOW!!! That's cool!!! Great job!!! I think I might hafta do it your way!!! I like, I like!!:up: :up: :up:
How'd you do that?? |
LOL
If what I already posted makes no sense to you, then I recommend you wait for the mod author to incorporate my changes if he/she decides to do so. ;) |
You added the images to the drop-down with just that coding? I can handle that!! But it's what you said about using 'optgroup'? I'm sorry, but ya lost me there.:o
|
Oh. Optgroup is an html tag that allows background images.
So, I made this change to the select in the "[Mood Manager] - Make Drop Down Menu" hook: PHP Code:
I hard-coded the image size. If someone wanted to get all fancy they could probably make that more dynamic, but with the included images it works just fine. |
Sweet!! Thank you for taking the time to explain this to me. I will work on this in the morning! I'm looking forward to this!! I will let you know how it goes! Thanks again, Hambil! BTW, LOVE your avatar!! So cute!:o
|
It's not working with vbadvanced. Please check the attached photo. Thanks
|
All times are GMT. The time now is 07:37 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|