Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
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.

Sponsored Links
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
ZIP Updated with changes from LK. Always LK. wink

Joined: Nov 2000
Posts: 652
Member
Member
Offline
Joined: Nov 2000
Posts: 652
Nice one Greg, love it. thumbsup If I find any bugs I will let you know.

Joined: Aug 2000
Posts: 594
Member
Member
Offline
Joined: Aug 2000
Posts: 594
hey Greg smile

my users loved this one before and have been requesting it again so thanks again wink

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 tipsy

keep up the great work thumbsup


jeremiah
Joined: Jun 2001
Posts: 572
Member
Member
Offline
Joined: Jun 2001
Posts: 572
Yay! Good job Greg. Will install tonight, hopefully.

~Jon

Sponsored Links
Joined: Dec 2000
Posts: 371
Member
Member
Offline
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
Offline
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
Offline
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
Offline
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... frown

Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
I know the problem, give me a day to fix it.

Sponsored Links
Joined: Mar 2002
Posts: 99
Member
Member
Offline
Joined: Mar 2002
Posts: 99
no problem at all man

Joined: Feb 2001
Posts: 37
Member
Member
Offline
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
Offline
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
Offline
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 smile

however i still would like to get that fix that we talked about above wink

Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
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
Offline
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
Offline
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
Offline
Joined: Mar 2002
Posts: 451
A couple of fixes for you Greg..

"moods" directory in noncgi should be "mood"

In mood_control.pl

This:

Quote
code:
Code
&RequireVars("$vars_config{VariablesPath}/vars_wordlets_moods.cgi");

.

Should be this:

code:
[qb]
Code
&RequireVars("$vars_config{VariablesPath}/vars_wordlets_mood.cgi");
[/qb]
.

This:

Quote
code:
Code
	&LoadTemplate("cp_manage_mood.pl");

.

Should be this:

code:
[qb]
Code
	&LoadTemplate("cp_manage_mood");
[/qb]
.

......................................................................

Hopefully that should have stomped a few problems for people.. wink

.
.
.
.
.

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
Offline
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
Offline
Joined: Jun 2001
Posts: 2,849
What about the radio buttons not taking?

Joined: Mar 2002
Posts: 451
Spotlight Runner-Up
Spotlight Runner-Up
Offline
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
Offline
Joined: Feb 2000
Posts: 4,625
I'll be fixing that later.

Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
Quote
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
Offline
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
Offline
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
Offline
Joined: Mar 2002
Posts: 451
Alright Greg,
I'll be looking forward to a fix, take your time wink

Joined: May 2001
Posts: 50
Member
Member
Offline
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 smirk

Joined: Feb 2003
Posts: 28
Junior Member
Junior Member
Offline
Joined: Feb 2003
Posts: 28
I got a bunch of porno pop-ups.

Joined: Sep 2001
Posts: 672
Member
Member
Offline
Joined: Sep 2001
Posts: 672
dangit, i need a working link

Joined: May 2003
Posts: 19
Junior Member
Junior Member
Offline
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....


Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)