
Added : proper video files custom functions Fixed : HTML in phrases Fixed : Slashes in email templates Updated : Search Engine Added : Count only option in get contacts Updated : Related videos Fixed : Description New lines Fixed : Install lock Fixed : RSS Fixed : Category based search Fixed : Edit video Fixed : Friend Request
76 lines
No EOL
1.6 KiB
JavaScript
76 lines
No EOL
1.6 KiB
JavaScript
// JavaScript Document
|
|
|
|
|
|
var page = "./upgrader.php";
|
|
|
|
function import_users()
|
|
{
|
|
$("#the_results").html("<strong>Step 2/6 - Importing Users , Please wait while ClipBucket imports users....</strong>");
|
|
$.post(page,
|
|
{
|
|
"upgrade" : "yes",
|
|
"step" : "import_users",
|
|
},
|
|
function(data)
|
|
{
|
|
$("#the_results").append(data);
|
|
},'text');
|
|
}
|
|
|
|
|
|
function import_vids()
|
|
{
|
|
$("#the_results").html("<strong>Step 3/6 - Importing Videos , Please wait while ClipBucket imports videos....</strong>");
|
|
$.post(page,
|
|
{
|
|
"upgrade" : "yes",
|
|
"step" : "import_video",
|
|
},
|
|
function(data)
|
|
{
|
|
$("#the_results").append(data);
|
|
},'text');
|
|
}
|
|
|
|
function import_comments()
|
|
{
|
|
$("#the_results").html("<strong>Step 4/6 - Importing Comments , Please wait while ClipBucket imports video comments....</strong>");
|
|
$.post(page,
|
|
{
|
|
"upgrade" : "yes",
|
|
"step" : "import_comments",
|
|
},
|
|
function(data)
|
|
{
|
|
$("#the_results").append(data);
|
|
},'text');
|
|
}
|
|
|
|
|
|
function import_configs()
|
|
{
|
|
$("#the_results").html("<strong>Step 5/6 - Updating Website Configs , Please wait while ClipBucket updates video configurations....</strong>");
|
|
$.post(page,
|
|
{
|
|
"upgrade" : "yes",
|
|
"step" : "update_configs",
|
|
},
|
|
function(data)
|
|
{
|
|
$("#the_results").append(data);
|
|
},'text');
|
|
}
|
|
|
|
function final()
|
|
{
|
|
$("#the_results").html("<strong>Step 6/6 - Finishing Upgrader...Please wait..</strong>");
|
|
$.post(page,
|
|
{
|
|
"upgrade" : "yes",
|
|
"step" : "finalize_upgrade",
|
|
},
|
|
function(data)
|
|
{
|
|
$("#the_results").append(data);
|
|
},'text');
|
|
} |