News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

mMood 1.0

Started by allever, October 27, 2005, 01:20:58 PM

Previous topic - Next topic

allever

Link to Mod

Unlike my other mood mod, this one will let your members set their mood when they post.

Please let me know of any problems, ideas.

Thanks!

Enjoy!
Allever
Sometimes, it's the little features.. Err, things that matters....

JayBachatero

NIce work on the mod.  I was thinking it would look better if you add this after the body of the posts not before or place it were the avatar is at.  that area.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

allever

Quote from: JayBachatero on October 28, 2005, 03:10:40 PM
NIce work on the mod.  I was thinking it would look better if you add this after the body of the posts not before or place it were the avatar is at.  that area.
Thanks! :)

You can put it after the body by switching

<div class="post">', $postermood, $message['body'], '</div>

to
<div class="post">', $message['body'],  $postermood,  '</div>

in /default/Display.template.php

:)
Sometimes, it's the little features.. Err, things that matters....

JayBachatero

Quote from: allever on October 29, 2005, 11:04:48 PM
Quote from: JayBachatero on October 28, 2005, 03:10:40 PM
NIce work on the mod.  I was thinking it would look better if you add this after the body of the posts not before or place it were the avatar is at.  that area.
Thanks! :)

You can put it after the body by switching

<div class="post">', $postermood, $message['body'], '</div>

to
<div class="post">', $message['body'],  $postermood,  '</div>

in /default/Display.template.php

:)

Iight.  Im going to do this.  I might move it to the avatar area. people might confuse it as being part of the post itself.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

DemonicInfluence

Err.. I get this error when posting normally...

8: Undefined variable: form_postermood
File: /home/u1/libo/html/Sources/Post.php
Line: 917


and this when using quick reply.
8: Undefined index: postermood
File: /home/u1/libo/html/Sources/Post.php
Line: 1316


How do u fix this?

ArkServer

I was wondering, how can you add more moods? and anyway to add a smiley with it?


i got it installed here: http://arkserver.servehttp.com/forum/index.php?topic=960.0
great mod :)

DemonicInfluence

Quote from: ArkServer on October 30, 2005, 03:14:14 PM
I was wondering, how can you add more moods? and anyway to add a smiley with it?


i got it installed here: http://arkserver.servehttp.com/forum/index.php?topic=960.0
great mod :)

Edit in the modifications.english.php file for more moods..

allever

Quote from: Libo on October 30, 2005, 10:19:03 AM
Err.. I get this error when posting normally...

8: Undefined variable: form_postermood
File: /home/u1/libo/html/Sources/Post.php
Line: 917


and this when using quick reply.
8: Undefined index: postermood
File: /home/u1/libo/html/Sources/Post.php
Line: 1316


How do u fix this?

Thanks libo! I will have this fix on the next release.  Dunno when that will be... Right now, I am working on a referral/invite mod, using a vanilla smf 1.1rc1
Sometimes, it's the little features.. Err, things that matters....

JayBachatero

what is a vanilla smf 1.1 rc1?
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

DemonicInfluence

Unmodified smf 1.1. Rc1

AzaToth

you should do modification of classic theme also if you are modifying files in template that classic have altered (Display, Post etc...)

Elegant John

Okay, Stupid question, but it is from one of my members! what does this mod do? I have it installed but see none of the moods selected displayed in the posts? D'oh?

On the postive side, it is a clean nice mod.

JayBachatero

Quote from: Elegant John on November 17, 2005, 11:55:53 PM
Okay, Stupid question, but it is from one of my members! what does this mod do? I have it installed but see none of the moods selected displayed in the posts? D'oh?

On the postive side, it is a clean nice mod.

Do you use another theme that is not the default theme?  if so take a look at this
How to make mods work with themes?
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

jerm

Quote from: allever on October 30, 2005, 09:54:09 PM
Quote from: Libo on October 30, 2005, 10:19:03 AM
Err.. I get this error when posting normally...

8: Undefined variable: form_postermood
File: /home/u1/libo/html/Sources/Post.php
Line: 917


and this when using quick reply.
8: Undefined index: postermood
File: /home/u1/libo/html/Sources/Post.php
Line: 1316


How do u fix this?

Thanks libo! I will have this fix on the next release.  Dunno when that will be... Right now, I am working on a referral/invite mod, using a vanilla smf 1.1rc1
any idea on when you will get around to fixing it?

Gobo

hi
i am using Amber design by Bloc theme
and the moods dont show up.

Is this expected or am I doing something wrong?

PS: I got no error messages and everything installed just fine

JayBachatero

Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Gobo

thanks ill check it out now

ps: love the penguin avatar, its awesome

JayBachatero

You're welcome.
Got it from crystalxp.net. 
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Rasyr

#18
I have a question

You have two mood mods, one allows the mood to be changed in the profile. However, this only shows the current mood, meaning that the mood is not stored with the posts themselves. So if a person changes his mood, it changes on all posts that he has made.

Does this one work the same way, or does it store the mood with the actual post, so that different posts from the same user can have different moods?


Nevermind. I installed it and tried it out.  :D

jerm

Quote from: Libo on October 30, 2005, 10:19:03 AM
Err.. I get this error when posting normally...

8: Undefined variable: form_postermood
File: /home/u1/libo/html/Sources/Post.php
Line: 917


and this when using quick reply.
8: Undefined index: postermood
File: /home/u1/libo/html/Sources/Post.php
Line: 1316


How do u fix this?

any word yet on when this will be fixed.. its filling up my log file like crazy lol

Advertisement: