Skip to:

Limit page views for guests

  • Is there a plugin or a way to code this? This was a feature that helped me increase the number of registered users back then when I was using SMF.

    How can this be achieved with bbPress?

Viewing 5 replies - 1 through 5 (of 5 total)

  • Olaf Lederer


    Limit page views for guests

    there is no plugin, but it’s easy to create (this is just an example not a full working snippet)

    If your visitors are from the same network you might have problems with this.

    $ipkey = $_SERVER['REMOTE_ADDR'];
    if ($_SESSION[$ipkey] >= 10) {
    header("Location: /register.php");

    check also the function on my own forum.

    Thanks Olaf, gonna try both today.

    You could have the browser drop a cookie and then track pageviews through that… then when the user hits a pre-set number of pageviews, a registration page could appear.

    Yeah, but how?

    If you’re looking for a point and click plugin that does this, it doesn’t exist AFAIK. You’d to commission someone to program it…

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Skip to toolbar