PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
prekill
Worker
Worker


Joined: Oct 22, 2005
Posts: 186

PostPosted: Tue Jan 23, 2007 3:05 pm Reply with quote Back to top

Hey,

I want to lock a forum even from my God admins.

The only idea I thought of is CGIAuth just like nukeSentinel does.

How can I do that for ex. to lock the following url:
Only registered users can see links on this board!
Get registered or login to the forums!


thanks to the helpers Wink
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Tue Jan 23, 2007 6:13 pm Reply with quote Back to top

Assuming you're using URL rewriting, you could protect that form. But it would be really difficult to protect each potential topic in that forum.
View user's profile Send private message
prekill
Worker
Worker


Joined: Oct 22, 2005
Posts: 186

PostPosted: Wed Jan 24, 2007 1:23 pm Reply with quote Back to top

I dont need to protect every topic.

just the forum.

I am using URL rewriting.

How can I protect the forum URL?

thank you!
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Wed Jan 24, 2007 7:29 pm Reply with quote Back to top

Look in your .htaccess file to see how admin auth is applied to admin.php. Do the same thing for the forumxx.html file. The problem will be defining passwords for people who have access.
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Wed Jan 24, 2007 7:50 pm Reply with quote Back to top

Just curious - why isn't the private forum status enough?
View user's profile Send private message
prekill
Worker
Worker


Joined: Oct 22, 2005
Posts: 186

PostPosted: Thu Jan 25, 2007 8:15 am Reply with quote Back to top

kguske,

this is why:

Quote:
I want to lock a forum even from my God admins.


hmm one problem:

the file forumxx.html does not exists what should I do?
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Thu Jan 25, 2007 6:59 pm Reply with quote Back to top

xx is the number of the forum, not the actual file name. Still don't see why you want to lock out God admins - just make them admins to other modules and not forums, and make forum private.
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9136
Location: Arizona

PostPosted: Fri Jan 26, 2007 3:34 pm Reply with quote Back to top

I know one reason why and is why I've been thinking about coming up with a hack... the only way to allow an admin to post site Messages, for example, is to give them Super User access. Now, that is NOT the same as "God admin" and I suspect, though, that prekill is meaning super user rather than a true "God admin", which can really only be set up directly via a database update (except for the first admin).

I want to be able to control each of the system level admin functions, too, just like the module admins... someday...
View user's profile Send private message Visit poster's website
southern
Client


Joined: Jan 29, 2004
Posts: 579
Location: Texas

PostPosted: Thu Feb 01, 2007 3:40 pm Reply with quote Back to top

I think I saw a hack at
Only registered users can see links on this board!
Get registered or login to the forums!
that makes forums password protected. I went to the trouble of looking for you
Only registered users can see links on this board!
Get registered or login to the forums!
.
View user's profile Send private message Visit poster's website
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Thu Feb 01, 2007 9:38 pm Reply with quote Back to top

Thanks, southern! Always nice to see you around.
View user's profile Send private message
southern
Client


Joined: Jan 29, 2004
Posts: 579
Location: Texas

PostPosted: Fri Feb 02, 2007 10:29 am Reply with quote Back to top

No prob but I agree the forum could just be made private, he must be up to naughty stuff lol
Image
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum