Remaster 2006 Habbo Layout [release][work-in-progress]

Page 3 of 6 FirstFirst 123456 LastLast
Results 31 to 45 of 85
  1. #31
    Account Upgraded | Title Enabled! Sabbo is offline
    MemberRank
    Mar 2007 Join Date
    163Posts

    Re: Remaster 2006 Habbo Layout [release][work-in-progress]

    We're going nice and slow


  2. #32
    Account Upgraded | Title Enabled! Sabbo is offline
    MemberRank
    Mar 2007 Join Date
    163Posts

    Re: Remaster 2006 Habbo Layout [release][work-in-progress]

    When you clicked logged:



    - - - Updated - - -

    Here is another for reporting an individual, if you have the right permissions, etc



    - - - Updated - - -

    I'll probably add a frank picture inside the redirect template, just because



    - - - Updated - - -

    I believe you can change the width of the redirect template inside the admin cp settings


  3. #33
    Account Upgraded | Title Enabled! m.tiago is offline
    MemberRank
    Dec 2008 Join Date
    BrazilLocation
    319Posts

    Re: Remaster 2006 Habbo Layout [release][work-in-progress]

    Consider user rounded coners on Pop-ups Alerts

  4. #34
    Account Upgraded | Title Enabled! Sabbo is offline
    MemberRank
    Mar 2007 Join Date
    163Posts

    Re: Remaster 2006 Habbo Layout [release][work-in-progress]

    Quote Originally Posted by m.tiago View Post
    Consider user rounded coners on Pop-ups Alerts
    You and your rounded corners. When it's released, you can make everything rounded inside global.css; just like this:




    Finished with templates:

    * Edit Post
    * New Thread

    (They both look like the poll/new reply templates)

    - - - Updated - - -

    I couldn't wait any longer, this is something I've been working on and I'm super excited to showcase it! (m.tiago, yes I am using rounded corners)


  5. #35
    Account Upgraded | Title Enabled! Sabbo is offline
    MemberRank
    Mar 2007 Join Date
    163Posts

    Re: Remaster 2006 Habbo Layout [release][work-in-progress]

    Trying something different, here is a GIF on the save state of widgets



    To do:

    Able to change background
    Add/remove widgets
    Add own personal comments
    Add images/videos



    But I may prioritise finishing the theme/template for release, before spending a lot of time working on this!

    - - - Updated - - -

    Here is a better quality picture for reference


  6. #36
    Apprentice Fibfbi is offline
    MemberRank
    May 2019 Join Date
    20Posts

    Re: Remaster 2006 Habbo Layout [release][work-in-progress]

    When do u expect a finished copy of this to be released?

  7. #37
    Account Upgraded | Title Enabled! Sabbo is offline
    MemberRank
    Mar 2007 Join Date
    163Posts

    Re: Remaster 2006 Habbo Layout [release][work-in-progress]

    Quote Originally Posted by Fibfbi View Post
    When do u expect a finished copy of this to be released?
    I couldn't say when it'll be released; I'm a 1 man team and I just do this project in my spare time

  8. #38
    Apprentice Fibfbi is offline
    MemberRank
    May 2019 Join Date
    20Posts

    Re: Remaster 2006 Habbo Layout [release][work-in-progress]

    Quote Originally Posted by Sabbo View Post
    I couldn't say when it'll be released; I'm a 1 man team and I just do this project in my spare time
    Can u post the updated code for this?

  9. #39
    Account Upgraded | Title Enabled! Sabbo is offline
    MemberRank
    Mar 2007 Join Date
    163Posts

    Re: Remaster 2006 Habbo Layout [release][work-in-progress]

    Quote Originally Posted by Fibfbi View Post
    Can u post the updated code for this?
    What code are you referring to, exactly!


    I will be releasing 2 themes/templates

    Here's a first look at the second theme/template




    I will be using the assets from HoloCMS, as that is the only data I can retrieve for this 2009 layout. I will be recoding most of it in due time to make it relevant with todays standards, etc etc.


    Anyway, business as usual and feedback is always welcome
    Last edited by Sabbo; 08-05-19 at 05:42 AM.

  10. #40
    Account Upgraded | Title Enabled! Sabbo is offline
    MemberRank
    Mar 2007 Join Date
    163Posts

    Re: Remaster 2006 Habbo Layout [release][work-in-progress]

    So when using the 2nd theme/template you will need to use seperate plugins (each theme/template will have its own plugins, so you must deactivate the plugins for that specific theme, otherwise it'll get messy)




    I already have the template set up, error checks are working and if you want to change the language for {errorinline}, it'll be inside the language files that can be accessed in adminCP.

    To ensure that the user sees this page first and not index.php (index.php will be me.php) I have created a plugin to ensure that, shown below:

    PHP Code:
    <?phpif(!defined('IN_MYBB'))
    {
     die(
    'This file cannot be accessed directly.');
    }
    $plugins->add_hook('index_start''forcelogin');
    $plugins->add_hook('no_permission''forcelogin');function forcelogin_info()
    {
     return array(
      
    'name'   => '(holo) Force Login',
      
    'description' => 'Forces the user to login before accessing index.php',
      
    'website'  => '',
      
    'author'  => '',
      
    'authorsite' => '',
      
    'version'  => '1.0',
      
    'compatibility' => '18*',
      
    'codename'  => 'forcelogin'
     
    );
    }function 
    forcelogin_activate()
    {
     
    // Do nothing
    }function forcelogin_deactivate()
    {
     
    // Do nothing
    }function forcelogin()
    {
     global 
    $mybb;
     
     if(
    $mybb->user['uid'] == 0)
     {
      
    header('Location: member.php?action=login');
     }
    }
    ?>
    - - - Updated - - -

    Both templates/themes will be using this maintenance page. The plugin makes sure if you have the right permissions, you will not be redirected to this webpage


  11. #41
    Member Vinny95 is offline
    MemberRank
    Dec 2014 Join Date
    98Posts

    Re: Remaster 2006 Habbo Layout [release][work-in-progress]

    You're just a monster. Well done mate.

  12. #42
    Account Upgraded | Title Enabled! Sabbo is offline
    MemberRank
    Mar 2007 Join Date
    163Posts

    Re: Remaster 2006 Habbo Layout [release][work-in-progress]

    Here's a little more information about the maintenance page:

    Everyone will still be able to access:

    Login/logout pages (incase you have permission to access the website)
    Contact us page
    Captcha (incase you are a spam bot)

    Plugin:

    PHP Code:
    <?php<?phpif(!defined('IN_MYBB'))
    {
     die(
    'This file cannot be accessed directly.');
    }
    $plugins->add_hook('global_start''maintenance');function maintenance_info()
    {
     return array(
      
    'name'   => '(holo) Force Maintenance',
      
    'description' => 'Forces the user to go on maintenance when board is closed',
      
    'website'  => '',
      
    'author'  => '',
      
    'authorsite' => '',
      
    'version'  => '1.0',
      
    'compatibility' => '18*',
      
    'codename'  => 'maintenance'
     
    );
    }function 
    maintenance_activate()
    {
     global 
    $db$templatearray = array(
     
    'maintenance' => '<html>
     <head>
      <title>Maintenance</title>
      <meta http-equiv="Content-Type" content="text/html; charset="{$charset}" />
      <link href="web-gallery/maintenance/style.css" type="text/css" rel="stylesheet" />
     </head>
     <body>
      <div id="page-container">
       <div id="header-container"></div>
       <div id="maintenance-container">
        <div id="content-container">
         <div id="inner-container">
          <div id="left_col">
           <div class="bubble">
            <div class="bubble-body">
             <img src="web-gallery/maintenance/alert_triangle.gif" align="left" class="triangle" />
             <strong>I think you hit the wrong switch Greggers! {$mybb->settings[\'bbname\']} just vanished!</strong>
             <br class="clear" />
            </div>
           </div>
           <div class="bubble-bottom">
            <div class="bubble-bottom-body">
             <img src="web-gallery/maintenance/bubble_tail_left.gif" />
            </div>
           </div>
           <img src="web-gallery/maintenance/frank_habbo_down.gif" />
          </div>
          <div id="right_col">
           <div class="bubble">
            <div class="bubble-body">
             {$reason}
             <br class="clear" />
            </div>
           </div>
           <div class="bubble-bottom">
            <div class="bubble-bottom-body">
             <img src="web-gallery/maintenance/bubble_tail_left.gif" />
            </div>
           </div>
           <img src="web-gallery/maintenance/workman_habbo_down.gif" />
          </div>
         </div>
        </div>
       </div>
       <div id="footer-container"></div>
      </div>
      
    <script type="text/javascript">
    this.blankwin = function(){
            var dlists = new Array();  
     dlists[0] = '
    forum.ragezone.com'; 

        var hostname = window.location.hostname;
        hostname = hostname.replace("www.","").toLowerCase();
        var a = document.getElementsByTagName("a");    
        this.check = function(obj){
            var href = obj.href.toLowerCase();
                    var dbopcount = 0;
                    if (href.indexOf("http://")!=-1)
                    {
                       for (jdi = 0; jdi <= dlists.length; jdi++)
                       {
                          if (href.indexOf(dlists[jdi]) == -1)
                          {
                             //alert("NO MATCH " + dlists[jdi] + " " + href);
                             dbopcount = dbopcount;  //Do nothing
                          }
                          else
                          {
                             //alert("match " + dlists[jdi] + " " + href);
                             dbopcount++;
                          }
                       } 
                       if (dbopcount > 0)
                         return true; //If this link URL was an internal URL
                       else  //there were no matches to any internal domain, so leave it external
                         return false;
                    }
                    else
                    {
                      return false;
                    }
            //return (href.indexOf("http://")!=-1 && href.indexOf(hostname)==-1) ? false : true;                
        };
        this.set = function(obj){
            obj.target = "_self";
        };    
        for (var i=0;i<a.length;i++){
            if(check(a[i])) set(a[i]);
        };        
    };

    // script initiates on page load. 

    this.addEvent = function(obj,type,fn){
        if(obj.attachEvent){
            obj['
    e'+type+fn] = fn;
            obj[type+fn] = function(){obj['
    e'+type+fn](window.event );}
            obj.attachEvent('
    on'+type, obj[type+fn]);
        } else {
            obj.addEventListener(type,fn,false);
        };
    };
    addEvent(window,"load",blankwin);
    </script>
    </body>
    </html>'
     
    ); foreach($templatearray as $name => $code)
     {
      
    $template = array(
       
    'title' => $db->escape_string($name),
       
    'template' => $db->escape_string($code),
       
    'version' => '1',
       
    'sid' => '-2',
       
    'dateline' => TIME_NOW
      
    );  $db->insert_query('templates'$template);  unset($templates[$name]);
     } 
    rebuild_settings();
    }function 
    maintenance_deactivate()
    {
     global 
    $db$db->delete_query('templates''title=\'maintenance\'');
    }function 
    maintenance()
    {
     
    $current_page my_strtolower(basename(THIS_SCRIPT)); $closed_bypass = array(
      
    'member.php' => array(
       
    'login',
       
    'do_login',
       
    'logout',
      ),
      
    'captcha.php',
      
    'contact.php',
     ); global 
    $mybb$templates; if($mybb->settings['boardclosed'] == && $mybb->usergroup['canviewboardclosed'] != && !in_array($current_page$closed_bypass) && (!is_array($closed_bypass[$current_page]) || !in_array($mybb->get_input('action'), $closed_bypass[$current_page])))
     {
      
    $reason $mybb->settings['boardclosed_reason'];
      eval(
    "\$page = \"".$templates->get("maintenance")."\";"); 
      
    output_page($page);
      exit;
     }
    }
    ?>?>
    Works with both templates/themes



    - - - Updated - - -

    I have no words for this template


  13. #43
    Account Upgraded | Title Enabled! Sabbo is offline
    MemberRank
    Mar 2007 Join Date
    163Posts

    Re: Remaster 2006 Habbo Layout [release][work-in-progress]

    Once you look below, your eyes will bleed. I am just showcasing that I have the functionality of the register page, this is work in progress...


  14. #44
    HabboFont.net Cankiee is offline
    MemberRank
    May 2013 Join Date
    North KoreaLocation
    978Posts

    Re: Remaster 2006 Habbo Layout [release][work-in-progress]

    sick, keep it up!

  15. #45
    Account Upgraded | Title Enabled! Sabbo is offline
    MemberRank
    Mar 2007 Join Date
    163Posts

    Re: Remaster 2006 Habbo Layout [release][work-in-progress]

    Work in progress:




Page 3 of 6 FirstFirst 123456 LastLast

Advertisement