How to Add Authentication Check to Any Clip-Bucket v2 Page

Written by Richi González Thursday, 23 August 2012

Hello,

Did you know it is possible to block non authenticated users from going to a specific page of your Clip-Bucket powered website? Well yeah! You can redirect non authenticated users to the sign up page automatically if you set this short code in your pages.

Difficulty level: Easy

1.  Open the PHP file of any of the pages you would like to prevent guests from entering.

2. After loading the config file, usually something like this:

require 'includes/config.inc.php';

3. Add the following code:

$userquery->logincheck();

4. Save and Upload.

There you go! Users will now see the sign up page if they’re not authenticated. If you have any question, just hit me up with a comment below.

Best Regards,

Richi

Owner of Juapo2Services.com

Looking for quality ClipBucket Web Hosting? Look no further than Arvixe Web Hosting!



2 Comments

  1. Mark Lowe   |  Monday, 15 October 2012 at 7:20 am

    This website was… how do you say it? Relevant!

    ! Finally I have found something which helped me.
    Cheers!

  2. Margery   |  Thursday, 29 November 2012 at 8:26 pm

    Great web site. Plenty of useful info here.
    I am sending it to some friends ans also sharing in delicious.
    And of course, thanks to your effort!

Leave a Reply






+ 9 = seventeen