[Revcms] Project habbo v1.2 [Minimail] [Modern]

Page 6 of 7 FirstFirst 1234567 LastLast
Results 76 to 90 of 91
  1. #76
    Member selimrecep is offline
    MemberRank
    Jun 2014 Join Date
    72Posts

    Re: [Revcms] Project habbo v1.2 [Minimail] [Modern]

    I haven't got habbo.settings table.(settings)
    settings replace to server_settings??

  2. #77
    Member Neutrons212 is offline
    MemberRank
    Jul 2012 Join Date
    Napoli, ItalyLocation
    81Posts

    Re: [Revcms] Project habbo v1.2 [Minimail] [Modern]

    Quote Originally Posted by selimrecep View Post
    I haven't got habbo.settings table.(settings)
    settings replace to server_settings??
    It's a table of hk, but, how i can set maintenance? in hk there isn't nothing.

  3. #78
    Member selimrecep is offline
    MemberRank
    Jun 2014 Join Date
    72Posts

    Re: [Revcms] Project habbo v1.2 [Minimail] [Modern]

    Quote Originally Posted by Neutrons212 View Post
    It's a table of hk, but, how i can set maintenance? in hk there isn't nothing.
    go app/management/config.php
    replace
    $_CONFIG['hotel']['in_maint'] = false;
    to
    $_CONFIG['hotel']['in_maint'] = true;

  4. #79
    Member Neutrons212 is offline
    MemberRank
    Jul 2012 Join Date
    Napoli, ItalyLocation
    81Posts

    Re: [Revcms] Project habbo v1.2 [Minimail] [Modern]

    There is a method to do it with the db?

  5. #80
    Member selimrecep is offline
    MemberRank
    Jun 2014 Join Date
    72Posts

    Re: [Revcms] Project habbo v1.2 [Minimail] [Modern]

    Quote Originally Posted by Neutrons212 View Post
    There is a method to do it with the db?
    try it:
    delete
    $_CONFIG['hotel']['in_maint'] =false;
    write
    Code:
    $maintenance_q=mysql_query("SELECT * FROM maintenance");
    while($row_m=mysql_fetch_assoc($maintenance_q))
    {
    $_CONFIG['hotel']['in_maint'] = $row_m['maintenance'];
    }
    - - - Updated - - -

    and create table maintenance
    maintenance varchar(5)
    id int(1) index:primary


    and insert into maintenance true
    Last edited by selimrecep; 15-02-15 at 09:57 AM.

  6. #81
    Member Neutrons212 is offline
    MemberRank
    Jul 2012 Join Date
    Napoli, ItalyLocation
    81Posts

    Re: [Revcms] Project habbo v1.2 [Minimail] [Modern]

    Quote Originally Posted by selimrecep View Post
    try it:
    delete
    $_CONFIG['hotel']['in_maint'] =false;
    write
    Code:
    $maintenance_q=mysql_query("SELECT * FROM maintenance");
    while($row_m=mysql_fetch_assoc($maintenance_q))
    {
    $_CONFIG['hotel']['in_maint'] = $row_m['maintenance'];
    }
    - - - Updated - - -

    and create table maintenance
    maintenance varchar(5)
    id int(1) index:primary


    and insert into maintenance true
    http://prntscr.com/65c8ey Right?

  7. #82
    Member selimrecep is offline
    MemberRank
    Jun 2014 Join Date
    72Posts

    Re: [Revcms] Project habbo v1.2 [Minimail] [Modern]

    Quote Originally Posted by Neutrons212 View Post
    yes

  8. #83
    Member Neutrons212 is offline
    MemberRank
    Jul 2012 Join Date
    Napoli, ItalyLocation
    81Posts

    Re: [Revcms] Project habbo v1.2 [Minimail] [Modern]

    It doesn't work :c

  9. #84
    Member selimrecep is offline
    MemberRank
    Jun 2014 Join Date
    72Posts

    Re: [Revcms] Project habbo v1.2 [Minimail] [Modern]

    Quote Originally Posted by Neutrons212 View Post
    It doesn't work :c
    hmm wait please

    - - - Updated - - -

    go config.php
    $_CONFIG['hotel']['in_maint'] = true;
    to
    $_CONFIG['hotel']['in_maint'] = false;

    and go extra/head/head.php
    add line 1:
    PHP Code:
    $connect_m=mysql_connect("hostname","root","password");
    mysql_select_db("habbo",$connect_m);
    $sql_m=mysql_query("SELECT maintenance FROM maintenance LIMIT 1",$connect_m);
    while(
    $row_m=mysql_fetch_assoc($sql_m))
    {
    $if_maintenance=$row_m['maintenance'];
    }


    if(
    $if_maintenance==="true" && $_GET['url']!="maintenance")
    {
    header('Location: '.$_CONFIG['hotel']['url'].'/maintenance');
    exit();



    Last edited by selimrecep; 15-02-15 at 01:17 PM. Reason: parse error

  10. #85
    Member Neutrons212 is offline
    MemberRank
    Jul 2012 Join Date
    Napoli, ItalyLocation
    81Posts

    Re: [Revcms] Project habbo v1.2 [Minimail] [Modern]

    Quote Originally Posted by selimrecep View Post
    hmm wait please

    - - - Updated - - -

    go config.php
    $_CONFIG['hotel']['in_maint'] = true;
    to
    $_CONFIG['hotel']['in_maint'] = false;

    and go extra/head/head.php
    add line 1:
    PHP Code:
    $connect_m=mysql_connect("hostname","root","password");
    mysql_select_db("habbo",$connect_m);
    $sql_m=mysql_query("SELECT maintenance FROM maintenance LIMIT 1",$connect_m);
    while(
    $row_m=mysql_fetch_assoc($sql_m))
    {
    $if_maintenance=$row_m['maintenance'];
    }


    if(
    $if_maintenance==="true" && $_GET['url']!="maintenance")
    {
    header('Location: '.$_CONFIG['hotel']['url'].'/maintenance');
    exit();



    http://prntscr.com/65d76j Nope bro :c
    So, i was translating the register, and if i click "exit" on the register it doesn't redirect me to the index.
    PHP Code:
         <input type="submit" value="Registrati" name="register">
         <
    a href="/index.php"><input type="submit" value="Esci" name="exit"></a>
                                    </
    form></form

  11. #86
    Member selimrecep is offline
    MemberRank
    Jun 2014 Join Date
    72Posts

    Re: [Revcms] Project habbo v1.2 [Minimail] [Modern]

    ops :D
    please write after <?php code

    - - - Updated - - -

    <a href="/index.php"><input type="submit" value="Esci" name="exit"></a>
    replace to
    <a href="/index.php"><input type="exit" value="Esci" name="exit"></a>
    and go to styles/register.css
    add:


    input[type="exit"]{
    background-color: #2A9CDE ;
    border-color: #53BDF9 ;
    }
    input[type="exit"] {
    -webkit-border-radius: 6px;
    border-radius: 6px;
    margin-left:5px;
    cursor: pointer;
    }
    input[type="exit"]{
    font-size: .875em;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    border-width: 2px;
    border-style: solid;
    padding: 8px 36px;
    -webkit-box-shadow: 0 3px 0 1px rgba(0,0,0,.3);
    box-shadow: 0 3px 0 1px rgba(0,0,0,.3);
    color: #FFF ;
    line-height: 1;
    text-align: center;
    transition:all ease .2s;
    text-transform: uppercase;
    white-space: nowrap;
    }
    input[type="exit"]:hover , input[type="exit"]:focus {
    -webkit-box-shadow: 0 1px 0 2px rgba(0,0,0,.3);
    box-shadow: 0 1px 0 2px rgba(0,0,0,.3);
    transition:all ease .2s;
    }


    - - - Updated - - -

    head.php(replace all page):
    <?php
    $connect_m=mysql_connect("hostname","root","password");
    mysql_select_db("habbo",$connect_m);
    $sql_m=mysql_query("SELECT maintenance FROM maintenance LIMIT 1",$connect_m);
    while($row_m=mysql_fetch_assoc($sql_m))
    {
    $if_maintenance=$row_m['maintenance'];
    }


    if($if_maintenance==="true" && $_GET['url']!="maintenance")
    {
    header('Location: '.$_CONFIG['hotel']['url'].'/maintenance');
    exit();


    }


    if(!isset($_SESSION['user']['username'])){
    header('Location: index');
    exit();
    }
    $rankLimit = "5";
    $deleted = '<div id="sucess-message">All your messages are cleared</div>'; //Message confirmation for truncating entries table.
    ?>
    Last edited by selimrecep; 15-02-15 at 01:35 PM. Reason: .php to replace .css

  12. #87
    Member selimrecep is offline
    MemberRank
    Jun 2014 Join Date
    72Posts

    Re: [Revcms] Project habbo v1.2 [Minimail] [Modern]

    Did it work?

  13. #88
    Member Neutrons212 is offline
    MemberRank
    Jul 2012 Join Date
    Napoli, ItalyLocation
    81Posts

    Re: [Revcms] Project habbo v1.2 [Minimail] [Modern]

    Oh yes! thanks!
    But it works only if u login, but it's ok.
    So, is there a method to solve this:
    http://prntscr.com/67mjkg ?
    If a news is too long, you need to scroll out, I wish it would go down automatically

  14. #89
    Valued Member KugaTog is offline
    MemberRank
    Dec 2014 Join Date
    116Posts

    Re: [Revcms] Project habbo v1.2 [Minimail] [Modern]

    Is there a reason no images show up when I try using this skin?

  15. #90
    Still alive. Luminia is offline
    MemberRank
    Apr 2013 Join Date
    Out of SpaceLocation
    1,146Posts

    Re: [Revcms] Project habbo v1.2 [Minimail] [Modern]

    Quote Originally Posted by KugaTog View Post
    Is there a reason no images show up when I try using this skin?
    Be sure that the folder is called "Project Habbo". Some Images are linked with that foldername.



Page 6 of 7 FirstFirst 1234567 LastLast

Advertisement