Show First Post To Unregistered User
This modification is in the archives.
This is just a simple hack that will show the first post to unregistered users. The rest of the posts will ask them to login or register. This is a template hack
In Postbit Templates edit the postbig_legacy Find Code:
<div id="post_message_$post[postid]" class="overflow_parent"><div class="overflow_child">$post[message]</div></div> Code:
<if condition="$show['member']"> <div id="post_message_$post[postid]" class="overflow_parent"><div class="overflow_child">$post[message]</div></div> <else /> <if condition="$post[postcount] == 1"> <div id="post_message_$post[postid]" class="overflow_parent"><div class="overflow_child">$post[message]</div></div> </if> <else /> <if condition="$show['guest']"> <if condition="$post[postcount] != 1"> <br><br>You Must be a registered member and logged in to view this response. To Register <a href=register.php>Please Click Here</a> <br><br> </if></if></if> Download No files for download. |