Skip to:
Content
Pages
Categories
Search
Top
Bottom

Protecting Forum Content with Digital Access Pass

  • @johnny-rocket

    Member

    I’m trying to protect my forum from non-members. I’m using Digital Access Pass. Their support has told me: “to add custom code at the top of forum.php (under bbpress installation) to look for logged-in state before allowing view access”

    Something like this:

    < ?php

    include_once "/dap/dap-config.php";

    if( !Dap_Session::isLoggedIn() ) {

    header(“Location: /dap/login.php”);

    exit;

    }

    ?>

    Problem is i don’t have a forum.php? They said that “when you access the forum, what’s the first script that gets accessed… that’s the script you need to update” Anyone have any clue where this would go?

    Thanks

  • You must be logged in to reply to this topic.
Skip to toolbar