Page Index Toggle Pages: [1] 2  Send TopicPrint
Hot Topic (More than 10 Replies) Mood V1.1 for 2.2.1 - 2.2.3 (Read 14794 times)
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Mood V1.1 for 2.2.1 - 2.2.3
Aug 5th, 2008 at 4:30pm
Print Post  
Mood V1.1

This Mod allows users to select their mood in User CP and have it displayed in Message View and Profile.

I haven't seen the old Mod in action, but I think this Mod must be pretty similar to the old YaBB1 version.

Screenshots:
User CP:



Message View:


Profile:


Forum Settings - Members - Profile:


Forum Settings - General - Show / Hide Items:


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

Zip Package:
Mood_V_1_1.mod
cgi-bin/yabb2/Languages/English/Mood.lng
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/MyCenter.pl
Sources/Profile.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

Any problems or ideas, let me know...
« Last Edit: Dec 4th, 2008 at 4:21am by Derek Barnstorm »  

Mood_V_1_1.zip ( 278 KB | Downloads )
Back to top
 
IP Logged
 
Jeff
God Member
*****
Offline


There are no bugs there
are only features

Posts: 2552
Joined: Jan 14th, 2005
Gender: Male
Re: Mood V1.0 for 2.2.3
Reply #1 - Aug 5th, 2008 at 5:28pm
Print Post  
nice  Wink

maybe a suggestion to change ModImages/Mood/---.gif to ModImages/Mood/Languages/English/---.gif

for multilanguage of images.  Wink
  

greetings
Jeff
Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Mood V1.0 for 2.2.3
Reply #2 - Aug 5th, 2008 at 5:32pm
Print Post  
Thanks!

Do you mean just rename the folder, or put the 'Mood' folder in a new folder called "Languages'?
  
Back to top
 
IP Logged
 
Jeff
God Member
*****
Offline


There are no bugs there
are only features

Posts: 2552
Joined: Jan 14th, 2005
Gender: Male
Re: Mood V1.0 for 2.2.3
Reply #3 - Aug 5th, 2008 at 5:37pm
Print Post  
new folders in Mood like

public_html/yabbfiles/ModImages/Mood/Languages/English/*.gif
public_html/yabbfiles/ModImages/Mood/Languages/German/*.gif
public_html/yabbfiles/ModImages/Mood/Languages/Dutch/*.gif
  

greetings
Jeff
Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Mood V1.0 for 2.2.3
Reply #4 - Aug 5th, 2008 at 5:45pm
Print Post  
Okay, I'll check it out...

I'm going to have to change this path though so it can automatically finds the correct Language folder:

Code
Select All
img src="$modimgurl/Mood/${$uid.$user}{'mood'}.gif" 



Is this possible?
  
Back to top
 
IP Logged
 
Jeff
God Member
*****
Offline


There are no bugs there
are only features

Posts: 2552
Joined: Jan 14th, 2005
Gender: Male
Re: Mood V1.0 for 2.2.3
Reply #5 - Aug 5th, 2008 at 5:52pm
Print Post  
look for example in Variables/menu2.def
  

greetings
Jeff
Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Mood V1.0 for 2.2.3
Reply #6 - Aug 5th, 2008 at 5:57pm
Print Post  
Right... Thanks for that... I'll go and have a go...
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Mood V1.0 for 2.2.3
Reply #7 - Aug 5th, 2008 at 7:16pm
Print Post  
Back at last! Grin

I've updated the zip package in the first post.

I'm pretty sure it's okay... It's finding the English folder fine, but I haven't tested it with a different language...

Thanks
  
Back to top
 
IP Logged
 
Jeff
God Member
*****
Offline


There are no bugs there
are only features

Posts: 2552
Joined: Jan 14th, 2005
Gender: Male
Re: Mood V1.0 for 2.2.3
Reply #8 - Aug 5th, 2008 at 7:45pm
Print Post  
yep, works.  Grin
  

greetings
Jeff
Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Mood V1.0 for 2.2.3
Reply #9 - Aug 5th, 2008 at 7:56pm
Print Post  
Cool... Cheers!
  
Back to top
 
IP Logged
 
Jeff
God Member
*****
Offline


There are no bugs there
are only features

Posts: 2552
Joined: Jan 14th, 2005
Gender: Male
Re: Mood V1.0 for 2.2.3
Reply #10 - Aug 5th, 2008 at 8:00pm
Print Post  
but I suggest to move this option to Members - Profile, not to General - Show / Hide Items

Allow Members to Select Mood?
  

greetings
Jeff
Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Mood V1.0 for 2.2.3
Reply #11 - Aug 5th, 2008 at 8:31pm
Print Post  
Okay, done... Updated first post...
  
Back to top
 
IP Logged
 
mattcch
New Member
*
Offline


Web

Posts: 45
Joined: Jun 8th, 2007
Gender: Male
Re: Mood V1.0 for 2.2.3
Reply #12 - Aug 6th, 2008 at 3:33am
Print Post  
Great mods, work ok at 2.2.2 version too.
Thanks.

Smiley

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



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Mood V1.0 for 2.2.3
Reply #13 - Aug 6th, 2008 at 2:41pm
Print Post  
It should work from 2.2.1... I just haven't tested it on older versions... I've added 2.2.2 to the subject field now though...

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



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Mood V1.0 for 2.2.2 - 2.2.3
Reply #14 - Oct 1st, 2008 at 2:06am
Print Post  
I've improved this a bit... I've made new images, added a load more moods and you can preview the image in User CP...

I've updated the first post.

There's blank images in the package too, if anybody needs them for other languages.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 
Send TopicPrint