In Progress

Joomla/Hwdvideoshare/Alphauserpoints php upload

I have a Joomla website with Alpha User Points and Hwd Video Share installed. I have set the rule for alpha userpoints upload video rule that -1 point(s) from the user when an upload is made but I need to restrict the user from uploading a video if he does not have any Alpha User Points. You would need to be able to edit the [url removed, login to view] file in hwd video share to check the database if the user has points and allow the upload script to continue if points are greater than zero and restrict access to upload function if the user does not have points.

So far I have this script which checks the database for points correctly and restricts the upload outputting an access message ( but it does not continue the upload if the user does have points available):

$db->SetQuery( 'SELECT count(*) FROM #__alpha_userpoints WHERE points = '.$my->id );

$aupCount = $db->loadResult();

if ($aupCount == 0) {

hwd_vs_tools::infomessage(4, 0, _HWDVIDS_TITLE_NOACCESS, _HWDVIDS_ALERT_UPLD_NOT_AUTHORIZED, "[url removed, login to view]", 0);

return;

}

else

if ($aupCount > 0) {continue;}

Skills: AJAX, Joomla, PHP, Video Upload

See more: alphauserpoints rule, alphauserpoints hwdvideoshare, alphauserpoints video share, video restrict alphauserpoints, video share alphauserpoints, hwdvideoshare alphauserpoints, ajax upload, video alpha, function check php, ajax php edit, ajax edit database, png php, php ajax function, allow upload joomla, website upload function, video count, ajax return, alpha database, php function ajax, script file share, video uploading script php, check video function, script upload video php, joomla video script, upload video website php

About the Employer:
( 3 reviews ) London, United Kingdom

Project ID: #1108341

Awarded to:

khanhhuyna

Not sure why you need a developer to work this for you once i think you're good enough to do this yourself. Anyway, i'm ready to help you to do this task. Thanks.

$80 USD in 2 days
(98 Reviews)
6.6

2 freelancers are bidding on average $60 for this job

Rejoom

Hello, Select me for this task. For mare detail check my PM. Thanks, Rejoom

$40 USD in 5 days
(0 Reviews)
0.0