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

Page 5 of 7 FirstFirst 1234567 LastLast
Results 61 to 75 of 91
  1. #61
    Novice Crash Ankan is offline
    MemberRank
    Feb 2015 Join Date
    1Posts

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

    OMG as sexy!! ''Isak'' <3

  2. #62
    Member selimrecep is offline
    MemberRank
    Jun 2014 Join Date
    72Posts

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

    Register button fix
    Go app/tpl/skins/{skin}/index.php
    Code:
    <button >Register on {hotelname} for free</button>
    to

    Code:
    <button class="register">Register on {hotelname} for free</button>
    put after
    Code:
    <script>$(".register").click(function()  {
    window.location="http://{YOUR_IP}/register";
    
    
    });
    
    
    </script>
    - - - Updated - - -

    news fix
    Code:
    ALTER TABLE cms_news ADD (shortstory VARCHAR(999),longstory VARCHAR(999),author VARCHAR(999),published VARCHAR(999));
    - - - Updated - - -

    news html post fix:
    Go app/tpl/skins/{skin}/admin/news_create.php
    find:
    Code:
     $title = secureStr($_POST['title']);
                $shortstory = secureStr($_POST['shortstory']);
                $longstory = secureStr($_POST['longstory']);
    to
    Code:
        
                $title = $_POST['title'];
                $shortstory = $_POST['shortstory'];
                $longstory = $_POST['longstory'];
    NOTE:THIS PROCESS CAN CREATE A SECURITY RİSK.
    Last edited by selimrecep; 11-02-15 at 06:21 PM.

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

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

    Hi, when i go to: index.php it redirects me to habway how to fix it??
    Last edited by Neutrons212; 12-02-15 at 02:39 PM.

  4. #64
    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
    Hi, when i go to: index.php it redirects me to habway how to fix it??
    Write souce code of the page "me" here

    - - - Updated - - -

    staff.php fix
    Go to app/tpl/skins/{skin}/staff.php(rank 11 fix)
    find:
    Code:
    $GetRanks = mysql_query("SELECT *  FROM `ranks`  WHERE ((`ranks`.`id` = 5) OR (`ranks`.`id` = 6) OR (`ranks`.`id` = 7) OR (`ranks`.`id` = 8) OR (`ranks`.`id` = 9) OR (`ranks`.`id` = 10)) ORDER BY id DESC");
    replace:
    Code:
     $GetRanks = mysql_query("SELECT *  FROM `ranks`  WHERE ((`ranks`.`id` = 5) OR (`ranks`.`id` = 6) OR (`ranks`.`id` = 7) OR (`ranks`.`id` = 8) OR (`ranks`.`id` = 9) OR (`ranks`.`id` = 10) OR (`ranks`.`id` = 11)) ORDER BY id DESC");

  5. #65
    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
    Write souce code of the page "me" here

    - - - Updated - - -

    staff.php fix
    Go to app/tpl/skins/{skin}/staff.php(rank 11 fix)
    find:
    Code:
    $GetRanks = mysql_query("SELECT *  FROM `ranks`  WHERE ((`ranks`.`id` = 5) OR (`ranks`.`id` = 6) OR (`ranks`.`id` = 7) OR (`ranks`.`id` = 8) OR (`ranks`.`id` = 9) OR (`ranks`.`id` = 10)) ORDER BY id DESC");
    replace:
    Code:
     $GetRanks = mysql_query("SELECT *  FROM `ranks`  WHERE ((`ranks`.`id` = 5) OR (`ranks`.`id` = 6) OR (`ranks`.`id` = 7) OR (`ranks`.`id` = 8) OR (`ranks`.`id` = 9) OR (`ranks`.`id` = 10) OR (`ranks`.`id` = 11)) ORDER BY id DESC");
    Can you give me the link to your revcms you used to put the skins of project habbo?

  6. #66
    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
    Can you give me the link to your revcms you used to put the skins of project habbo?
    https://mega.co.nz/#!FhxUxIRR!ulpfLL...GVVfNvVBNVZ10I

    - - - Updated - - -

    ranks table(staff.php fix):
    id INT(2)
    name VARCHAR(999)
    badgeid VARCHAR(20)

    - - - Updated - - -

    OR
    ranks.sql:

    https://mega.co.nz/#!u0EWCZJI!bOasIB...N72efn4kHKV0hM
    pass: bOasIB76YAW1nql1eMsNr3eXY9I1mN72efn4kHKV0hM


    - - - Updated - - -

    new fix:
    click green or red or blue,
    diamonds,credits,pixels show problem:
    go app/tpl/skins/{skin}/styles/green/icons.css
    go to line 115
    replace to:
    Code:
    background: url(../../images/icons/extra.png) no-repeat top center;
    go app/tpl/skins/{skin}/styles/red/red-icons.css
    go to line 115
    replace to:
    Code:
    background: url(../images/icons/extra.png) no-repeat top center;
    - - - Updated - - -

    badge shop fix (error:user_badges doesn't exist)
    go app/tpl/skins/{skin}/badgeshop.php
    Code:
    user_badges
    replace all to
    Code:
    users_badges
    - - - Updated - - -

    badgeshop icon fix
    go app/tpl/skins/{skin}/badgeshop.php
    GO LINE 64
    Code:
    <img class="shadow" style="margin-top:10px;"src="/r63/c_images/album1584/'.$badgeCodes[$n].'.gif"/>
    replace to
    Code:
    <img class="shadow" style="margin-top:10px;"src="{YOUR_C_IMAGES_URL}/album1584/'.$badgeCodes[$n].'.gif"/>
    Last edited by selimrecep; 14-02-15 at 02:30 PM.

  7. #67
    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
    https://mega.co.nz/#!FhxUxIRR!ulpfLL...GVVfNvVBNVZ10I

    - - - Updated - - -

    ranks table(staff.php fix):
    id INT(2)
    name VARCHAR(999)
    badgeid VARCHAR(20)

    - - - Updated - - -

    OR
    ranks.sql:

    https://mega.co.nz/#!u0EWCZJI!bOasIB...N72efn4kHKV0hM

    - - - Updated - - -

    new fix:
    click green or red or blue,
    diamonds,credits,pixels show problem:
    go app/tpl/skins/{skin}/style/green/icons.css
    go to line 115
    replace to:
    Code:
    background: url(../../images/icons/extra.png) no-repeat top center;
    go app/tpl/skins/{skin}/styles/red/red-icons.css
    go to line 115
    replace to:
    Code:
    background: url(../images/icons/extra.png) no-repeat top center;
    - - - Updated - - -

    badge shop fix (error:user_badges doesn't exist)
    go app/tpl/skins/{skin}/badgeshop.php
    Code:
    user_badges
    replace all to
    Code:
    users_badges
    - - - Updated - - -

    badgeshop icon fix
    go app/tpl/skins/{skin}/badgeshop.php
    GO LINE 64
    Code:
    <img class="shadow" style="margin-top:10px;"src="/r63/c_images/album1584/'.$badgeCodes[$n].'.gif"/>
    replace to
    Code:
    <img class="shadow" style="margin-top:10px;"src="{YOUR_C_IMAGES_URL}/album1584/'.$badgeCodes[$n].'.gif"/>
    Very, very, very thanks!
    But, i don't have hk :c i'm rank 10:
    http://prntscr.com/64b6j6
    And, if i try to go in /hk.php it says i haven't the right rank, in hk the min rank is 6.

  8. #68
    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
    Very, very, very thanks!
    But, i don't have hk :c i'm rank 10:
    http://prntscr.com/64b6j6
    And, if i try to go in /hk.php it says i haven't the right rank, in hk the min rank is 6.
    import your database please :)
    https://mega.co.nz/#!u0EWCZJI!bOasIB...N72efn4kHKV0hM
    pass: bOasIB76YAW1nql1eMsNr3eXY9I1mN72efn4kHKV0hM

    - - - Updated - - -

    new fix (forgot red-green-blue style at refresh the page)
    go extra/head/change.js
    replace:
    Code:
    function set_cookie ( cookie_name, cookie_value,    lifespan_in_days, valid_domain )
    {
        // http://www.thesitewizard.com/javascripts/cookies.shtml
        var domain_string = valid_domain ?
                           ("; domain=" + valid_domain) : '' ;
        document.cookie = cookie_name +
                           "=" + encodeURIComponent( cookie_value ) +
                           "; max-age=" + 6021 * 6021 *
                           2432 * lifespan_in_days +
                           "; path=/" + domain_string ;
    }
    to
    Code:
    function set_cookie ( cookie_name, cookie_value,    lifespan_in_days, valid_domain )
    {
        // http://www.thesitewizard.com/javascripts/cookies.shtml
        var domain_string = valid_domain ?
                           ("; domain=" + valid_domain) : '' ;
        document.cookie = cookie_name +
                           "=" + encodeURIComponent( cookie_value ) +
                           "; max-age=" + 3600+
                            lifespan_in_days +
                           "; path=/" + domain_string ;
    }

    and go to extra/header_menu.php
    put on line 1
    Code:
    <?php    if(isset($_COOKIE['style'])){
        
        
        print "<script>
        
        switch_style('{$_COOKIE['style']}');
        
        </script>";
        
        
        }
        ?>
    - - - Updated - - -

    HK fix
    go to hk.php
    go line 2
    replace
    Code:
    if($_SESSION['user']['rank'] >= 5){
    to
    Code:
    if($_SESSION['user']['rank'] >= {your_min_rank){
    - - - Updated - - -
    @Neutrons212
    your get this message?
    ---------------------------------------------------------
    You are not allowed to be here, sorry.
    ---------------------------------------------------------

    - - - Updated - - -

    new fix
    me.php news image fix
    go plugins/newsfeed.php
    go line 14
    replace to
    Code:
    <img class="shadow" src="/app/tpl/skins/Project Habbo/images/news/<?php echo $news['image'] ?>" alt="{newstitle-<?php echo $news['id']; ?>" align="right">
    - - - Updated - - -

    new fix (user settings tags)
    go tags.php
    replace all
    Code:
    user_tags
    to
    Code:
    users_tags
    Last edited by selimrecep; 14-02-15 at 12:16 PM. Reason: .php to .js

  9. #69
    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
    import your database please :)
    https://mega.co.nz/#!u0EWCZJI!bOasIB...N72efn4kHKV0hM
    pass: bOasIB76YAW1nql1eMsNr3eXY9I1mN72efn4kHKV0hM

    - - - Updated - - -

    new fix (forgot red-green-blue style at refresh the page)
    go extra/head/change.php
    replace:
    Code:
    function set_cookie ( cookie_name, cookie_value,    lifespan_in_days, valid_domain )
    {
        // http://www.thesitewizard.com/javascripts/cookies.shtml
        var domain_string = valid_domain ?
                           ("; domain=" + valid_domain) : '' ;
        document.cookie = cookie_name +
                           "=" + encodeURIComponent( cookie_value ) +
                           "; max-age=" + 6021 * 6021 *
                           2432 * lifespan_in_days +
                           "; path=/" + domain_string ;
    }
    to
    Code:
    function set_cookie ( cookie_name, cookie_value,    lifespan_in_days, valid_domain )
    {
        // http://www.thesitewizard.com/javascripts/cookies.shtml
        var domain_string = valid_domain ?
                           ("; domain=" + valid_domain) : '' ;
        document.cookie = cookie_name +
                           "=" + encodeURIComponent( cookie_value ) +
                           "; max-age=" + 3600+
                            lifespan_in_days +
                           "; path=/" + domain_string ;
    }

    and go to extra/header_menu.php
    put on line 1
    Code:
    <?php    if(isset($_COOKIE['style'])){
        
        
        print "<script>
        
        switch_style('{$_COOKIE['style']}');
        
        </script>";
        
        
        }
        ?>
    - - - Updated - - -

    HK fix
    go to hk.php
    go line 2
    replace
    Code:
    if($_SESSION['user']['rank'] >= 5){
    to
    Code:
    if($_SESSION['user']['rank'] >= {your_min_rank){
    - - - Updated - - -
    @Neutrons212
    your get this message?
    ---------------------------------------------------------
    You are not allowed to be here, sorry.
    ---------------------------------------------------------

    - - - Updated - - -

    new fix
    me.php news image fix
    go plugins/newsfeed.php
    go line 14
    replace to
    Code:
    <img class="shadow" src="/app/tpl/skins/Project Habbo/images/news/<?php echo $news['image'] ?>" alt="{newstitle-<?php echo $news['id']; ?>" align="right">
    - - - Updated - - -

    new fix (user settings tags)
    go tags.php
    replace all
    Code:
    user_tags
    to
    Code:
    users_tags
    Thanks! now i can access to hk, but i can't do anything it says "please go away, hk is not a game ecc."
    But the min rank is 6/7 and i'm rank 10.

  10. #70
    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
    Thanks! now i can access to hk, but i can't do anything it says "please go away, hk is not a game ecc."
    But the min rank is 6/7 and i'm rank 10.
    screen shoot please??? @Neutrons212
    Last edited by selimrecep; 14-02-15 at 11:11 AM.

  11. #71
    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
    screen shoot please??? @Neutrons212
    http://prntscr.com/64xkjh I don't have hk in the menu, but if i go in /hk it works.
    And happens this if i click something in hk. http://prntscr.com/64xkps

  12. #72
    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
    http://prntscr.com/64xkjh I don't have hk in the menu, but if i go in /hk it works.
    And happens this if i click something in hk. http://prntscr.com/64xkps
    replace all with Notepad++
    find "admin" folder
    if($_SESSION['user']['rank']

    to

    if($_SESSION['user']['rank'] >= {minrank})

    example:
    admin/createban.php
    go line 3
    replace to
    if($_SESSION['user']['rank'] >= {minrank){

  13. #73
    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
    replace all with Notepad++
    find "admin" folder
    if($_SESSION['user']['rank']

    to

    if($_SESSION['user']['rank'] >= {minrank})

    example:
    admin/createban.php
    go line 3
    replace to
    if($_SESSION['user']['rank'] >= {minrank){
    Already done... so, i changed the min rank in the headers but nothing:
    http://prntscr.com/64xpll
    I don't see: hk and staffrule.

  14. #74
    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
    Already done... so, i changed the min rank in the headers but nothing:
    http://prntscr.com/64xpll
    I don't see: hk and staffrule.
    Have you tried logging in again to clear browsing data ?
    (This translate )

    - - - Updated - - -

    I like the:
    http://prntscr.com/64xvxo

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

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

    "Table 'habbo.settings' doesn't exist" Can you give me this table bro?



Page 5 of 7 FirstFirst 1234567 LastLast

Advertisement