Jump to content

  •  

  • Tutorial info Visit support topic

    • Added on: Sep 19 2008 04:47 AM
    • Views: 1490
     


    * * * * *
    3 Ratings

    (BB2)Guest cannot see the posts

    Posted by BomBas on Sep 19 2008 04:47 AM
    You dont want the guests to view your posts? do the following tutorial:

    ACP -> LOOK & FEEL -> Topic View -> edit function RenderRow.
    find:
    			<!-- THE POST {$post['pid']} -->
    			<div class="postcolor" id='post-{$post['pid']}'>
    				{$post['post']}
    				{$post['edit_by']}
    				<if="$post['post_edit_reason'] != ''">
    					<div class='post-edit-reason'>
    						{$this->ipsclass->lang['reason_for_edit']}: {$post['post_edit_reason']}
    					</div>
    				</if>

    replace with:
    <if="$this->ipslass->member['id']">
    			<!-- THE POST {$post['pid']} -->
    			<div class="postcolor" id='post-{$post['pid']}'>
    				{$post['post']}
    				{$post['edit_by']}
    				<if="$post['post_edit_reason'] != ''">
    					<div class='post-edit-reason'>
    						{$this->ipsclass->lang['reason_for_edit']}: {$post['post_edit_reason']}
    					</div>
    				</if>
    <else />
    <b>Hello Guest, you have to login or register to read our topics</b>
    </if>

    good luck. ;)

    Powered by Tutorials 1.4.1 © 2012, by Michael McCune