Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

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
  #352  
Old 07-15-2011, 08:44 AM
tutorials.de tutorials.de is offline
 
Join Date: Jul 2002
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi there

Is there anyone, who has modified the code, so that the add-on works with CMS articles? Would be great to get a little code snippet

Thank you very much!
Reply With Quote
  #353  
Old 07-17-2011, 10:34 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
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.
Thanks Ted ....

Have turned it ON with the 30 day patch. Seems to be running fine and I haven't noticed any server performance issues so far ...

Quote:
This option allows you to turn database logging on or off. When turned on guest views will be stored in a mysql table. This is more effective than using cookies alone for tracking but adds queries to every thread view causing additional server load and may have spider implications. See the support thread for more detail.
Using this option, has anyone ever reported problems with spiders being blocked and affecting search engines from being able to index a site?

Regards,
Doug
Reply With Quote
  #354  
Old 07-18-2011, 11:09 AM
wildheart's Avatar
wildheart wildheart is offline
 
Join Date: Jul 2011
Location: South Africa
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works perfectly on 4.1.4 patch level 1. Thank you very much and I clicked install.
Reply With Quote
  #355  
Old 07-20-2011, 09:11 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
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 ."
 ");

Hi Ted ...

Just checked the vBulletin error logs and it's showing me lots of SQL errors (same ones) when LGV executes the 30 day patch, at least I think that's what it's trying to tell me?

Quote:
Database error in vBulletin 4.1.3:

Invalid SQL:

DELETE FROM lgv
WHERE (lastactivity + (*30* * 86400)) < 1311049245;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '*30* * 86400)) < 1311049245' at line 2
Error Number : 1064
Request Date : Tuesday, July 19th 2011 @ 12:20:45 AM
Error Date : Tuesday, July 19th 2011 @ 12:20:45 AM
Script : http://www.xxxxxx.com/cron.php?rand=1311049242
Referrer : http://www.xxxxxx.com/showthread.php?t=12345
IP Address : xx.xx.xx.xx
Username : Unregistered
Classname : vB_Database
MySQL Version :
Did I enter the code change incorrectly?

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

Those stars around 30 (*30*) shouldn't be there. Are there any other characters that may have been added to the code you pasted? Maybe a single quote or something?
Reply With Quote
  #357  
Old 07-21-2011, 07:21 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
Those stars around 30 (*30*) shouldn't be there. Are there any other characters that may have been added to the code you pasted? Maybe a single quote or something?
Thanks Ted... I didn't see that ....

What a dummy I am ...

I have no idea how that got in there, but I re-did the edit on a fresh PHP file and I re-installed it in /cron

Appreciate the support ... :up:

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

Perfect!
Reply With Quote
  #359  
Old 07-23-2011, 09:18 PM
Hannigan Hannigan is offline
 
Join Date: Jul 2011
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fantastic add-on. Thanks.
Reply With Quote
  #360  
Old 08-09-2011, 02:48 PM
gox gox is offline
 
Join Date: Aug 2007
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Ted,

Is this MOD compatible with VB 4.1.5?

Thanks.
Reply With Quote
  #361  
Old 08-10-2011, 01:15 PM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gox View Post
Hi Ted,

Is this MOD compatible with VB 4.1.5?

Thanks.
It's marked for 4.1.x unless someone knows otherwise
Reply With Quote
Reply

Thread Tools

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 07:33 AM.


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.04968 seconds
  • Memory Usage 2,352KB
  • 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_code
  • (6)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