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

Reply
 
Thread Tools
Limited Guest Viewing -- Motivate Guests to Register Details »»
Limited Guest Viewing -- Motivate Guests to Register
Version: 2.1.0, by Ted S Ted S is offline
Developer Last Online: Nov 2020 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 4.x.x Rating:
Released: 12-26-2009 Last Update: 07-20-2012 Installs: 935
DB Changes Uses Plugins Auto-Templates
Additional Files  
No support by the author.

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 [or membership upgrades] by limiting the number of threads guests [or certain membergroups] 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.

Install Instructions:
Read the install file. Customize via admin settings & templates.

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.

Search Engine Bots (Spiders):
Anything that changes your forum viewing can impact how search engines treat it. The cookie approach used by this modification is bypassed by many bots and, since people can still view posts, cloaking should not apply. Users with IP logging may face more restrictions although a filtering system lets defined spiders pass. This plugin is intended to limit repetitive viewing and not restrict people from single views.

For a full explanation of the impact on bots read the install file before asking questions.


Usergroup Limitations:

Version 2.1 introduces basic usergroup limiting with the same rules & messages guests get. Based on demand this may be extended to a per-usergroup level restriction and messaging in the future.

Change Log:
- 7.21.2012 - Update to 2.1.0 which adds usergroup limiting, fixes mySQL 5.5 support, removes the need for template editing, cleans up install guide. Upgrading is optional.

Mod Philosophy -- Drive Your Own Success:
All of my mods are inspired by my work in the digital industry and are designed to drive registrations, interaction or other engagement activities the core platform does not address. Each is designed to fit a general need by providing a starting point but it's on you to decide how to make things work to their best possible outcome. Don't stay in the box.

Download Now

File Type: zip limited guest viewing 2.1.0.zip (10.1 KB, 1845 views)

Screenshots

File Type: jpg takeover-message.jpg (43.2 KB, 0 views)
File Type: jpg warning-message.jpg (42.2 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
12 благодарности(ей) от:
CubicWebs, doctorsexy, Engdge, HCHQ, iiioroh, john7911, Life Revived, livenetc, Rubio, sanata, TheLastSuperman, Umar1

Comments
  #342  
Old 07-05-2011, 03:19 PM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BadgerDog View Post
Combined with storing the IP log forever (if you wanted), this seems to be an obvious method of getting people who clear cookies (or have that browser option OFF) be forced to register to continue to view our site all, unless of course they change IP addresses.
The issue is less about your users and more about your server.

Far larger boards run this mod with IP logging on but also have large servers, or clusters in some cases, to support it.

Thus the question is really how much load you are already placing on your system and how much it adds too it.
Reply With Quote
  #343  
Old 07-05-2011, 03:26 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ted S View Post
Thus the question is really how much load you are already placing on your system and how much it adds too it.
Thanks Ted ...

We're on a dedicated server...

According to the list that our host shows me, here's our configuration ...

Quote:
Intel2.0 GHz 1333FSB - ClovertownXeon 5335 (Quad Core)
Intel2.0 GHz 1333FSB - ClovertownXeon 5335 (Quad Core)
Generic1024 MBDDR2 667 FB DIMM
Generic1024 MBDDR2 667 FB DIMM
Dell1066/1333FSB Dual XeonPowerEdge 1950/2950
Maxtor 250GB:SATA:7200RPM
MaxLine Plus II Dell9G Drive Controller - SAS/SATA
SAS 5/i Dell4 Drive MaxDrive Bay for 2950
Our home page is currently showing this as performance for 470 users online (55 members and 415 guests)....

Quote:
Page generated in 2.12171 seconds with 30 queries [Server Load Averages (1:5:15) 0.16 : 0.29 : 0.36]
Does that help?

Regards,
Doug
Reply With Quote
  #344  
Old 07-05-2011, 04:33 PM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
seconds with 30 queries
Yikes

Still... you've got pretty low load averages. Lots of room to grow.

Quote:
[Server Load Averages (1:5:15) 0.16 : 0.29 : 0.36]
Run the option for a couple days and compare them against those benchmarks when you have similar traffic on. If you rise to more than 0.50 let me know.
Reply With Quote
  #345  
Old 07-05-2011, 11:16 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ted S View Post
Yikes

Still... you've got pretty low load averages. Lots of room to grow.

Run the option for a couple days and compare them against those benchmarks when you have similar traffic on. If you rise to more than 0.50 let me know.
Thanks Ted.....

I assume you would NOT recommend the "Never" setting for the IP "Activity Log"?

I wonder whether using the IP activity log set at 7 days is more effective than the life of a "cookie" in which gets cleared first so an unregistered guest can start the cycle over again?

If I turn IP Logging ON, is the "cookie" method still active and used also?

By the way, great mod and has really helped in driving increased membership .. :up:

Regards,
Doug
Reply With Quote
  #346  
Old 07-06-2011, 12:19 AM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BadgerDog View Post
I assume you would NOT recommend the "Never" setting for the IP "Activity Log"?
Never is a long time and the table will grow so ya, I'd stay away from that. It's very easy to go from 7 days to 15 or 30 if you so wish.

Quote:
If I turn IP Logging ON, is the "cookie" method still active and used also?
Yup yup. Cookie check comes first as there's no sense in a query if we're already going to say no.
Reply With Quote
  #347  
Old 07-06-2011, 10:26 AM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ted S View Post
Never is a long time and the table will grow so ya, I'd stay away from that. It's very easy to go from 7 days to 15 or 30 if you so wish.



Yup yup. Cookie check comes first as there's no sense in a query if we're already going to say no.
Thanks.

I see e log clearing check box up to 7, so if I wanted 30 days before it clears, how do I set that?

Regards
Doug
Reply With Quote
  #348  
Old 07-06-2011, 05:17 PM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Open the file lgvdb.php and replace

Code:
$vbulletin->db->query_write("
  DELETE FROM " . TABLE_PREFIX . "lgv
  WHERE (lastactivity + (". $vbulletin->options['lgvcleardays'] ." * 86400)) < ". TIMENOW ."
 ");
With code

Code:
$vbulletin->db->query_write("
  DELETE FROM " . TABLE_PREFIX . "lgv
  WHERE (lastactivity + (30 * 86400)) < ". TIMENOW ."
 ");
Reply With Quote
  #349  
Old 07-07-2011, 09:23 AM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ted S View Post
Open the file lgvdb.php and replace

Code:
$vbulletin->db->query_write("
  DELETE FROM " . TABLE_PREFIX . "lgv
  WHERE (lastactivity + (". $vbulletin->options['lgvcleardays'] ." * 86400)) < ". TIMENOW ."
 ");
With code

Code:
$vbulletin->db->query_write("
  DELETE FROM " . TABLE_PREFIX . "lgv
  WHERE (lastactivity + (30 * 86400)) < ". TIMENOW ."
 ");
Thanks Ted ... I did that ...

I just turned ON logging ...

I notice that the AdminCP options do not show 30 days, but still the "Never" to 3 day range ...

I left the "Never" checked, but I assume your code change above overrides that and the cron job will clear it out at 30 days now?

Appreciate your help ... :up:

Regards,
Doug
Reply With Quote
  #350  
Old 07-07-2011, 03:46 PM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BadgerDog View Post
Thanks Ted ... I did that ...

I just turned ON logging ...

I notice that the AdminCP options do not show 30 days, but still the "Never" to 3 day range ...

I left the "Never" checked, but I assume your code change above overrides that and the cron job will clear it out at 30 days now?

Appreciate your help ... :up:

Regards,
Doug
Turn it to one of the other options so it runs but you are correct, we manually overwrote the date so 30 won't show up.
Reply With Quote
  #351  
Old 07-07-2011, 05:00 PM
It's Damn Real! It's Damn Real! is offline
 
Join Date: Mar 2011
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fantastic mod. Works incredibly well for well-timed events. I run a hockey forum and utilize this on specific dates like the trade deadline, major trades, singings, etc. Works PERFECTLY.
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 04:00 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.05503 seconds
  • Memory Usage 2,370KB
  • 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
  • (4)bbcode_code
  • (12)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (12)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete