Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 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.0.1, by Ted S Ted S is offline
Developer Last Online: Nov 2020 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.7.x Rating:
Released: 05-09-2008 Last Update: 12-09-2008 Installs: 686
Uses Plugins Template Edits
 
No support by the author.

Version 2.0 of this addon which allows for IP tracking using a mySQL database has been released. This is an optional feature which is disabled by default.


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.


Modifications/ Instructions:
Template edits: 1
Plugins: 1 (adds 1 template and several settings)
SQL Queries: 2 [1 insert/update] (optional)

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.

Search Engine Bots (Spiders):

This plugin is intended to use cookies as a result few if any bots will be impacted when it comes to spidering your site [bots do not generally use cookies]. Users with IP logging enabled face more potential impact from spiders. For a full explanation of the impact on bots please read the install file. Questions about this issue should be asked after the install file will be read otherwise responses will direct you to read the file.

IP/ Database Logging:
As of version 2.0 this addon now allows for IP logging via mySQL instead of just using cookies. IP logging tracks visitors by IP address stopping issues associated with cookie clearing making the system more secure. This is optional and is turned off by default.




There are 3 possible downsides of this option you should be aware of.
  1. The system adds an additional query and update every time a guest views a thread which adds to your server load.
  2. Some users on ISPs like AOL share IPs and could be forced to register without being able to access any threads.
  3. While spiders often change IPs and are specifically excluded (by hostmask) from the addon this is not absolute and it is possible they could be blocked. See the install file for more on this.
Welcome headers compatibility:
The Limited Guest Viewing is designed to work with the Welcome Headers System version 3.6 without any conflict. If you are using the notices system in 3.7 there is the possibility of duplicating messages.

Updates
- 12/10/2008 - Bug update to fix issue #2-01
-10/30/2008 - Release of version 2.0 beta
-05/04/2008 - Release of 3.7.0 version

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

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

Quote:
Originally Posted by eglyntine View Post

I have a parenting site and most of my members do not like the fact that anyone can just "lurk" on the site and read about their issues and they don't know who they are. And while *I* know it's the internet and if you are going to post personal stuff on an internet site you might as well take an ad out in the AP but these ppl think that if they have restrictions and private forums then they are safe.

I run into the dilemma do I shut the whole board down to unregistered ppl or do I tell my members to suck up and deal with it? This add-on gives me the opportunity to compromise. I can set it up where certain General forums can be viewed by guests and the other forums with more personal details are kept away from non-registered ppl.

I also have it set up to where after the viewing of one thread it tells the person they need to register to view more and once they have registered we have a welcoming committee that leaves Welcome messages on their visitor page to help break the ice and then we encourage the new members to post an intro in our Introductions forum.

So far since I've put in this add-on and created the Welcoming Committee, 9 out of every 10 ppl that register have become active members. Before the addon there was no reason to register because they could read without having to interact and when I shut it down to unregistered user, they wouldn't come by cause there was nothing to encourage them to want to be a part of the site. It's a good balance you need to find to get ppl to participate and I'm still working on it daily but it is slowly working for me.

Great Add-on Ted, and when used like it's designed to be used it really is very helpful. Thanks again for your work.
Awesome feedback! Thanks so much for sharing that with the addon community and I hope you come back to provide feedback on how this addon can be improved for you in the future.
Reply With Quote
  #203  
Old 12-08-2008, 10:42 AM
Megatr0n Megatr0n is offline
 
Join Date: Jul 2007
Posts: 455
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Ted,

I've tested this hack and it doesn't seem to be working for me.

After I get prompted to register I delete my cookies and when I refresh it allows me to view the thread I originally clicked to view.
Reply With Quote
  #204  
Old 12-08-2008, 04:41 PM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Megatr0n View Post
Hi Ted,

I've tested this hack and it doesn't seem to be working for me.

After I get prompted to register I delete my cookies and when I refresh it allows me to view the thread I originally clicked to view.
Have you enabled ip logging?
Reply With Quote
  #205  
Old 12-08-2008, 08:32 PM
Megatr0n Megatr0n is offline
 
Join Date: Jul 2007
Posts: 455
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ted S View Post
Have you enabled ip logging?
Oops.

Edit: After enabling it. It gives me a db error when users try to open a thread. It just says Database error. Doesn't specify exactly what the error is.
Reply With Quote
  #206  
Old 12-09-2008, 03:59 AM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please view the source of the page to find the error so I can diagnose your issue.
Reply With Quote
  #207  
Old 12-09-2008, 08:12 AM
shervin_dvb shervin_dvb is offline
 
Join Date: May 2008
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<font color="Sienna">Hi All Dear Coder

In Need To Hide text in the post for Guests

Guests can only see 30-50 character in the post
thanx for help me
</font>
Reply With Quote
  #208  
Old 12-09-2008, 12:50 PM
Megatr0n Megatr0n is offline
 
Join Date: Jul 2007
Posts: 455
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ted S View Post
Please view the source of the page to find the error so I can diagnose your issue.
Database error in vBulletin 3.7.4:

Invalid SQL:

SELECT id,views
FROM vb_lgv AS lgv
WHERE lgv.ipaddress = '81.97.205.196';

MySQL Error : Table 'smiggy_gupshupp.vb_lgv' doesn't exist
Error Number : 1146
Request Date : Tuesday, December 9th 2008 @ 09:49:08 AM
Error Date : Tuesday, December 9th 2008 @ 09:49:08 AM
Script : http://www.gupshupp.com/forums/showt...ost&amp;t=8589
Referrer : http://www.gupshupp.com/forums/
IP Address : 81.97.205.196
Username : Unregistered
Classname : vB_Database
MySQL Version :
Reply With Quote
  #209  
Old 12-09-2008, 03:47 PM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by shervin_dvb View Post
Hi All Dear Coder

In Need To Hide text in the post for Guests

Guests can only see 30-50 character in the post
thanx for help me
Sorry but that is not what this addon does.... you will need to find or develop a different hack to accomplish that.
Reply With Quote
  #210  
Old 12-09-2008, 03:49 PM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Megatr0n View Post
Database error in vBulletin 3.7.4:

Invalid SQL:

SELECT id,views
FROM vb_lgv AS lgv
WHERE lgv.ipaddress = '81.97.205.196';

MySQL Error : Table 'smiggy_gupshupp.vb_lgv' doesn't exist
Error Number : 1146
Request Date : Tuesday, December 9th 2008 @ 09:49:08 AM
Error Date : Tuesday, December 9th 2008 @ 09:49:08 AM
Script : http://www.gupshupp.com/forums/showt...ost&amp;t=8589
Referrer : http://www.gupshupp.com/forums/
IP Address : 81.97.205.196
Username : Unregistered
Classname : vB_Database
MySQL Version :
The installer was unable to create a table for storing records. Please create one manually via phpmyadmin, mysql shell or similar.

Code:
CREATE TABLE vb.lgv (
        id smallint(5) 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
Reply With Quote
  #211  
Old 12-09-2008, 08:16 PM
Megatr0n Megatr0n is offline
 
Join Date: Jul 2007
Posts: 455
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ted S View Post
The installer was unable to create a table for storing records. Please create one manually via phpmyadmin, mysql shell or similar.

Code:
CREATE TABLE vb.lgv (
        id smallint(5) 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
What, if I just simply reimport the product file?
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 05:21 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.05038 seconds
  • Memory Usage 2,331KB
  • Queries Executed 25 (?)
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
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete