Skip to Content Skip to Menu

Age Plugin - Shows age at stats menu

  • Dhay
  • Dhay
  • OFFLINE
  • Posts: 1
  • Thanks: 0
  • Karma: 0
18 years 2 weeks ago #24240 by Dhay
Replied by Dhay on topic Re:Age Plugin - Shows age at stats menu
Can this work as an age verification tool? I would like it to refuse registration if the user is under 18 years old.

Please Log in or Create an account to join the conversation.

  • houbahop
  • houbahop
  • OFFLINE
  • Posts: 50
  • Thanks: 0
  • Karma: 9
18 years 2 weeks ago #24249 by houbahop
Replied by houbahop on topic Re:Age Plugin - Shows age at stats menu
Dhay wrote:

Can this work as an age verification tool? I would like it to refuse registration if the user is under 18 years old.


Well, basically trigers can perform some database work (insert,delete,update and some other computings like maths, based on your fields.
So you can use it to delete an user just after his registration if he doesn't match your criterias, but the weak point is that there will not be any comunication with the user.

To inform it, you must modify joomlapolis source code or
an other and more reliable way would be to use a cool cb feature :

- you can specify to cb a webpage to launch after the FIRST login of a new user. Then tell to CB to launch a php script that check the age of the latest user and if it's not ok, you can delete it and print a message to inform the user that is account has been deleted

I have used this to make my registered becoming author automatically after the first login.


Good luck,

Houbahop.

Please Log in or Create an account to join the conversation.

  • joseph21
  • joseph21
  • OFFLINE
  • Posts: 7
  • Thanks: 0
  • Karma: 1
18 years 3 days ago #25109 by joseph21
Replied by joseph21 on topic Re:Age Plugin - Shows age at stats menu
How can we place the AGE inside the profile information tab? and I would like to add the Name as well to the tab. How to do this? Thanks.

Please Log in or Create an account to join the conversation.

  • trail
  • trail
  • OFFLINE
  • Posts: 232
  • Thanks: 21
  • Karma: 813
18 years 2 days ago #25123 by trail
Replied by trail on topic Re:Age Plugin - Shows age at stats menu
this small plugin is designed for display in the statistics area.. it won't display in any tab..

it does what it says it does and it won't do anything else, development has finished unless someone comes up with a great idea.. like also calculate and add starsigns.. but that became a new plugin.. :)

no i guess this is all it does and it will probably never do more.. it really is the smallest plugin :)

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 :)

Please Log in or Create an account to join the conversation.

  • joseph21
  • joseph21
  • OFFLINE
  • Posts: 7
  • Thanks: 0
  • Karma: 1
18 years 8 hours ago #25302 by joseph21
Replied by joseph21 on topic Re:Age Plugin - Shows age at stats menu
Thanks DjTrail :) Nevertheless I still like the plugin even if its there in the stats area. Looking forward to test the add start sign (zodiac sign) too.

Please Log in or Create an account to join the conversation.

  • spaantje
  • spaantje
  • OFFLINE
  • Posts: 4
  • Thanks: 0
  • Karma: 0
17 years 11 months ago #27075 by spaantje
Replied by spaantje on topic Re:Age Plugin - Shows age at stats menu
trail wrote:

Please report your exeperiences here in this thread.

This is my first plugin.. BE WARNED !!

plug_agev0.2.zip

~Trail.


When i donwload this package it won't work.

But when i edit age.php - line 59

[code:1]$agetekst = $params->get('ageText', "Age"«»);[/code:1]

to >

[code:1]$agetext = $params->get('ageText', "Age"«»);[/code:1]

($agetekst > $agetext)

Than it works well.

Greetz,
Spaantje

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum