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
  #62  
Old 01-27-2010, 12:27 PM
meissenation meissenation is offline
 
Join Date: Apr 2005
Posts: 476
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Neither show. It looks like it's increasing the cookie perfectly but the plugin isn't triggering the template to display. If it is normal then how can I edit the plugin when I can't save it?
Reply With Quote
  #63  
Old 01-27-2010, 05:11 PM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That I can't tell you, perhaps there's a conflict in something else? I'm looking at it more but this mod with the code posted is working on my test sever right now.

What happens when you try and save?
Reply With Quote
  #64  
Old 01-27-2010, 05:13 PM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also to add to my last post, for the cookie to be set the lgv_plugin hook has to be called. That's where the cookie code is.

Try the version attached which enables debugging and let me know how it works.
Attached Files
File Type: xml limited_guest_viewing_4_0.xml (16.4 KB, 11 views)
Reply With Quote
  #65  
Old 01-27-2010, 06:32 PM
meissenation meissenation is offline
 
Join Date: Apr 2005
Posts: 476
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ted S View Post
That I can't tell you, perhaps there's a conflict in something else? I'm looking at it more but this mod with the code posted is working on my test sever right now.

What happens when you try and save?
It won't let me because when I click to edit the plugin the hook location is blank - it doesn't recognize lgv_plugin as a valid hook location.

Reply With Quote
  #66  
Old 01-27-2010, 10: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 meissenation View Post
It won't let me because when I click to edit the plugin the hook location is blank - it doesn't recognize lgv_plugin as a valid hook location.
Well that I can fix easy enough but that still doesn't explain why it isn't being called... defining the hook like this shouldn't be an issue.

In any event please upload the new XML file in the latest version of this addon.
Reply With Quote
  #67  
Old 01-27-2010, 10:54 PM
meissenation meissenation is offline
 
Join Date: Apr 2005
Posts: 476
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed the XML file and doing testing now. I didn't realize at first that you have to click in the forums for the echos to show up.

http://www.mifbody.com/vbulletin/ if you want to test as well.
Reply With Quote
  #68  
Old 01-27-2010, 11:00 PM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Version 2.0.7 has been released which adds support for editing the hook location this modifcation uses. To update upload the files in upload/incldues/xml and the new XML plugin file. Most users do not need to upgrade.
Reply With Quote
  #69  
Old 01-27-2010, 11:04 PM
meissenation meissenation is offline
 
Join Date: Apr 2005
Posts: 476
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

"db system not enabled
we have a qualified visit -- 17 hits
nothing is excluded
COOKIE: check for counts
nothing until 10"
Reply With Quote
  #70  
Old 01-27-2010, 11:09 PM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok so the debug code is telling us that neither the message nor the block page were executed which is why nothing is showing up.

Can you try removing the number for the take over so that all you have is the message count at 10?
Reply With Quote
  #71  
Old 01-27-2010, 11:16 PM
meissenation meissenation is offline
 
Join Date: Apr 2005
Posts: 476
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I actually had to disable the modification entirely - I don't know if it's because debug is turned on now or what but my website was basically completely useless for IE6. I'd click a link to browse to a thread and IE would literally become unresponsive. I could only browse to one or two threads and then IE6 would entirely lock up to the point that I would have to "End Task" it. I disabled every mod and the site worked fine and I just went through enabling every mod one by one and the site worked fine until I enabled this one again. Sorry, I gotta give up on this... now I know why my IE6 users were complaining about hating the new vbulletin 4 system.
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 08:01 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.05292 seconds
  • Memory Usage 2,353KB
  • 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_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
  • (4)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