![]() |
Show First Post To Unregistered User
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:
|
|
doesnt work wid my skin :(
|
No, because that one lets people look a certain amount of times. Mine works all the time.
Quote:
|
Quote:
|
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. |
sorry I made one change. Took the first
Code:
</if> |
now they dont even see the first post. Its just blank
|
don't work!!!!
|
dosent work
|
I just added it to my new skin, it worked fine. what version are you guys using?
|
Quote:
This modification only shows the first post in every thread viewable to guests. The Limit Guest Viewing modification only allows each guest to view a x number of threads viewable to guests. |
Guys,
Keep in mind this will only work if you're using the legacy postbit, NOT the traditional postbit! For traditional postbit, you want something like the following: In the postbit template, look for: Code:
$post[message] Code:
<if condition="$show['member']"> |
|
All times are GMT. The time now is 06:52 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|