Back to vBulletin 3.6 Template Modifications

Register to view all text
Mod Version: 1.00, by Adrian.

This modification is in the archives.
vB Version: 3.6.0 Rating: (2 votes - 5.00 average) Installs: 44
Released: 17 Sep 2006 Last Update: Never Downloads: 5
Not Supported Template Edits  

Register to view all text
By Adrian at http://developmentchat.com
Tested on vB3.6.0, should work on 3.5.0 i think. : )

Updated version with enable/diable options via Admin Panel -

Spoiler (click to open)


Register to view all text
By Adrian at http://developmentchat.com
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 -->
Replace with:
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 -->
Save, Done.

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 -->
Replace with:
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 -->
Upgrade Done.

If you installed this basic mod', please click Install.
This may be basic, but i'm learning.

Thanks.

Adrian
Attached Thumbnails
Click image for larger version
Name:	loggedin.jpg
Views:	1068
Size:	88.3 KB
ID:	53599   Click image for larger version
Name:	guest.jpg
Views:	1099
Size:	97.9 KB
ID:	53600   Click image for larger version
Name:	admin.jpg
Views:	669
Size:	62.0 KB
ID:	53601  
Attached Files
File Type: txt product-rtv.txt (1.1 KB, 265 views)

Close


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
(Note: This template edit is the same for postbit and postbit_legacy)
Open Postbit templates > postbit_legacy/postbit (Whichever you want to use)
Find:
HTML Code:
<!-- message -->
<div id="post_message_$post[postid]">$post[message]</div>
<!-- / message -->
Replace with:
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 -->
Save.

That's it, easy.

Please click if used.

Thanks

Adrian

Download

No files for download.

Screenshots

Click image for larger version
Name:	guest.jpg
Views:	952
Size:	97.9 KB
ID:	53555   Click image for larger version
Name:	loggedin.jpg
Views:	764
Size:	88.3 KB
ID:	53556  

Similar Mods

Show Thread Enhancements Register to view all text vBulletin 3.6 Add-ons

vblts.ru supports vBulletin®, 2022-2024