HabboCMS [PHP, MySQL] [All Emus]

Page 4 of 8 FirstFirst 12345678 LastLast
Results 46 to 60 of 114
  1. #46
    ☮TAKU???? seanrom is offline
    MemberRank
    Nov 2009 Join Date
    1,004Posts

    Re: HabboCMS [PHP, MySQL] [All Emus]

    Quote Originally Posted by Elimination View Post
    Alright then let's hope that he will finish this developement and hopefully release it or not that's not a probem for me.
    IT will be finnished AND released here on Ragezone.

  2. #47
    Banned V for Vendetta is offline
    BannedRank
    Feb 2007 Join Date
    1,809Posts

    Re: HabboCMS [PHP, MySQL] [All Emus]

    Quote Originally Posted by Oleaa View Post
    IT will be finnished AND released here on Ragezone.
    Can't wait :(

  3. #48
    Super Moderator! Shoelace is offline
    Super ModRank
    Mar 2012 Join Date
    6,579Posts

    Re: HabboCMS [PHP, MySQL] [All Emus]

    Wow i really like your CMS, love the way its going look like habbo. Good luck

  4. #49
    Banned V for Vendetta is offline
    BannedRank
    Feb 2007 Join Date
    1,809Posts

    Re: HabboCMS [PHP, MySQL] [All Emus]

    Quote Originally Posted by Shoelace View Post
    Wow i really like your CMS, love the way its going look like habbo. Good luck
    Yeah agree it really does can't wait too.

  5. #50
    Banned V for Vendetta is offline
    BannedRank
    Feb 2007 Join Date
    1,809Posts

    Re: HabboCMS [PHP, MySQL] [All Emus]

    Quote Originally Posted by vBulletin View Post
    Yeah agree it really does can't wait too.
    Guess nobody can really wait let's see how far it will come in the past days i'm pretty sure that it's going to make a long road of good things added.

  6. #51
    ☮TAKU???? seanrom is offline
    MemberRank
    Nov 2009 Join Date
    1,004Posts

    Re: HabboCMS [PHP, MySQL] [All Emus]

    Added jangosmtp support for mails

    (Register email, newsletter etc.)

    Added facebook connect

    Removed Google ads

    Started Plugin system

    Done with Credits page (PayPal API Done, gives automatic X VIP Points that the user donated(x = $). Will create VIP shop as a plugin.)

    Cant edit the thread, idk why
    Last edited by seanrom; 08-09-12 at 03:01 PM.

  7. #52
    Member Maestrom is offline
    MemberRank
    Aug 2012 Join Date
    The NetherlandsLocation
    89Posts

    Re: HabboCMS [PHP, MySQL] [All Emus]

    Quote Originally Posted by Oleaa View Post
    Added jangosmtp support for mails

    (Register email, newsletter etc.)

    Added facebook connect

    Removed Google ads

    Started Plugin system

    Done with Credits page (PayPal API Done, gives automatic X VIP Points that the user donated(x = $). Will create VIP shop as a plugin.)

    Cant edit the thread, idk why
    Awesome, targetpay delivers nice other paymentmethodes like paysafecard/sms/ call maybe a suggestion.

  8. #53
    ☮TAKU???? seanrom is offline
    MemberRank
    Nov 2009 Join Date
    1,004Posts

    Re: HabboCMS [PHP, MySQL] [All Emus]

    Quote Originally Posted by Maestrom View Post
    Awesome, targetpay delivers nice other paymentmethodes like paysafecard/sms/ call maybe a suggestion.
    Will look into it, thanks for suggesting.

  9. #54
    ☮TAKU???? seanrom is offline
    MemberRank
    Nov 2009 Join Date
    1,004Posts

    Re: HabboCMS [PHP, MySQL] [All Emus]

    Plugin API almost done.

    Snippet:
    Spoiler:

    PHP Code:
       public $plugins = array();
       private 
    $keys = array(
         
    'current_page' => URL,
         
    's' => S,
         
    't' => T,
         
    'e' => E,
         
    'p' => P,
         
    'b' => B,
       );

       public function 
    Init() {
         
    $this->make_array();
         
    $i 1;
         
    $x $this->count_plugins()+1;
         while(
    $i<$x) {
          
    $this->execute(file($this->filter($this->plugins[$i]['location']) . $this->plugins[$i]['execute'], FILE_IGNORE_NEW_LINES), $ifalse);
          
    $i++;
         }
       }
       
       private function 
    filter($str) {
         foreach (
    $this->keys as $key => $value) {
           
    $str str_ireplace('{' $key '}'$value$str);
         }
         return 
    $str;
       }
       
       private function 
    make_array() {
         
    $file $this->get_plugins();
         
    $seperate explode('<plugin=active>'$file);
         
    $seperate str_replace('</plugin=active>'''$seperate);
         foreach(
    $seperate as $cnt => $name) {
           
    $variables explode('<->'$seperate[$cnt]);
           
    $pluginname get_between('<system_name>''</system_name>'$name);
           foreach(
    $variables as $name) {
             
    $variable get_between('<''>'$name);
             if(
    $variable == 'config') {
               
    $get_config get_between('<config>''</config>'$seperate[$cnt]);
               
    $config_seperate explode('<->'$get_config);
               foreach(
    $config_seperate as $config_line) {
                 
    $variable get_between('<''>'$config_line);
                 
    $this->plugins[$pluginname]['config'][$variable] = $this->filter(get_between('<' $variable '>''</' $variable '>'$config_line));
                 
    $this->plugins[$cnt]['config'][$variable] = $this->filter(get_between('<' $variable '>''</' $variable '>'$config_line));
               }
             } else {
               
    $this->plugins[$pluginname][$variable] = $this->filter(get_between('<' $variable '>''</' $variable '>'$name));
               
    $this->plugins[$cnt][$variable] = $this->filter(get_between('<' $variable '>''</' $variable '>'$name));
             }
           }
         }
       }

       private function 
    get_plugins() {
         
    $files file_get_contents('plugins.xml');
         return 
    $files;
       }

       private function 
    count_plugins() {
         
    $plugin_file $this->get_plugins();
         
    $start substr_count($plugin_file'<plugin=active>');
         
    $end substr_count($plugin_file'</plugin=active>');
         if(
    $start == $end) return $end; else die("Fatal error: Expecting euqal starts and ends in plugins.xml");
         return 
    false;
       }

       private function 
    do_action($plugin$what) {
         include(
    $this->filter($this->plugins[$plugin]['location']) . $what'.php');
       }

       private function 
    do_execute_action($what$value$plugin_id) {
         switch(
    $what) {
           case 
    "ONPAGELOAD"
            include(
    $this->filter($this->plugins[$plugin_id]['location']) . $value'.php');
           break;
           default:
             echo 
    "DID NOT FIND THE ACTION $what";
           break;
         }
       }

       private function 
    execute($line$plugin_id$file false) {
         if(
    $file != false$line file($fileFILE_IGNORE_NEW_LINES);
         foreach(
    $line as $value) {
           
    $what get_between('<''>'$value);
           
    $value get_between('<' $what '>''</' $what '>'$value);
           
    $this->do_execute_action($what$value$plugin_id);
         }
       } 


    Any good ideas on how to avoid the 2/3 loops in private function make_array(). But still be able to do foreach line????

  10. #55
    Live Ocottish Sverlord Joopie is offline
    LegendRank
    Jun 2010 Join Date
    The NetherlandsLocation
    2,773Posts

    Re: HabboCMS [PHP, MySQL] [All Emus]

    Quote Originally Posted by Oleaa View Post
    Plugin API almost done.

    Snippet:
    ....

    Any good ideas on how to avoid the 2/3 loops in private function make_array(). But still be able to do foreach line????
    You can do that with an xml parser from php

    I took this script from php.net and it works great:
    https://github.com/Joopie1994/Tazqon.../class.xml.php

    Example of how to use:
    https://github.com/Joopie1994/Tazqon...abbofigure.php

  11. #56
    Overruled ! DarkWing is offline
    MemberRank
    Dec 2011 Join Date
    345Posts

    Re: HabboCMS [PHP, MySQL] [All Emus]

    How is this going ? Have any screenshots ?

  12. #57
    Valued Member madsmartapple is offline
    MemberRank
    Mar 2011 Join Date
    United StatesLocation
    145Posts

    Re: HabboCMS [PHP, MySQL] [All Emus]

    When done, can I get the link by PM? Because I want to use it..It's amazing.

  13. #58
    ☮TAKU???? seanrom is offline
    MemberRank
    Nov 2009 Join Date
    1,004Posts

    Re: HabboCMS [PHP, MySQL] [All Emus]

    Quote Originally Posted by DarkWing View Post
    How is this going ? Have any screenshots ?
    Live Demo (outdated)

    Quote Originally Posted by madsmartapple View Post
    When done, can I get the link by PM? Because I want to use it..It's amazing.
    Wait for the release ;)

  14. #59
    Zephyr Studios PRIZM is offline
    MemberRank
    Feb 2012 Join Date
    DenmarkLocation
    2,291Posts

    Re: HabboCMS [PHP, MySQL] [All Emus]

    Oh, i found one bug:-)
    I had created an account, but i tried to make an account with the same name, this is what happens:

  15. #60
    ☮TAKU???? seanrom is offline
    MemberRank
    Nov 2009 Join Date
    1,004Posts

    Re: HabboCMS [PHP, MySQL] [All Emus]

    Quote Originally Posted by Lasse View Post
    Oh, i found one bug:-)
    I had created an account, but i tried to make an account with the same name, this is what happens:
    Fixed, Messed up when i move the strings to the translation file. If you guys find typos or other errors let me know.

    Thanks for reporting



Page 4 of 8 FirstFirst 12345678 LastLast

Advertisement