The BoardMod Project
 The Project | News | Downloads | Mods | FAQ | Templates | Chat | Forum
BoardMod Support Forum
[ Home | Help | Search | Login | Register ]  

25.05.13 at 23:22:21, Welcome, Guest. Please Login or Register

Choose Language:
Pages: 1 2 
Mood V1.5 for YaBB 2.4 (Read 12242 times)
Derek Barnstorm
Hacker God
*****
Offline

Warwickshire, United Kingdom
Posts: 1113



04.05.09 at 22:59:54  
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 Forum Software - 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: 07.07.09 at 18:41:31 by Derek Barnstorm »  
IP Logged
 

Mood_V1_5.zip (287 KB | 292 )
Derek Barnstorm
Hacker God
*****
Offline

Warwickshire, United Kingdom
Posts: 1113



Reply #1 - 04.05.09 at 23:02:03  
Oh...

@ Mick...

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

Code:
'06' => 'Change Your Mood',
'07' => 'Change Your Displayed Mood',
'08' => 'Change Mood',
'09' => 'Cancel',
'10' => 'Changing Mood',
 
IP Logged
 
mick
Hacker Expert
****
Offline

Dorsten, Nordrhein-Westfalen, Germany
Posts: 344



Reply #2 - 05.05.09 at 11:46:06  
Hi,

thanks for updating it, Derek.

German-Files attached.

Greetings
Mick
« Last Edit: 07.07.09 at 13:23:11 by mick »  
IP Logged
 

Mood_V1_5_German.zip (314 KB | 294 )
Derek Barnstorm
Hacker God
*****
Offline

Warwickshire, United Kingdom
Posts: 1113



Reply #3 - 05.05.09 at 13:05:23  
Thanks Mick!

I've updated the first post to link to the Zip file.
 
IP Logged
 
mick
Hacker Expert
****
Offline

Dorsten, Nordrhein-Westfalen, Germany
Posts: 344



Reply #4 - 05.05.09 at 16:48:35  
Installed without any Problems, runs well!
 
IP Logged
 
Martin_W
Hacker Expert
****
Offline

Devon, United Kingdom
Posts: 463



Reply #5 - 07.05.09 at 22:18:47  
That was quick work!
 
IP Logged
 
Derek Barnstorm
Hacker God
*****
Offline

Warwickshire, United Kingdom
Posts: 1113



Reply #6 - 07.05.09 at 22:57:04  
Martin_W wrote on 07.05.09 at 22:18:47:
That was quick work!

Too much time on my hands. Undecided

Thanks again for the code. Very  much appreciated!
 
IP Logged
 
MasterKarman
Hacker Wannabe
**
Offline

Karmanville, British Columbia, Canada
Posts: 90



Reply #7 - 30.06.09 at 14:53:28  
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.
 
IP Logged
 

...
Derek Barnstorm
Hacker God
*****
Offline

Warwickshire, United Kingdom
Posts: 1113



Reply #8 - 30.06.09 at 22:31:01  
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:
<input type="hidden" name="formsession" value="$mbname$username" /> 


And replace it with this:

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


See if that does anything...



« Last Edit: 30.06.09 at 23:02:31 by Derek Barnstorm »  
IP Logged
 
MasterKarman
Hacker Wannabe
**
Offline

Karmanville, British Columbia, Canada
Posts: 90



Reply #9 - 01.07.09 at 00:26:59  
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
 
IP Logged
 

...
Derek Barnstorm
Hacker God
*****
Offline

Warwickshire, United Kingdom
Posts: 1113



Reply #10 - 01.07.09 at 00:31:01  
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 01.07.09 at 00:26:59:
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?



 
IP Logged
 
MasterKarman
Hacker Wannabe
**
Offline

Karmanville, British Columbia, Canada
Posts: 90



Reply #11 - 01.07.09 at 00:59:25  
I don't, no. Your work is greatly appreciated.
Thanks again.

* MasterKarman
 
IP Logged
 

...
Derek Barnstorm
Hacker God
*****
Offline

Warwickshire, United Kingdom
Posts: 1113



Reply #12 - 01.07.09 at 01:29:15  
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!
 
IP Logged
 
MasterKarman
Hacker Wannabe
**
Offline

Karmanville, British Columbia, Canada
Posts: 90



Reply #13 - 01.07.09 at 15:05:07  
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...
 
IP Logged
 

...
Derek Barnstorm
Hacker God
*****
Offline

Warwickshire, United Kingdom
Posts: 1113



Reply #14 - 01.07.09 at 15:30:10  
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...
 
IP Logged
 
Pages: 1 2 
© 2000-2012 by - All rights reserved.

Project website hosting proudly sponsored and provided by UK2 Hosting
 The Project | News | Downloads | Mods | FAQ | Templates | Chat | Forum