[Release] Jays UberCMS Edit

JayC

Always Learning
Aug 8, 2013
5,493
1,398
Changed a lot since my last release Found

This was my CMS I started with for Echo back about 2/3 months ago
Started this cms with: @jakob215180

Images:
(This page is zoomed so I can capture the whole page without scrolling)
K5zpWsA.png

The motto exploit DID exist, I removed the motto so you can no longer exploit it. It's now a welcome message!
Cool Motto Tricks: If a user changes their motto to one of those it will read it and change their player look!

Account Settings Fixed:
vqhu.png


Vault (Prizes are given automatically):
RiCLVGO.png


lottery:
gJFdyBc.png


Few Shop Pages:
E3E3UIJ.png

jGFohqg.png

rmeEHYw.png

VIP Members only shows ranks 2-4 (Regular VIP - Ultra VIP)


No Edits to the House keeping where made at this time, I apologize but this is some images of it:
ynSm3AW.png
LiuLUgi.png

QvKiKg8.png


There are no Exploits (95% sure) as I did test for this (that is how I found the motto one and got it fixed)

Download CMS:

Download Database:

Phoenix EMU will work!

What to truncate in the database?
- All "User" tables
- Tele Links
- Wired
- Word Filter
- Bans
- Chatlogs
- Command Logs
- All Bots Tables
**NOTE JUST DELETE MY ONE ROOM FROM ROOMS!** It will cause a navigator cache error if you truncate the whole table :D

Enjoy!


Rate + Like + Follow :)
 

Brad

Well-Known Member
Jun 5, 2012
2,319
992
This is R63b compatible i believe? it's a edit of ubercms 2, Which I use on my hotel. proof
 

HotelHoster

Member
Sep 19, 2013
35
3
Again great CMS, I got the database sorted as mine wasnt working. But on the homepage of the CMS some ranks have a login box and it messes up the theme

How can I fix this?
 

JayC

Always Learning
Aug 8, 2013
5,493
1,398
Alright :) Post the new code here incase people have the same problem, thanks
 

HotelHoster

Member
Sep 19, 2013
35
3
Sure just replace all of generic-top.tpl with the code below if you have this problem :)

Code:
<?php
$getSettings = dbquery("SELECT * FROM users WHERE username = '" . USER_NAME . "'");
$userAccount = mysql_fetch_assoc($getSettings);
?>
<body id="%body_id%" class="<?php if (!LOGGED_IN) { echo 'anonymous'; } ?> ">
<link rel="stylesheet" href="%www%/css/top.css" type="text/css" />
<div id="top">  
<p class="alignleft"><b>Welcome Back %habboName% | <img src="/images/test/new_04.png"/> <?php echo number_format($userAccount["credits"]); ?> Credits | <img src="/images/test/cat_1.png"/><?php echo number_format($userAccount["activity_points"]); ?> Points  |
<p class="alignright"> Logged in as <b>%habboName%</b> | <a href="/client" target="uberClientWnd" onclick="HabboClient.openOrFocus(this); return false;"><b>Enter Hotel</b><i></i></a>
<div style="clear: both;"></div></div>  
<div id="overlay"></div>
<div id="header-container">
    <div id="header" class="clearfix">
        <h1><a href="%www%"></a></h1>
      <div id="subnavi" class=wide>
            <div id="subnavi-search">
                <div id="subnavi-search-upper">
                <ul id="subnavi-search-links">
<li>
</li>
        </ul>
                </div>
            </div>
            <div id="to-hotel">                        
            <?php if ($users->HasFuse(USER_ID, 'fuse_housekeeping_login')) { ?>
                                    <a href="/allseeingeye/index.php?_cmd=login" class="new-button red-button" style="margin-top: -65px;"><b>Housekeeping</b><i></i></a>
            <?php  ?>
            </div>          
        </div>
        <script type="text/javascript">
        L10N.put("purchase.group.title", "Create a group");
        document.observe("dom:loaded", function() {
            $("signout").observe("click", function() {
                HabboClient.close();
            });
        });
        </script>
        <?php } else { ?>
                  
                <form action="%www%/account/submit" method="post" id="login-form">
                    <input type="hidden" name="page" value="%www%<?php echo $_SERVER['PHP_SELF']; ?>" />
                    <ul>
                        <li>
                            <input type="submit" id="login-submit-button" value="Sign in" class="submit"/>
                        </li>
                    </ul>
                </form>
                <div id="subnavi-login-help" class="">
                    
                </div>
<div id="remember-me-notification" class="bottom-bubble" style="display:none;">
    <div class="bottom-bubble-t"><div></div></div>
    <div class="bottom-bubble-c">
                    By selecting 'remember me' you will stay signed in on this computer until you click 'Sign Out'. If this is a public computer please do not use this feature.
    </div>
    <div class="bottom-bubble-b"><div></div></div>
</div>
            </div>
        </div>
        <script type="text/javascript">
            LoginFormUI.init();
            RememberMeUI.init("right");
        </script>
        <?php } ?>
      
<ul id="navi">
<?php

$data = dbquery("SELECT id,caption,class,url,visibility FROM site_navi WHERE parent_id = '0' ORDER BY order_id ASC");

while ($link = mysql_fetch_assoc($data))
{
    $allowDisplay = true;
  
    switch ($link['visibility'])
    {
        default:
        case 0:
      
            $allowDisplay = false;
            break;
      
        case 1:
      
            break;
          
        case 2:
      
            if (!LOGGED_IN)
            {
                $allowDisplay = false;  
            }
          
            break;
          
        case 3:
      
            if (LOGGED_IN)
            {
                $allowDisplay = false;
            }
          
            break;
    }

    if (!$allowDisplay)
    {
        continue;
    }

    $class = clean($link['class']);
    $showLink = true;
  
    if (defined('TAB_ID') && TAB_ID == $link['id'])
    {
        $class .= ' selected';
        $showLink = false;
    }

    echo '    <li ' . (($class == "tab-register-now") ? 'id="tab-register-now"' : '') . ' class="' . $class . '">';
    
    if ($showLink)
    {
        echo '<a href="' . clean($link['url']) . '">';
    }
    else
    {
        echo '<strong>';
    }
  
    echo clean($link['caption']);
  
    if ($showLink)
    {
        echo '</a>';
    }
    else
    {
        echo '</strong>';
    }
  
    echo '    <span></span>
    </li>' . LB;
}

?>
</ul>

        <div id="habbos-online"><div class="rounded"><span>%hotel_status%</span></div></div>
      
    </div>
</div>


<div id="content-container">

<?php if (LOGGED_IN || defined('TAB_ID')) { ?>
<div id="navi2-container" class="pngbg">
    <div id="navi2" class="pngbg clearfix">
    <ul>
    <?php
  
    $i = 0;
    $lookupParent = '1';
  
    if (defined('TAB_ID'))
    {
        $lookupParent = TAB_ID;
    }
  
    $getSub = dbquery("SELECT id,caption,url,visibility FROM site_navi WHERE parent_id = '" . $lookupParent . "' ORDER BY order_id ASC");
  
    while ($subLink = mysql_fetch_assoc($getSub))
    {
        $allowDisplay = true;

        switch ($subLink['visibility'])
        {
            default:
            case 0:
          
                $allowDisplay = false;
                break;
          
            case 1:
          
                break;
              
            case 2:
          
                if (!LOGGED_IN)
                {
                    $allowDisplay = false;  
                }
              
                break;
              
            case 3:
          
                if (LOGGED_IN)
                {
                    $allowDisplay = false;
                }
              
                break;
        }
      
        $i++;
      
        if (!$allowDisplay)
        {
            continue;
        }
      
        $class = '';
        $showLink = true;
      
        if (defined('PAGE_ID') && PAGE_ID == $subLink['id'])
        {
            $class .= ' selected';
            $showLink = false;
        }
      
        if ($i == mysql_num_rows($getSub))
        {
            $class .= ' last';
        }
  
        echo '<li class="' . $class . '">';
        if ($showLink) echo '<a href="' . clean($subLink['url']) . '">';
        echo clean($subLink['caption']);
        if ($showLink) echo '</a>';
        echo '</li>';
    }
          
    ?>
    </ul>
    </div>
</div>
<?php } ?>

<div id="container">
<div id="content" style="position: relative" class="clearfix">
 

RainbowJerk

New Member
Dec 13, 2013
2
0
Hey bro, i just downlaoded this and its awesome, but when i open my client and press the voting button, it redirects me to your hotel, how can i fix that? been working on that all night but couldnt fix it.
 

JayC

Always Learning
Aug 8, 2013
5,493
1,398
Sorry was out all day it's under the vote.php change the retro lists to your hotel vote page
 

HotelHoster

Member
Sep 19, 2013
35
3
Ok I have just ran into a problem. When I first started using the CMS the client worked but now it doesn't. I am using the database included with this post and phoenix 3.11.0 and the client no longer works. I have checked my SWF's and they are all correct but on the EMU it shows no connections when I load the client.
 

Brian352

New Member
Nov 20, 2013
23
0
Hey bro, i just downlaoded this and its awesome, but when i open my client and press the voting button, it redirects me to your hotel, how can i fix that? been working on that all night but couldnt fix it.

Go to your HTDOCS folder, find the file "me" and click there. then press CTRL + H click on "find" and then search on api and then edit api to client.
 

JayC

Always Learning
Aug 8, 2013
5,493
1,398
That's not right.. I told him how to fix it correctly.
Go to your HTDOCS folder, find the file "me" and click there. then press CTRL + H click on "find" and then search on api and then edit api to client.
 

Codean

New Member
May 22, 2013
6
0
Can some1 help me i got this Error
UberCMS has encountered an error
Table neti.site_cron' doesn't exist
 

Users who are viewing this thread

Top