The Arcive of vBulletin Modifications Site. |
|
Show First Post To Unregistered User Details »»
|
|||||||||||||||||||||||||
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> Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
|
|
#3
|
|||
|
|||
|
doesnt work wid my skin
|
|
#4
|
|||
|
|||
|
No, because that one lets people look a certain amount of times. Mine works all the time.
Quote:
|
|
#5
|
|||
|
|||
|
|
|
#6
|
|||
|
|||
|
when I do this, my 1st post is repeated 2 times within the 1st post..
example This is a test This is a test ---------- next post Edit: Fixed.... there were 2 lines of code that were the same so I guess it understood to re-write the same text. |
|
#7
|
|||
|
|||
|
sorry I made one change. Took the first
Code:
</if> |
|
#8
|
|||
|
|||
|
now they dont even see the first post. Its just blank
|
|
#9
|
|||
|
|||
|
don't work!!!!
|
|
#10
|
|||
|
|||
|
dosent work
|
![]() |
|
|