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 |
#342
|
||||
|
||||
Okay, since people are doing this against advice, and now I feel bad that I am causing problems for the author of this wonderful hack, I will try to make the directions clearer. However, I still recommend not doing it, and if you do go forward BACK UP first.
Step 1: In the quick_mood_change_by_sniper template find: HTML Code:
$vbphrase[my_mood]: <a href="#" id="moods"><if condition="!empty($bbuserinfo[mood])"><img src="images/mood/$bbuserinfo[mood].gif" border="0" /><else />$vbphrase[change_mood]</if></a> 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> In the "[Mood Manager] - Ajax Update" plugin find: PHP Code:
PHP Code:
In the postbit and/or postbit_legacy templates find: HTML Code:
<if condition="!empty($post[mood])"> <div> $vbphrase[my_mood]: <img src="images/mood/$post[mood].gif" border="0" /> </div> </if> 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> </if> In the "[Mood Manager] - Make Drop Down Menu" hook find: PHP Code:
PHP Code:
In vBulletin Options -> [Sniper] Mood Manager change "In Love" to "InLove" Step 6: In your images/mood directory on your server rename "In Love.gif" to "InLove.gif" and rename Psychadelic.gif to Psychedelic.gif You should be good to go. But again, PLEASE use with caution, or better yet wait for the author of this hack to decide what to do with this. Thanks |
#343
|
|||
|
|||
Oh no, no! I know your intentions were good! Stuff happens, I know this.
I looked at everything you did, and did what you said, it just didn't work for me. No big deal. And I don't think you're causing problems at all...you're just trying to improve an already awesome hack! The alignment coding went swimmingly...putting the mood images in the drop-down just didn't go so well. But it's ok. You don't have anything to feel bad about! |
#344
|
|||
|
|||
So far it's working great. Just gotta do the images in the list. We'll see how that goes, and i'll update everyone. So far great job hambil. I like when things look organize and clean.
|
#345
|
||||
|
||||
Wow, I just realized this has been changed to not supported. I'm contacting the author for permission to be added to the support list for this hack, so it can be changed back to supported again.
|
#346
|
|||
|
|||
Hey Hambil, for the image list of moods, it doesn't work. For the url i tried many variations. From full url, to the simplest form. If possible, you think you can help me out on this? I think having this addition will be really great for my members. Thank alot!
|
#347
|
||||
|
||||
Sure. PM me your site details.
|
#348
|
|||
|
|||
hambil has volunteered to support this hack, while I hope to do the same in a couple of months or so.
|
#349
|
||||
|
||||
Thanks Sniper! I will be releasing a version with my latest edits once I've worked with a couple of you to make sure it won't break anything. Anyone who wants to 'beta' this change please PM me.
|
#350
|
|||
|
|||
n/p please let me know via pm/email when you have a updated version ready, so I can update the attachment. thanks
|
#351
|
||||
|
||||
Thanks...
Installed |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|