Page 1 of 1

Remove links when not log'ed in

Posted: Mon Oct 11, 2010 8:53 pm
by linux-abc.dk
Hi, I have installed ModpbpBB3 forum - nice work BTW :good: - I just have one problem: It's a "family only" forum where all members have to be aproved and nothing, besides "Site anouncements" shuld be shown before login. That is all taken care of now, exept: where do I remowe these links so they only are viewable after login
Skærmbillede-18.png
Thanks in advance

Linux-abc

Re: Remove links when not log'ed in

Posted: Wed Oct 13, 2010 6:15 pm
by linux-abc.dk
linux-abc.dk wrote:Hi, I have installed ModpbpBB3 forum - nice work BTW :good: - I just have one problem: It's a "family only" forum where all members have to be aproved and nothing, besides "Site anouncements" shuld be shown before login. That is all taken care of now, exept: where do I remowe these links so they only are viewable after login
Skærmbillede-18.png
Thanks in advance

Linux-abc
First I found (I'm not allowed to post urls, so)
Sniper_E wrote:Open index_body.html

FIND

Code: Select all

    <!-- INCLUDE forumlist_body.html -->
BEFORE ADD

Code: Select all

    <!-- IF S_USER_LOGGED_IN -->
    <!-- INCLUDE chat_body.html -->
    <!-- ENDIF -->
You can add this <!-- IF S_USER_LOGGED_IN --> to your chat_body.html template to keep Guests from seeing the main chat page.
witch helped me a bit, but after update to 3.0.7 PL1 - some tinkering in ACP it looks like the links don't work any more unless one is logged in, so: mission accomplished :good:

Re: Remove links when not log'ed in

Posted: Mon Oct 18, 2010 12:10 am
by cisco007
sure thing those are the correct edits, glad you got it!