vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Certain number of thread views, until guest are forced to sign up (https://vborg.vbsupport.ru/showthread.php?t=64755)

pjdaley 05-05-2004 03:37 AM

Certain number of thread views, until guest are forced to sign up
 
sometimes i see many guests, people that jsut come and read... and blah....

i wonder if theres anyone that would make a hack, that would limit a guest of seeing threads after a certain amount. So lets say after 3-5 threadsviewed, they are forced to sign up.

is this possible guys?

leitel 05-05-2004 01:34 PM

Interesting idea. I also see merit in this hack idea. :)

sabret00the 05-05-2004 03:21 PM

this is a good hack, i planned to do this to do this with a few pages on my site, however with threads you wouldn't really wanna alienate search engines.

pjdaley 05-05-2004 10:36 PM

gently...gently... bump...

pjdaley 05-06-2004 07:10 PM

bump

pjdaley 05-07-2004 08:05 PM

bump :disappointed:

GamerJunk.net 05-07-2004 09:21 PM

Yea wouldn't it hurt search spiders?

Zachery 05-07-2004 10:45 PM

Yes it would ^^

insanctus 05-07-2004 11:02 PM

I make people sign up to see anything :) , I gave my search engines new id's so they are no longer a 'guest'

pjdaley 05-08-2004 05:54 PM

lol so guys, is that possible?

pjdaley 06-09-2004 01:43 AM

bump

insanctus 06-09-2004 01:48 AM

Quote:

Originally Posted by pjdaley
lol so guys, is that possible?

Anything is 'possible'

The trouble with the way you wish to do it, you would have to store ip's now remember anyone on dail up changes ip's so if they can read 10, then tomorrow they can read 10 more.

Plus the database of ip's you would have to log in the end is just not worth it IMO

eoc_Jason 06-09-2004 04:24 PM

this actually wouldn't be too difficult, if you wanted to do it in a loose fashion...

1. Guests browse via a unique session, so just allow X page views per guest session... This would be the quickest, fastest, easiest way, however it would mean if they came back later they could browse X more pages. (But I think most would get the hint the first time they encounter the Please Register page).

2. Bots/spiders are tracked and recognized in vB3, so just exclude them from the limitation.


Okay, but now if you didn't want to do the simple session method, then you would need to start tracking via a cookie and/or IP method, which, again isn't all that difficult, but it could build up to a large amount of data depending on how many guests browse your forum. You would need to purge off old data after a certain amount of time.

In the long run, I find that people sign up for my forum simply because of the amount of good information they find, and they would like to ask their own questions and such. Also, I have viewing/downloading attachments disabled for guests, so that is also a little encourgement. ;)

pjdaley 06-09-2004 11:17 PM

that sounds pretty good, thru the simple mode...

eoc_Jason 06-10-2004 03:01 AM

Just add some extra counter field in the session table, and have the function that manages sessions increment the counter for guests. Then when the number is reached, just have it redirect to the registration page with an additional message.

I don't know how bots are handled, you will have to dig around through the code for that.

pjdaley 06-11-2004 08:20 PM

only problem is i dont know how to code :o :speechless:


All times are GMT. The time now is 04:03 AM.

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.01811 seconds
  • Memory Usage 1,736KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (16)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete