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

07.09.10 at 21:43:57, Welcome, Guest. Please Login or Register

Choose Language:
Page Index Toggle Pages: 1
[YaBB2.1] YaBB Zodiac V1.0a beta (Read 2040 times)
Spikecity
Moderator
*****
Offline

New York, New York, USA
Posts: 2630



05.07.07 at 10:29:46  
Proudly introducing:

YaBB Zodiac 2.1
V1.0a beta

This mod shows the zodiac sign in the users profile (both in view profile as text as in the thread as an icon) if the birth date is filled out.

Installation
Apply the mod, upload the changed Load.pl, Display.pl, Profile.pl, display.template
Upload the new Zodiac.pl into /Sources and chmod equal to the other pl files
Upload Zodiac.lng in the correct language dirs (english, dutch and german supplied)
Upload the dir holding the zodiac gif icons including the dir into public_html/yabbfiles/ModImages

Testing
Go to any user with a filled out birth date and the zodiac sign should be shown as text in the profile view.
Go to any thread where users have their birth date filled out and the zodiac sign should be visible as icon (with a alt/title tag having the text version)

Version History
1.0
First release


1.0a
- Fixed residual zodiac signs in thread posts if a user does not have a birthdate filled out.
« Last Edit: 11.07.07 at 10:27:41 by Spikecity »  
IP Logged
 

Nothing to add here Smiley
Outumuro
Hacker God
*****
Offline

Los Angeles, California, USA
Posts: 569



Reply #1 - 05.07.07 at 11:36:11  
Good idea Spikecity! Smiley

One question though.  Can a individual user choose to turn off (via their profile) the displaying of a Zodiac symbol for their own posts and profile?

Some users are uncomfortable with anything to do with astrology and the Zodiac.  It would be nice to be able to offer it on a forum, but allow individuals to turn it off for themselves if they choose to.
 
IP Logged
 

...
... ... ... ... ...
Spikecity
Moderator
*****
Offline

New York, New York, USA
Posts: 2630



Reply #2 - 05.07.07 at 11:44:51  
On/Off is based on birth date filled out or not, so people who are "scared" of zodiac stuff just erase their birth date in the profile.
No on/off switch in the profile, just showing it if there is a date, basically the same mechanism for the birthday cake icon, shown on their birthday.

BTW
Attached a second set of Zodiac icons (much smaller and discrete)
Just overwrite the ones in the zip if you like these ones more.
 
IP Logged
 

Zodiac2.zip (12 KB | 37 )

Nothing to add here Smiley
Jeff
Moderator
*****
Offline

, Netherlands
Posts: 2531



Reply #3 - 05.07.07 at 12:45:02  
Hi Spikecity
nice mod. here a german translation.

Code:
###############################################################################
# Zodiac.lng (Zodiac text definitions) #
###############################################################################
# YaBB: Yet another Bulletin Board #
# Open-Source Community Software for Webmasters #
# Version: YaBB 2.1 #
# Released: November 8, 2005 #
# Distributed by: http://www.yabbforum.com #
# =========================================================================== #
# Copyright (c) 2000-2005 YaBB (www.yabbforum.com) - All Rights Reserved. #
# Software by: The YaBB Development Team #
# with assistance from the YaBB community. #
# Sponsored by: Xnull Internet Media, Inc. - http://www.ximinc.com #
# Your source for web hosting, web design, and domains. #
###############################################################################

$zodiaclngver = 'YaBB 2.1 $Revision: 1.2 $';

%zodiactxt = (
'sign' => "Sternzeichen ist",
'aquarius' => "Wassermann",
'aries' => "Widder",
'libra' => "Waage",
'gemini' => "Zwillinge",
'leo' => "Löwe",
'sagittarius' => "Schütze",
'virgo' => "Jungfrau",
'cancer' => "Krebs",
'capricorn' => "Steinbock",
'scorpio' => "Skorpion",
'pisces' => "Fische",
'taurus' => "Stier",
);

1;
 
IP Logged
 

greetings
Jeff
Spikecity
Moderator
*****
Offline

New York, New York, USA
Posts: 2630



Reply #4 - 05.07.07 at 13:04:52  
Thanks JetLi,

Added to the zip in the first message:

- German lng file
- Extra iconset

 
IP Logged
 

Nothing to add here Smiley
delrick
Hacker Expert
****
Offline

Fort Smith, Arkansas, USA
Posts: 362



Reply #5 - 11.07.07 at 03:14:32  
any idea why the sign changes on some of the post? Example...a member is listed as Sag but when you see him again, he is a cancer.
 
IP Logged
 

Delrick Gist
Writer's Block

WRITERSBLOCK.COM
Spikecity
Moderator
*****
Offline

New York, New York, USA
Posts: 2630



Reply #6 - 11.07.07 at 06:59:07  
delrick wrote on 11.07.07 at 03:14:32:
any idea why the sign changes on some of the post? Example...a member is listed as Sag but when you see him again, he is a cancer.

Can you elaborate on this a little ?
Is there a different member in the same thread that is also cancer ?
I think the swap is some left over value from another member in the same thread.

Perhaps a link to your forum so I can check what it looks like myself ?
 
IP Logged
 

Nothing to add here Smiley
Jeff
Moderator
*****
Offline

, Netherlands
Posts: 2531



Reply #7 - 11.07.07 at 07:43:19  
Hi
I found it yesterday too
Mike =  Pisces
JetLi = Capricon

Mike's Replies:
Reply 1 displsy Pisces,
Reply 3 displsy cacricon

Spice_man not have enter birthday but in his replies display my zodiac signs. Topicstarter is ok.

http://www.grafix-world.nl/cgi-bin/forum/YaBB.pl?num=1184025960
 
IP Logged
 

greetings
Jeff
Spikecity
Moderator
*****
Offline

New York, New York, USA
Posts: 2630



Reply #8 - 11.07.07 at 09:30:15  
Yep, seen it myself now, as I suspected this is a left over variable from the previous poster (in this case you) if a poster does not have his birth date filled out.
I will fix this asap.

Edited:

Fixed, new mod attached to the first post
« Last Edit: 11.07.07 at 10:28:24 by Spikecity »  
IP Logged
 

Nothing to add here Smiley
Jeff
Moderator
*****
Offline

, Netherlands
Posts: 2531



Reply #9 - 11.07.07 at 10:46:49  
thnx Ron, works now.
I modify little bit in Zodiac.pl to add Text string for Posts and remove in lng file is.  Smiley
 
IP Logged
 

zodiac_topic.png (13 KB | 40 )
zodiac_topic.png

greetings
Jeff
LWS
Hacker Expert
****
Offline

Southern Ohio, Ohio, USA
Posts: 285



Reply #10 - 12.07.07 at 00:50:35  
very nice idea.. thanks for this Smiley
 
IP Logged
 

LoneWebSurfer.com Nothing but YaBB templates
Page Index Toggle Pages: 1
© 2000-2009 by - All rights reserved.

SourceForge.net Logo
 The Project | News | Downloads | Mods | FAQ | Templates | Chat | Forum