Need to Register! Message

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!
Locked
syberpro
BBCoder II
BBCoder II
Posts: 18
Joined: 30 Mar 2010, 00:49

Need to Register! Message

Post by syberpro »

Hello since i hide my forum from guest when they click a topic they see following:

Image

How can i make them see this rather:

Image

( Thats the login page )
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: Need to Register! Message

Post by Stoker »

You can't because registering would not allways give access to a forum.
It could be a moderator forum.
Board rules! No PM support
User avatar
Steve
BBCoder VI
BBCoder VI
Posts: 803
Joined: 05 Mar 2010, 01:10
Extra Rank: Donator.png
BBCodes: 2000
Favourite BBCode: porn tube
Favourite MOD: Non of Stokers
Location: up your bum
Contact:

Re: Need to Register! Message

Post by Steve »

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" />&nbsp; <span class="genmed">{L_PASSWORD}:</span> <input class="post" type="password" name="password" size="10" /><!-- IF S_AUTOLOGIN_ENABLED -->&nbsp; <span class="gensmall">{L_LOG_ME_IN}</span> <input type="checkbox" class="radio" name="autologin" /><!-- ENDIF -->&nbsp; <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
User avatar
Marcus Vinny
BBCoder II
BBCoder II
Posts: 5
Joined: 12 Mar 2010, 22:42
Location: Brazil
Contact:

Re: Need to Register! Message

Post by Marcus Vinny »

This kind of thing just amazes its visitors ... :(

But to be simple enough to put this in viewtopic.php:
Open: viewtopic.php, find:

Code: Select all

$user->setup('memberlist'); 
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
BBCoder II
Posts: 18
Joined: 30 Mar 2010, 00:49

Re: Need to Register! Message

Post by syberpro »

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
User avatar
Steve
BBCoder VI
BBCoder VI
Posts: 803
Joined: 05 Mar 2010, 01:10
Extra Rank: Donator.png
BBCodes: 2000
Favourite BBCode: porn tube
Favourite MOD: Non of Stokers
Location: up your bum
Contact:

Re: Need to Register! Message

Post by Steve »

Did you read my post and try it ?
NAPWR wrote: Nice, Stoker is Hot
syberpro
BBCoder II
BBCoder II
Posts: 18
Joined: 30 Mar 2010, 00:49

Re: Need to Register! Message

Post by syberpro »

i want to know what it does before modifying
User avatar
Steve
BBCoder VI
BBCoder VI
Posts: 803
Joined: 05 Mar 2010, 01:10
Extra Rank: Donator.png
BBCodes: 2000
Favourite BBCode: porn tube
Favourite MOD: Non of Stokers
Location: up your bum
Contact:

Re: Need to Register! Message

Post by Steve »

Subsilver2 based style so mine looks like this:
sub.PNG
NAPWR wrote: Nice, Stoker is Hot
Locked