Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - [MOD] Littel firewall
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[MOD] Littel firewall

 Post Reply Post Reply
Author
-koen- View Drop Down
Groupie
Groupie
Avatar

Joined: 22 February 2006
Location: Netherlands
Status: Offline
Points: 54
Post Options Post Options   Thanks (0) Thanks(0)   Quote -koen- Quote  Post ReplyReply Direct Link To This Post 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...
Back to Top
Scotty32 View Drop Down
Moderator Group
Moderator Group


Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1682
Post Options Post Options   Thanks (0) Thanks(0)   Quote Scotty32 Quote  Post ReplyReply Direct Link To This Post 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


S2H.co.uk - WebWiz Mods and Skins

For support on my mods + skins, please use my forum.
Back to Top
-koen- View Drop Down
Groupie
Groupie
Avatar

Joined: 22 February 2006
Location: Netherlands
Status: Offline
Points: 54
Post Options Post Options   Thanks (0) Thanks(0)   Quote -koen- Quote  Post ReplyReply Direct Link To This Post 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...
Back to Top
Scotty32 View Drop Down
Moderator Group
Moderator Group


Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1682
Post Options Post Options   Thanks (0) Thanks(0)   Quote Scotty32 Quote  Post ReplyReply Direct Link To This Post 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
S2H.co.uk - WebWiz Mods and Skins

For support on my mods + skins, please use my forum.
Back to Top
Scotty32 View Drop Down
Moderator Group
Moderator Group


Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1682
Post Options Post Options   Thanks (0) Thanks(0)   Quote Scotty32 Quote  Post ReplyReply Direct Link To This Post 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?
S2H.co.uk - WebWiz Mods and Skins

For support on my mods + skins, please use my forum.
Back to Top
-koen- View Drop Down
Groupie
Groupie
Avatar

Joined: 22 February 2006
Location: Netherlands
Status: Offline
Points: 54
Post Options Post Options   Thanks (0) Thanks(0)   Quote -koen- Quote  Post ReplyReply Direct Link To This Post 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...
Back to Top
-koen- View Drop Down
Groupie
Groupie
Avatar

Joined: 22 February 2006
Location: Netherlands
Status: Offline
Points: 54
Post Options Post Options   Thanks (0) Thanks(0)   Quote -koen- Quote  Post ReplyReply Direct Link To This Post 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...
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.