| Author |
Topic Search Topic Options
|
-koen-
Groupie
Joined: 22 February 2006
Location: Netherlands
Status: Offline
Points: 54
|
Post Options
Thanks(0)
Quote Reply
Topic: [MOD] Littel firewall Posted: 13 July 2006 at 6:57pm |
Is it posible to give an group premission to acces an .asp page?
I used always If lngLoggedInUserID = 1 or lngLoggedInUserID = 4 but now I need to give muts people acces so i wondering if its posible to give an group premission. Any ideas to do this? or do someone hav an mod for it?
<EDIT> I'm have make an mod for this see me last post for more information, I will make soon posible to download this mod.
Edited by -koen- - 25 July 2006 at 4:36pm
|
|
Don't check me english spelling please...
|
 |
Scotty32
Moderator Group
Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1682
|
Post Options
Thanks(0)
Quote Reply
Posted: 13 July 2006 at 10:06pm |
|
all you do is:
if intGroupID = 1 then
1 being the groups id, which you'll need to find it. best way to do that is put your mouse over (dont click) the group names in the "Manage Groups" part of the admin area.
it'll say somthing like "admin_group_details.asp?ID=1" thats easiest way to do it
|
|
|
 |
-koen-
Groupie
Joined: 22 February 2006
Location: Netherlands
Status: Offline
Points: 54
|
Post Options
Thanks(0)
Quote Reply
Posted: 13 July 2006 at 11:45pm |
|
Thanks it works, btw i tried ur multiskin mod its great but, the mysql update file isn't in the map but stand in the readmy. Its just something i did noticed
|
|
Don't check me english spelling please...
|
 |
Scotty32
Moderator Group
Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1682
|
Post Options
Thanks(0)
Quote Reply
Posted: 14 July 2006 at 9:47am |
i dont have a MySQL update file, as ive never used MySQL though i guess i should really do one. you could use the cookies option. or add a number field to the MySQL database your self. its a Number field called "Mod_Skin" in the tblAuthor table. with 1 as a default value, and no nulls allowed. *edit* i just checked my readme file - its ment to say MSSQL, not MySQL sorry bout that
Edited by Scotty32 - 14 July 2006 at 9:48am
|
|
|
 |
Scotty32
Moderator Group
Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1682
|
Post Options
Thanks(0)
Quote Reply
Posted: 22 July 2006 at 9:16pm |
|
am sorry i dont quite understand what you mean.
is this about my mod or about the original question?
could you explain a little more please?
|
|
|
 |
-koen-
Groupie
Joined: 22 February 2006
Location: Netherlands
Status: Offline
Points: 54
|
Post Options
Thanks(0)
Quote Reply
Posted: 22 July 2006 at 9:29pm |
This is about the original Q. The usergroup things work, I try to explain something more. I made an game whit serval page like download, screen shots and more, me friend like (I said in last post) a page where he can set the page on or off. Like the maintenace mod. But not for the whole board just one page. get it?
<edit> Overview of the file:
const pageMain=true
const pagedownload=true
const pagescreenshot=false
Something like that 
Edited by -koen- - 23 July 2006 at 10:01am
|
|
Don't check me english spelling please...
|
 |
-koen-
Groupie
Joined: 22 February 2006
Location: Netherlands
Status: Offline
Points: 54
|
Post Options
Thanks(0)
Quote Reply
Posted: 23 July 2006 at 8:02pm |
Oh never mind, me dad make its works for me whit an mysql db.
If someone want this as a mod just say and I try to make it for ur version of db.
What is does right now?
Block guests from pages that are blocked by admin, admin still can acces that page.
Picture of the admin thing:
-------------------------------------------------------------------------------------------------------------------------------
Ok the mod runs right now on mySQL and msacces, now I just looking for someone that have msSQL and wan't try it, NEVER TRY IT ON AN LIVE FORUM BEFORE ALL BUGS ARE OUT.
life demo:-
log-in, go to admin CP
Click on Administer pages
- Admin Username: Administrator
- Admin Password: Letmein
FOR SUCURITY REASONS THAT PEOPLE CAN't CHANCE PASS I TURNED ENCRYPTED PASS OFF. Plz don't register at the test forum.
Click here to download the MOD's first version.
*Edit* Sorry for all users that try to log-in, I turned encypted off and forget to chance pass in DB
Edited by -koen- - 25 July 2006 at 9:12am
|
|
Don't check me english spelling please...
|
 |