|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
Name: Mood Selector Hack Description: Gives users the option to set a mood in their profile. Mood images included, but you can use your own. If you do, please share them if you can in exchange for use of this hack. Download: Here Requires.. UBB 6.3.0 or higher (untested on 6.3.1). Note: This hack is in BETA and is undone. So, please, report bugs here. The worse part of this hack is the documentation, but be careful anyways.
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
ZIP Updated with changes from LK. Always LK. 
|
|
|
|
Joined: Nov 2000
Posts: 652
Member
|
Member
Joined: Nov 2000
Posts: 652 |
Nice one Greg, love it.  If I find any bugs I will let you know.
|
|
|
|
Joined: Aug 2000
Posts: 594
Member
|
Member
Joined: Aug 2000
Posts: 594 |
hey Greg my users loved this one before and have been requesting it again so thanks again one user requested that maybe you could have a mood associated with a post instead of it being tied to the member id. this way it would record your mood at the time of the post as opposed to your current mood. I know that is completely different as it would be treated in the same way as a topic icon but thought I would run it by you keep up the great work 
jeremiah
|
|
|
|
Joined: Jun 2001
Posts: 572
Member
|
Member
Joined: Jun 2001
Posts: 572 |
Yay! Good job Greg. Will install tonight, hopefully.
~Jon
|
|
|
|
Joined: Dec 2000
Posts: 371
Member
|
Member
Joined: Dec 2000
Posts: 371 |
Wich profilefields are used by this moods? I've the 4 fields in use right now, but maybe it can be assigned to ohters as well.
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
The 4 customs i believe, 15,16,17,18. Change em to any others you want if you wish.
|
|
|
|
Joined: Mar 2002
Posts: 99
Member
|
Member
Joined: Mar 2002
Posts: 99 |
the only problem here is that it says:
"You do not have permission to access this area."
when i try to do anything with "manage moods" or "mood settings". never had this problem with a hack before but i'm assuming it's a simple thing.
any ideas???
|
|
|
|
Joined: Mar 2002
Posts: 99
Member
|
Member
Joined: Mar 2002
Posts: 99 |
just so there's no confusion, both cp_manage_mood.pl and cp_vars_mood.pl are chmoded to 755, so that's not the problem. i even went into cp.cgi and compared the code from this hack to code that was already there and it's all the same. i cleared my cookies and my cache and still nothing... 
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
I know the problem, give me a day to fix it.
|
|
|
|
Joined: Mar 2002
Posts: 99
Member
|
Member
Joined: Mar 2002
Posts: 99 |
|
|
|
|
Joined: Feb 2001
Posts: 37
Member
|
Member
Joined: Feb 2001
Posts: 37 |
I'm trying to install the hack, in the CP after I submit the settings I get:
You did not complete: mood_field You did not complete: mood_explain
Problem being that those fields are not on the page in the CP.
Has to be an error on my part, but does anyone know what will fix it? Everything is chmodded right but for some reason it isn't reading the wordlet file (is that correct?)
|
|
|
|
Joined: Mar 2002
Posts: 99
Member
|
Member
Joined: Mar 2002
Posts: 99 |
yo greg, did you ever do that fix?
the other question is...is there any chance that this hack could have been the reason why my graemlins and my ubb code is now missing when i do a new topic, reply to a post, pm someone, and edit a post. i noticed they were all missing today and the last hack i installed was this one.
ah well...lte me know what you think.
|
|
|
|
Joined: Mar 2002
Posts: 99
Member
|
Member
Joined: Mar 2002
Posts: 99 |
nope, it wasn't your hack at all man. not sure what happened but i fixed it by just upping public_common.pl file again, so no one should fear that this hack will do what happened to me however i still would like to get that fix that we talked about above 
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
Untill i actually know the problems location i cant fix it, but i AM working on a fix.
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
Did you upload the files to their location? Please reupload the files from the zip and check you correctly hacked cp.cgi.
|
|
|
|
Joined: Jul 2001
Posts: 19
Junior Member
|
Junior Member
Joined: Jul 2001
Posts: 19 |
Iv'e got everything working except O don't have a drop down mood for users to select from just a blank box. And the other problem is from Control Panel when I hit Manage Moods I get this Error~!~
documents.forms.cp_menu.primary_settings.options is null or not an object.
Can Anyone figure this out for me??? Thanks in Advance Mike Silbaugh
|
|
|
|
Joined: Mar 2002
Posts: 451
Spotlight Runner-Up
|
Spotlight Runner-Up
Joined: Mar 2002
Posts: 451 |
A couple of fixes for you Greg.. "moods" directory in noncgi should be "mood" In mood_control.pl This: code:
&RequireVars("$vars_config{VariablesPath}/vars_wordlets_moods.cgi");
. Should be this: code: [qb]&RequireVars("$vars_config{VariablesPath}/vars_wordlets_mood.cgi"); [/qb] . This: code:
&LoadTemplate("cp_manage_mood.pl");
. Should be this: code: [qb] &LoadTemplate("cp_manage_mood"); [/qb] . ...................................................................... Hopefully that should have stomped a few problems for people.. . . . . . The only problem I have now is that the settings in the "Mood Settings" don't stick.. Every time I try updating them by activating the mod and set the custom field, the radio buttons don't stay clicked..
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
Thanks Ob. I'll add these. I coded it at 2AM. Big mistake.
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
What about the radio buttons not taking?
|
|
|
|
Joined: Mar 2002
Posts: 451
Spotlight Runner-Up
|
Spotlight Runner-Up
Joined: Mar 2002
Posts: 451 |
This may help find the problem.. When the settings are updated, and radio buttons are set blank, a few fields of the Wordlets also disappear.. At the moment because I have updated the settings there is only "mood_explain", "mood_field" and "mood_hack".. There were about 7 lots of wordlets before.. o.O
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
I'll be fixing that later.
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
quote: Originally posted by Oblivion Knight: This may help find the problem.. When the settings are updated, and radio buttons are set blank, a few fields of the Wordlets also disappear.. At the moment because I have updated the settings there is only "mood_explain", "mood_field" and "mood_hack".. There were about 7 lots of wordlets before.. o.O Exactly what I got too, I'm sure Greg will kick it into shape...for 6.3.1.1 please, I just upgraded.
|
|
|
|
Joined: Mar 2002
Posts: 451
Spotlight Runner-Up
|
Spotlight Runner-Up
Joined: Mar 2002
Posts: 451 |
The wordlets it seems to "chop off" are: "moods_explain", "moods_field" and "moods_hack".
Any significance why it kept the 3 "mood" wordlets, but "chopped off" the 3 "moods" wordlets?
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
because moods aren't used. Just mood. There is a bigger problem, however.
|
|
|
|
Joined: Mar 2002
Posts: 451
Spotlight Runner-Up
|
Spotlight Runner-Up
Joined: Mar 2002
Posts: 451 |
Alright Greg, I'll be looking forward to a fix, take your time 
|
|
|
|
Joined: May 2001
Posts: 50
Member
|
Member
Joined: May 2001
Posts: 50 |
I don't suppose anyone still has this hack lying around on their hard drive? Because Greg's page hasn't come back online yet so the link is broken 
|
|
|
|
Joined: Feb 2003
Posts: 28
Junior Member
|
Junior Member
Joined: Feb 2003
Posts: 28 |
I got a bunch of porno pop-ups.
|
|
|
|
Joined: Sep 2001
Posts: 672
Member
|
Member
Joined: Sep 2001
Posts: 672 |
dangit, i need a working link
|
|
|
|
Joined: May 2003
Posts: 19
Junior Member
|
Junior Member
Joined: May 2003
Posts: 19 |
still No link for this hack? this sounds like a sweet hack...
If someone could help us out...
thanking you in advance....
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 417
Joined: November 2001
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|