Comming Soon:Accounts Addon

Adds complete user authorization to Roster

Moderator: mdeshane

Comming Soon:Accounts Addon

Postby mdeshane » Tue Nov 06, 2007 3:30 am

I've finally uploaded accounts to the addon svn.

REV[290] Accounts v1.9.9.41:

Current working features:
- User registration, sends activation e-mail, click the link and login.
- User login, gives access to protected accounts pages, roster login cookie is set according to group ID.
- User logout, logs user out of roster and accounts.

Still working on:
- Update hook, will add character info to the user link table.
- Profile page, will have basic listing information of the users characters, guilds, and realms.
- User admin, will list all registered active, and inactive users, searchable by user name or e-mail.
- Access admin, will have group permissions and roster access settings.
- Plugin system, will use as API for CMS user systems, hopefully allowing user access for roster on more CMS platforms.
Image
Accounts Addon - Roster v2 User Account Addon

PKC Dev Site - http://dev.pkcomp.net
My Roster Dev Site - http://myroster.dontexist.net
User avatar
mdeshane
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 203
Joined: Sun Dec 10, 2006 4:54 am
Location: Grand Rapids, MI USA
Realm: Khadgar (PvE) - US

Comming Soon:Accounts Addon

Postby zanix » Tue Nov 06, 2007 4:20 am

I'll be sure to take a good look at this
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5543
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Comming Soon:Accounts Addon

Postby mdeshane » Mon Dec 17, 2007 2:39 am

Accounts 1.9.9.49

Rev 334 2007-12-16 17:18:15 GMT Author: mdeshane
Log message:
Accounts:
- Modified
-- inc/install.def.php
-- inc/login.php
-- inc/update_hook.php
-- inc/user.lib.php
-- templates/chars.html
-- templates/guilds.html
-- templates/realms.html
-- locale/enUS.php
-- index.php

- Added the character, guild and realm pages scripting
- Update_hook now gets realm info per character
- New lang vars added for guild, character, and realm pages
- Fixed login.php not working with rosterCP
- Cleaned up some misc. vars

Also forgot to add in there that member_id in the user_link table has been changed to PRIMARY KEY. So far this addon is really starting to take shape, thanks to the help of Zanix and Pleeg.

Things to do:
- User Profile Page
- User Settings Page
- Admin Pages
- Plugin framework
- Code Cleanup
-- user.lib.php numerous user vars need to be put in $user array
-- Accounts pages need to updated for new login.php
-- index.php need to clean out login/logout as it's mostly in login.php now
Image
Accounts Addon - Roster v2 User Account Addon

PKC Dev Site - http://dev.pkcomp.net
My Roster Dev Site - http://myroster.dontexist.net
User avatar
mdeshane
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 203
Joined: Sun Dec 10, 2006 4:54 am
Location: Grand Rapids, MI USA
Realm: Khadgar (PvE) - US

Comming Soon:Accounts Addon

Postby zanix » Mon Dec 17, 2007 4:01 am

There is an error in the sql in install.def.php
Code: Select all
         `realm` varchar(32) NOT NULL default '',
         PRIMARY KEY (`member_id`),
         INDEX KEY `uid` (`uid`)");


Should be
Code: Select all
         `realm` varchar(32) NOT NULL default '',
         PRIMARY KEY (`member_id`),
         KEY `uid` (`uid`)");
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5543
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Comming Soon:Accounts Addon

Postby mdeshane » Mon Dec 17, 2007 4:44 am

Thank you Zanix! I made the change in REV[337].
Image
Accounts Addon - Roster v2 User Account Addon

PKC Dev Site - http://dev.pkcomp.net
My Roster Dev Site - http://myroster.dontexist.net
User avatar
mdeshane
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 203
Joined: Sun Dec 10, 2006 4:54 am
Location: Grand Rapids, MI USA
Realm: Khadgar (PvE) - US

Re: Comming Soon:Accounts Addon

Postby mdeshane » Tue Jan 22, 2008 1:53 am

Major changes have been made to the Accounts addon!

Rev 349 2008-01-21 19:53:45 GMT

Accounts:
- Complete restructuring of the framework to a more Object Oriented design.
-- Added an Accounts handler class
-- Added Plug-in framework
-- Moved User functions to accountsUser class
-- Moved Login functions to RosterLogin class
-- Moved Page functions to accountsPage class

- Added administration options and pages (with menus)
- Added the workings of integrating the recruitment addon
- Added user administration
- Added coding for Memberslist (Modified)

So, I'm pretty sure I got most of the grunt work done. I'm calling this version 1.9.9.92. I still have some work to do with user profiles, and recruitment/registration. The plugin framework needs to be further integrated into the addon. The plugin framework is completely based off of the addon framework for roster, with some modifications of course.

I will be posting a demo/doc site sometime in the future
Last edited by mdeshane on Tue Jan 22, 2008 3:16 am, edited 1 time in total.
Image
Accounts Addon - Roster v2 User Account Addon

PKC Dev Site - http://dev.pkcomp.net
My Roster Dev Site - http://myroster.dontexist.net
User avatar
mdeshane
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 203
Joined: Sun Dec 10, 2006 4:54 am
Location: Grand Rapids, MI USA
Realm: Khadgar (PvE) - US

Comming Soon:Accounts Addon

Postby mdeshane » Thu Feb 14, 2008 12:13 am

Just a quick update for everyone following this addon. I've been pretty busy and haven't been working as much on the addon as I'd like to. However, I have made alot of changes for the next commit. The next commit will see a new profile page, application page, session handler, new main page, and some new and improved functions. Also, the next commit will include a changelog to better track the changes in the addon.

ATM, I'm re-writing the session handler as it's still not functioning the way I would like it to. After that is complete I will commit the changes so others may test and comment on the new code.

Down the Road:
- Finish Plugin Framework
- Finish Administration Pages
- Finish Profile Handling
- Fix any bugs
? Add Private Messaging ?
Image
Accounts Addon - Roster v2 User Account Addon

PKC Dev Site - http://dev.pkcomp.net
My Roster Dev Site - http://myroster.dontexist.net
User avatar
mdeshane
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 203
Joined: Sun Dec 10, 2006 4:54 am
Location: Grand Rapids, MI USA
Realm: Khadgar (PvE) - US

Comming Soon:Accounts Addon

Postby mdeshane » Thu Mar 06, 2008 11:40 pm

** UPDATE **

I have finished the session handler, I think, there maybe a bug or two still. However, I have not done much work on the profile page or application page. Anyway I will commit the changes that are made to the SVN after I check that they work with the latest Roster SVN.
Image
Accounts Addon - Roster v2 User Account Addon

PKC Dev Site - http://dev.pkcomp.net
My Roster Dev Site - http://myroster.dontexist.net
User avatar
mdeshane
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 203
Joined: Sun Dec 10, 2006 4:54 am
Location: Grand Rapids, MI USA
Realm: Khadgar (PvE) - US

Comming Soon:Accounts Addon

Postby mdeshane » Fri Mar 14, 2008 9:53 pm

I have added the most recent changes to the SVN today! You can see the exerpt from the Changelog/SVN Log below:

Accounts v1.9.9.93 [SVN]379:
- Added
-- changelog.txt (contains change info from SVN logs)
-- session.lib.php (will replace $_SESSION vars in the addon as well as offer tracking)
-- Profile and Session vars to accounts.lib.php and conf.php
-- ApplicationPage() and ProfilePage() to page.lib.php
-- userProfile(), userApplication(), and recruitment() to profile.lib.php
-- Profile, Recruitment, and Application templates
-- Application and Login links to Main Page
-- Redirecting to loginPage()
-- getMenuLoginForm() and setAction() to login.php
-- getUser() function to user.lib.php (Gets the uname by uid)
-- coding to parse realms for each character in update_hook.php

- Dropped char_post from inc/update_hook.php (Just put everything in the char function.)
- Cleaned up/reorganized admin pages
- External Auth set back to roster on uninstall
- Fixed other various errors

There have been alot of various changes to the addon, mainly a session handler, admin pages, and a changelog. By far the addon is still not finished, but it is in a useable state. Next I will be focusing on the application, recruitment, and user profiles. Hopefully the completion of those will bring this addon much closer to completeion. After that I will focus on the Plugin framework and all of it's inter-weaving into the addon.
Image
Accounts Addon - Roster v2 User Account Addon

PKC Dev Site - http://dev.pkcomp.net
My Roster Dev Site - http://myroster.dontexist.net
User avatar
mdeshane
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 203
Joined: Sun Dec 10, 2006 4:54 am
Location: Grand Rapids, MI USA
Realm: Khadgar (PvE) - US

Comming Soon:Accounts Addon

Postby zanix » Sat Mar 15, 2008 1:49 am

Good work mdeshane
I'm looking forward to the finished product
(so we can steal it :tongue: )
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5543
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Comming Soon:Accounts Addon

Postby Anaxent » Tue Mar 18, 2008 10:37 am

Yes I as well am really looking forward for a finished product. Can you elaborate on what these plugins can do? when I look at that option in the cp I think that it is for auth for cms/forums/portals... I was thinking after seeing that to integrate roster into these types of apps some may need to edit more than just auth into get the job done like the cmslink.lib.php, theme, db file and maybe the installer. What if these plugins could be for those that want to integrate and have the plugin include all the files needed to work( if the file exists over ride core files) in the app including a default theme that takes the look and feel of the app as default.
User avatar
Anaxent
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 642
Joined: Tue Jul 04, 2006 6:27 am
Location: Phoenix, Az

Comming Soon:Accounts Addon

Postby Anaxent » Tue Mar 18, 2008 10:40 am

I also think that there should be some sort of hook add to where addons can add files to be included on the profile page for instance news show all the news articles the user has posted or images have uploaded from gallery etc...
User avatar
Anaxent
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 642
Joined: Tue Jul 04, 2006 6:27 am
Location: Phoenix, Az

Comming Soon:Accounts Addon

Postby mdeshane » Tue Mar 18, 2008 7:28 pm

You are dead on Anaxent! Those are all things I'd like it to do eventually. Right now the main idea for the plugin is to get auth/session data from CMS db tables. But I have thought about using them to extend other functionality of the addon. As well as use them to send Roster data to the CMS. There are lots of things this framework could be used for, I'm only scratching the surface at this point.
Image
Accounts Addon - Roster v2 User Account Addon

PKC Dev Site - http://dev.pkcomp.net
My Roster Dev Site - http://myroster.dontexist.net
User avatar
mdeshane
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 203
Joined: Sun Dec 10, 2006 4:54 am
Location: Grand Rapids, MI USA
Realm: Khadgar (PvE) - US

Comming Soon:Accounts Addon

Postby mdeshane » Sun Apr 27, 2008 10:05 pm

Well, with all the changes to the Roster Auth system, I have a bit of re-writing to do. So far I've added the Addon Auth capabilities, however it seems I'll have to re-work the rest of the login system, as the login box only works for RosterCP now. Hopefully I can get that fixed and continue work with the addon soon.
Image
Accounts Addon - Roster v2 User Account Addon

PKC Dev Site - http://dev.pkcomp.net
My Roster Dev Site - http://myroster.dontexist.net
User avatar
mdeshane
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 203
Joined: Sun Dec 10, 2006 4:54 am
Location: Grand Rapids, MI USA
Realm: Khadgar (PvE) - US

Comming Soon:Accounts Addon

Postby Anaxent » Sun Apr 27, 2008 10:12 pm

Thanks for the update mdeshane, I was going to call you this weekend about this addon...hehe
User avatar
Anaxent
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 642
Joined: Tue Jul 04, 2006 6:27 am
Location: Phoenix, Az

PreviousNext

Return to Accounts

Who is online

Users browsing this forum: No registered users and 0 guests

cron