The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Register to view all text Details »» | |||||||||||||||||||||||||
Register to view all text
By Adrian at Development Chat Tested on vB3.6.1, should work on 3.5.x/3.6.0 i think. : ) Version 1.0.1 Hey, This is a simple little "trick", to think guests are only viewing part of the text. All this does is add "Register to view all the text in posts. : )" under the actual post text. All the post text is shown however, the message is "fake", but will hopefully trick your users into thinking it's real and therefore encouraging them to register. It should look more convincing via the "..." at the end of the posts, to show the text has being cut off. Installing Import the product-rtv.xml file. Go to Options > Thread Display Options (showthread). Enable "Register to view all text" (Should be enabled by default) Template changes Open Postbit > postbit/postbit_lagacy (Whichever you use, the template edit is the same for both templates) Find: HTML Code:
<!-- message --> <div id="post_message_$post[postid]">$post[message]</div> <!-- / message --> HTML Code:
<!-- Post extension --> <if condition="$vboptions['rtv_enabled'] == 0"> <!-- message --> <div id="post_message_$post[postid]">$post[message]</div> <!-- / message --> </if> <if condition="$vboptions['rtv_enabled'] == 1"> <if condition="$show['guest']"> <div id="post_message_$post[postid]">$post[message]...</div><div class="smallfont"><a href="register.php">Register</a> to view all the text in posts. :)</div> <else /> <!-- message --> <div id="post_message_$post[postid]">$post[message]</div> <!-- / message --> </if> </if> <!-- / Post extension --> Upgrading If you are upgrading from 1.0.0. Import the .xml file. Make the following template edit Find: HTML Code:
<!-- Post extension --> <if condition="$show['guest']"> <div id="post_message_$post[postid]">$post[message]...</div><div class="smallfont"><a href="register.php">Register</a> to view all the text in posts. :)</div> <else /> <!-- message --> <div id="post_message_$post[postid]">$post[message]</div> <!-- / message --> </if> <!-- / Post extension --> HTML Code:
<!-- Post extension --> <if condition="$vboptions['rtv_enabled'] == 0"> <!-- message --> <div id="post_message_$post[postid]">$post[message]</div> <!-- / message --> </if> <if condition="$vboptions['rtv_enabled'] == 1"> <if condition="$show['guest']"> <div id="post_message_$post[postid]">$post[message]...</div><div class="smallfont"><a href="register.php">Register</a> to view all the text in posts. :)</div> <else /> <!-- message --> <div id="post_message_$post[postid]">$post[message]</div> <!-- / message --> </if> </if> <!-- / Post extension --> If you installed this basic mod', please click Install. This may be basic, but i'm learning. Thanks. Adrian Show Your Support
|
Comments |
#2
|
||||
|
||||
Excellent. I'll check this out soon.
|
#3
|
||||
|
||||
Hello,
I just wanted to post a reminder that some users will get a little ticked off if they realize this was just a manipulative tactic to get them to join. Personally, I think that if you need to lie to people to get them to join your site, your site likely needs some work. |
#4
|
||||
|
||||
Well, I am sure this could be modified to show only the first 2 lines of a post and then display this. Then it would not be a lie. Also, you might want to modify it to say "Register or Login to view all of this post" or something like that. Other that this, it is an awesome idea.
|
#5
|
|||
|
|||
have an idea, this hack would be great if it would be usergroup based, since members can register and not activate their account, so that would be nice if it was usergroup based.
other then that, great hack! |
#6
|
||||
|
||||
Thanks.
Have taken the suggestions into consideration. Hopefully will update it tomorrow. |
#7
|
||||
|
||||
Fake Hacks to get Users registered destroys Trust in the Community from the beginning. Terrible..... :down:
|
#8
|
||||
|
||||
Quote:
I thought it actually limited the amount of text shown. |
#9
|
||||
|
||||
I am a bit new at VB, but it does not seem like it would be that hard to make this limit the actual text shown.
If I understand how this works you would just have to put some code at the hook before the post is displayed that would limit the output, ie $short_message = substr (0,200,$post[message]); Then just use $short_message in the guest view. |
#10
|
|||
|
|||
Does this work with 3.6.2??? Thanks~!
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|