Active InfoActive Info  Display List of Info MembersMemberlist  Search The InfoSearch  HelpHelp
  RegisterRegister  LoginLogin
ASPProtect Full 7.x Support (Info Locked Info Locked)
 CJWSoft Support Info : ASPProtect Full 7.x Support
Subject Info: Multiple Admins? A d d  -  P o s tAdd P o s t
Author
Message << Prev Info | Next Info >>
pgplast
New User
New User


Joined: January/10/2007
Location: United States
Online Status: Offline
Info: 30
Added: January/20/2007 at 9:19am | IP Logged Quote pgplast

As the app does not appear to allow a "superuser" the ability to create
several admins with control of different user groups, would it be possible to
set up several instances of the app in different folders, each with its own
"admin" but sharing a common database?

Thanks
Back to Top View pgplast's Profile Search for other info by pgplast
 
cwilliams
Admin Group
Admin Group
Avatar
CJWSoft Web Software Developer

Joined: April/06/2004
Online Status: Offline
Info: 1769
Added: January/20/2007 at 1:55pm | IP Logged Quote cwilliams

You are correct. It was not designed to do that, There is only one kind of admin by design.

You would have to carefully modify the application's ap code if you wanted different levels of admins.

I would suggest making exact copies of the password_admin folder, but with different folder named.. leave the original untouced.. modify the copies to do what you need for other users. It will be some degree of work but is quite doable if you are good with asp.

It is not something I support as it is custimization but that will get you started.

__________________

Best Regards, Christopher Williams www.CJWSoft.com
Back to Top View cwilliams's Profile Search for other info by cwilliams Visit cwilliams's Homepage
 
pgplast
New User
New User


Joined: January/10/2007
Location: United States
Online Status: Offline
Info: 30
Added: January/20/2007 at 2:10pm | IP Logged Quote pgplast

What about this?

If I made new versions of register.asp and add_new_account.asp that I
made available to an "admin" I want to allow to create users. That "admin"
could create users for a particular group (after add_new_account.asp is
appropriately altered) without accessing the admin pages at all?

Would it throw an error if I made a new register.asp page with just a few
of the fields used in the main register.asp page?

Wouldn't this allow the global setting for the app to be for allowing open
registration while still allowing an admin to manually create users for a
certain group?

(Of course, only a true admin would be able to delete any users created)

Thanks
Back to Top View pgplast's Profile Search for other info by pgplast
 
cwilliams
Admin Group
Admin Group
Avatar
CJWSoft Web Software Developer

Joined: April/06/2004
Online Status: Offline
Info: 1769
Added: January/20/2007 at 2:16pm | IP Logged Quote cwilliams

if you make a copy of register.asp you of course also need to make a seperate copy of the page it posts to and edit both accordingly. Renaming each to whatever and making sure they still work etc etc etc etc

You want them completely seperate of the normal versions of the files. You'll need to edit the page posted to to only do validation checks on some of the fields. Not hard at all if you look at the code an just delete the checks you don't want/need.



__________________

Best Regards, Christopher Williams www.CJWSoft.com
Back to Top View cwilliams's Profile Search for other info by cwilliams Visit cwilliams's Homepage
 
pgplast
New User
New User


Joined: January/10/2007
Location: United States
Online Status: Offline
Info: 30
Added: January/20/2007 at 2:48pm | IP Logged Quote pgplast

Yes, thankyou Chris.

I don't know if I should start a separate thread about this, but I would like to
use aspProtect as the basis for a registered users-only area on a website we
are designing. I would like the user to be able to register for a "My Site"
membership so that after logging in he sees a page that shows his own
preferences in terms of content. If I can have your custom fields hold
reference to various features the user mght want, then I could allow users to
go to a generic "mysite.asp" protected page that checks the session
variables and places the appropriate content in for that particular user.

Do you see this as a reasonable scheme?
Back to Top View pgplast's Profile Search for other info by pgplast
 
cwilliams
Admin Group
Admin Group
Avatar
CJWSoft Web Software Developer

Joined: April/06/2004
Online Status: Offline
Info: 1769
Added: January/20/2007 at 2:54pm | IP Logged Quote cwilliams

of course.. it's very doable..

__________________

Best Regards, Christopher Williams www.CJWSoft.com
Back to Top View cwilliams's Profile Search for other info by cwilliams Visit cwilliams's Homepage
 

Sorry, you can NOT post info.
This info has been locked by a info administrator.

  A d d  -  P o s tAdd P o s t
Printable version Printable version

Info Jump
You cannot add new info in this area
You cannot add to info in this area
You cannot delete your info in this area
You cannot edit your info in this area
You cannot create polls in this area
You cannot vote in polls in this area


Active Server Pages what is asp programming how to sample asp example code scripts software asp forum mail sessions applications global.asa CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspprotect.com, www.powerasp.com,www.aspclassifieds.com,www.aspphotogallery.com,www.codewanker.com