Support for PhpBB3.
Post here to get help with any phpBB3 related issue
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.
If not your topic may be ignored or locked!
Post
by syberpro » 27 Apr 2010, 01: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 )
Post
by Stoker » 27 Apr 2010, 04:36
You can't because registering would not allways give access to a forum.
It could be a moderator forum.
Post
by Steve » 27 Apr 2010, 08: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.
Post
by Marcus Vinny » 27 Apr 2010, 14: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.
Post
by syberpro » 27 Apr 2010, 21: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
Post
by Steve » 27 Apr 2010, 22:01
Did you read my post and try it ?
Post
by syberpro » 28 Apr 2010, 02:33
i want to know what it does before modifying
Post
by Steve » 28 Apr 2010, 08:09
Subsilver2 based style so mine looks like this:
sub.PNG