The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Quick Mood Changer - addon Details »» | |||||||||||||||||||||||||
############################################ ##############--Bought to you by--############### Talk Coding - Programming Forums ##########--Free / Premium vBulletin Solutions--######### ############################################ First you need to have this mod installed, as the moods are from there. https://vborg.vbsupport.ru/showthread.php?p=840285 This will allow the user to change the hack from the top navbar area, under private messages (see attachment). Install instruction in the .zip file! UPDATE 14/02/2006 ~~~~~~~~~~~~~~~~~ - Version 1.2 - Is now installed as a product - Now you can add ***NEW MOODS*** to the dropdown menu from the admincp - No need to edit the plugin for the mood field number, its in the admincp - Added Message "Whats with the mood swing?" when user changes his/her mood UPDATE 03/01/2006 ~~~~~~~~~~~~~~~~~ - Version 1.0 - Updated all the moods I think UPDATE 11/12/2005 ~~~~~~~~~~~~~~~~~ - Version Unknown - Added "No Mood" to mood list - Changed the template coding UPDATE 05/12/2005 ~~~~~~~~~~~~~~~~~ - Version Unknown - Fixed spelling for "cheerful" - Fixed no mood option not working - Changed "In_Love" mood to "In Love" removed the underscore 3.5.0 hIBEES; Ok for those who cant get it to work simply replace the 3.5.0 adminfunctions_template.php with the 3.5.2 version Show Your Support
|
Comments |
#52
|
||||
|
||||
I dunno if it was stated anywhere in these post but I didn't see any instructions saying to:
Change: Code:
$db->query_write("UPDATE " . TABLE_PREFIX . "userfield SET FIELDXX = '" .$_POST['mood']. "' WHERE userid = '" .$bbuserinfo[userid]. "'"); To the Field # of your mood in the PlugIn. Code:
$db->query_write("UPDATE " . TABLE_PREFIX . "userfield SET FIELD16 = '" .$_POST['mood']. "' WHERE userid = '" .$bbuserinfo[userid]. "'"); Installed and works great! |
#53
|
|||
|
|||
Got it to work, So far the 3 people that have seen it love it.
Awesome work Sniper, thanks! |
#54
|
||||
|
||||
Cant get this to work on 3.5.0, plugin doesn't seem to install and the error as given by others is the same
Pity as the mood hack itself works a dream , don't fancy upgrading to 3.5.1 or even 3.5.2 yet as my forums runnin sweet as the are :nervous: |
#55
|
||||
|
||||
Quote:
And did you change it here also?: Code:
Step 6 Update Set Default (Will set the first option as the default) = Yes, But No First Option Blank Click Save Step 7 Styles & Templates -> Style Manager - > Edit Templates -> Navigation / Breadcrum Templates -> Navbar Find <if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if> Under it Add <br /> My Mood: <!-- / dropdown mood select by sniper --> <form action="index.php" method="post" id="moodform"> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="do" value="newmood" /> <input type="hidden" name="userid" value="$bbuserinfo[userid]" /> <select name="mood" onchange="this.form.submit();"> <option value="No Mood" <if condition="$bbuserinfo['fieldxx'] == 'No Mood'">selected</if>>No Mood</option> <option value="Aggressive" <if condition="$bbuserinfo['fieldxx'] == 'Aggressive'">selected</if>>Aggressive</option> <option value="Amazed" <if condition="$bbuserinfo['fieldxx'] == 'Amazed'">selected</if>>Amazed</option> <option value="Amused" <if condition="$bbuserinfo['fieldxx'] == 'Amused'">selected</if>>Amused</option> <option value="Angelic" <if condition="$bbuserinfo['fieldxx'] == 'Angelic'">selected</if>>Angelic</option> <option value="Angry" <if condition="$bbuserinfo['fieldxx'] == 'Angry'">selected</if>>Angry</option> <option value="Asleep" <if condition="$bbuserinfo['fieldxx'] == 'Asleep'">selected</if>>Asleep</option> <option value="+++++y" <if condition="$bbuserinfo['fieldxx'] == '+++++y'">selected</if>>+++++y</option> <option value="Blah" <if condition="$bbuserinfo['fieldxx'] == 'Blah'">selected</if>>Blah</option> <option value="Bored" <if condition="$bbuserinfo['fieldxx'] == 'Bored'">selected</if>>Bored</option> <option value="Breezy" <if condition="$bbuserinfo['fieldxx'] == 'Breezy'">selected</if>>Breezy</option> <option value="Brooding" <if condition="$bbuserinfo['fieldxx'] == 'Brooding'">selected</if>>Brooding</option> <option value="Busy" <if condition="$bbuserinfo['fieldxx'] == 'Busy'">selected</if>>Busy</option> <option value="Buzzed" <if condition="$bbuserinfo['fieldxx'] == 'Buzzed'">selected</if>>Buzzed</option> <option value="Cheeky" <if condition="$bbuserinfo['fieldxx'] == 'Cheeky'">selected</if>>Cheeky</option> <option value="Cheerful" <if condition="$bbuserinfo['fieldxx'] == 'Cheerful'">selected</if>>Cheerful</option> <option value="Cold" <if condition="$bbuserinfo['fieldxx'] == 'Cold'">selected</if>>Cold</option> <option value="Confused" <if condition="$bbuserinfo['fieldxx'] == 'Confused'">selected</if>>Confused</option> <option value="Cool" <if condition="$bbuserinfo['fieldxx'] == 'Cool'">selected</if>>Cool</option> <option value="Daring" <if condition="$bbuserinfo['fieldxx'] == 'Daring'">selected</if>>Daring</option> <option value="Dead" <if condition="$bbuserinfo['fieldxx'] == 'Dead'">selected</if>>Dead</option> <option value="Devilish" <if condition="$bbuserinfo['fieldxx'] == 'Devilish'">selected</if>>Devilish</option> <option value="Fine" <if condition="$bbuserinfo['fieldxx'] == 'Fine'">selected</if>>Fine</option> <option value="Goofy" <if condition="$bbuserinfo['fieldxx'] == 'Goofy'">selected</if>>Goofy</option> <option value="Grumpy" <if condition="$bbuserinfo['fieldxx'] == 'Grumpy'">selected</if>>Grumpy</option> <option value="Happy" <if condition="$bbuserinfo['fieldxx'] == 'Happy'">selected</if>>Happy</option> <option value="Hot" <if condition="$bbuserinfo['fieldxx'] == 'Hot'">selected</if>>Hot</option> <option value="In Love" <if condition="$bbuserinfo['fieldxx'] == 'In Love'">selected</if>>In Love</option> <option value="Innocent" <if condition="$bbuserinfo['fieldxx'] == 'Innocent'">selected</if>>Innocent</option> <option value="Inspired" <if condition="$bbuserinfo['fieldxx'] == 'Inspired'">selected</if>>Inspired</option> <option value="Lonely" <if condition="$bbuserinfo['fieldxx'] == 'Lonely'">selected</if>>Lonely</option> <option value="Lurking" <if condition="$bbuserinfo['fieldxx'] == 'Lurking'">selected</if>>Lurking</option> <option value="Mellow" <if condition="$bbuserinfo['fieldxx'] == 'Mellow'">selected</if>>Mellow</option> <option value="Pensive" <if condition="$bbuserinfo['fieldxx'] == 'Pensive'">selected</if>>Pensive</option> <option value="Psychadelic" <if condition="$bbuserinfo['fieldxx'] == 'Psychadelic'">selected</if>>Psychadelic</option> <option value="Relaxed" <if condition="$bbuserinfo['fieldxx'] == 'Relaxed'">selected</if>>Relaxed</option> <option value="Sad" <if condition="$bbuserinfo['fieldxx'] == 'Sad'">selected</if>>Sad</option> <option value="Scared" <if condition="$bbuserinfo['fieldxx'] == 'Scared'">selected</if>>Scared</option> <option value="Shocked" <if condition="$bbuserinfo['fieldxx'] == 'Shocked'">selected</if>>Shocked</option> <option value="Sick" <if condition="$bbuserinfo['fieldxx'] == 'Sick'">selected</if>>Sick</option> <option value="Sneaky" <if condition="$bbuserinfo['fieldxx'] == 'Sneaky'">selected</if>>Sneaky</option> <option value="Tired" <if condition="$bbuserinfo['fieldxx'] == 'Tired'">selected</if>>Tired</option> </select> </form> <!-- / dropdown mood select by sniper --> Code:
No Mood Aggressive Amazed Amused Angelic Angry Asleep +++++y Blah Bored Breezy Brooding Busy Buzzed Cheeky Cheerful Cold Confused Cool Daring Dead Devilish Fine Goofy Grumpy Happy Hot In Love Innocent Inspired Lonely Lurking Mellow Pensive Psychadelic Relaxed Sad Scared Shocked Sick Sneaky Tired Yehaw |
#56
|
||||
|
||||
yes i did althou I shall check and double check after some food
Quote:
Code:
<br /> My Mood: <!-- / dropdown mood select by sniper --> <form action="index.php" method="post" id="moodform"> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="do" value="newmood" /> <input type="hidden" name="userid" value="$bbuserinfo[userid]" /> <select name="mood" onchange="this.form.submit();"> <option value="No Mood" <if condition="$bbuserinfo['field9'] == 'No Mood'">selected</if>>No Mood</option> <option value="Amazed" <if condition="$bbuserinfo['field9'] == 'Amazed'">selected</if>>Amazed</option> <option value="Amused" <if condition="$bbuserinfo['field9'] == 'Amused'">selected</if>>Amused</option> <option value="Angelic" <if condition="$bbuserinfo['field9'] == 'Angelic'">selected</if>>Angelic</option> <option value="Angry" <if condition="$bbuserinfo['field9'] == 'Angry'">selected</if>>Angry</option> <option value="Asleep" <if condition="$bbuserinfo['field9'] == 'Asleep'">selected</if>>Asleep</option> <option value="+++++y" <if condition="$bbuserinfo['field9'] == '+++++y'">selected</if>>+++++y</option> <option value="Blah" <if condition="$bbuserinfo['field9'] == 'Blah'">selected</if>>Blah</option> <option value="Bored" <if condition="$bbuserinfo['field9'] == 'Bored'">selected</if>>Bored</option> <option value="Breezy" <if condition="$bbuserinfo['field9'] == 'Breezy'">selected</if>>Breezy</option> <option value="Brooding" <if condition="$bbuserinfo['field9'] == 'Brooding'">selected</if>>Brooding</option> <option value="Busy" <if condition="$bbuserinfo['field9'] == 'Busy'">selected</if>>Busy</option> <option value="Buzzed" <if condition="$bbuserinfo['field9'] == 'Buzzed'">selected</if>>Buzzed</option> <option value="Cheeky" <if condition="$bbuserinfo['field9'] == 'Cheeky'">selected</if>>Cheeky</option> <option value="Cheerful" <if condition="$bbuserinfo['field9'] == 'Cheerful'">selected</if>>Cheerful</option> <option value="Cold" <if condition="$bbuserinfo['field9'] == 'Cold'">selected</if>>Cold</option> <option value="Confused" <if condition="$bbuserinfo['field9'] == 'Confused'">selected</if>>Confused</option> <option value="Cool" <if condition="$bbuserinfo['field9'] == 'Cool'">selected</if>>Cool</option> <option value="Daring" <if condition="$bbuserinfo['field9'] == 'Daring'">selected</if>>Daring</option> <option value="Dead" <if condition="$bbuserinfo['field9'] == 'Dead'">selected</if>>Dead</option> <option value="Devilish" <if condition="$bbuserinfo['field9'] == 'Devilish'">selected</if>>Devilish</option> <option value="Fine" <if condition="$bbuserinfo['field9'] == 'Fine'">selected</if>>Fine</option> <option value="Goofy" <if condition="$bbuserinfo['field9'] == 'Goofy'">selected</if>>Goofy</option> <option value="Grumpy" <if condition="$bbuserinfo['field9'] == 'Grumpy'">selected</if>>Grumpy</option> <option value="Happy" <if condition="$bbuserinfo['field9'] == 'Happy'">selected</if>>Happy</option> <option value="Hot" <if condition="$bbuserinfo['field9'] == 'Hot'">selected</if>>Hot</option> <option value="In Love" <if condition="$bbuserinfo['field9'] == 'In Love'">selected</if>>In Love</option> <option value="Innocent" <if condition="$bbuserinfo['field9'] == 'Innocent'">selected</if>>Innocent</option> <option value="Inspired" <if condition="$bbuserinfo['field9'] == 'Inspired'">selected</if>>Inspired</option> <option value="Lonely" <if condition="$bbuserinfo['field9'] == 'Lonely'">selected</if>>Lonely</option> <option value="Lurking" <if condition="$bbuserinfo['field9'] == 'Lurking'">selected</if>>Lurking</option> <option value="Mellow" <if condition="$bbuserinfo['field9'] == 'Mellow'">selected</if>>Mellow</option> <option value="Pensive" <if condition="$bbuserinfo['field9'] == 'Pensive'">selected</if>>Pensive</option> <option value="Psychadelic" <if condition="$bbuserinfo['field9'] == 'Psychadelic'">selected</if>>Psychadelic</option> <option value="Relaxed" <if condition="$bbuserinfo['field9'] == 'Relaxed'">selected</if>>Relaxed</option> <option value="Sad" <if condition="$bbuserinfo['field9'] == 'Sad'">selected</if>>Sad</option> <option value="Scared" <if condition="$bbuserinfo['field9'] == 'Scared'">selected</if>>Scared</option> <option value="Shocked" <if condition="$bbuserinfo['field9'] == 'Shocked'">selected</if>>Shocked</option> <option value="Sick" <if condition="$bbuserinfo['field9'] == 'Sick'">selected</if>>Sick</option> <option value="Sneaky" <if condition="$bbuserinfo['field9'] == 'Sneaky'">selected</if>>Sneaky</option> <option value="Tired" <if condition="$bbuserinfo['field9'] == 'Tired'">selected</if>>Tired</option> </select> </form> <!-- / dropdown mood select by sniper --> PHP Code:
|
#57
|
||||
|
||||
LOVELY got it to work
Ok for those who cant get it to work simply replace the 3.5.0 adminfunctions_template.php with the 3.5.2 version BINGO lol [high]* Bounce installs and working fine[/high] |
#58
|
|||
|
|||
thanks Mastar; updated install file
thanks hIBEES; I'll add that info to the first post. |
#59
|
||||
|
||||
Quote:
I wouldn't think there will be any issue with doing that ? you might want to add in the bottom 5-6 as that text file only goes down to Tired I had to add in Code:
<option value="Twisted" <if condition="$bbuserinfo['field9'] == 'Twisted'">selected</if>>Twisted</option> <option value="Vilified" <if condition="$bbuserinfo['field9'] == 'Vilified'">selected</if>>Vilified</option> <option value="Volatile" <if condition="$bbuserinfo['field9'] == 'Volatile'">selected</if>>Volatile</option> <option value="Woot" <if condition="$bbuserinfo['field9'] == 'Woot'">selected</if>>Woot</option> <option value="Yeehaw" <if condition="$bbuserinfo['field9'] == 'Yeehaw'">selected</if>>Yeehaw</option> |
#60
|
||||
|
||||
Quote:
Code:
<option value="Approved" <if condition="$bbuserinfo['fieldxx'] == Approved">selected</if>>Approved</option> <option value="Chatty" <if condition="$bbuserinfo['fieldxx'] == Chatty">selected</if>>Chatty</option> <option value="Disapprove" <if condition="$bbuserinfo['fieldxx'] == Disapprove">selected</if>>Disapprove</option> <option value="Doh" <if condition="$bbuserinfo['fieldxx'] == Doh">selected</if>>Doh</option> <option value="Dunce" <if condition="$bbuserinfo['fieldxx'] == Dunce">selected</if>>Dunce</option> <option value="Flirt" <if condition="$bbuserinfo['fieldxx'] == Flirt">selected</if>>Flirt</option> <option value="Hotflash" <if condition="$bbuserinfo['fieldxx'] == Hotflash">selected</if>>Hotflash</option> <option value="Sassy" <if condition="$bbuserinfo['fieldxx'] == Sassy">selected</if>>Sassy</option> <option value="Twisted" <if condition="$bbuserinfo['fieldxx'] == Twisted">selected</if>>Twisted</option> <option value="Vilified" <if condition="$bbuserinfo['fieldxx'] == Vilified">selected</if>>Vilified</option> <option value="Volatile" <if condition="$bbuserinfo['fieldxx'] == Volatile">selected</if>>Volatile</option> <option value="Woot" <if condition="$bbuserinfo['fieldxx'] == Woot">selected</if>>Woot</option> <option value="Yeehaw" <if condition="$bbuserinfo['fieldxx'] == Yeehaw">selected</if>>Yeehaw</option> |
#61
|
|||
|
|||
You can what +++++y is in the install file.
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|