vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - Limited Guest Viewing -- Improve community registration rates (https://vborg.vbsupport.ru/showthread.php?t=131985)

Stoneyreef 02-03-2007 03:52 AM

after X number of posts it makes the register unless they clear their cookies, how can i set it up to do the same thing for registered users, unless they go to a different usergroup IE purchase a subscription.

melscamera 02-03-2007 07:09 AM

Works great. thanks again for the great product

http://forums.melscamera.com

midirtrider 02-04-2007 05:35 AM

AWSOME.. thank you..

working perfectly on www.MIdirtriders.com

I will keep an eye on my registration rates and see what happens..
many of my members said they had friends and family that lurk all the time but were not registered users.. hopefully this will help our community grow!!!

thanks again!

mtlcore 02-05-2007 11:15 PM

Installed.

Does any1 have a list of spiders?

Stoneyreef 02-17-2007 12:01 AM

OK let me see if this is correct.
<plugin active="1">

This makes the plugin active for usergroup 1 the guests, so if that assumption is correct could i do like:
<plugin active="1,2">

to make it active for more usergroups?

Ted S 02-17-2007 12:44 AM

Quote:

Originally Posted by Stoneyreef (Post 1184256)
OK let me see if this is correct.
<plugin active="1">

This makes the plugin active for usergroup 1 the guests, so if that assumption is correct could i do like:
<plugin active="1,2">

to make it active for more usergroups?

No. The plugin code is what makes this work for guests -- changing that involves rewriting portions of the php.

Shazz 02-17-2007 02:46 AM

Ted you are very good of what guests view and see
Like welcome headers and this
Did you know that?

Very creative

Ted S 02-17-2007 04:26 AM

Quote:

Originally Posted by Shazz (Post 1184333)
Ted you are very good of what guests view and see
Like welcome headers and this
Did you know that?

Very creative

That's what us marketing people do... spend all our days coming up with ways to get people to register, buy, whatever.

GamesBucket 02-18-2007 03:13 PM

So, about spiders.

I can see it checks if the bots are google|msnbot|zoints|aol|yahoo|slurp
What about the alexa bot?

Whats it called so to add it?
And anyone knows of any other bots?

Thanks

NaughtyStud 02-18-2007 04:21 PM

Very cool hack, thanks so much. :)

treasureman 02-18-2007 04:31 PM

Quote:

Originally Posted by Ted S (Post 1130999)
Correct. This does not impact the archive what so ever.

In my forum is does not allow viewing of archived posts. It shows the post name, but they aren't live links. So users can't click on them.

So either a change was made in the mod or I have some sort of setting in my forum permissions that are different.

Anyway, I like restricting the archive as well as the forums, this is exactly what I need, thank you!

Ted S 02-18-2007 05:12 PM

Quote:

Originally Posted by treasureman (Post 1185374)
In my forum is does not allow viewing of archived posts. It shows the post name, but they aren't live links. So users can't click on them.

So either a change was made in the mod or I have some sort of setting in my forum permissions that are different.

This plugin doesn't add anything to the archive scripts, language files or hooks so it's impossible that it altered how your archive worked.

Ted S 02-18-2007 05:12 PM

Quote:

Originally Posted by GamesBucket (Post 1185328)
I can see it checks if the bots are google|msnbot|zoints|aol|yahoo|slurp
What about the alexa bot?

Whats it called so to add it?
And anyone knows of any other bots?

Since bots don't use cookies the plugin won't affect them. I have a hardcoded list of the major spiders just as a matter of efficiency and for the future incase Google or anyone else decides to add cookie support.

treasureman 02-18-2007 05:31 PM

Quote:

Originally Posted by Ted S (Post 1185405)
This plugin doesn't add anything to the archive scripts, language files or hooks so it's impossible that it altered how your archive worked.

Okay, I know why it does what it does. I have my archive set up to link directly to the "full version" posts by choosing "no" for Display Simple View of Threads in the Admin CP > Search Engine Friendly Archive.

So when someone clicks a link to view a post in the archive page they are taken to the full version of the post. Since it does that, it behaves the same on the archives as it does the full version.

Which is what I need. Why allow someone to view your entire site in the archives if you are going to block them after a few posts in the full version?

So anyone using this mod that also want the archives to be limited viewing for guests, check "no" for Admin CP > Search Engine Friendly Archive > Display Simple View of Threads

Ted S 02-18-2007 06:12 PM

Great tip, thanks for sharing!

Jorrit787 02-18-2007 09:44 PM

Great mod! This may have been mentioned already, but let me just put it out here just in case:

Quote:

Hey there!<br \><br \>It appears that you've exceeded the maximum number of posts you can view, but wait, there's a simple solution. To unlock the forum and continue viewing messages, all you need to do is <a href="{2}">sign up</a> for a free account. The entire process takes just a few minutes so <a href="{2}/register.php">create your account now</a> and view as many threads as you like!<br \><br \>Already a member? Login at the top of this page to stop seeing this message.
Aren't both of those links supposed to point to the registration page? The way it is now only the second one does, and the first one redirects to the forum's home page.

Ted S 02-18-2007 11:16 PM

Yes they are. I will issue an updated version.

Mudvayne 02-19-2007 04:25 AM

Ted is it possible to create an option where we can put all the spiders rather than edit plugin? Or is it possible to read from ./includes/xml/vbulletin_spiders.xml ?

Ted S 02-19-2007 04:26 AM

It's possible but again, spiders don't use cookies so I don't see it as being necessary. Should someone disagree I am more than open to an addon to this addon. ;)

hellmet 02-20-2007 04:07 AM

excellent stuff!! nominated!!

TrIn@dOr 02-20-2007 11:29 AM

updated!

Mudvayne 02-27-2007 03:17 PM

Quote:

Originally Posted by Ted S (Post 1185761)
It's possible but again, spiders don't use cookies so I don't see it as being necessary. Should someone disagree I am more than open to an addon to this addon. ;)

I don't disagree with you cause there is no logic. However if its not that much resource hunger then you can add this function that it 'll collect data from vbulletin_spiders.xml & determine spiders. Thanks in advance :D.

Ted S 02-27-2007 11:42 PM

At this time I have no plans to add that functionality but will be sure and note it on a wish list. Thanks for your input.

HDT 02-28-2007 08:30 AM

Is this will problem with SE spiders,because they always coming in Guest mode,so I think they will have limited page views when crawling our forums.

Ted S 03-01-2007 04:22 AM

Quote:

Originally Posted by HDT (Post 1192501)
Is this will problem with SE spiders,because they always coming in Guest mode,so I think they will have limited page views when crawling our forums.

Bots don't use cookies so no, they won't have problems. If you are afraid a particular bot is using cookies, their is a global exclude list located in the plugin source.

Deadly Assassin 03-04-2007 03:23 AM

http://www.game-image.com/uploads/a0ebbae441.jpg

Works like a charm - thanks!

Dan@TT 03-04-2007 12:11 PM

Installed. Thank you

YLP1 03-04-2007 02:24 PM

Quote:

Originally Posted by Ted S (Post 1149609)
Be sure you have the variable $lgvmessage in your header or navbar template.

I missed this too. Where do you put $lgvmessage in the header?

Ted S 03-05-2007 12:56 AM

Quote:

Originally Posted by YLP1 (Post 1195483)
I missed this too. Where do you put $lgvmessage in the header?

Yes (see the line you quoted).

Tom_S 03-06-2007 02:22 PM

Is it possible that this can work for both guest and registered members of a group? Our website is a paysite that once they pay they are upgraded into another group. Until then they are just a registered member but with no access to forums. We would like to do this so it works for both guests and the usergroup "registered users" to encourge them to upgrade their account to paid status.

Thanks in advance :)

Ted S 03-06-2007 05:42 PM

Quote:

Originally Posted by Tom_S (Post 1197166)
Is it possible that this can work for both guest and registered members of a group? Our website is a paysite that once they pay they are upgraded into another group. Until then they are just a registered member but with no access to forums. We would like to do this so it works for both guests and the usergroup "registered users" to encourge them to upgrade their account to paid status.

Thanks in advance :)

This hack is not intended to do this but you could certainly make it do so. The question to ask yourself if is if you want to let members or guests ever access forums. It sounds like right now people get no access, limited guest viewing is intended to let them view a few threads, then stop them (and bug them until then). If you don't want people _ever_ viewing threads then you should not use this hack but can take advantage of the welcome headers system to show registered members a message about subscribing.

Tom_S 03-06-2007 06:29 PM

Registered paid members do indeed see threads and post and everything. The intent here was to allow both guests and initial registered members the ability to see a certain number of posts and then they will only see your register screen but modified.

I am using your mod on one of my other boards that is not a pay site and it works wonderful. I just would like to use it on my other board. Even if it only worked for registered users Group ID #2 then that would be okay. Anyway to implement that?

Tom_S 03-07-2007 08:47 AM

Ideas here Ted?

I really need this to work for at least just group ID 2.

I went through your code and I don't see how you are doing it and since vB is new to me I will wait until someone that knows can help and since you created this bad boy I am hoping that will be you.

Thanks

Ted S 03-08-2007 02:49 AM

Code:

<if condition="is_member_of($bbuserinfo,2)"> Message for Group 2</if>

Tom_S 03-08-2007 09:43 AM

Where does that go? I tried using something similar yesterday by changing the line:
Quote:

if ($show['guest'] AND !$lvgbot AND $vbulletin->options['lgvon'])
to:
Quote:

if ($bbuserinfo['2'] AND !$lvgbot AND $vbulletin->options['lgvon'])
but that didn't work.

I really appreciate your help on this :)

Ted S 03-09-2007 03:32 AM

$bbuserinfo['2'] doesn't do much of anything ;)

Try

PHP Code:

$membergroups fetch_membergroupids_array($vbulletin->userinfo);
if (
in_array('2'$membergroups) AND !$lvgbot AND $vbulletin->options['lgvon']) 


Tom_S 03-09-2007 08:44 AM

Those changes made it work for the initial test. I will do further testing later today. With that in mind do you realize the potential for this mod? You could basically set it up to control campains over any usergroup setup. Wow! Great job my friend. Great job indeed. :)

milsirhc 03-10-2007 07:41 AM

works great! Good to have abit of teaser for the guest.. let see how it goes!

ArabSQuad 03-10-2007 10:52 AM

Awesome ..

* installed :)

thanks alot

sdebank 03-10-2007 06:41 PM

Is it possible to allow guests to only see posts that are x amount of hours old. Thus guests wanting to see the latest news/posts will have to register/sign-in.


All times are GMT. The time now is 09:15 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.01486 seconds
  • Memory Usage 1,830KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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