Page Index Toggle Pages: [1] 2  Send TopicPrint
Hot Topic (More than 10 Replies) Mood V1.5 for YaBB 2.4 (Read 20320 times)
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Mood V1.5 for YaBB 2.4
May 4th, 2009 at 9:59pm
Print Post  
Mood V1.5

Description:
This Mod allows users to select their mood in User CP and have it displayed in Message View and Profile. After your mood is selected, you can then change it by clicking on the image anywhere it is displayed.

Credits:
Martin_W gave me his code to change the mood by clicking on the image, so he is credited as co-author (Thanks Martin!)
German and German_Du Language and Image translations by Mick www.info4alien.de
Many thanks for his hard work.

Download the German and German_Du translation HERE!

Screenshots:
User CP:






Message View:


Profile:


Member List:


Forum Settings - Members - Profile:


Forum Settings - General - Show / Hide Items:


Installation:
Modify YaBB files using BoardMod or manually.
Load modified files to your server.  

Note: If you are using the Avatars in Member List Mod, then you need to install that first.

Zip Package:
Mood_V1_5.mod
Mood_V1_5_YaMMS_Compatible
cgi-bin/yabb2/Languages/English/Mood.lng
cgi-bin/yabb2/Sources/ChangeMood.pl
public_html/yabbfiles/ModImages/Mood/Languages/English/*.gif

Blank Images.zip - If anybody needs them for other languages.

Files to Edit:
Admin/ModList.pl
Admin/NewSettings.pl
Admin/Settings_Main.pl
Sources/Display.pl
Sources/Load.pl
Sources/MemberList.pl
Sources/MyCenter.pl
Sources/Profile.pl
Sources/SubList.pl
Sources/System.pl
Templates/default/Display.template
Templates/default/MyCenter.template
Templates/yabb2/Display.template
Templates/yabb2/MyCenter.template

Mod History:
1.0 - First Release - August 5th 2008
1.1 - Made new images, aligned text and image better, added more moods and added preview image in User CP - October 1st 2008
1.2 - Updated for YaBB 2.3 - 14th October 2008
1.2 - Added German and German_Du Languages - Thanks to Mick www.info4alien.de  - 23rd December 2008
1.3 - Updated for YaBB 2.3.1 - 4th January 2009
1.4 - Updated for YaBB 2.4 and added ability to change mood by clicking on the image (Martin_W) - 4th May 2009
1.5 - Added to Member List and fixed issue with some users receiving Form Spoofing message - 6th July 2009
« Last Edit: Jul 7th, 2009 at 5:41pm by Derek Barnstorm »  

Mood_V1_5.zip ( 287 KB | Downloads )
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Mood V1.4 for YaBB 2.4
Reply #1 - May 4th, 2009 at 10:02pm
Print Post  
Oh...

@ Mick...

Before I link to the German language file will you be able to update it with the following please...

Code
Select All
'06' => 'Change Your Mood',
'07' => 'Change Your Displayed Mood',
'08' => 'Change Mood',
'09' => 'Cancel',
'10' => 'Changing Mood', 

  
Back to top
 
IP Logged
 
mick
Senior Member
****
Offline


I love YaBB

Posts: 345
Location: Dorsten
Joined: Nov 29th, 2005
Gender: Male
Re: Mood V1.4 for YaBB 2.4
Reply #2 - May 5th, 2009 at 10:46am
Print Post  
Hi,

thanks for updating it, Derek.

German-Files attached.

Greetings
Mick
« Last Edit: Jul 7th, 2009 at 12:23pm by mick »  

Mood_V1_5_German.zip ( 314 KB | Downloads )
Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Mood V1.4 for YaBB 2.4
Reply #3 - May 5th, 2009 at 12:05pm
Print Post  
Thanks Mick!

I've updated the first post to link to the Zip file.
  
Back to top
 
IP Logged
 
mick
Senior Member
****
Offline


I love YaBB

Posts: 345
Location: Dorsten
Joined: Nov 29th, 2005
Gender: Male
Re: Mood V1.4 for YaBB 2.4
Reply #4 - May 5th, 2009 at 3:48pm
Print Post  
Installed without any Problems, runs well!
  
Back to top
WWW  
IP Logged
 
Martin_W
Senior Member
****
Offline


I love YaBB 1G - SP1.2!

Posts: 463
Location: Devon
Joined: Jun 22nd, 2005
Gender: Male
Re: Mood V1.4 for YaBB 2.4
Reply #5 - May 7th, 2009 at 9:18pm
Print Post  
That was quick work!
  
Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Mood V1.4 for YaBB 2.4
Reply #6 - May 7th, 2009 at 9:57pm
Print Post  
Martin_W wrote on May 7th, 2009 at 9:18pm:
That was quick work!

Too much time on my hands. Undecided

Thanks again for the code. Very  much appreciated!
  
Back to top
 
IP Logged
 
MasterKarman
Junior Member
**
Offline


YaBB 2.5.2

Posts: 90
Location: Karmanville
Joined: Feb 14th, 2009
Gender: Male
Re: Mood V1.4 for YaBB 2.4
Reply #7 - Jun 30th, 2009 at 1:53pm
Print Post  
I'm getting a 'Forum Spoofing' alert when clicking on a mood image outside of the profile section. The popup window loads this after selecting a new mood and the mood does not change.
  

Now using YaBB 2.5.2 with 40+mods
"The world is a dangerous place to live. Not because of the evil in it, but because of the people who don't do anything about it."


Back to top
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Mood V1.4 for YaBB 2.4
Reply #8 - Jun 30th, 2009 at 9:31pm
Print Post  
Hmmm, I'm not too sure why that's happening, sorry!

It was actually Martin_W who did that bit of code (I only edited it to stop a 500 Error)...

I haven't noticed this happen before, and I think it's been working fine for everyone else too...

I'm afraid I don't really know...

Edited:
Actually, you could try this, though I don't know if it will work. I got it from this thread http://www.boardmod.org/yabb2/YaBB.pl?num=1232292489

In ChangeMood.pl find:

Code
Select All
<input type="hidden" name="formsession" value="$mbname$username" /> 


And replace it with this:

Code
Select All
<input type="hidden" name="formsession" value="$formsession" /> 


See if that does anything...



  
Back to top
 
IP Logged
 
MasterKarman
Junior Member
**
Offline


YaBB 2.5.2

Posts: 90
Location: Karmanville
Joined: Feb 14th, 2009
Gender: Male
Re: Mood V1.4 for YaBB 2.4
Reply #9 - Jun 30th, 2009 at 11:26pm
Print Post  
That did the trick. It all works great now with no problems.
Thank you very much. I love this mod.
And yes I succumbed and have gone to 2.4...lol
  

Now using YaBB 2.5.2 with 40+mods
"The world is a dangerous place to live. Not because of the evil in it, but because of the people who don't do anything about it."


Back to top
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Mood V1.4 for YaBB 2.4
Reply #10 - Jun 30th, 2009 at 11:31pm
Print Post  
Okay, cool. And you're very welcome!

I'll see if anyone else gets the problem, and I'll change it in the zip package if so.

MasterKarman wrote on Jun 30th, 2009 at 11:26pm:
And yes I succumbed and have gone to 2.4...lol

I take it you don't need me to make the changes for the 2.3.1 version now then?



  
Back to top
 
IP Logged
 
MasterKarman
Junior Member
**
Offline


YaBB 2.5.2

Posts: 90
Location: Karmanville
Joined: Feb 14th, 2009
Gender: Male
Re: Mood V1.4 for YaBB 2.4
Reply #11 - Jun 30th, 2009 at 11:59pm
Print Post  
I don't, no. Your work is greatly appreciated.
Thanks again.

* MasterKarman
  

Now using YaBB 2.5.2 with 40+mods
"The world is a dangerous place to live. Not because of the evil in it, but because of the people who don't do anything about it."


Back to top
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Mood V1.4 for YaBB 2.4
Reply #12 - Jul 1st, 2009 at 12:29am
Print Post  
Cool! One less thing for me to do then. Cheesy

I'm just glad that you got it working and that you like it. Smiley

Thanks!
  
Back to top
 
IP Logged
 
MasterKarman
Junior Member
**
Offline


YaBB 2.5.2

Posts: 90
Location: Karmanville
Joined: Feb 14th, 2009
Gender: Male
Re: Mood V1.4 for YaBB 2.4
Reply #13 - Jul 1st, 2009 at 2:05pm
Print Post  
Would it be possible to have the mood displayed on the 'Members List' page as well? Or would that be too much extra to code in?
Come to think of it, the 'Members' page is pretty stuffed as it is so maybe not such a good idea...
  

Now using YaBB 2.5.2 with 40+mods
"The world is a dangerous place to live. Not because of the evil in it, but because of the people who don't do anything about it."


Back to top
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Mood V1.4 for YaBB 2.4
Reply #14 - Jul 1st, 2009 at 2:30pm
Print Post  
Yep, should be easy enough to do. I'll have a think about the best way to do it though, maybe a patch will be the best bet. I'll also have to make it compatible with a couple of other Mods. I'll get back to you...
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 
Send TopicPrint