re: [PhoenixPHP][Emu][MySQL 5.5 +] HomePremiumCMS
Quote:
Originally Posted by
azaidi
Make a Public $webbuild; in core and then use something like this:
if(empty($this->webbuild)){
..
return $thecodeyougot
} else {
return $this->webbuild;
}
That will only return it once, althought it has to check everytime you refresh the page so it will still be pretty slow.
Know I have placed the automatic webbuild script in the client. I'l try it ;)
But people. Should I include vBulletin in homepremiumcms? I don't know :p. It makes the cms much bigger.
re: [PhoenixPHP][Emu][MySQL 5.5 +] HomePremiumCMS
Quote:
Originally Posted by
PremiumEye
Know I have placed the automatic webbuild script in the client. I'l try it ;)
But people. Should I include vBulletin in homepremiumcms? I don't know :p. It makes the cms much bigger.
Just upload it apart and give your users instructions on how to add it
re: [PhoenixPHP][Emu][MySQL 5.5 +] HomePremiumCMS
Your client stucks on 33% because you SWF's are not 100%. I have tried it. And I get this. :)
re: [PhoenixPHP][Emu][MySQL 5.5 +] HomePremiumCMS
Premium, i'm using Google Chrome ^^
re: [PhoenixPHP][Emu][MySQL 5.5 +] HomePremiumCMS
People, There is coming an new staff panel! With the old style. But with more things! I don't going to tell about it anymore :D.
re: [PhoenixPHP][Emu][MySQL 5.5 +] HomePremiumCMS
To be honest your just editing PhoenixPHP so Your also doing something wrong also
re: [PhoenixPHP][Emu][MySQL 5.5 +] HomePremiumCMS
Quote:
Originally Posted by
GayPride
To be honest your just editing PhoenixPHP so Your also doing something wrong also
Yea He used it as a base... He did a major edit, and a few bit of recoding, he even added homes all working. So IMO he can rename :/:, Just like Hobba ...
re: [PhoenixPHP][Emu][MySQL 5.5 +] HomePremiumCMS
Quote:
Originally Posted by
GayPride
To be honest your just editing PhoenixPHP so Your also doing something wrong also
I do nothing wrong ;)? You can't even see it is PhoenixPHP. At least, Thats is what some people say. And I replace all the code. In principle, it is (almost) a completely different cms :)
re: [PhoenixPHP][Emu][MySQL 5.5 +] HomePremiumCMS
as i can see is that phoenixphp has stoped being developed so it doesent mather if he changes name of it to something else and i have keept the HomePremiumCMS footer on my Hotel because im not one of these people that removes the footer :)
re: [PhoenixPHP][Emu][MySQL 5.5 +] HomePremiumCMS
If you don't want to check for the webbuild the whole time you could do something like
if(!isset($_SESSION['webbuild'])){
define webbuild code
$_SESSION['webbuild'] = $webbuild;
}
return $_SESSION['webbuild'];
__
Just trying to give you ideas :p
re: [PhoenixPHP][Emu][MySQL 5.5 +] HomePremiumCMS
Quote:
Originally Posted by
azaidi
If you don't want to check for the webbuild the whole time you could do something like
if(!isset($_SESSION['webbuild'])){
define webbuild code
$_SESSION['webbuild'] = $webbuild;
}
return $_SESSION['webbuild'];
__
Just trying to give you ideas :p
Yes, But there must be first created an SESSION. and it doesn't. What makes an error. :)
re: [PhoenixPHP][Emu][MySQL 5.5 +] HomePremiumCMS
Quote:
Originally Posted by
PremiumEye
Yes, But there must be first created an SESSION. and it doesn't. What makes an error. :)
You can do this easily without creating a session, I does not slow anything down at all. i have been using this method for over a year and never had any issues.
Put that function that you have in your core class :
PHP Code:
public function SetWebBuild()
{
$link = file_get_contents('http://www.habbo.com/community');
$build = explode('<link rel="shortcut icon" href="http://images.habbo.com/habboweb/', $link);
$build = explode('/web-gallery/v2/favicon.ico"', $build[1]);
$build = trim($build[0]);
return $build;
}
then somewhere near the top of the client do
$webbuild = $core->SetWebBuild();
then replace all the webbuild in your client with
'.$webbuild.'
that should work just fine.
re: [PhoenixPHP][Emu][MySQL 5.5 +] HomePremiumCMS
Quote:
Originally Posted by
leenster
You can do this easily without creating a session, I does not slow anything down at all. i have been using this method for over a year and never had any issues.
Put that function that you have in your core class :
PHP Code:
public function SetWebBuild()
{
$link = file_get_contents('http://www.habbo.com/community');
$build = explode('<link rel="shortcut icon" href="http://images.habbo.com/habboweb/', $link);
$build = explode('/web-gallery/v2/favicon.ico"', $build[1]);
$build = trim($build[0]);
return $build;
}
then somewhere near the top of the client do
$webbuild = $core->SetWebBuild();
then replace all the webbuild in your client with
'.$webbuild.'
that should work just fine.
Thanks :laugh:
re: [PhoenixPHP][Emu][MySQL 5.5 +] HomePremiumCMS
Quote:
Originally Posted by
PremiumEye
Thanks :laugh:
lemme know if that worked for you..
re: [PhoenixPHP][Emu][MySQL 5.5 +] HomePremiumCMS
Why don't you just rip the web build? Joopie's web-gallery ripper works like a treat.