And yes, that is the solution... so what’s the problem?
Highway of Life wrote:For the other pages, open faq.php and index.php
Add the following code:
- Code: Select all
if (!$user->data['is_registered'])
{
login_box('', 'LOGIN');
}
Highway of Life wrote:For the other pages, open faq.php and index.php
Add the following code:
- Code: Select all
if (!$user->data['is_registered'])
{
login_box('', 'LOGIN');
}
walkingdead wrote:cant you disable Guest access to certain forums by changing the forums permisions so only people who are aproved or in a user group can get into that forum or am i wrong?
Highway of Life wrote:Go to ACP > Permissions [Tab] > Groups permissions > Guests > (user permissions) click on Advanced permissions
And set each option within each tab to No.
This should disable their ability to use the search function.
For the other pages, open faq.php and index.php
Add the following code:right AFTER you see...
- Code: Select all
if (!$user->data['is_registered'])
{
login_box('', 'LOGIN');
}
- Code: Select all
// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup('viewforum');
// and for faq.php...
// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup();
That should do it

Return to [3.0/Olympus] Discussion
Users browsing this forum: No registered users and 14 guests