Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Register to view all text Details »»
Register to view all text
Version: 1.0.1, by Adrian. Adrian. is offline
Developer Last Online: Feb 2014 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.6.1 Rating:
Released: 09-17-2006 Last Update: Never Installs: 32
Template Edits
 
No support by the author.

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 -->
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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 12-27-2006, 11:42 PM
adonfun adonfun is offline
 
Join Date: Jul 2006
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I m very interested in this mod, but not to trick them.

Isn't it possible to really only show a max number of characters or lines of a post for quests?
Reply With Quote
  #13  
Old 12-28-2006, 01:45 AM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thats why the limit guest viewing mod is a better option.
Reply With Quote
  #14  
Old 12-28-2006, 11:05 AM
adonfun adonfun is offline
 
Join Date: Jul 2006
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Smoothie View Post
Thats why the limit guest viewing mod is a better option.
You mean the mod vS-Hide Hack Resurrection from psionic vision?
Reply With Quote
  #15  
Old 12-30-2006, 06:16 PM
ForumOrtami ForumOrtami is offline
 
Join Date: Jun 2006
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how is to set max number of characters?
Reply With Quote
  #16  
Old 12-30-2006, 09:02 PM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by adonfun View Post
You mean the mod vS-Hide Hack Resurrection from psionic vision?
No, the one by TedS, LGV, same guy who made welcome headers.
Reply With Quote
  #17  
Old 01-08-2007, 11:16 AM
ForumOrtami ForumOrtami is offline
 
Join Date: Jun 2006
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ForumOrtami View Post
how is to set max number of characters?
???????????????????????????
Reply With Quote
  #18  
Old 01-16-2007, 08:05 PM
PinkDaisy's Avatar
PinkDaisy PinkDaisy is offline
 
Join Date: Sep 2006
Posts: 274
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay... I have a question. I'd love this hack but where I am suppose to add the first template edit I have:

Quote:
<!-- message -->
<if condition="$post['field26'] != '' OR $post['field27'] != ''">

<font style="font-family:$post[field27]; color:$post[field26];">$post[message]</font>

<else />
<div id="post_message_$post[postid]">$post[message]</div>
</if> <!-- / message -->
I have this because I have a hack that allows my users to chose their font/color in each posts. Is there a way I can do this without messing up that hack ???

Thanks in advance!!!
Reply With Quote
  #19  
Old 01-17-2007, 06:29 PM
PinkDaisy's Avatar
PinkDaisy PinkDaisy is offline
 
Join Date: Sep 2006
Posts: 274
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone know what I can do ???
Reply With Quote
  #20  
Old 01-25-2007, 04:37 PM
PinkDaisy's Avatar
PinkDaisy PinkDaisy is offline
 
Join Date: Sep 2006
Posts: 274
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No one knows how I can do this ???
Reply With Quote
  #21  
Old 02-18-2007, 04:36 PM
bahrame bahrame is offline
 
Join Date: Oct 2006
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Daddy likes
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:45 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
  • Page Generation 0.05733 seconds
  • Memory Usage 2,312KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_html
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete