PDA

View Full Version : Adding view controls to a page


Merriweather
02-11-2007, 11:03 PM
I have some parts of my forum that are currently open to anyone, guest or registered. I want to add controls to those pages so I can set each usergroup's permissions whether they can view the page or not -- basically, I want the "You are not logged in or you do not have permission" message to come up if a group I deny permission to tries to view that area of the forums.

I realize there's a bit of work involved here, but I wondered if someone could be kind enough to help me muddle through adding this control to a part of my forum?

Analogpoint
02-12-2007, 01:07 AM
Can't you just set the permissions for the individual forum? Or am I not understanding you...

Merriweather
02-12-2007, 01:19 AM
Sorry I wasn't clear here, as I'm not talking about a forum. I'm talking about additional pages or mods that I want to control who can and cannot see them. :)

Analogpoint
02-12-2007, 01:35 AM
Take a look at this thread, and see if you can use the functions to check if someone's logged in or not on your other pages. Actually, why don't you just check for the vB cookie to see if they're logged in?

Merriweather
02-12-2007, 01:44 AM
It's a start, but I'm not looking just to see if they are logged in. I want to be able to control settings per usergroup.

Analogpoint
02-12-2007, 02:12 AM
Hmmmm. You'll probably have to access the vb database directly and look up their permissions then.

Reeve of shinra
02-12-2007, 02:31 AM
<a href="https://vborg.vbsupport.ru/showthread.php?t=98009" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=98009</a> -- look under "Limiting Access to the Script" for tips to get you started.

Merriweather
02-12-2007, 02:35 AM
Thank you, Reeve of shinra!