Comming Soon:Accounts Addon

Adds complete user authorization to Roster

Moderator: mdeshane

Re: Comming Soon:Accounts Addon

Postby mdeshane » Fri Jul 10, 2009 10:45 pm

Yes jessman, it appears the problem is with those missing templates. Without them it doesn't write the HTML for display, thus you get blank screens. I have made a zip file available to download containing the complete file structure including the missing html from the SVN. This is not the latest version in development but it is the version in the SVN (current version is only viewable at myroster.dontexist.net). Most new changes are small bug fixes and updating the admin section with some user admin changes. You can obtain the zip file at this link: http://dev.pkcomp.net/uploads/accounts_199941_444.zip
Just un-zip the files into your addons directory and try Accounts again. Don't forget to change the roster auth setting to Accounts, otherwise you will not be able to use many features.
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: 204
Joined: Sun Dec 10, 2006 4:54 am
Location: Grand Rapids, MI USA
Realm: Khadgar (PvE) - US

Re: Comming Soon:Accounts Addon

Postby jessman » Mon Jul 13, 2009 12:32 pm

this is as every bit of cool as I thought it would be. It also performed exactly the one other thing I wish roster had so thank you and I am very sorry if i bothered you at all it is just I am very much in love with this entire module as a whole. I already have had to set up wow roster it self 4 other times http://insaneguild.atbhost.net is the last one I just finished whether or not I add accounts I'm not sure as the person who will be maintaining it is rather new to this kind of thing.
jessman
WR.net Apprentice
WR.net Apprentice
 
Posts: 12
Joined: Tue Jun 30, 2009 7:37 am

Re: Comming Soon:Accounts Addon

Postby zanix » Tue Jul 14, 2009 2:26 am

...another satisfied customer :thumleft:
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: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Re: Comming Soon:Accounts Addon

Postby mdeshane » Tue Jul 14, 2009 5:08 am

Thank you for your support and kind words of gratitude. I'm thrilled that you like the features I have tried to provide to Roster, features that would not of appeared until Roster 3. Also, thank you to our wonderful roster devs and addon devs, they work very hard and spend countless hours racking their brains with jumbles of code (for FREE!) to make things work. Please remember to tell the addon devs and especially the roster devs thank you, when you get a chance (anyone who reads this, yes YOU)! Finally, if you'd like to help us (all the devs), please consider making a donation to WoWRoster. Whether monetary or in the form of services (like the addon devs who help extend the functionality of Roster), there are many things that can be done, from full scripting to simple language translations. Remember that it is donations of time and money that keep this awesome piece of web software running and improving. Ok, I think I'm done with my little speech, I'll get off the podium now...

In Accounts news, I'm working on AJAX functionality for forms and for the User Admin thats being re-written, perhaps even the login form will use AJAX, but I'm not sure yet. So, Pleeg, if you're reading this, how is AJAX supposed to work in roster? Cause the Wiki doesn't tell me and the forum post I found was a little vague on some details. Is the loadXMLdoc() function already in roster, or do I need to make a js file with the java for it?
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: 204
Joined: Sun Dec 10, 2006 4:54 am
Location: Grand Rapids, MI USA
Realm: Khadgar (PvE) - US

Re: Comming Soon:Accounts Addon

Postby PleegWat » Tue Jul 14, 2009 5:21 pm

The loadXMLDoc() function is in roster, js/mainjs.js, near the bottom of the file. For some usage examples, see js/menuconf.js.

Damn, that code is ugly.

You can use loadXMLDoc() directly, and specify any URL, post, callback to handle the response. Or you can use loadXMLDoc() without a callback, and use a 'roster/index.php?p=ajax-addon-accounts-method&cont=callback' URL, where a php file will be included with $method set to the value of method in the URL, and after that file has returend the value of $result will be passed to the javascript function you specified with 'callback'.

There is some form of registration mechanism on the PHP side to map methods to filenames. Why didn't I just use functions... not gonna change it now.
I <3 /bin/bash
User avatar
PleegWat
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm

Previous

Return to Accounts

Who is online

Users browsing this forum: No registered users and 0 guests

cron