Arrow Home arrow Forums
larger font smaller font default font Fixed screen resolution Auto adjust screen size

Joomlapolis Forums  


<< Start < Prev 1 2 3 4 5 6 7 8 9 10 Next > End >>
Age Plugin - Shows age at stats menu
Date: 2005/12/15 13:44 By: trail Status: Admin  
Karma: 638  
Admin

Posts: 472
graphgraph
I thought i'd make a small Christ Mas present, now i need fearless ppl to test this BETA version before its official release.

I wanted to see the age of a user so i created this plugin that displays the users age on the user status menu.
I've attached an image to show the dutch version.



This is the first pre-beta version and has not yet been officially approved by CB team as safe or stable. This is by any means no official release eventhough 'i work here'.

If you blow up your website do not complain to me because I take no responsibility for anyone installing/using this beta plugin.

Instructions for the fearless:

1) After you made your backups, install this plugin at your own risk on a test site using CB's PLUGIN manager.
2) Find the EXACT name of your DATE field, look for the 'name' of your DATE field in CB's FIELD manager. Look at the image below these instructions to see where to find it.
3) Now goto TAB manager, enter the name of your birthday DATE field.
4) For non english users only: enter your local translation for AGE in TAB manager.
5) Finaly, publish the plugin at PLUGIN manager.



Expected behaviour:
1) If you have no DATEfieldname set in your backend at all (default) you will get a nice red error message.
2) If you have a erronous DATE fieldname in backend, nothing is displayed and you might not get any error at all, depending on your error reporting.
3) On a profile of a user without DATE info, nothing is displayed.
4) On a profile of a user with an age below 5, nothing is displayed. (on my site, some users dont understand the calender YEAR and fill in the month and day, but leave year on 2005..)

If you do not have a birthday DATE field, then you have no use for this plugin.

Please report your exeperiences here in this thread.

This is my first plugin.. BE WARNED !!

plug_agev0.2.zip

~Trail.


Post edited by: trail, at: 2006/06/21 02:10

Post edited by: trail, at: 2006/06/21 04:48

Post edited by: trail, at: 2006/06/21 04:49
DJ Trail.
CB Co-Founder & Test-Lead.
Plugins: My Age, Starsign Matchmaking Horoscope, My Visitor, My Highscores, My ProfileID,
My Components: Import & Invite Karma Casino (Use Test / Test)
My Modules: Many
Click here to see the profile of this user The administrator has disabled public write access.

Re:Age Plugin - Shows age at stats menu
Date: 2005/12/16 00:52 By: pointri Status: User  
Karma: 26  
Gold Joomlapolitan

Posts: 211
graphgraph
Just installed it and tried to break it. It's working like a dream...rock solid!

Picked up my existing DOB field and it updates in the profile without any trouble (although it'd be a rare occasion for one to change his/her 'leeftijd'). Thanks, Trail!
Joomlapolitan zealot and a somewhat stealthy, rather passive CB3PD developer.

http://www.constructionlounge.com Construction Lounge: Online resource and networking portal for the construction and remodeling industries.
Click here to see the profile of this user The administrator has disabled public write access.

Re:Age Plugin - Shows age at stats menu
Date: 2005/12/16 01:13 By: nant Status: Admin  
Karma: 462  
Admin

Posts: 5975
graph
Nice job Trail!
These plugins are really starting to stack up!
Nick A.
CB Core Team Member
Support CB Development and Get Detailed Documentation
Developer of Nant's Gallery plugin
CB Gallery Extensions Listing, Rate CB Gallery on Extensions Site
Developer of CB AutoWelcome Plugin
CB AutoWelcome Extensions Listing,Rate CB AutoWelcome on Extensions Site
People ignoring your call for help? Read this!
FAQ you
Joomlapolis Extensions Directory (new)- check it out!
Click here to see the profile of this user The administrator has disabled public write access.

Re:Age Plugin - Shows age at stats menu
Date: 2005/12/16 03:31 By: LaSchmoove Status: User  
Karma: 1  
Fresh Joomlapolitan

Posts: 10
graphgraph
Thanks a lot. Works fine!
B.

*increasingyourkarma*
Click here to see the profile of this user The administrator has disabled public write access.

Re:Age Plugin - Shows age at stats menu
Date: 2005/12/16 05:10 By: trail Status: Admin  
Karma: 638  
Admin

Posts: 472
graphgraph
thanks for having the balls to test it lol

now im gonna try to get that beloved
CB offical stamp of approval on it so i can offically release it in the download section

P.S. I invite ANYONE to step over that threshold and actually TRY to make a plugin.. i have been waiting like 2 months coz it seemed such a MOUNTAIN to start learning how that API stuff actually works..
Ofcourse i've cut some corners and i didnt actually read any doc (sorry beat) as i graduated from the cut and paste society.. anyway i took several plugins and looked for anything they did that i needed and came up with the most basic version of a plugin to date.. this age thingy..

So if you are just looking to output some data on a tab.. rip open my plugin and maybe several others and just take a look..
I started by ripping out all data and doing an 'echo "test";'... well that didnt work.. turned out i had to do output inside a class.. well after a few attempts i 'just' got my data where i wanted it.. cut and paste this was.. anyone can do it...

So i invate anyone.. rip open this plugin and make your own content plugin!! If i can do it, you can too


Post edited by: Trail, at: 2005/12/16 02:04
DJ Trail.
CB Co-Founder & Test-Lead.
Plugins: My Age, Starsign Matchmaking Horoscope, My Visitor, My Highscores, My ProfileID,
My Components: Import & Invite Karma Casino (Use Test / Test)
My Modules: Many
Click here to see the profile of this user The administrator has disabled public write access.

Re:Age Plugin - Shows age at stats menu
Date: 2005/12/16 07:26 By: Viames Status: User  
Karma: 4  
Senior Joomlapolitan

Posts: 63
graphgraph
Really needed that!

Trail, once again you come back to help us to make happy our citizens :-p

Just I get a strange behaviour: date that were not filled result in '0000-00-00' into database fields, so the plugin shows AGE=2005 for that values. Date should maybe be set as null?

Thank you.
CB italian translation & testing
translations on joomla.it
homesite: Crotone on Web
Click here to see the profile of this user The administrator has disabled public write access.

<< Start < Prev 1 2 3 4 5 6 7 8 9 10 Next > End >>

Documentation

Documentation Subscription Service
(updated for CB 1.2 RC2)

What?

Why?

Where?

Just click here for answers!

Click here for a yearly subscription: subscribe now

Download Latest Release

The latest stable Community Builder Release is version 1.1 for Joomla 1.0 and Mambo.
You need to be a registered member of Joomlapolis to download.

The latest release candidate of Community Builder is version 1.2 RC3, native for Joomla 1.0, 1.5 and Mambo.
It is available as "thank you" to all CB documentation subscribers at this time.

CB Login