vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Register to view all text (https://vborg.vbsupport.ru/showthread.php?t=126828)

Adrian. 09-16-2006 10:00 PM

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

Updated version with enable/diable options via Admin Panel - https://vborg.vbsupport.ru/showthrea...55#post1077455

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 Install if used. :)

Thanks

Adrian

bashy 09-17-2006 11:15 AM

This is actually very good considering :) well done

DjSuBo 09-17-2006 08:00 PM

thank you,Adrian.

asj 09-17-2006 08:42 PM

thank

emilios 09-18-2006 05:55 AM

If a spider crawls the site, will they see full content or the register button?

Adrian. 09-18-2006 08:53 AM

Quote:

Originally Posted by emilios
If a spider crawls the site, will they see full content or the register button?

I think Spiders are treated as Guests, so, there is a chance they will see the
"Register to view all text message"

If you want spiders to act as members, check out this modification by trilljester
https://vborg.vbsupport.ru/showthread.php?t=108070

Adrian. 09-18-2006 11:30 AM

Updated version with enable/diable options via Admin Panel - https://vborg.vbsupport.ru/showthrea...55#post1077455

Hornstar 09-19-2006 04:54 AM

I like this because it doesnt act like others ive seen in the past eg. annoying popups, things that will block your view for 30 seconds, etc. This is truly a good way for getting people to register, and I dont think it would matter if a search engines sees, register to view all text, because all the text is shown anyway. however I think it would be better to only show it on the last post and to say, register to view all posts.

Thanks, clicks install.

RealRnB 11-03-2006 08:13 AM

good one thanks

smoknz28 11-04-2006 03:42 PM

Installed on vB 3.6.2

Instructructions were right on the mark.

Thanks for sharing with the rest of us. ;)


All times are GMT. The time now is 01:38 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.01791 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete