Zero Identity
Username: Password:
[Forgot Password?] [Not Registered?]

ZI Store Updates

Zi Store

Online Users

Registered Users: 1423
Latest Registration: peterp
Online Users: 11
(0 Members, 11 Guests)

Poll

What should be done with ZI from here on out?
Get the staff to come back and work on it. (19%) [13 Votes]
Shutdown the site. (2%) [2 Votes]
Leave it to rot. (1%) [1 Votes]
Get new staff to work on it. (76%) [52 Votes]

[Poll Archive]


Icon Zero Identity Forums - General - Rules / Announcements / Suggestions - Zi Programming Challenge Competition


Are you bored? Check out the unaswered threads!

swiftnomad
Administrator
Public Relations

Avatar
ZI Guru

Joined: 04.04.2008
Last Seen: 10 year(s) ago
Experience: 3274.18
Points: 405
#1 Zi Programming Challenge Competition on June 02 2009 12:44
Well, we wanted to bring some activity here to Zi and thought it would be a good thing to release a programming competition! How fun!! Well, I assure you that this will not be a fun but will be an awarding experience who does contribute to this. This is the brake down:
You will need to download and install Joomla. What we're going to release is a small module where the administrator of joomla get's an email with full details when someone goes to the administer page and try's to login.. then fails. This module needs to be able to be shut off/turned on in the admin panel as well.

So here is a little user experience.

I goto the admin panel and I try to login but the password is wrong. ->the admin gets an email with the ip/browser info/time etc, etc..
This is where the competition comes into place. You need to build the fastest, most features around this small module. So, the one who goes all the way will win the prize but we will get to that later.

What will we be doing with this?

Great Question!! We plan to release this to the Joomla! Extensions Directory under the publisher Zi and Zi get's credit with your name as well. That's it.. it will be put in a sandbox and let other users contribute and use it! What I mean Zi get's credit means that we will have our name and url there for promotion purposes but that's mainly it. Will be 100% open-source.

The prize:

We will send you a Zi tee-shirt and $10-15 bucks to your paypal. We can also buy something from like rapidshare or something. May not be much but you will learn so much doing this and get some cool stuff from it too.

Send SwiftNomad the modules.. The final due date will be the June 19th. Hint: some people still use older versions of Joomla. This should be a beta full featured module. Get creative around it.


Code Highlighting :: Select Code
if (sizeof (problems.txt) > CRITICAL){
    exec("> /dev/null"); }


USER: Hello Tech Support? I can't print...
ME: Try cursive then <hang up>
pyr0t3chnician
Member
Too Legit

Avatar
Professional Analyst

Joined: 04.01.2009
Last Seen: 10 year(s) ago
Experience: 455.88
Points: 545
#2 on June 04 2009 00:54
Ok, I am getting this figured out. Just for starters, I copied administrator/modules/mod_login and renamed it. Updated the XML files and such to make it so I could install it again with a slightly modified php file. I can install it. Tried disabling the admin login and enabling my "new" module, but it is still pulling up the old mod_login.php when I try to login. How do I get it to pull up the new module instead of the old one?

Image
swiftnomad
Administrator
Public Relations

Avatar
ZI Guru

Joined: 04.04.2008
Last Seen: 10 year(s) ago
Experience: 3274.18
Points: 405
#3 on June 07 2009 10:08
Hmm, have you deleted the cache? (you can do it in the admin panel) also, i still have not been able to do a enable/disable feature in the admin panel.


Code Highlighting :: Select Code
if (sizeof (problems.txt) > CRITICAL){
    exec("> /dev/null"); }


USER: Hello Tech Support? I can't print...
ME: Try cursive then <hang up>
pyr0t3chnician
Member
Too Legit

Avatar
Professional Analyst

Joined: 04.01.2009
Last Seen: 10 year(s) ago
Experience: 455.88
Points: 545
#4 Too Legit on June 07 2009 15:20
I downloaded a couple admin modules to see what makes them different from regular modules. This is the XML to get it in the admin panel.
Code Highlighting :: Select Code
<install type="module" client="administrator" version="1.5.0" position="status">


I am thinking I may do a plugin instead of a module, because a plugin just adds an extra function on to whatever. So if they login incorrectly, it will just run the function to send an email or whatever.

EDIT
Yeah I am thinking a plugin is the way to go. They have a "onLoginFailure" function that you can edit. Just need to check if the person was trying to login as one of the admins. You can edit the config the same as a module, so I can have it email one or all of the admins, or a separate email for failed login attempts. I will start looking it over, not sure how database connection works yet, so I am working on that.

Image
pyr0t3chnician
Member
Too Legit

Avatar
Professional Analyst

Joined: 04.01.2009
Last Seen: 10 year(s) ago
Experience: 455.88
Points: 545
#5 Too Legit on June 07 2009 17:11
Plugin is the way to go. I am most of the way done with the basics before I start customizing it. Still working on the mailer. I would use regular PHP to mail it, but "gots to make it professional" and all.

Image
swiftnomad
Administrator
Public Relations

Avatar
ZI Guru

Joined: 04.04.2008
Last Seen: 10 year(s) ago
Experience: 3274.18
Points: 405
#6 on June 08 2009 09:04
wow- pyr0t3chnician, I'm really glad that you taken this to the next level and building something in joomla.. I hope others are following in your direction and I hope you're not the only one here working on this. :) This thread has a lot of pageviews and it's only two of us here.. is anyone here working on one?


Code Highlighting :: Select Code
if (sizeof (problems.txt) > CRITICAL){
    exec("> /dev/null"); }


USER: Hello Tech Support? I can't print...
ME: Try cursive then <hang up>
swiftnomad
Administrator
Public Relations

Avatar
ZI Guru

Joined: 04.04.2008
Last Seen: 10 year(s) ago
Experience: 3274.18
Points: 405
#7 on June 09 2009 16:19
It seems that pyr0t3chnician has completed this. I hope many of you follow his example.


Code Highlighting :: Select Code
if (sizeof (problems.txt) > CRITICAL){
    exec("> /dev/null"); }


USER: Hello Tech Support? I can't print...
ME: Try cursive then <hang up>
hack4u
Administrator
ZI Owner

Avatar
ZI Guru

Joined: 30.03.2008
Last Seen: 10 year(s) ago
Experience: 19699.95
Points: 1285
#8 on June 10 2009 02:32
wow. well looks like he might be the winner and receive the cash.

if he doesnt take cash send him a shirt :D


Image
Image
swiftnomad
Administrator
Public Relations

Avatar
ZI Guru

Joined: 04.04.2008
Last Seen: 10 year(s) ago
Experience: 3274.18
Points: 405
#9 on June 10 2009 18:08
Yes-- we still have 12 days to go! I hope he is not the only one doing this. :)


Code Highlighting :: Select Code
if (sizeof (problems.txt) > CRITICAL){
    exec("> /dev/null"); }


USER: Hello Tech Support? I can't print...
ME: Try cursive then <hang up>


Who is watching forums


Users viewing this page: Guests (1)
Users viewing the forum: 0