-
Re: [UberCMS]AutoUpdate WebBuild - Updated with SQL
-
Re: [UberCMS]AutoUpdate WebBuild - Updated with SQL
Quote:
Originally Posted by
simoneihg
Thanks now it works :P
Good.....
-
Re: [UberCMS]AutoUpdate WebBuild - Updated with SQL
Aww well, I don't need this ;p I can just change it myself.
-
Re: [UberCMS]AutoUpdate WebBuild - Updated with SQL
Quote:
Originally Posted by
iPixelHotel
Aww well, I don't need this ;p I can just change it myself.
sure u can. who can't?
but look at it this way... ur mom drops u off at preschool in the morning just before Habbo changes its web build.... now ur site is going to look messed up until u get home and change it....
automation is the better way to go.... now ur site will always look good....
-
Re: [UberCMS]AutoUpdate WebBuild - Updated with SQL
Quote:
Originally Posted by
leenster
sure u can. who can't?
but look at it this way... ur mom drops u off at preschool in the morning just before Habbo changes its web build.... now ur site is going to look messed up until u get home and change it....
automation is the better way to go.... now ur site will always look good....
iPixelHotel is just a little prick who has wreck other peoples work because he can't do this himself. Just ignore him...
-
Re: [UberCMS]AutoUpdate WebBuild - Updated with SQL
Nice, help alot of people, including me.
-
Re: [UberCMS]AutoUpdate WebBuild - Updated with SQL
Quote:
Originally Posted by
FlyCoder
iPixelHotel is just a little prick who has wreck other peoples work because he can't do this himself. Just ignore him...
Yeah i know, i was just having a little fun with him....
-
Re: [UberCMS]AutoUpdate WebBuild - Updated with SQL
Someone has errors when habbo.com change their webbuild shit! Go-a-head
Fix:
go to your webbuild.php and edit this code:
Quote:
function get_between($input, $start, $end)
{
$substr = substr($input, strlen($start)+strpos($input, $start), (strlen($input) - strpos($input, $end))*(-1));
return $substr;
}
to
Quote:
function get_between($content,$start,$end){
$r = explode($start, $content);
if (isset($r[1])){
$r = explode($end, $r[1]);
return $r[0];
}
return '';
}
Then it will work 100%
-
Re: [UberCMS]AutoUpdate WebBuild - Updated with SQL
It works! Thanks you so much ! :D
-
Re: [UberCMS]AutoUpdate WebBuild - Updated with SQL
Quote:
Originally Posted by
NewLights
Someone has errors when habbo.com change their webbuild shit! Go-a-head
Fix:
go to your webbuild.php and edit this code:
to
Then it will work 100%
Nice one, it actually works now. :)
-
Re: [UberCMS]AutoUpdate WebBuild - Updated with SQL
Quote:
Originally Posted by
NewLights
Someone has errors when habbo.com change their webbuild shit! Go-a-head
Fix:
go to your webbuild.php and edit this code:
to
Then it will work 100%
Cool, thanks.... haven't had any problems here but i'm gonna change my function to your function
-
Re: [UberCMS]AutoUpdate WebBuild - Updated with SQL
I have got a problem,
PHP Code:
uberCore::GetWebBuild() in C:\xampp\htdocs\global.php on line 95
I just paste the php code under like you sat.
Code:
define('FORCE_MAINTENANCE', ((uberCore::GetMaintenanceStatus() == "1") ? true : false));
define('WEBBUILD', uberCore::GetWebBuild());
Never mind i forgot to save the file...
-
Re: [UberCMS]AutoUpdate WebBuild - Updated with SQL
Quote:
Originally Posted by
ladot1001
I have got a problem,
PHP Code:
uberCore::GetWebBuild() in C:\xampp\htdocs\global.php on line 95
I just paste the php code under like you sat.
Code:
define('FORCE_MAINTENANCE', ((uberCore::GetMaintenanceStatus() == "1") ? true : false));
define('WEBBUILD', uberCore::GetWebBuild());
Never mind i forgot to save the file...
Classic:lol:
-
Re: [UberCMS]AutoUpdate WebBuild - Updated with SQL
ERROR: Parse error: syntax error, unexpected T_VARIABLE in C:\xampp\htdocs\inc\class.tpl.php on line 34 help?
and on line 34 is:
$this->SetParam('web_build_str', '51-BUILD45 - 18.05.2010 16:16 - uk');
Help?
-
Re: [UberCMS]AutoUpdate WebBuild - Updated with SQL
Quote:
Originally Posted by
robertm3363
ERROR: Parse error: syntax error, unexpected T_VARIABLE in C:\xampp\htdocs\inc\class.tpl.php on line 34 help?
and on line 34 is:
$this->SetParam('web_build_str', '51-BUILD45 - 18.05.2010 16:16 - uk');
Help?
im guessing that u missed the ; at the end of $this->SetParam('web_build', WEBBUILD);
on line 33
-
Re: [UberCMS]AutoUpdate WebBuild - Updated with SQL
Now everything's sticking to the left of the page for me.. Maybe I did something wrong.. Or my database just hates me >.>
-
Re: [UberCMS]AutoUpdate WebBuild - Updated with SQL
help it says to be Cron Error
Could not execute cron job 'webbuild.php': could not locate script file.
Script execution was aborted. We apoligize for the possible inconvenience. If this problem is persistant, please contact an Administrator. how do i fix dat!?
-
Re: [UberCMS]AutoUpdate WebBuild - Updated with SQL
'.' Habbo changed paths remmeber??
-
Re: [UberCMS]AutoUpdate WebBuild - Updated with SQL
yer didnt they remove the v2 maps?
-
Re: [UberCMS]AutoUpdate WebBuild - Updated with SQL
Quote:
Originally Posted by
shaina000
Now everything's sticking to the left of the page for me.. Maybe I did something wrong.. Or my database just hates me >.>
Habbo removed the v2 folders, this script will still work though. you just have to find the v2 fix.
Quote:
Originally Posted by
ZackJarvis1
help it says to be Cron Error
Could not execute cron job 'webbuild.php': could not locate script file.
Script execution was aborted. We apoligize for the possible inconvenience. If this problem is persistant, please contact an Administrator. how do i fix dat!?
you have to make sure the webbuild.php is in inc/cron_scripts
Quote:
Originally Posted by
ntl200
yer didnt they remove the v2 maps?
yes they did, but like i said this will still work
-
Re: [UberCMS]AutoUpdate WebBuild - Updated with SQL
so how would i fix this error please somebody msg me back on here will help me alot!!! Cron Error
Could not execute cron job 'webbuild.php': could not locate script file.
Script execution was aborted. We apoligize for the possible inconvenience. If this problem is persistant, please contact an Administrator.
---------- Post added at 02:38 AM ---------- Previous post was at 02:31 AM ----------
it is any other sulitions?
-
Re: [UberCMS]AutoUpdate WebBuild - Updated with SQL
Quote:
Originally Posted by
ZackJarvis1
so how would i fix this error please somebody msg me back on here will help me alot!!! Cron Error
Could not execute cron job 'webbuild.php': could not locate script file.
Script execution was aborted. We apoligize for the possible inconvenience. If this problem is persistant, please contact an Administrator.
---------- Post added at 02:38 AM ---------- Previous post was at 02:31 AM ----------
it is any other sulitions?
you have to make sure u did this right
create a php file named WebBuild.php and put this in it.
PHP Code:
<?php
if (!defined('UBER') || !UBER)
{
exit;
}
function get_between($input, $start, $end)
{
$substr = substr($input, strlen($start)+strpos($input, $start), (strlen($input) - strpos($input, $end))*(-1));
return $substr;
}
$content = file_get_contents('http://habbo.com/');
$webbuild = get_between($content, "http://images.habbo.com/habboweb/", "/web-gallery");
dbquery("UPDATE site_config SET webbuild = '$webbuild' ");
?>
save that file in inc/cron_scripts
-
Re: [UberCMS]AutoUpdate WebBuild - Updated with SQL
ok now i got it up wat about this the image's are still messed up look. rangohotel.no-ip.org
-
Re: [UberCMS]AutoUpdate WebBuild - Updated with SQL
try my webbuild fix, i think that should help.
-
Re: [UberCMS]AutoUpdate WebBuild - Updated with SQL