Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic YaBB Zodiac V1.4 for YaBB 2.5 (Read 5767 times)
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
YaBB Zodiac V1.4 for YaBB 2.5
Jan 16th, 2011 at 8:24pm
Print Post  
YaBB Zodiac V1.4

Description:
-----------------
This Mod will display Members Zodiac sign in the users profile and message view if the Birthdate field is filled out. You can enable/disable this setting in Admin Center.

Credits:
----------
This Mod was originally coded by Ron (Spikecity) for YaBB 2.1. Thanks to him for letting me update it for newer versions.

Screenshots:
------------------
Message View:


Profile:


Admin Center - Forum Settings - Show / Hide Items


Demo:
----------
http://ibrainstorm.net/modemos/forum/YaBB.pl

user: test
pass: modtester

Installation:
----------------
1) Modify YaBB files using BoardMod or manually.
2) Upload modified files to your server in ASCII mode.
3) Upload Zodiac.lng and Zodiac.pl to their relevant directories in ASCII mode.
4) Upload the Zodiac images folder to the ModImages directory in Binary mode.
5) Go to 'Admin Center - Forum Settings - Show / Hide Items' to enable this feature.

Files to edit:
-----------------
Admin/ManageTemplates.pl
Admin/Modlist.pl
Admin/NewSettings.pl
Admin/Settings_Main.pl
Sources/Display.pl
Sources/Load.pl
Sources/MyCenter.pl
Sources/Profile.pl
Templates/default/Display.template
Templates/default/MyCenter.template
Templates/yabb21/Display.template
Templates/yabb21/MyCenter.template

Zip package:
-----------------
YaBB_Zodiac_V1_4.mod
cgi-bin/yabb2/Sources/Zodiac.pl
cgi-bin/yabb2/Languages/English/Zodiac.lng
public_html/yabbfiles/Modimages/Zodiac/*.gif

ExtraIcons.zip

History:
------------
1.0 - First release (2.1) - Ron (Spikecity) - 11th July 2007
1.0a - Fixed residual zodiac signs in thread posts if a user does not have a birthdate filled out. (2.1) - Ron (Spikecity)

1.0 - Updated for YaBB 2.2.3 - Derek Barnstorm - 28th July 2008
1.1 - Corrected dates (2.2.3) - 4th August 2008
1.2 - Updated for YaBB 2.3, added enable/disable in Admin Center, added more extra icons - 15th October 2008
1.3 - Updated for YaBB 2.4 - 14th April 2009
1.4 - Updated for YaBB 2.5 and added to ManageTemplates.pl - 16th January 2011
  

YaBB_Zodiac_V1_4.zip ( 30 KB | Downloads )
Back to top
 
IP Logged
 
Derek Bullock
Full Member
***
Offline


I love Camp Oven Cooking

Posts: 184
Location: Brisbane
Joined: Nov 9th, 2007
Gender: Male
Re: YaBB Zodiac V1.4 for YaBB 2.5
Reply #1 - Apr 15th, 2013 at 10:24am
Print Post  
Hi Derek

I have a member with the date of birth 3/7/55 yet is showing as a Pisces but should be Cancer.  Any idea why???

Thanks
  

Back to top
WWW  
IP Logged
 
ProgMaster
New Member
*
Offline



Posts: 36
Location: Offshore
Joined: Mar 2nd, 2007
Gender: Male
Re: YaBB Zodiac V1.4 for YaBB 2.5
Reply #2 - Apr 15th, 2013 at 12:44pm
Print Post  
Maybe it's a 'date format' issue ?

3 Jul 55 : Cancer

7 Mar 55 - Pisces

I'm sure that Derek will confirm. Smiley

Darran
  
Back to top
WWW  
IP Logged
 
depablo
New Member
*
Offline



Posts: 30
Location: Scotland
Joined: May 2nd, 2006
Gender: Male
Re: YaBB Zodiac V1.4 for YaBB 2.5
Reply #3 - Apr 15th, 2013 at 6:43pm
Print Post  
Is the day / month around the right way? I mean did the user input in the correct order? Trouble is you cannot change them to test as an average user.

Maybe worth uploading the files again in case of corruption?

Zodiac.pl appears to hold the dates?
  

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



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: YaBB Zodiac V1.4 for YaBB 2.5
Reply #4 - Apr 15th, 2013 at 7:51pm
Print Post  
Hi Derek,

I've just tested those dates and they work as they should for me, and I can't see anything wrong in the code. I think you'll find it's a user input error as depablo said:

depablo wrote on Apr 15th, 2013 at 6:43pm:
Is the day / month around the right way? I mean did the user input in the correct order? 

  
Back to top
 
IP Logged
 
Derek Bullock
Full Member
***
Offline


I love Camp Oven Cooking

Posts: 184
Location: Brisbane
Joined: Nov 9th, 2007
Gender: Male
Re: YaBB Zodiac V1.4 for YaBB 2.5
Reply #5 - Apr 15th, 2013 at 11:28pm
Print Post  
Derek Barnstorm wrote on Apr 15th, 2013 at 7:51pm:
Hi Derek,

I've just tested those dates and they work as they should for me, and I can't see anything wrong in the code. I think you'll find it's a user input error as depablo said:

depablo wrote on Apr 15th, 2013 at 6:43pm:
Is the day / month around the right way? I mean did the user input in the correct order?  



Why didn't I think of that.  Grin  Normally here in Australia we put day/month/year. Forum has month/day/year.

All fixed.  Thanks guys.
  

Back to top
WWW  
IP Logged
 
depablo
New Member
*
Offline



Posts: 30
Location: Scotland
Joined: May 2nd, 2006
Gender: Male
Re: YaBB Zodiac V1.4 for YaBB 2.5
Reply #6 - Apr 16th, 2013 at 6:10am
Print Post  
I have actually been caught out with this before, only thing that saved me was my birthday was higher than twelve and it threw an error on input.

Your user was using dates below twelve and got caught out  Cheesy
  

depablo
Back to top
 
IP Logged
 
Derek Bullock
Full Member
***
Offline


I love Camp Oven Cooking

Posts: 184
Location: Brisbane
Joined: Nov 9th, 2007
Gender: Male
Re: YaBB Zodiac V1.4 for YaBB 2.5
Reply #7 - Apr 16th, 2013 at 6:12am
Print Post  
I'm trying to embarrass him  Roll Eyes
  

Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint