The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Mood Manager - with AJAX mood update. Details »» | |||||||||||||||||||||||||
By http://www.vbulletinexpert.com
UPDATES ON 24/07/2007 1.2.5 ----- - Fixed XSS security issue - Added Banned usergroup option UPDATES ON 15/04/2007 1.2.4 ----- Credits to hambil - https://vborg.vbsupport.ru/member.php?u=57845 for this update - Aligned text and images for a cleaner look - Changed dropdown to contain mood images instead of text, with admin option - Added optional auto replace for postbit and postbit legacy templates UPDATES ON 08/10/2006 1.2.3 ----- - Changed how the dropdown menu looks slighty, better I think. - One of the plugins was left inactive by mistake, now active. which resulted in dead mood images e.g. cross displayed in IE - Fixed a few mood names / images, so are the same. - Added a few NEW mood images, thanks to GlitterKill UPDATES ON 22/09/2006 ~~~~~~~~~~~~~~~~~ 1.2.0 ------ Simply Import the product and make sure you select "allow overwrite" - No Mood option added - User Moods will no longer disaply in postbit if moods are disabled. 1.1.3 ------ - thanks to basilrath for the moods. PLEASE READ THE INSTALL FILE What is It? It allows users to set a personal mood, which can be changed without reloading the page. The moodis displayed in the members profile and postbit. Instructions Incuded in the attached file. Demo Support I can provide better support at www.vbcmspro.com Upgrade My other hack depended on another hack, this does not, so simply undo / delete the other hack. Supporters / CoAuthors Show Your Support
|
Comments |
#322
|
|||
|
|||
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.
|
#323
|
||||
|
||||
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])"> <div> <span style="vertical-align: middle;">$vbphrase[my_mood]:</span> <img style="vertical-align: middle;" src="images/mood/$post[mood].gif" border="0" /> </div> |
#324
|
|||
|
|||
Quote:
|
#325
|
||||
|
||||
Sure, I also used optgroup to put images in the drop down instead of text.
Here is a couple screenshots: |
#326
|
|||
|
|||
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?? |
#327
|
||||
|
||||
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. |
#328
|
|||
|
|||
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.
|
#329
|
||||
|
||||
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. |
#330
|
|||
|
|||
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!
|
#331
|
||||
|
||||
It's not working with vbadvanced. Please check the attached photo. Thanks
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|