Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Support for PhpBB3. Post here to get help with any phpBB3 related issue here
There is no support here! Only Read Access!
Forum rules
In order the get any support, you will have to do following:
1. Use a describing title!
2. Describe your problem and what happened when the problem occured
3. Tell us what version of phpBB3 you are currently using.
Else your topic may be ignored or locked!
syberpro
BBCoder II
Posts: 18 Joined: 30 Mar 2010, 00:49
Post
by syberpro » 27 Apr 2010, 03:30
Hello since i hide my forum from guest when they click a topic they see following:
How can i make them see this rather:
( Thats the login page )
Stoker
Site Admin
Posts: 3521 Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:
Post
by Stoker » 27 Apr 2010, 06:36
You can't because registering would not allways give access to a forum.
It could be a moderator forum.
Board rules! No PM support
Steve
BBCoder VI
Posts: 803 Joined: 05 Mar 2010, 01:10
BBCodes: 2000
Favourite BBCode: porn tube
Favourite MOD: Non of Stokers
Location: up your bum
Contact:
Post
by Steve » 27 Apr 2010, 10:01
Stoker true,
but if you want add this to the viewforum_body.html
Code: Select all
<!-- IF not S_ADMIN_AUTH and S_REGISTER_ENABLED -->
<td class="row1" align="center">
<p class="genmed">{L_LOGIN_INFO}</p>
<p class="genmed" align="center">
<a href="{U_TERMS_USE}">{L_TERMS_USE}</a> | <a href="{U_PRIVACY}">{L_PRIVACY}</a> | <!-- IF not S_ADMIN_AUTH and S_REGISTER_ENABLED --> <a class="gensmall" href="{U_REGISTER}">{L_REGISTER}</a><!-- ENDIF --> </p>
</td>
<!-- ENDIF -->
in your style/template/viewforum_body.html
find:
Code: Select all
<td class="row1" align="center"><span class="genmed">{L_USERNAME}:</span> <input class="post" type="text" name="username" size="10" /> <span class="genmed">{L_PASSWORD}:</span> <input class="post" type="password" name="password" size="10" /><!-- IF S_AUTOLOGIN_ENABLED --> <span class="gensmall">{L_LOG_ME_IN}</span> <input type="checkbox" class="radio" name="autologin" /><!-- ENDIF --> <input type="submit" class="btnmain" name="login" value="{L_LOGIN}" /></td>
and add before you may need to do some tweeking to your html as i dont know that style.
NAPWR wrote: Nice, Stoker is Hot
Marcus Vinny
BBCoder II
Posts: 5 Joined: 12 Mar 2010, 22:42
Location: Brazil
Contact:
Post
by Marcus Vinny » 27 Apr 2010, 16:02
This kind of thing just amazes its visitors ...
But to be simple enough to put this in viewtopic.php:
Open: viewtopic.php, find:
Add after:
Code: Select all
if ($user->data['user_id'] == ANONYMOUS)
{
login_box('', $user->lang['LOGIN']);
}
This always displays the login page for unregistered users.
syberpro
BBCoder II
Posts: 18 Joined: 30 Mar 2010, 00:49
Post
by syberpro » 27 Apr 2010, 23:57
no no i want my guest to see what my forum looks like.. before registering.. like what are the topics and post.. and all
not like... go on site and BAM need register
Steve
BBCoder VI
Posts: 803 Joined: 05 Mar 2010, 01:10
BBCodes: 2000
Favourite BBCode: porn tube
Favourite MOD: Non of Stokers
Location: up your bum
Contact:
Post
by Steve » 28 Apr 2010, 00:01
Did you read my post and try it ?
NAPWR wrote: Nice, Stoker is Hot
syberpro
BBCoder II
Posts: 18 Joined: 30 Mar 2010, 00:49
Post
by syberpro » 28 Apr 2010, 04:33
i want to know what it does before modifying
Steve
BBCoder VI
Posts: 803 Joined: 05 Mar 2010, 01:10
BBCodes: 2000
Favourite BBCode: porn tube
Favourite MOD: Non of Stokers
Location: up your bum
Contact:
Post
by Steve » 28 Apr 2010, 10:09
Subsilver2 based style so mine looks like this:
sub.PNG
NAPWR wrote: Nice, Stoker is Hot