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 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:19 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.01022 seconds
  • Memory Usage 1,726KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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