vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Show Thread Enhancements - Limited Guest Viewing -- Motivate Guests to Register (https://vborg.vbsupport.ru/showthread.php?t=231352)

Ted S 12-26-2009 10:00 PM

Limited Guest Viewing -- Motivate Guests to Register
 
1 Attachment(s)
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.

Ted S 12-27-2009 07:17 PM

Held for Future Use

Delilahs 12-27-2009 08:14 PM

Cheers Ted

Rex ;)

VonDoom 12-27-2009 09:15 PM

Ahh this is the one ive been waiting for. Thanks. Installed, Rated

gyaronn 12-27-2009 09:47 PM

thanks m8 was waiting for this one for long time :-)
i tray to install and get this error
Code:

Database error in vBulletin 4.0.0:

Invalid SQL:
CREATE TABLE VB lgv (
                                                  id int(7) unsigned NOT NULL auto_increment,
                                                  ipaddress VARCHAR(25) NOT NULL default '0.0.0.0',
                                                        firstaccess INT UNSIGNED NOT NULL DEFAULT '0',
                                                        views INT(4) NOT NULL DEFAULT '0',
                                                        lastactivity INT UNSIGNED NOT NULL DEFAULT '0',
                                                  PRIMARY KEY (id),
                                                  KEY indexs (ipaddress,views,lastactivity)
                                                ) TYPE=MyISAM;

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 'lgv (
                                                  id int(7) unsigned NOT NULL auto_increment,
                                                  ipaddress VA' at line 1
Error Number  : 1064


SoFresh 12-27-2009 10:16 PM

Thanks! Installed!

BTW, it would be awesome if you could set it so that guests could only see the first post of a thread or something like that!

Ted S 12-27-2009 10:29 PM

Quote:

Originally Posted by gyaronn (Post 1939754)
thanks m8 was waiting for this one for long time :-)
i tray to install and get this error
Code:

Database error in vBulletin 4.0.0:
 
Invalid SQL:
CREATE TABLE VB lgv (
                          id int(7) unsigned NOT NULL auto_increment,
                          ipaddress VARCHAR(25) NOT NULL default '0.0.0.0',
                            firstaccess INT UNSIGNED NOT NULL DEFAULT '0',
                            views INT(4) NOT NULL DEFAULT '0',
                            lastactivity INT UNSIGNED NOT NULL DEFAULT '0',
                          PRIMARY KEY (id),
                          KEY indexs (ipaddress,views,lastactivity)
                        ) TYPE=MyISAM;
 
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 'lgv (
                          id int(7) unsigned NOT NULL auto_increment,
                          ipaddress VA' at line 1
Error Number  : 1064


Please check that there is not a space set in your table prefix setting.

Ted S 12-27-2009 10:30 PM

Quote:

Originally Posted by SoFresh (Post 1939775)
Thanks! Installed!

BTW, it would be awesome if you could set it so that guests could only see the first post of a thread or something like that!

Great idea! This is something I can definitely play with for an update.

gyaronn 12-27-2009 10:51 PM

Quote:

Originally Posted by Ted S (Post 1939786)
Please check that there is not a space set in your table prefix setting.

what do you mean can you explane sorry for the ignorance :-(

Ted S 12-27-2009 11:54 PM

1 Attachment(s)
Quote:

Originally Posted by gyaronn (Post 1939808)
what do you mean can you explane sorry for the ignorance :-(

Give this versiona shot...

merk_aus 12-28-2009 01:39 AM

Thanks for this mod exactly what I was looking for my site last night had like 20 members online and 80 guests watching all the guests they were just reading all of the threads and leaving and so this is perfect.

AzzidReign 12-28-2009 03:21 AM

Quote:

Originally Posted by merk_aus (Post 1939915)
Thanks for this mod exactly what I was looking for my site last night had like 20 members online and 80 guests watching all the guests they were just reading all of the threads and leaving and so this is perfect.

But then why make people register if they are just going to be an empty account?

I have over 1000 guests on and 200 members on at almost all points during the day. If I come to a site that makes me register...I click the back button and find another site with the same information. I guess some of you guys don't realize, but the internet is full of free information...and most of the time they can find that same info elsewhere.

I would rather have people register because they want to, not because they are forced to. That creates a more quality based forum, rather than quantity with a bunch of empty accounts filling up the database.

But hey, what do I know...alexa rank: 15k, ~90k members, 40k uniques daily...:rolleyes:

Ted S 12-28-2009 03:41 AM

Quote:

Originally Posted by AzzidReign (Post 1939988)
But then why make people register if they are just going to be an empty account?

I have over 1000 guests on and 200 members on at almost all points during the day. If I come to a site that makes me register...I click the back button and find another site with the same information. I guess some of you guys don't realize, but the internet is full of free information...and most of the time they can find that same info elsewhere.

I would rather have people register because they want to, not because they are forced to. That creates a more quality based forum, rather than quantity with a bunch of empty accounts filling up the database.

But hey, what do I know...alexa rank: 15k, ~90k members, 40k uniques daily...:rolleyes:

Please don't use your statistics to get into whether or not this mod is good, everything is dependant on what works best for the individual site/ community and one can find sites far bigger using this mod, or non-forums using the same type of approach but that's meaningless if it's not right for your site.

In any event, this mod exists because people requested it, use it and keep using it. Why?

Because while you're correct that it may get empty users, many sites, including the largest communities on the web, have found that when you get someone to sign up you can get them active much more easily than if they simply visit and disappear. Whether it's through email or simply not having a barrier for the user down the road, a member is able to participate and many do. In the few a/b test I've run on this that's been supported -- not in ratios that change the world but enough to be statistically valid and prove that there's a conversion benefit to registration and overall growth.

Initially this mod didn't allow people to block threads from being viewed entirely but that was requested, and added for those that want it. I've never recommended blocking threads at 0 views as I agree, few people will register without seeing any content. Instead I suggest that people allow guests to view many threads targeting just the most active guests who have a much better reason to join. Similarly the register bug message which was the original point of this mod does nothing to stop viewing of content but instead reminds people that they can register -- if you survey forum visitors you discover many don't immediately see the ability to participate or get the value, being able to message them helps.

Of course no one should expect 100% of their members to participate as an active contributor nor would that necessarily be a good thing. Lurkers are a part of the online space but for every person you bring in you have many opportunities to engage them and whether they post down the road or simply return to visit it's adding to the utility of the community.

If this mod doesn't need your forum's needs I certainly wouldn't suggest using it, as with everything here, it's an option for those that want it.

Silencer Groans 12-28-2009 05:03 AM

Thanks! Installed!

gyaronn 12-28-2009 09:06 AM

Quote:

Originally Posted by Ted S (Post 1939841)
Give this versiona shot...

works perfect thanks allot man :-) say if i write 0 in the amount so that ppl have to register emedeatly and they can see any thread will it work?

bullet07 12-28-2009 03:07 PM

haha.. was just looking for this thanks.

AzzidReign 12-28-2009 03:51 PM

Quote:

Originally Posted by Ted S (Post 1940001)
Please don't use your statistics to get into whether or not this mod is good, everything is dependant on what works best for the individual site/ community and one can find sites far bigger using this mod, or non-forums using the same type of approach but that's meaningless if it's not right for your site.

In any event, this mod exists because people requested it, use it and keep using it. Why?

Because while you're correct that it may get empty users, many sites, including the largest communities on the web, have found that when you get someone to sign up you can get them active much more easily than if they simply visit and disappear. Whether it's through email or simply not having a barrier for the user down the road, a member is able to participate and many do. In the few a/b test I've run on this that's been supported -- not in ratios that change the world but enough to be statistically valid and prove that there's a conversion benefit to registration and overall growth.

Initially this mod didn't allow people to block threads from being viewed entirely but that was requested, and added for those that want it. I've never recommended blocking threads at 0 views as I agree, few people will register without seeing any content. Instead I suggest that people allow guests to view many threads targeting just the most active guests who have a much better reason to join. Similarly the register bug message which was the original point of this mod does nothing to stop viewing of content but instead reminds people that they can register -- if you survey forum visitors you discover many don't immediately see the ability to participate or get the value, being able to message them helps.

Of course no one should expect 100% of their members to participate as an active contributor nor would that necessarily be a good thing. Lurkers are a part of the online space but for every person you bring in you have many opportunities to engage them and whether they post down the road or simply return to visit it's adding to the utility of the community.

If this mod doesn't need your forum's needs I certainly wouldn't suggest using it, as with everything here, it's an option for those that want it.

I'm sorry, but from what I've seen on sites, they don't use the feature to bug people to register...they block people from viewing the content and force the user to register. But if you are using it to say, "Hey, look here, you can register, free blah blah blah...." then cool...but as I said, if forcing a user to register is your tactic, then I feel you are turning a lot of people away from the site. Yeah, you might get cool looking registration stats, but the threads and post counts are on a hideous ratio to the number of users register. I can point out examples if you'd like...but if that's not how you think this product should be used, then I agree with you.

tl;dr if you use this to let the user know there is a register option and the benefits to it, then cool. If you use it to make people register after a few pageviews, then your community will not be a quality community (IMHO I guess you can say...I say it due to the sites that I've seen use this).

denman75 12-28-2009 04:28 PM

i got total database error ,

PHP Code:

Database error 
The bullterrierforum database has encountered a problem


--------------------------------------------------------------------------------
 
Please try the following
Load the page again by clicking the Refresh button in your web browser
Open the bullterrierforum.nl home pagethen try to open another page
Click the Back button to try another link
 
The bullterrierforum.nl forum technical staff have been notified of the errorthough you may contact them if the problem persists
 
We apologise for any inconvenience


have no clue whats wrong :(
i used this mod in my previous vb so i sticked to your upgrade install faq
but no luck

Ted S 12-28-2009 04:41 PM

Quote:

Originally Posted by gyaronn (Post 1940200)
works perfect thanks allot man :-) say if i write 0 in the amount so that ppl have to register emedeatly and they can see any thread will it work?

This module is not recommended for 0 settings. If you want to hide your forums from guests use the permissions system which will truly lock them out.

Ted S 12-28-2009 04:44 PM

Quote:

Originally Posted by denman75 (Post 1940566)
i got total database error ,

PHP Code:

Database error 
The bullterrierforum database has encountered a problem

 
--------------------------------------------------------------------------------
 
Please try the following
Load the page again by clicking the Refresh button in your web browser
Open the bullterrierforum.nl home pagethen try to open another page
Click the Back button to try another link
 
The bullterrierforum.nl forum technical staff have been notified of the errorthough you may contact them if the problem persists
 
We apologise for any inconvenience


have no clue whats wrong :(
i used this mod in my previous vb so i sticked to your upgrade install faq
but no luck

What you've copied here is the friendly error - to help you solve this I need the full issue.

Please check your email for the full error (or right click on the page and view the source).

Thanks!

denman75 12-28-2009 04:51 PM

thank your for the fast replay
really apriciate it

this is my code i get

PHP Code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html>
<
head>
    <
title>bullterrierforum Database Error</title>
    <
meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
    <
meta name="ROBOTS" content="NOINDEX,NOFOLLOW,NOARCHIVE" />
    <
style type="text/css">
    <!--    
    
body background-colorwhitecolorblack; }
    
#container { width: 400px; }
    #message   { width: 400px; color: black; background-color: #FFFFCC; }
    #bodytitle { font: 13pt/15pt verdana, arial, sans-serif; height: 35px; vertical-align: top; }
    
.bodytext  font8pt/11pt verdanaarialsans-serif; }
    
a:link     font8pt/11pt verdanaarialsans-serifcolorred; }
    
a:visited  font8pt/11pt verdanaarialsans-serifcolor#4e4e4e; }
    
-->
    </
style>
</
head>
<
body>
<
table cellpadding="3" cellspacing="5" id="container">
<
tr>
    <
td><img src="http://bullterrierforum.nl/bullforums/image.php?type=dberror" alt="Database Error" width="48" height="48" /></td>
    <
td id="bodytitle" width="100%">Database error</td>
</
tr>
<
tr>
    <
td class="bodytext" colspan="2">The bullterrierforum database has encountered a problem.</td>
</
tr>
<
tr>
    <
td colspan="2"><hr /></td>
</
tr>
<
tr>
    <
td class="bodytext" colspan="2">
        
Please try the following:
        <
ul>
            <
li>Load the page again by clicking the <a href="#" onclick="window.location = window.location;">Refresh</abutton in your web browser.</li>
            <
li>Open the <a href="/">bullterrierforum.nl</ahome pagethen try to open another page.</li>
            <
li>Click the <a href="javascript:history.back(1)">Back</abutton to try another link.</li>
        </
ul>
    </
td>
</
tr>
<
tr>
    <
td class="bodytext" colspan="2">The bullterrierforum.nl forum technical staff have been notified of the errorthough you may <a href="mailto:dbmaster@example.com">contact them</a> if the problem persists.</td>
</
tr>
<
tr>
    <
td class="bodytext" colspan="2">&nbsp;<br />We apologise for any inconvenience.</td>
</
tr>
</
table>


<!--
Database error in vBulletin 4.0.0:

Invalid SQL:

        
SELECT thread.threadidthread.title
            
        FROM thread 
AS thread
        
        WHERE forumid 
41
            
AND visible 1
            
AND open &lt;&gt10
            
            
        
AND lastpost &gt
        
ORDER BY lastpost
        LIMIT 1
;

MySQL Error   You have an error in your SQL syntaxcheck the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY lastpost
        LIMIT 1' 
at line 11
Error Number  
1064
Request Date  
MondayDecember 28th 2009 07:50:12 PM
Error Date    
MondayDecember 28th 2009 07:50:12 PM
Script        
http://bullterrierforum.nl/bullforums/showthread.php?t=9427&amp;goto=nextnewest
Referrer      http://bullterrierforum.nl/bullforums/portaal-nieuws/9427-buldog-voor-david-beckham.html
IP Address    82.101.235.244
Username      
Niet geregistreerd
Classname     
vB_Database
MySQL Version 

-->


</
body>
</
html


Ted S 12-28-2009 05:10 PM

Interesting. That error has nothing to do with this mod that I can see... when you turn it off does this go away immediately?

denman75 12-28-2009 05:16 PM

yes its gone if i disable or remove the plug in

its really strange it looks like its conflicting with something or so
i really have no clue

ps sorry for my late replay ,since i am online here
but i use translator ,my English is not that good
sorry

Ted S 12-28-2009 05:20 PM

what settings are you using for this modification (in your admin cp --> settings --> limited guest viewing system)

denman75 12-28-2009 05:30 PM

here its it

[img=http://www3.picturepush.com/photo/a/2696106/220/2696106.jpg]

Ted S 12-28-2009 05:33 PM

And what other mods are you running?

denman75 12-28-2009 05:43 PM

Add additional css to your style 1.0 This just adds a new additional_css.css template to your pages for custom css

Add Default Stylevars 1.0 Adds default stylevars directly under Styles & Templates

AME 3 3.0.0 Beta 2a Autom Media Embedder and Video Extender disabled

BBR - Google Analytics Addon 1.02 Adds Google analytics code before the</body> tag.

BBR - Resize Images with lytebox v3.22 1.0 Will resize images posted with [img] and images in signatures

BBR - Welcome Thread On Register 2.0 Creates a welcome thread when a new user registers

DesiHearts Latest Posters 1.1.0 Displays Latest Posts on Forumhome

Forum Icons 1.0 New option when editing a forum to include an icon.

Limited Guest Viewing 2.0.5 Limit guests to view a set number of threads before being locked out.

Members who have Visited 4.0.3 Display members who have visited the forum.

Separate Sticky and Normal Threads 4.0.1 Separate Sticky and Normal Threads

vBH - Add new tabs 1.1 1.1 This plugin adds new tabs to the main navbar

vBSEO 3.5.0 RC1 PL1 vBulletin SEO

vbStopForumSpam 0.61 This plugin allows you to check new registrations against www.StopForumSpam.com

vBulletin Blog 4.0.0 Personal web log, integrated with vBulletin.

vBulletin CMS

Alibass 12-28-2009 06:33 PM

Ted S

I have run your mod before on earlier versions and thank you for updating it to vb4.

I seem to be having a issue with the cron routine. When I run the lgv_cleardb as run now, it does not clear the db nor does it make a log entry when I check the scheduled task log. I have the enable db logging on [yes].

The mod is working properly for the number of posts to read. I just cant manully clear the db.

Any suggestions?

Alibass

Ted S 12-28-2009 09:00 PM

Quote:

Originally Posted by Alibass (Post 1940705)
Ted S

I have run your mod before on earlier versions and thank you for updating it to vb4.

I seem to be having a issue with the cron routine. When I run the lgv_cleardb as run now, it does not clear the db nor does it make a log entry when I check the scheduled task log. I have the enable db logging on [yes].

The mod is working properly for the number of posts to read. I just cant manully clear the db.

Any suggestions?

Alibass

Shoot! I need to post the updated version of this file. Look for it shortly.

Ted S 12-28-2009 09:28 PM

Small bug fix released as 2.0.6. There is no need to update unless you had problems installing.

Alibass 12-28-2009 09:28 PM

Quote:

Originally Posted by Ted S (Post 1940870)
Shoot! I need to post the updated version of this file. Look for it shortly.

Thanks Ted S........

Ted S 12-28-2009 09:29 PM

Quote:

Originally Posted by Alibass (Post 1940705)
Ted S

I have run your mod before on earlier versions and thank you for updating it to vb4.

I seem to be having a issue with the cron routine. When I run the lgv_cleardb as run now, it does not clear the db nor does it make a log entry when I check the scheduled task log. I have the enable db logging on [yes].

The mod is working properly for the number of posts to read. I just cant manully clear the db.

Any suggestions?

Alibass

Please upload the latest version of the mod and try to manually run the cronfile. Let me know if it works.

Alibass 12-28-2009 09:40 PM

Quote:

Originally Posted by Ted S (Post 1940891)
Please upload the latest version of the mod and try to manually run the cronfile. Let me know if it works.

No, sorry Ted S it is still not working. I reinstalled both files with overwrite, ran the job manually and still nothing. I checked my database and the IP's are still there.

Ted S 12-28-2009 11:26 PM

When you run it manually how many days it it saying it cleared for? And did it use to clear properly (the script wasn't changed goin to 4.0 except to add the logging tool)?

Alibass 12-28-2009 11:46 PM

Quote:

Originally Posted by Ted S (Post 1940980)
When you run it manually how many days it it saying it cleared for? And did it use to clear properly (the script wasn't changed goin to 4.0 except to add the logging tool)?

Ted S

If you have mod set at never it shows 10 days and accordingly for what other days you set it for. It does not log anything in the scheduled task logs nor does it clear the db of IP addresses.

When I used your mod in previous versions of vB I never used the db for recording IP's, only used the cookie setting.

Ted S 12-29-2009 01:23 AM

If you just enabled the db logging that would be why it doesn't clear anything -- you can reduce the setting to 1 days and check it tomorrow but it should run fine.

Alibass 12-29-2009 04:32 AM

Quote:

Originally Posted by Ted S (Post 1941090)
If you just enabled the db logging that would be why it doesn't clear anything -- you can reduce the setting to 1 days and check it tomorrow but it should run fine.

The cron routine is enabled active and for log entries. The routine was set to run at 12:05 am on 29DEC09 for 1 day which it did and it still did not clear the db or make a log entry. The IP addresses are still in the db and blocking the viewing of my sites threads as a guest.

Ted S 12-29-2009 04:48 AM

Alibass, are any of the entries in the database older than 24 hours so that they should have been cleared?

The module reports back to the logging feature so I will have to look into why a record isn't created however logging does not impact whether or not it clears the data...

Ted S 12-29-2009 04:54 AM

1 Attachment(s)
This version will update the log.

cooltechie 12-29-2009 05:12 PM

Quote:

Originally Posted by SoFresh (Post 1939775)
Thanks! Installed!

BTW, it would be awesome if you could set it so that guests could only see the first post of a thread or something like that!

+1

we would like to give this a try.


All times are GMT. The time now is 10:55 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01802 seconds
  • Memory Usage 1,941KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (3)bbcode_php_printable
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete