The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Limited Guest Viewing -- Improve community registration rates Details »» | |||||||||||||||||||||||||||
Limited Guest Viewing -- Improve community registration rates
Developer Last Online: Nov 2020
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
|
Comments |
#352
|
|||
|
|||
Changing the title of the groups won't do anything... they're referanced by ID numbers.
You would need to change the line of code you referanced to add an appropriate OR statement for the usergroup you want to check against. |
#353
|
|||
|
|||
Can anyone tell me how to restructure this line within Ted's mod with an "OR" statement, so that it will include Usergroup #3 "Users Awaiting Email Confirmation" as well as guests which is Usergroup #1 "Unregistered / Not Logged In"?
In this way, it will extend the use of this fine mod and visitors to our community will end up being blocked until they fully complete the registration process. Code:
// check if user is a guest and if system is enabled if ($show['guest'] AND !$lvgbot AND $vbulletin->options['lgvon']) Regards, Badger |
#354
|
|||
|
|||
I'm not in a place where I can test but try
Code:
if ( ($show['guest'] OR in_array($vbulletin->GPC['usergroupid'],'X,Y,Z') AND !$lvgbot AND $vbulletin->options['lgvon']) If that doesn't work then I'm calling the usergroupid variable incorrectly. In that case, try $vbulletin->userinfo['usergroupid'] instead. |
#355
|
|||
|
|||
Quote:
Thanks Ted.... I tried both approaches.... if ( ($show['guest'] OR in_array($vbulletin->GPC['usergroupid'],'3') AND !$lvgbot AND $vbulletin->options['lgvon']) if ( ($show['guest'] OR in_array($vbulletin->userinfo['usergroupid'],'3') AND !$lvgbot AND $vbulletin->options['lgvon']) ..... but I get an error as follows: Parse error: syntax error, unexpected '{' in /forums/mysite/showthread.php(345) : eval()'d code(133) : eval()'d code on line 7 Thanks... Regards, Badger |
#356
|
|||
|
|||
Missing a closing )
Code:
if ( ($show['guest'] OR in_array($vbulletin->GPC['usergroupid'],'3')) AND !$lvgbot AND $vbulletin->options['lgvon']) |
#357
|
|||
|
|||
My only problem is that when the "Register Take-Over Message" is enabled, my welcome headers only show up on the main page. If I go into a thread no header shows up.
|
#358
|
|||
|
|||
Go into your Limited Guest Viewing settings and disable Welcome Header Message Suppression.
|
#359
|
|||
|
|||
That's not one of the options.
|
#360
|
|||
|
|||
Installed on 3.6.8 and working great. Thanks!
(Clicks Installed) |
#361
|
|||
|
|||
Installed on 3.6.8 and it seems to be working great
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|