How to Check if a User is Logged in When Uploading Videos in Clip-Bucket v2

Hello,

Recently, I client of mine reported to me this issue Clip-Bucket had: any user could upload content, no matter if they were logged in or not. I think it’s essential for all of you to apply this fix to your CB powered web sites. I have tested this in version >= 2.2.

Difficulty Level: Easy

1. Open upload.php, located in ./*

2. Search for:

require 'includes/config.inc.php';

3. After that line, add the following:

$userquery->logincheck();

4. Save and Upload.

You’re done! You can now go see that the bug is gone. This should be fixed in the upcoming CB version, at least I hope :). Any question, comment, problem, please do not hesitate to contact me.

Best Regards,

Richi

Owner of Juapo2Services

Looking for quality ClipBucket hosting? Try out Arvixe and you won’t be disappointed.
Tags: , , , , , , , , , , | Posted under ClipBucket | RSS 2.0

Author Spotlight

Richi González

Richi González

I started programming when I was 12. I'm a Developer and have been working with the Clip-Bucket script since it came out. I became a Liaison between Arvixe and Clip-Bucket, so I am here to assist you with anything you need regarding Clip-Bucket or any particular computer-related subject you need. Best Regards, Richi

One Comment on How to Check if a User is Logged in When Uploading Videos in Clip-Bucket v2

  1. Tim says:

    Great, Thank you for this fix. I was searching for a fix. Worked the first time around. Thank you.

Leave a Reply

Your email address will not be published. Required fields are marked *


7 + 9 =

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>