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 |
#672
|
||||
|
||||
Has anyone figured out how to add the dropdown to the users "edit profile" page? I got it in there and then the save changes button no longer works. It would be great to add it above $customfields[regular] in the modifyprofile template. Any ideas on how to get that to work?
|
#673
|
|||
|
|||
Quote:
|
#674
|
||||
|
||||
Yeah but I removed it from under the private messages because I have a ton of pages that are outside of the forums that use the navbar. I have almost a youtube type area, personals etc that it refuses to work with. The best option on mine is just to add it to the profile page.
|
#675
|
||||
|
||||
I've made some changes in this that I thought would be good for updating this plugin. For the most part, the changes only affect image drop downs.
#1 I've gotten rid of the multiple optgroups and replaced them with just options. This has resulted in a much smaller code size, plus, the selected image is no longer blurred out and it looks much better and is faster. #2 Since I've got a lot of animated .gifs and they have different sizes, I had a problem with overlapping images and it was hard to select those moods. So what I've done is made the size of the selections changeable. I made the size the biggest gif I had, in my case 36px x 100px. This makes the selections more spaced out, but I think it looks nicer. These changes have my defaults in them. I've also separated out the style info into a css tag, so that should make the code smaller as well. Hopefully you'll find this useful. If you're not comfortable making these changes, please don't or at least back things up... The changes are in 2 places: #1 replace the contents of the template quick_mood_change_by_sniper with Code:
<!-- / dropdown mood select by sniper start --> <style> .moods_option { height: 36px; width: 100px; background-repeat: no-repeat; background-position: center; } </style> <div class="vbmenu_popup" id="moods_menu" style="display:none"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="thead" valign="middle">$vbphrase[change_mood]:</td> </tr> <tr> <td class="alt1" valign="middle"> <form action="index.php?do=ajax_mood_update" method="post" id="mood_form"> <input type="hidden" name="s" value="$session[sessionhash]" /> <select name="mood" size="7" onchange="change_mood(this.value);"> <option style="text-align: center;" value=""<if condition="empty($bbuserinfo[mood])"> Selected</if>>$vbphrase[no_mood]</option> $vbmoods[mood] </select> </form> </td> </tr> </table> </div> <div><strong>$vbphrase[change_mood]:</strong> <a href="#" id="moods"><if condition="!empty($bbuserinfo[mood])"><img src="$vboptions[bburl]/images/mood/$bbuserinfo[mood].gif" border="0" align="absmiddle"/><else />$vbphrase[change_mood]</if></a> <script type="text/javascript"> vbmenu_register("moods", 1); </script></div> <!-- / dropdown mood select by sniper end --> #2 replace the contents of the plugin [Mood Manager] - Make Drop Down Menu with PHP Code:
.moods_option height: 36px; width: 100px; to the size you want. Here's a picture of what it looks like on my site: (Sorry for the poor quality animated gif!) you can try it out on my site by registering on http://www.u-assist.com |
#676
|
||||
|
||||
Quote:
|
#677
|
||||
|
||||
Hey everyone, im just uploading this as this is how I created a new page and placed the link in the User CP. This will drop the location under the private messages and create a new page that uses forum permissions. You can edit the text of the new page and customize it as you wish.
Unregistered and banned users will not be able to access the page. I have included all the code and instructions in the zip file. I did it this way because its a pain to get this to work in areas outside of the forums but the mood manager is an awesome addition to anyones forums! |
#678
|
||||
|
||||
Quote:
mood wont be shown below usercp and posts? |
#679
|
||||
|
||||
All this does is changes the mood dropdown and places it in its own page. This is so you dont have to have it under the private messages. Nothing else changes just the dropdown location. Also, only members have access to the new page and the link will be in the user control panel where they edit their profile.
|
#680
|
||||
|
||||
Then i don't think it is worth to change..
as below pm is cool for me. Do you have added more gifs/moods which i can use in same version installed earlier?? |
#681
|
||||
|
||||
If someone posts a mod or an addition to a mod, you don't have to write and say not interested, just don't take it and move along...
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|