View Full Version : Quick Mood Changer - addon
-=Sniper=-
05 Dec 2005, 17:37
############################################
##############--Bought to you by--###############
Talk Coding - Programming Forums
(http://www.talkcoding.com)
##########--Free / Premium vBulletin Solutions--#########
############################################
First you need to have this mod installed, as the moods are from there.
http://www.vbulletin.org/forum/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
redspider
05 Dec 2005, 17:39
thank you was wating for this one .
boatswife
05 Dec 2005, 18:42
I did have a problem with the In_Love mood showing up, the _ was left out of the option value.
<option value="In_Love" <if condition="$bbuserinfo[FIELD6] == 'In Love'">selected</if>>In Love</option>
I also centered it and made the "My Mood" bold and it looks really nice.
Thanks for doing this, it's a lot more user friendly.
Editing in, the "No Mood" doesn't show up as No Mood, it doesn't change from the last mood selected.
boatswife
05 Dec 2005, 20:06
Spelling of Cheerful makes that mood not work.
Thanks.......this really makes this so much easier!
nexus851
05 Dec 2005, 20:23
nice, thanx for this bro =)
-=Sniper=-
05 Dec 2005, 20:31
Hi
I'll fix the little errors, since I changed my moods abit so it doesnt work correctly .
dboogie2288
05 Dec 2005, 20:38
Hmm Parse error, what do ya'll think?
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
-=Sniper=-
05 Dec 2005, 21:11
dboogie2288; try the latest install text file. I think the first one I uploaded had a template error.
dboogie2288
05 Dec 2005, 21:23
Nada, there are other errors, like Cheecky should be Cheeky, dont know if it matters though...
dboogie2288
05 Dec 2005, 21:25
One concern. The original mood hack was for 3.5.0, which is what I am running. The mood hack works great, no problemo. However, I notice that this is for 3.5.1....is that going to be the problem?!
boatswife
05 Dec 2005, 21:33
Sorry.....one more, should be shocking.
-=Sniper=-
05 Dec 2005, 23:10
thanks boatswife and dboogie2288 :) files updated.
btw: its Shocked and not shocking
anyway you can change it to whatever you like...
dboogie2288; you can contact me via pm if you want me to have a look at your site to fix the problem?
I really can't say what could be causing it, since no one else is having problems.
dboogie2288
05 Dec 2005, 23:15
Still that stupid parse error! Grrr..I really want to use this mod!
-=Sniper=-
06 Dec 2005, 00:07
I tried to fix dboogie2288 problem, it seems after I add more than 8 moods in the templates it starts to give out template conditional errors. Which is quite odd...
maybe someone out there knows why? or maybe I've missed something simple?
Calisse
06 Dec 2005, 00:36
works really well, thanks for the hack <3 10/10
boatswife
06 Dec 2005, 01:42
btw: its Shocked and not shocking
ROFLMBO I had to go look to see what I did! I had shocked!
Rickie3
06 Dec 2005, 04:43
Hmm Parse error, what do ya'll think?
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
i'm getting the exact same error when adding to navbar,i have the flashing PM envelope installed wonder if that is causing the clash,as that code had to be edited,Up date i used an original unedited navbar template,then added the code template and still got the same error,i'm wondering if its something in includes/adminfunctions_template.php
dboogie2288
06 Dec 2005, 07:06
i'm getting the exact same error when adding to navbar,i have the flashing PM envelope installed wonder if that is causing the clash,as that code had to be edited,Up date i used an original unedited navbar template,then added the code template and still got the same error,i'm wondering if its something in includes/adminfunctions_template.php
ive got/had that same hack installed...but it didnt work right, so i removed it and reverted the nav bar.....ill look into it while at work tomorrow....
Rickie3
06 Dec 2005, 07:54
ive got/had that same hack installed...but it didnt work right, so i removed it and reverted the nav bar.....ill look into it while at work tomorrow....
i reverted back to an original navbar,then applied the template edit,but it still gave the same error:-(,i really want this to work,i dont think it would really matter that i'm running 3.5.0,and this hack is for 3.5.1
dai-kun
06 Dec 2005, 08:36
thanks, worked perfectly!
I was able to change it to show up in postbits ^^
-=Sniper=-
06 Dec 2005, 08:48
I think only the people using 3.5.0 are having problems? while 3.5.1 users are not.
dai-kun; i manged to make it work in the postbit but once you changed your mood and then tried again from the same dropdown menu it would go to inline mod page, saying its an invalid action.
Navbar seems to be the best place, since it will appear on every page.
When I go to change the mood nothing happens,it just goes back to the main page
It works from the user cp,I edited the code and put the number of the profile field where the x's are
It said something about the plugin ID too,but I have no plugin for this?
-=Sniper=-
06 Dec 2005, 09:11
have you imported the attached plugin http://www.vbulletin.org/forum/attachment.php?attachmentid=38865 ?
dai-kun
06 Dec 2005, 09:30
I think only the people using 3.5.0 are having problems? while 3.5.1 users are not.
dai-kun; i manged to make it work in the postbit but once you changed your mood and then tried again from the same dropdown menu it would go to inline mod page, saying its an invalid action.
Navbar seems to be the best place, since it will appear on every page.
Hm...? really? I change my mood 5 times continuously and it works fine for me..
-=Sniper=-
06 Dec 2005, 09:34
could you post the edit, I'm sure others would be interested? thanks
Rickie3
06 Dec 2005, 09:43
just a quick question has anyone got this running on 3.5.0??,i'm still getting the same error
dai-kun
06 Dec 2005, 09:59
well, i placed it where the 3.0.x of paul41598's Mood Hack - Extended [Postbit] is.
I am not very good at this.. so correct me if I am wrong.. and also I'm using a different style so I might make mistake.
gah.. let me check something, i think i did mistake somewhere
Ok.. what i found out is that for some reason, i just changed my mood like 20 times, and it works. Now it's giving me that error message from inlinemod.php "You did not select any posts to which the action you picked can be applied." But it works if i try again. Weird
eNforce
06 Dec 2005, 10:10
This is awesome, installed with no problems!
dai-kun
06 Dec 2005, 10:18
ok .. so what is happening is that when u view a thread, u cannot change ur mood if u post more than once on a page view.. well that only applies to the first post on that page. U are able to change ur mood if u select it from the 2nd and onward post u made. U can also change ur mood if u only have 1 post on a pageview.
IF U are a REGULAR MEMBER..
i can post and change my mood without the error.
GrendelKhan{TSU
06 Dec 2005, 12:39
is it possible for either you or the orginal creator to full phrase this? I know the images will be the same, but it'd be a GREAT thing to be able to do in multiple languages. :)
dboogie2288
06 Dec 2005, 16:12
Well I checked the old PM blinking icon install that I did way back when, but that was from VB 3.0.5, and I never installed it with 3.5
I think that since this is an add on for a mod that is written for 3.5.0, then the add-on should certainly support it. I dont particularly have time to update the system everytime that VB changes a line of code, and I REALLY want this hack to work...oh well, onto another day I suppose.
funinthesun
06 Dec 2005, 17:26
When I try to edit the navbar template I get this error:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
-=Sniper=-
06 Dec 2005, 17:40
I really don't know why it doesnt work correctly in 3.5.0 but it does in 3.5.1 so I suggest upgrading to see it fixes the problem.
thanks, worked perfectly!
I was able to change it to show up in postbits ^^
Can you please post the instructions as to how you did this? I would love to have this in postbits.
dai-kun
06 Dec 2005, 20:53
OPEN postbit/postbit_legacy:
FIND:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
BELOW, ADD:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
FIND:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
BELOW, ADD:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Remember to change ur fieldx to ur mood field.
You will get an error if you're admin.
Regular members seem to work fine though.
funinthesun
06 Dec 2005, 21:02
Is the only option to upgrade to 3.5.1? :confused:
Rickie3
07 Dec 2005, 00:08
yea i dont want to have to upgrade to 3.5.1,as my forum is running sweet 3.5.0,there has to be a fix for this problem,as the original mood hack is for 3.5.0,and this add on is 3.5.1
dboogie2288
07 Dec 2005, 00:41
yea i dont want to have to upgrade to 3.5.1,as my forum is running sweet 3.5.0,there has to be a fix for this problem,as the original mood hack is for 3.5.0,and this add on is 3.5.1
Thats where I was coming from...
The postbit hack doesnt work either.
poprulz
07 Dec 2005, 15:27
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
and b4 that when i was installing it as a product.. it said it not a product..rather a plugin. so i copy pasted the php code and made it a plugin.
maybe its not compatible with 3.5.0
and did anyone try the postbit hack for 3.5.0? does it really work?
-=Sniper=-
07 Dec 2005, 16:53
it is a plugin, so you had to import it. There was no need to make a new plugin.
the postbit will work for normal users, but not correctly for admins or mods, since because of inline moderation you have forms inside an form which causes it not to work.
I'm don't see anything wrong with the conditions used, so I can't tell you why it doesnt work.
If you remove all but the first 8 moods from the html code it works in 3.5.0 but thats no use...
twincamfxd
08 Dec 2005, 06:13
I installed the quick mood changer and it is on the navbar, and works with the usercp change, but the one in the navbar just refreshes the screen. I beleive the problem is in the way I created the plug in. I am pretty new at this, so I will tell you what I did. I named the plug in "quick mood changer" and copied and pasted all of the plug in code into the plug in PHP code section. I have it set as active, so I am not quite sure what I did wrong. Thanks in advance,
Twincamfxd
-=Sniper=-
08 Dec 2005, 10:07
you need to use the global start hook, if you decide to add the plugin your self. Then again you can just import the plugin I have attached.
Rickie3
10 Dec 2005, 02:48
any news yet why this wont work in 3.5.0???
Thanks for the Mood Code. It works fine at the UserCP windows but when i implement it on the NAV bar. It does.
http://tinypic.com/if7pyr.png
http://tinypic.com/if7q5l.png
When i go and change the mood from the Nav bar it changes the mood but it still show "no mood" at the Nav bar. How can i fix it. Did i miss something when following the instruction. Can some one point me to the correct direction.
Thanks
-=Sniper=-
11 Dec 2005, 23:47
UDB try redoing the steps in the new install text file I have uploaded.
eNforce
12 Dec 2005, 00:35
Something is wrong with this line
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
The following error occurred when attempting to evaluate this template:
Parse error: parse error, unexpected T_STRING in /home/areyous/public_html/includes/adminfunctions_template.php(3537) : eval()'d code on line 57
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
Thanks work great, I had to Fix a Typo in the mood line, Not a big deal, Can you update the TXT file, So it work great for every one. Thanks once again.
<option value="No Mood"<if condition="$bbuserinfo[field5] == 'No Mood'">selected</if>>No Mood</option>
-=Sniper=-
12 Dec 2005, 11:06
thanks updated
Rickie3
12 Dec 2005, 11:52
still no update on why this wont work for 3.5.0????ive been sifting through it but havent came up with anything yet :-(
I dunno if it was stated anywhere in these post but I didn't see any instructions saying to:
Change:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
To the Field # of your mood in the PlugIn.
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
If it was stated my appologies.
Installed and works great!
twincamfxd
12 Dec 2005, 16:41
Got it to work, So far the 3 people that have seen it love it.
Awesome work Sniper, thanks!
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:
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:
In the product.xml did you change the ' FieldXX' to the Field # of the mood hack that was already installed?
And did you change it here also?:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
And update the Options to:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
yes i did althou I shall check and double check after some food :)
The following error occurred when attempting to evaluate this template:
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /XXXX/XXXX/public_html/forum/includes/adminfunctions_template.php(3519) : eval()'d code on line 154
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
My field is 9 , i placed that as stated :( and checked plugin was at 9 also)
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
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 :rolleyes:
/me installs and working fine
-=Sniper=-
12 Dec 2005, 21:56
thanks Mastar; updated install file
thanks hIBEES; I'll add that info to the first post.
thanks hIBEES; I'll add that info to the first post.
no probs, I just thought I'd try it to see and it worked ..
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:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
as per original hack thou, plus what is +++++y ??
Rickie3
13 Dec 2005, 00:07
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 :rolleyes:
* hIBEES installs and working fineyou bloody ripper that worked thankyou,i was going to try that earlier but wasnt sure if it would stuff things on my forum,but all seems fine cheers
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
these are the ones i added,as per the original mood hack update
-=Sniper=-
13 Dec 2005, 10:50
You can what +++++y is in the install file.
dboogie2288
13 Dec 2005, 22:46
Good Job Hibees...
how do we fix the broken img for nomood?
dboogie2288
13 Dec 2005, 22:46
no probs, I just thought I'd try it to see and it worked ..
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:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
as per original hack thou, plus what is +++++y ??
Do you have images? those are great additions
Rickie3
13 Dec 2005, 22:49
Do you have images? those are great additionsthey are in the upgrade zip over here
http://www.vbulletin.org/forum/showthread.php?threadid=98636
-=Sniper=-
13 Dec 2005, 23:53
Good Job Hibees...
how do we fix the broken img for nomood?
create a 1x1 pixel image and name it "no mood.gif" then upload it to where all ther other moods are.
I will post a code, so if its no mood, it won't show at all.
dboogie2288
14 Dec 2005, 00:28
create a 1x1 pixel image and name it "no mood.gif" then upload it to where all ther other moods are.
I will post a code, so if its no mood, it won't show at all.
Thats what I did, and that's what I'm looking for. I know if you do that via User CP it removes my "Current Mood" line.
-=Sniper=-
14 Dec 2005, 13:26
Database error in vBulletin 3.5.0:
Invalid SQL:
UPDATE userfield SET
FIELDXX = 'Asleep' WHERE userid = '175';
MySQL Error : Unknown column 'FIELDXX' in 'field list'
Error Number : 1054
Date : Wednesday, December 14th 2005 @ 05:18:37 AM
Script : http://www.gaiaevolved.com/forum/index.php
Referrer : http://www.gaiaevolved.com/forum/
What am I doing wrong now?
you need to change the fieldxx in the plugin to your field number, as stated in the install file.
restless
15 Dec 2005, 04:20
I cleaned up the mood changer on my forum by creating a vb_menu popup. I personally like the way it turned out (although, I tried to get it to show the mood icon being used instead of "Change Mood", but I whipped this together in 5 minutes.
If anyone wants to try it, it's attached.
restless
15 Dec 2005, 04:20
and thanks very much for the hack/plugin. it's very cool!
I cleaned up the mood changer on my forum by creating a vb_menu popup. I personally like the way it turned out (although, I tried to get it to show the mood icon being used instead of "Change Mood", but I whipped this together in 5 minutes.
If anyone wants to try it, it's attached.
I tried your edits but the dropdown wouldn't dropdown
restless
15 Dec 2005, 14:23
sorry, my mistake. the second div should have an id of "moods_menu". new attachment.
they are in the upgrade zip over here
http://www.vbulletin.org/forum/showthread.php?threadid=98636
thanks :)
yip you just add them to the text in this installer.
I'm in the process of making more images such as "In Chat" ,"Offline","On the phone" lol and a few others :nervous:
I'll post them here when i'm done in case anyone wants to use them :rolleyes:
Firestar.chkn
17 Dec 2005, 22:39
Thanks for a great hack.
Just a question to the person who added the code for the postbit mood changer? How can you change that code to only show on a post if that post is your own? Basically, I just want the command to compare the currentlt logged on user to the user who made the post. Can anyone tell me the code for that?
Thanks
Firestar.
Paprika
24 Dec 2005, 06:50
This was a nice idea and all but what I'm trippin on is how I followed the directions given and ended up REMOVING some of the original moods.
For example, I had the mood depressed after installing the original Mod. Now I followed the directions for this add-on, and didn't notice till the end that his "updated mood list" actually lacked some of those moods which were valueble to my board. Now i have to roll back this installation, and make it do what I need it to do. Ugh!
I appreciate the effort but is it me or should you have just menitoned that some of the moods were removed??
-=Sniper=-
24 Dec 2005, 09:11
to add the missing moods, all you need to do is add the additional moods to the moods field, and then copy paste of the moods in the template edit, changing the required text.
easy as 1-2-3.
merry xmas. Will update in the new year...
eNforce
24 Dec 2005, 11:13
Here's an updated list with all the new moods I think...
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
I have ONE user out of 100 who can't see their mood - any ideas?
-=Sniper=-
24 Dec 2005, 17:56
tell them to clear their browser cache, it might fix the problem. I don't see why it won't show just for one user.
yeah - weird, eh?? :-) I will try that out and report back
apollooooooo
31 Dec 2005, 17:22
Hello Great Hack but i am confused
I have Followed your Instrustions step by step but when i select to change my mood it reloads tha page and my mood changes back to No mood also no we Image appers at all can you help me
apollooooooo
31 Dec 2005, 17:40
Atcuall i have got it to sat on the mood i selsect i forgot to change something opps but were dose the graphic apper ussure sorry i am a bit of an noob
xxwildchildxx
01 Jan 2006, 01:41
The original XML file containts an SQL injection exploit.
apollooooooo
01 Jan 2006, 16:18
so what do i do then to sort this out???
xxwildchildxx
01 Jan 2006, 20:23
The coder will have to rework his code so that it does not contain the exploit. The exploit allows any user to change any other user's information that can be changed via the Profile.
-=Sniper=-
01 Jan 2006, 20:58
please pm/post the fix, so I can include it. Also PM as to how someone can do the above as you said. So I can understand php/mysql more...thanks
should I include addslashes/htmlspecialchars when submiting the data?
OAndrea
02 Jan 2006, 07:02
Hello Great Hack but i am confused
I have Followed your Instrustions step by step but when i select to change my mood it reloads tha page and my mood changes back to No mood also no we Image appers at all can you help me
I have the same issue... I need a fix please. Love the hack though! can't wait to have it up and running smooth as pudding.
-=Sniper=-
02 Jan 2006, 13:57
I'll update it later today with all the new moods from the mood hack...
edit: I'll post it on tuesday.
Hey there,
I have just installed this mod for my Forums. It is really good but it is not working properly. I have done exactly as the instructions say, but for some reason, when i go to change my mood, i pick the option off the drop down box, the page refreshes and it has changed back to 'No Mood'. Please help guys.
Brandon Sheley
24 Jan 2006, 07:59
I'll update it later today with all the new moods from the mood hack...
edit: I'll post it on tuesday.
has this been updated ?
just asking, no rush :)
-=Sniper=-
24 Jan 2006, 09:59
Murty; pm me so I can check out your site.
Loco.M yes it was updated with all the same moods as the noods hack by lefthome.
LOL, i just figured out what was wrong, I had not turned on the 'Plugin/Hook system'. Done that and it works perfectly, thanks heaps :D
GrendelKhan{TSU
24 Jan 2006, 11:03
great hack
/me clicks install.
create a 1x1 pixel image and name it "no mood.gif" then upload it to where all ther other moods are.
I will post a code, so if its no mood, it won't show at all.
ok did this. still not showing for "no mood"
the path the image comes up as:
ht tp://w ww.MYSITE.com/forums/images/mood/.gif"
any ideas?
-=Sniper=-
24 Jan 2006, 18:17
hi, did you follow step 9 in the text file?
QueenBee
05 Feb 2006, 20:25
i want this but i dont get when u try to get the xml file it opens in a browser! someone please help
QueenBee
05 Feb 2006, 22:20
pleeeeeease :ermm:
-=Sniper=-
05 Feb 2006, 22:23
what browser are you using? I'd suggest firefox :) http://www.mozilla.com/ if you don't already use it.
try going to file -> save
then save it to you computer.
QueenBee
05 Feb 2006, 22:57
ok i got that part now, and when i go to change it i get this:
There seems to have been a problem with the Ladies Lounge database.
Please try again by clicking the Refresh button in your web browser.
An E-Mail has been dispatched to our Technical Staff, whom you can also contact if the problem persists.
We apologise for any inconvenience.
Database error in vBulletin 3.5.3:
Invalid SQL:
UPDATE vb_userfield SET
FIELD3 = 'Yeehaw' WHERE userid = '1';
MySQL Error : Unknown column 'FIELD3' in 'field list'
Error Number : 1054
Date : Sunday, February 5th 2006 @ 05:55:02 PM
Script : http://www.ourladieslounge.com/forums/index.php
Referrer : http://www.ourladieslounge.com/forums/index.php
IP Address : *edited for security*
Username : QueenBee
Classname : vb_database
-=Sniper=-
05 Feb 2006, 23:01
you don't have a "field3" go into user profile fields in the admincp and make sure you have the correct one.
when I get the time, I make it so you don't have to do the edit.
QueenBee
05 Feb 2006, 23:04
but when i go to the user profile fields it says field5. is it supposed to be 3??
-=Sniper=-
05 Feb 2006, 23:13
if its field5 contains all the moods, then change it to field5.
QueenBee
05 Feb 2006, 23:35
ok, now i changed every mood in the navbar section, and i still get that message when i try to change moods from the forumhome, but i can change it in my user cp under options.
and its still not showing in the postbit either:(
any suggestions?
-=Sniper=-
05 Feb 2006, 23:48
PM me a username/pass with admincp access and I can check it to see whats wrong.
Thieutje
07 Feb 2006, 12:19
Does this work wioth the lastest Vb version ? 3.5.3 ?
DO you have to do the modifications in the 1.4 step by step ? or only copy the images and then start following the txt file from this thread ??? because the other thread where you need to get the mood images also has a 1.4 step by step txt file ?
Please some info ...
Grtz
Thieutje
Thieutje
08 Feb 2006, 08:22
Somebody ?
-=Sniper=-
08 Feb 2006, 12:36
folllow the other install instructions first fully, then follow mine fully.
Thieutje
08 Feb 2006, 13:52
folllow the other install instructions first fully, then follow mine fully.
Thx , works perfect now !
Superb !!!
Thieutje
Reg Car
09 Feb 2006, 01:30
On the screenshot it shows that we can see our own moods. But how do other users see what mood we are in?
Thanks
Reg
-=Sniper=-
09 Feb 2006, 21:21
you can make it appear in the postbit and it auto appears in the memberinfo page.
iTaLiAnBoY165
10 Feb 2006, 05:27
i get a problem that evrytime y try to change my mood
on the quick one
it does not change.
it stoll in not mood.
it refresh the page and evrything but the mood does not shange.. it kees in no mood. and no picture apers.!!!
can any one help me out.
-=Sniper=-
10 Feb 2006, 12:32
PM me your forum details with admincp access and I'll have a look for you.
Gripemaster
10 Feb 2006, 13:47
*Clicks Install*
-=Sniper=-
14 Feb 2006, 22:31
Just updated it :)
This has never worked for me, Just tried ya prouct and nope still dont lol
Any ideas please?
QueenBee
14 Feb 2006, 22:37
whats the prob? mine works great
-=Sniper=-
14 Feb 2006, 22:38
This has never worked for me, Just tried ya prouct and nope still dont lol
Any ideas please?
I suggest, you read the instructions in the install file, then posting as to whats wrong!
I can only hope the instructions are clear enough for everyone...
The prob is, it dont show the dropdown menu lol, absolutely nish...
I am going through them again, as a fresh install....
QueenBee
14 Feb 2006, 22:41
do u have the install? what version do u have
-=Sniper=-
14 Feb 2006, 22:43
The prob is, it dont show the dropdown menu lol, absolutely nish...
I am going through them again, as a fresh install....
have you edited the navbar?
Heres what i just got..I have managed to show the dropdown in the navbar
but when changing the mood i get
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Also the moods are not displaying anymore!!
I have checked the edite and there fine...all FIELD XX are fine
Including your typo ;) FIEDLXX :)
I am sure i have missed a FIELDXX but cannot find it
Just searched all templates for FIELDXX but not there
I have checkd that i have put the correct field in the field box in your drop settings in admincp and yip thats all fine :)
-=Sniper=-
14 Feb 2006, 23:04
sorry, have you input the correct field number e.g. 14 in the admincp -> quick mood changer
will fix the typo now
edit: interesting, could you PM me with access to admincp, so I can see whats wrong?
Its working fine at my end.
Yep...i did edit my post but ya must have missed it :)
-=Sniper=-
14 Feb 2006, 23:15
ok, could you PM with admin access, so I can check whats wrong.
ok m8 2 secs...bear oin mind i have disabled the poduct atm...so ya prob need to turn it back on again...
-=Sniper=-
14 Feb 2006, 23:26
problem fixed, bashy forgot that the previous version was still installed.
Lies...all lies.... :o
Yeah, ok thats right...i boo booed...thanks alot Sniper...
Much appreciated, Working well now :)
ooo there is 1 little techinical hitch....
Wheres the mood images lol...they aint showing anymore lol
Me got to go bed now...speak tomoz about this other techincal hitch :)
-=Sniper=-
14 Feb 2006, 23:39
make sure you have done the template edits correctly.
docvader
15 Feb 2006, 04:40
Well Sniper, I've got issues after the upgrade. Followed your excellent instructions precisely.
This postbit edit
<!-- mood hack display start -->
<br /><if condition="!empty($post[FIELD46])"><div class="smallfont">
Current Mood: <img src="images/mood/$post[FIELD46].gif" title="$post[FIELD46]" align="center">
</div></if>
<!-- mood hack display end -->
results in this page source
<!-- mood hack display start -->
<br />
<!-- mood hack display end -->
Which is why I get no images, or anything else for that matter in my postbit.
I'm a little befuddled why this is happening, any suggestions?
Thanks
rich
EDIT.
If I take the exclamation point out of the postbit (!empty to empty), I then get this:
<!-- mood hack display start -->
<br /><div class="smallfont">
Current Mood: <img src="images/mood/.gif" title="" align="center">
</div>
<!-- mood hack display end -->
Progress, but still not working....
Brandon Sheley
15 Feb 2006, 04:57
working great :) thx,, now to start making some moods
has anybody made a few more they would share ? I'm not the greatest graphics person
docvader
15 Feb 2006, 05:03
OK, fixed it.
Change FIELD to field
In my installation, for some reason, using capital letters in FIELD threw it off.
There are just some things that I'll never understand....
testpig
15 Feb 2006, 11:01
Hi Sniper.
I have the images working fine and the quick changer is showing up, however there are no moods in the quick changer.
I can select moods from within the usercp but not out in the forum.
The quickchanger box is very small (no text within...so its as if its not finding the moods I've added within vB Options).
I've gone over the edits and they are fine.
Removed the previous plugins and installed the new product.
Gone into the vB Options and added field 10 (my profile field) and then copied in each mood on a seperate line.
Basically its got me stuffed...any thoughts?
-=Sniper=-
15 Feb 2006, 13:02
I'm looking to it now.
-=Sniper=-
15 Feb 2006, 13:06
ok, simple test shows you need to use lowercase "fieldxx" in the templates, I'll update it now.
this should fix the problems.
testpig; did you input "field10" of just the number "10"?
Ok sorted my problem...
I reuploaded the updated product, Still didnt show the images...
I then changed all of the FIELD in the postbit template to field and
hey presto, working like a dream...cheers Sniper :)
QueenBee
15 Feb 2006, 20:11
hey anyone. i changed my skin. and i guess it took out the code cause i had to load it again. but now im trying to do this addon and its not showing in the postbit. i dot really get the instructions. i tried to do the upgrade too. anyone have ideas? or wanna get an admin account and help a little lady out? ;)
-=Sniper=-
15 Feb 2006, 20:15
PM with details QueenBee, will get it sorted.
Hi
Please read this below as this is what i did to get it to work...
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
hey anyone. i changed my skin. and i guess it took out the code cause i had to load it again. but now im trying to do this addon and its not showing in the postbit. i dot really get the instructions. i tried to do the upgrade too. anyone have ideas? or wanna get an admin account and help a little lady out? ;)
QueenBee
15 Feb 2006, 20:18
i pmed u sniper.... u always come thru. thanks
QueenBee
15 Feb 2006, 20:42
Hi
Please read this below as this is what i did to get it to work...
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
cool i did that it works. i love the "whats with the mood swing" thing lmao
never mind sniper:)
testpig
16 Feb 2006, 08:38
ok, simple test shows you need to use lowercase "fieldxx" in the templates, I'll update it now.
this should fix the problems.
testpig; did you input "field10" of just the number "10"?
Hi Sniper.
I just have 10 in the control panel (although I tried field10). I have field10 in the templates (in lower case).
Everything works except nothin appears in the quick selector. All options have been added into the vB options area.
Only thing I have done differently is I had to edit the path to the images as mine are stored inside forum/images/moods instead of just images/moods Once I edited the pathway the images show fine inthe forum. Not sure if maybe this has an effect elsewhere but I can see any other paths in the code?
-=Sniper=-
16 Feb 2006, 16:34
remember guys, there are no plugin edits, only template edits :)
testpig
17 Feb 2006, 07:16
remember guys, there are no plugin edits, only template edits :)
Thanks Snipe. I think I edited the plugin while looking in desparation for the infamous lower case "field" problem.
Thanks for the assistance...top notch mod with even better support :)
funinthesun
17 Feb 2006, 23:06
I'm getting this error. I've changed all the fieldxx and I've put the correct field number in the admincp settings so what am I doing wrong?
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
-=Sniper=-
17 Feb 2006, 23:10
delete the old plugin! in the global_start hook, I think it was called "quick mood changer by sniper"
funinthesun
17 Feb 2006, 23:12
EDIT: Had to change the fieldxx in the plugin. I knew I missed one somewhere! Working brill now :D
-=Sniper=-
17 Feb 2006, 23:22
EDIT: Had to change the fieldxx in the plugin. I knew I missed one somewhere! Working brill now :D
hmm, are you using the latest one? since it no longer requires plugin edits, only template edits.
o0Hubba0o
18 Feb 2006, 00:08
Mood shows up in the post bit no problem, you can change it in the usercp/edit options no problem.
Using the quick change however it refreshes to the usercp and doesn't change the mood.
-=Sniper=-
18 Feb 2006, 20:56
is this during a new install or a upgrade? I'd suggest you try again.
funinthesun
19 Feb 2006, 14:42
hmm, are you using the latest one? since it no longer requires plugin edits, only template edits.
Yes, I am using the latest one as I downloaded it just before I installed it. I didn't have to change the fieldxx in the xml product sheet just in the plugin on plugin manager - edit plugins.
-=Sniper=-
19 Feb 2006, 18:06
but there are no such edits even in the plugin manager, try undoing the edits or re-importing the product again.
eNforce
07 Mar 2006, 05:54
Umm, I've gone through the upgrade instructions perfectly a few times but I just can't get it to show in the postbit :(
Edit:
It will work with this original code though:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
-=Sniper=-
07 Mar 2006, 12:38
Umm, I've gone through the upgrade instructions perfectly a few times but I just can't get it to show in the postbit :(
Edit:
It will work with this original code though:
If it works, then no need to make
that last edit :)
Paprika
09 Mar 2006, 16:50
Hey,
I just upgraded to vB 3.5.4 and had to revert all of my nav templates.
I went ahead and paste the old code back into the new reverted templates, the same code that was in the originally modified ones, and now my Quick Mood Changer doesn't show up at all!
Maybe I've made a mistake along the line somewhere, and I'll look at it again later on today, but is there some known conflict or issue with this mod and vB 3.5.4?
Thanks!
-=Sniper=-
09 Mar 2006, 17:01
Try using the latest version, though the old version has no problems.
Kihon Kata
17 Mar 2006, 16:47
Thanks Sniper for helping me update ours! You rock
fabianv
20 Mar 2006, 16:25
Hey Sniper,
I changed my FIELD to lower case and everything seems to work.. just 2 things..
My mood changer is blank after ive changed a mood and I dont see a drop down in my usercp. :(
fabianv
20 Mar 2006, 16:28
Ok I changed my Moods field to : 'Edit Profile' so that works now.. all I need to figure out now is why my changer is blank after choosing :confused:
Does this have any influence on it showing or not?
condition="empty($bbuserinfo[field6])">selected</if>></option>
$show[qmcmood]
-=Sniper=-
27 Mar 2006, 15:39
if you need for me to have a look pm me with admin details...and I'll what you may have done wrong.
I think I need to rewrite the readme file :)
dboogie2288
27 Mar 2006, 17:47
Ohhh this is much better than the original. Muuuuch better. Installed so much quicker.
Hey, question though-is it able to show the current mood of a user? Everything works great, but I'd like to know what my current mood is from that option if possible.
-=Sniper=-
27 Mar 2006, 20:06
it should do.
My suggestion, uninstall the older version first, the install the latest version.
dboogie2288
27 Mar 2006, 22:50
Old mod was removed completely a while back...
MorrisMcD
29 Mar 2006, 16:06
First of all.. Thanks for the hack.. My users love it.. I have been using it for awhile.
Second.. I have one problem but its minor. When a new user signs up, they are defaulted to Aggressive as their mood.. I dont have a No Mood option. I do have it set to Yes, Including a Blank option.. Am I doing somethin wrong?
Thanks again
yumyumcat
01 Apr 2006, 03:14
Thanks for the time to put together this great hack ~ I'm new at this and I did successfully complete the first part to this hack. Basically, I was given the great mood images and the code to replace under the other as instructed.
On the second part of installaton, I was given more moods as well as names to edit and I did with no problem.
Now here's where I run into a great misunderstanding. I see that you state this:
Follow these steps ONLY if you already have the quick mood changer installed,
Step 1
~~~~~~
Go to Admin CP -> Plugin System -> Plugin Manager
Step 3
~~~~~~
Delete the "Quick Mood Changer" plugin I don't see the download for this to install it only to delete it ~ lol ~
Could someone please explain? I thought perhaps that this would take care of the one that was deleted, but I see that I can't go any further without the initial hack that you're referring to.
Please direct me to that download ~
Thanks in advance ~
yumyumcat
02 Apr 2006, 05:53
Can someone please hellp me?
yumyumcat
03 Apr 2006, 00:21
OMG...sorry!!!!! What a dork I am :( JEEEEEEEEESh!!
would it be possible to to have this centered at the bottom of a signature? and how would i do that lol
paul41598
06 May 2006, 14:05
Personally I think someone should do what I did for my 3.0.7 board. Put it in the postbit legacy. So easy for users to change their mood as they are writing their posts. :D
o0Hubba0o
08 May 2006, 02:38
Mood shows up in the post bit no problem, you can change it in the usercp/edit options no problem.
Using the quick change however it refreshes to the usercp and doesn't change the mood.
Well, I re-installed this today to see if maybe I overlooked something last time and it's still doing the same thing. I moved it to "edit profile" instead of options and still nothing.
Why would it be doing this?
-=Sniper=-
09 May 2006, 12:05
PM me admin access to your forums, so I can check it if you want.
have you deleted the old plugin?
paul41598
12 May 2006, 16:48
ok fixed.
Find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Add Below:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
oh and if you dont like the redirect msg. Just open the hook location:
Hook Location : usercp_complete click EDIT
and change
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
to
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
-=Sniper=-
12 May 2006, 18:14
Do you think I should add a field which allows you to enter your own message from the admincp?
glorify
14 May 2006, 15:12
I like it, but any way this could be done with AJAX?
-=Sniper=-
21 Jun 2006, 19:34
I will release a new and improved version (with AJAX), once 3.6 final is out.
cool and simple to setup
thx
-------------> installed
Littlebit
09 Jul 2006, 12:09
First of all.. Thanks for the hack.. My users love it.. I have been using it for awhile.
Second.. I have one problem but its minor. When a new user signs up, they are defaulted to Aggressive as their mood.. I dont have a No Mood option. I do have it set to Yes, Including a Blank option.. Am I doing somethin wrong?
Thanks again
You've probably fixed it by now, but if not, head to your User Profile Field: Member Mood Display, and click to save the settings. This got it kicking in for me.
paul41598
14 Jul 2006, 22:02
it is a plugin, so you had to import it. There was no need to make a new plugin.
the postbit will work for normal users, but not correctly for admins or mods, since because of inline moderation you have forms inside an form which causes it not to work.
I'm don't see anything wrong with the conditions used, so I can't tell you why it doesnt work.
If you remove all but the first 8 moods from the html code it works in 3.5.0 but thats no use...
Im just now experiencing this too. Theres gotta be a way around this.
Devil Woman
10 Aug 2006, 23:05
Will this hack be upgraded to vb 3.6.0 at all? I have searched and can not find it in the vb 3.6.0 section
Thanks
I installed it on 3.6 and it works fine but step 3 in the instructions must change to this
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>
<if condition="$show['pmwarning']"><br /><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></if>
Under it Add
<br />
$vbphrase[qmc_my_mood]:
<!-- / dropdown mood select by sniper start -->
<form action="usercp.php" method="post" id="moodform">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="newmood" />
<select name="mood" onchange="this.form.submit();">
<option value="" <if condition="empty($bbuserinfo[FIELDXX])">selected</if>></option>
$show[qmcmood]
</select>
</form>
<!-- / dropdown mood select by sniper end -->
Click Save
* the bit i've highlighted in bold is extra if you are installing on Vb3.6
Other than that.....everything is working OK :)
thanks for a great hack!
The_Rayman
21 Aug 2006, 15:26
Hi Sniper, and all vB users who have this hack!
i've integrated the hack on my vBa portal. Follow instructions below:
Go to Style Manager -> edit templates -> vBadvanced CMPS Templates -> adv_portal_welcomeblock and click "edit"
Look for
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Below that add:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Save... all done... now you can select your mood on the portal too ;)
Okay. I'm running 3.6. I can change my mood in the navbar below my PMs but I don't see ANY moods in my postbit. I tried in my admin account and a test member account....still nothing.
Any ideas?
Edit:Okay, figured it out. I had to keep the original postbit edits from the original moodhack 3.5 by lefthome. If I re-edit them with the instructions by -=Sniper=- in step 4, then I cannot see the moods in the postbit. If anyone's having the same issue as me and is running vB 3.6, skip -=Sniper=-'s step 4 in his instructions. ;)
Thanks for this, my members will love it, being a very moody bunch lol
Just thought I'd let you know though, it only works for me if I don't do the bits in step 4 editing the postbit template, it was all fine as I checked it as I was going along, and then after step 4 nothing showed in the postbit at all.
So I went back and changed the code to what it had in the original mood changer instructions, and then it all worked fine.
:)
-=Sniper=-
20 Sep 2006, 19:09
n/p I will release a new version soon with AJAX mood changing for 3.6.1.
Kihon Kata
20 Sep 2006, 19:17
oooOOoOoh! you go!
n/p I will release a new version soon with AJAX mood changing for 3.6.1.
|Jordan|
24 Jul 2007, 19:24
Does this hack also suffer from the XSS vulnerability that the "Mood Manager - with AJAX mood update" contains?
-=Sniper=-
24 Jul 2007, 19:27
Jordan, in the usercp_complete plugin change TYPE_STR to TYPE_NOHTML thats it. Don't worry about it too much!
-=Sniper=-
24 Jul 2007, 19:36
Please upgrade it fixes a XSS security risk!
update for ajax version coming in a few mins!
thank you
-=Sniper=-
24 Jul 2007, 20:22
hi, bashy, I deleted this version by accident, when I was updating the AJAX version, if you could upload it again, I'll fix it and upload it here (non AJAX version).
|Jordan|
24 Jul 2007, 21:50
Jordan, in the usercp_complete plugin change TYPE_STR to TYPE_NOHTML thats it. Don't worry about it too much!
Is that in the plugin file? I can't find it.
-=Sniper=-
24 Jul 2007, 22:04
its in two of the plugins, I think userdata_start and profile_complete, just go though each one because I can't remember exactly, please post the product file so I can update the file for you, I have deleted from my computer, hense unable to post the updated file.
MysticMoon
24 Jul 2007, 23:32
its in two of the plugins, I think userdata_start and profile_complete, just go though each one because I can't remember exactly, please post the product file so I can update the file for you, I have deleted from my computer, hense unable to post the updated file.
I attached what I think you are asking for :up:
-=Sniper=-
24 Jul 2007, 23:37
thanks I have uploaded the new file, do have the readme file, as I can't remember if I included it ot not?
MysticMoon
24 Jul 2007, 23:56
Yep it's attached.
You may want to double check I reverted everything back.
I have a habit of editing the instruct files to include my
info to make it easier for me lol
I think I changed it all back though.
-=Sniper=-
25 Jul 2007, 00:44
thanks MysticMoon :)
esthervdwal
29 Jul 2007, 15:54
Hello, I have Vbulletin 3.5.4 and strangely there is nothing showing...anyone any idea:confused:
Bro_Joey_Gowdy
31 Jul 2007, 21:20
Uninstalled and Reinstalled updated version here:
http://www.vbulletin.org/forum/showthread.php?t=127220
hollyboy
24 Feb 2008, 14:52
nice hack, installed
i wonder if there is a way to show the preview of the icons in the quick mood changer
thanks
bayareamommas
08 Apr 2008, 18:26
i keep getting users that say they have a red x next to theirs
puregraf
27 Nov 2008, 19:19
is it just me or the forum is allot slower when the moods are enabled??
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.