The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Mood Hack Details »» | |||||||||||||||||||||||||
Mood Hack Note: Please update to the latest version, many bugs were fixed. This if my first hack. Since this is my first hack i don't know how good i'll be at support, but i'll give it a shot. What does it do? This hack displays a user's mood in the postbit. The mood is displayed as an image and there are 40 to choose from. Mood can be changed in UserCP=>Edit Profile. Note: Tested on vBulletin 3.0.5 with security fixes to 3.0.7 It should work in all 3.0.x versions though. Credits: This hack is based off "Image Gender in Postbit" written by tnguy3n. Full credit is given in the text file. I have modified his code to work with this hack. Update!tnguy3n has pm'd me saying that the modification is ok. Yay The creation of this hack was inspired by the request of caliman The hack images are from the Yabb version of this hack, kudos to whomever made them. Installation information on hack: Query to run: 1 File modification: 3 Template modication: 2 New Templates: 0 Estimated Installation Time: 4 to 5 minutes. Changes: V 1.02 - Fixed some missing code, made no mood option more noticable. To update repeat step two of template modification. V 1.01 - Fixed image folder name, added ALT tags to images, fixed misnumbered and redundant code. To update repeat step one of template modification. V 1.00 - Released Demo: http://www.gamers-union.net/forums/showthread.php?t=204 (Click on any thread) Addons: Extended [Postbit] This addon puts the mood dropdown selector inside the postbit instead of the USERCP. Credit goes to paul41598 Please Click Install if you find this hack userful. Thanks. Show Your Support
|
Comments |
#22
|
||||
|
||||
I'll make the no mood option clearer and fix one mistake i discovered.
|
#23
|
|||
|
|||
hi guys
im trying to install this on vb 3..0.7 but i get an error when trying to run the querie it says: #1146 - Table 'admin_vbforum.user' doesn't exist any ideas? |
#24
|
||||
|
||||
Quote:
|
#25
|
|||
|
|||
thats the problem it wont let me run the sql querie
that error above is what i get when i try to run the querie |
#26
|
||||
|
||||
Quote:
|
#27
|
||||
|
||||
Quote:
|
#28
|
|||
|
|||
Got a slight problem with this hack, when a user of mine choose "Tired", it shows the Brooding image instead
I double checked the images themselves and sure enough, the tired image and brooding ones are ok Any idea why it links to Brooding instead of the Tired one? |
#29
|
||||
|
||||
Upgrade to the latest version, just redo both template modification steps.
|
#30
|
||||
|
||||
INSTALLED. Works great. Thanks again for doing this, I owe you some beers Jordan.
Couple little things that would just be icing. 1) It would be nice if when I go to my profile it remembers which one I have selected. Currently it does not and always displays 'Do not display mood.' 2) When one selects a mood, it would be cool if it displayed the selected mood bar in real time in the profile. I am too buzzed on wine to do this, but here is my original code that did this: Code:
<script language="JavaScript1.2" type="text/javascript">
function showmood()
{
if (!document.images) return;
document.images.moodpics.src="http://www.yoursite.com/forums/images/moods/"+document.creator.mood.options[document.creator.mood.selectedIndex].value+".gif";
}
</script>
<td><font size=2><select name="mood" size=6 onChange="showmood()">
<option selected value="Happy">Happy</option>
<option value="Aggressive">Aggressive</option>
<option value="Amazed">Amazed</option>
<option value="Angry">Angry</option>
</select></font>
<img src="http://www.yoursite.com/forums/images/moods/blank.gif" name="moodpics" border=0 hspace=15>
caliman |
#31
|
|||
|
|||
Quote:
???? dunno mate how do i find out (noobie to coding ) |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|