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
Limited Guest Viewing -- Improve community registration rates Details »»
Limited Guest Viewing -- Improve community registration rates
Version: 1.0.6, by Ted S Ted S is offline
Developer Last Online: Nov 2020 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.x Rating:
Released: 11-18-2006 Last Update: 11-14-2008 Installs: 691
Uses Plugins Template Edits
 
No support by the author.

Note: This addon works with the 3.6.x series only. Click Here for the 3.7.0 version of this addon.

With vBulletin, forum guests are able to view endless amounts of content without being directly asked or forced to register no matter how many times they come back. The purpose of the Limited Guest Viewing System is to drive in registrations by limiting the number of threads guests are able to view without interruption.

This plugin offers two options which can be used to drive in more registrations. The first option allows you to show a reminder message or advertisement after a guest has viewed a certain number of threads. The second option puts up a roadblock stopping guests from viewing threads altogether after reaching a certain number of views. Both options work together to encourage and ultimately force anonymous visitors to either register or login but can also be used separately based on your individual needs.

Because this plugin uses cookies, few if any bots will be impacted when it comes to spidering your site.

Modifications/ Instructions:
Template edits: 1
Plugins: 1 (adds 1 template and several settings)

This template hack should take under 5 minutes to implement and customize.

Customizing the content / messages
To customize which messages appear or what they say, go to vBulletin options, select the ?Limited Guest Viewing System? group and configure the options as desired. Each phase can be modified by adding translation text.

Through the ACP you can enable or disable each option, specify the number of threads that can be viewed before the option is enabled and input any forums you wish to exclude from being blocked.

About spiders/bots
This plugin works by setting a cookie to track the number of visits from a particular user. As bots do not tend to accept cookies, they should not be blocked. To further insure there is no spider accessibility issues, there script identifies major bots (google, yahoo, msn, aol) and explicitly lets them through -- you can easily add to this list by editing the plugin code should you so desire, however, unless a bot starts taking cookies this should not be necessary.


Welcome headers compatibility
The Limited Guest Viewing is designed to work with the Welcome Headers system without any conflict. To insure that welcome header messages do not show up at the same time as the limited guest viewing message, please be sure you are running welcome headers version 4.1.3 or greater (released 11/19).

Updates
5/9/2008 - Released update to prevent installs on 3.7 boards.
2/18/2007 - Minor update to fix register link. Updates optional.
11/20/2006 - Minor update released to fix error with links in some messaging. Updates recommended.

Supporters / CoAuthors

Show Your Support

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

Comments
  #22  
Old 11-20-2006, 01:08 AM
hotwheels hotwheels is offline
 
Join Date: May 2005
Location: Cheyenne, wy
Posts: 1,380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, this is what i have so far:
PHP Code:
// check if user is a bot
            
$lvgbot = ($vbulletin->superglobal_size['_COOKIE'] == AND preg_match("#(google|msnbot|zoints|aol|yahoo|slurp|FeedFetcher-Google|FeedBurner|WorldIndexer|Yahoo! Slurp|Majestics MJ12bot|Voyager|Technorati|Googlebot-Image|BlogPulse|blogsearch|Feedster|SBIder|ColdFusion
|FeedValidator|Google AdSense|Moreover|Norbert|Scooter|T-H-U-N-D-E-R-S-T-O-N-E|Teoma/Ask Jeeves|TurnitinBot|WorldIndexer|YahooFeedSeeker|vBSEO|Yahoo! Slurp Spider|Google Spider|FeedFetcher-Google Spiders|FeedBurner Spiders|BDFetch|SBIder.|Blogslive|Exabot|Feedfetcher-Google|GSiteCrawler|Google-Sitemaps|Gigabot|Java|MSTPC|MetaTagRobot|Moozilla|Mozilla|Python-urllib|Shim-Crawler|Site-Scan|Snapbot|Genome Machine|Windows-Media-Player|Yahoo-MMCrawler|findlinks|ichiro|libwww-perl|mozilla Java|sproose|up.b)#si"
$_SERVER['HTTP_USER_AGENT'])); 
It seems once you install this, that it write's to phpmyadmin, so you have to continue forward with it....Uninstalling it didn't change the bot's being denied access......

I also installed the Member Bots 1.0 per the instruction's......

I will let ya'll know how this works out....
Reply With Quote
  #23  
Old 11-20-2006, 02:04 AM
XanTrax XanTrax is offline
 
Join Date: Aug 2005
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Couldnt a user/guest just delete their cookie and start it all over again? Considering firefox has a quick thing to delete cookies.
Reply With Quote
  #24  
Old 11-20-2006, 03:38 AM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hotwheels View Post
Well, this is what i have so far:
PHP Code:
// check if user is a bot
            
$lvgbot = ($vbulletin->superglobal_size['_COOKIE'] == AND preg_match("#(google|msnbot|zoints|aol|yahoo|slurp|FeedFetcher-Google|FeedBurner|WorldIndexer|Yahoo! Slurp|Majestics MJ12bot|Voyager|Technorati|Googlebot-Image|BlogPulse|blogsearch|Feedster|SBIder|ColdFusion
|FeedValidator|Google AdSense|Moreover|Norbert|Scooter|T-H-U-N-D-E-R-S-T-O-N-E|Teoma/Ask Jeeves|TurnitinBot|WorldIndexer|YahooFeedSeeker|vBSEO|Yahoo! Slurp Spider|Google Spider|FeedFetcher-Google Spiders|FeedBurner Spiders|BDFetch|SBIder.|Blogslive|Exabot|Feedfetcher-Google|GSiteCrawler|Google-Sitemaps|Gigabot|Java|MSTPC|MetaTagRobot|Moozilla|Mozilla|Python-urllib|Shim-Crawler|Site-Scan|Snapbot|Genome Machine|Windows-Media-Player|Yahoo-MMCrawler|findlinks|ichiro|libwww-perl|mozilla Java|sproose|up.b)#si"
$_SERVER['HTTP_USER_AGENT'])); 
It seems once you install this, that it write's to phpmyadmin, so you have to continue forward with it....Uninstalling it didn't change the bot's being denied access......

I also installed the Member Bots 1.0 per the instruction's......

I will let ya'll know how this works out....

This plugin does not modify any data in your database so when you remove it, it is removed. If the bots were denied access when you removed this, there's another reason... and this plugin isn't it.
Reply With Quote
  #25  
Old 11-20-2006, 03:38 AM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by XanTrax View Post
Couldnt a user/guest just delete their cookie and start it all over again? Considering firefox has a quick thing to delete cookies.
Yes. The goal here isn't to make it impossible to view threads, it's to make it harder and thus encourage registration. If you're looking to shut guests out, stick to the registration system.
Reply With Quote
  #26  
Old 11-20-2006, 03:39 AM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hotwheels View Post
Ted, quick question on bot's?

If you want certian bot's to come to your site, say Yahoo! Slurp Spider or FeedFetcher-Google Spiders.........where do you add these? I see [php]// check if user is a bot

Just change the line google|msnbot|zoints|aol|yahoo|slurp to include any other bots you like with a pipe (|) between each name.
Reply With Quote
  #27  
Old 11-20-2006, 04:28 AM
JimmyN JimmyN is offline
 
Join Date: Apr 2006
Location: Australia
Posts: 150
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so this hack still allows all search engine bots to view?

But limits normal guests?

thanks
Reply With Quote
  #28  
Old 11-20-2006, 05:14 AM
Ntfu2 Ntfu2 is offline
 
Join Date: Feb 2006
Posts: 1,247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How about adding a timer to where the cookie expires after x amount of hours


And then in the phrase maybe something like

"Thank you for viewing our content, you've viewed all the content allowed by guests, you can view more unrestricted content in X amount of hours blah blah...:"
Reply With Quote
  #29  
Old 11-20-2006, 05:25 AM
scottreeve scottreeve is offline
 
Join Date: Apr 2006
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good hack.

I've installed, and only problem is with the 'custom message' edit.
Quote:
(To edit the phrase for this message error, click here (enter your custom text in the translation box).)
It comes up with a SQL database error...

Any ideas?

Thanks,
Scott
Reply With Quote
  #30  
Old 11-20-2006, 06:33 AM
Ntfu2 Ntfu2 is offline
 
Join Date: Feb 2006
Posts: 1,247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by scottreeve View Post
Good hack.

I've installed, and only problem is with the 'custom message' edit.
It comes up with a SQL database error...

Any ideas?

Thanks,
Scott

Try to reimport the product XML and overwrite the old one.
Reply With Quote
  #31  
Old 11-20-2006, 07:06 AM
JimmyN JimmyN is offline
 
Join Date: Apr 2006
Location: Australia
Posts: 150
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ntfu2 View Post
How about adding a timer to where the cookie expires after x amount of hours


And then in the phrase maybe something like

"Thank you for viewing our content, you've viewed all the content allowed by guests, you can view more unrestricted content in X amount of hours blah blah...:"
i think this would be a great idea, but just have it that the guest can return to the board after 24hours say and then view a thead again, and if they click another thread then they get the msg.
But just have the existing msgs, not the X hours left, becuse then they might just not bother registering or they may come back to view latter without thinking to reg.

Maybe this can all be set in the admincp for this. So it can be cusomised to suite your own forum.

Just some ideas though,

So far its a great hack though, thanks heaps working great on my board
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 09:06 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10426 seconds
  • Memory Usage 2,326KB
  • Queries Executed 26 (?)
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
  • (2)bbcode_php
  • (6)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
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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_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