Good shit Jay. Can a brother get a screenie?
(Im talking in the voice of Black Mithex)
This is a discussion on UberCMS new me page within the Habbo Releases forums, part of the Habbo Hotel category; Here you go, used this on my old cms. This is the new habbo.com me page me.php - PHP Code: ...
Here you go, used this on my old cms.
This is the new habbo.com me page
me.php -Now go to inc/tpl open comp-me.tpl and replace it with soPHP Code:<?php
/*=======================================================================
| UberCMS - Advanced Website and Content Management System for uberEmu
| #######################################################################
| Copyright (c) 2010, Roy 'Meth0d' and updates by Matthew 'MDK'
| http://www.meth0d.org & http://www.sulake.biz
| #######################################################################
| This program is free software: you can redistribute it and/or modify
| it under the terms of the GNU General Public License as published by
| the Free Software Foundation, either version 3 of the License, or
| (at your option) any later version.
| #######################################################################
| This program is distributed in the hope that it will be useful,
| but WITHOUT ANY WARRANTY; without even the implied warranty of
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
| GNU General Public License for more details.
\======================================================================*/
define('TAB_ID', 1);
define('PAGE_ID', 2);
require_once "global.php";
if (!LOGGED_IN)
{
header("Location: " . WWW . "/");
exit;
}
else if ($users->GetUserVar(USER_ID, 'newbie_status') == "0")
{
header("Location: " . WWW . "/register/welcome");
exit;
}
// Initialize template system
$tpl->Init();
// Initial variables
$tpl->SetParam('page_title', 'Home');
// Generate page header
$tpl->AddGeneric('head-init');
$tpl->AddIncludeSet('generic');
$tpl->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/personal.css', 'stylesheet'));
$tpl->AddIncludeFile(new IncludeFile('text/javascript', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/habboclub.js'));
$tpl->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/minimail.css', 'stylesheet'));
$tpl->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/styles/myhabbo/control.textarea.css', 'stylesheet'));
$tpl->AddIncludeFile(new IncludeFile('text/javascript', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/minimail.js'));
$tpl->WriteIncludeFiles();
$tpl->AddGeneric('head-overrides-generic');
$tpl->AddGeneric('head-bottom');
// Generate generic top/navigation/login box
$tpl->AddGeneric('generic-top');
// Column 1
$tpl->Write('<div id="column1" class="column">');
// Me/infofeed widget
$compMe = new Template('comp-me');
$compMe->SetParam('look', $users->GetUserVar(USER_ID, 'look'));
$compMe->SetParam('motto', $users->GetUserVar(USER_ID, 'motto'));
$compMe->SetParam('creditsBalance', intval($users->GetUserVar(USER_ID, 'credits')));
$compMe->SetParam('pixelsBalance', intval($users->GetUserVar(USER_ID, 'activity_points')));
$compMe->SetParam('lastSignedIn', $users->GetUserVar(USER_ID, 'last_online'));
$compMe->SetParam('clubStatus', ($users->HasClub(USER_ID)) ? '<a href="%www%/credits/uberclub">' . $users->GetClubDays(USER_ID) . '</a> Days' : '<a href="%www%/credits/uberclub">Join Uber Club »</a>');
//$compMe->SetParam('clubStatus', '');
$tpl->AddTemplate($compMe);
$tpl->Write('</div>');
// Column 2
// Column 3
$tpl->AddGeneric('generic-column3');
// Footer
$tpl->AddGeneric('footer');
// Output the page
$tpl->Output();
?>
PHP Code:<link rel="stylesheet" href="http://images.habbo.com/habboweb/%web_build%/web-gallery/static/styles/lightweightmepage.css" type="text/css" />
<div id="wide-personal-info">
<div id="habbo-plate">
<a href="http://www.habbzo.net/profile">
<img alt="%habboName%" src="http://www.habbo.co.uk/habbo-imaging/avatarimage?figure=%look%">
</a>
</div>
<div id="name-box" class="info-box">
<div class="label">Username:</div>
<div class="content">%habboName%</div>
</div>
<div id="motto-box" class="info-box">
<div class="label">Motto:</div>
<div class="content">
%motto% - <a href="/profile">Change</a>
</div>
</div>
<div id="last-logged-in-box" class="info-box">
<div class="label">Credits:</div>
<div class="content">%creditsBalance%</div>
</div>
<div class="enter-hotel-btn">
<div class="open enter-btn">
<a href="%www%/client" target="e61a1d2f6d9ba2b022fd840a0645cff02431f253" onclick="HabboClient.openOrFocus(this); return false;">Enter Habbzo Hotel<i></i></a>
<b></b>
</div>
</div>
</div>
<div id="promo-box">
<div id="promo-bullets"></div>
<div class="promo-container" style="background-image: url(http://habbo.hs.llnwd.net/c_images/web_promo/web_promo_01.png)">
<div class="promo-content-container">
<div class="promo-content">
<div class="title">Horses on there way! </div>
<div class="body">Yes, Yet again we are going to have horses ride there way into our client. This time, alot less bugs. </div>
</div>
</div>
<div class="promo-link-container">
<div class="enter-hotel-btn">
<div class="open enter-btn">
<a style="padding: 0 8px 0 19px;" href="%www%/client">Go to room</a><b></b>
</div>
</div>
</div>
</div>
</div>
Good shit Jay. Can a brother get a screenie?
(Im talking in the voice of Black Mithex)
Fuck this I'm out. <3 and miss you guys.
Special Thanks to:
Muscab
Makarov
Jonteh
Mickey
DeAndre
Bill
Sojobo
vLife
Sean/DJ Remix
PEjump
Resource
Crawl
MentaL
Subway
Tha Matrix
zuc0001
Zak
Thank you, You can do without UberCMS and db? For if I find not work.
Posted via Mobile Device
Is there a release for phoenix?
is there any good ubercms out atm to use this on?
Respect points annoy me.
Awesomeness can only be earnt by trust.
Post Count:
1 100 200 300 400 500 600 700 800 900 1000 1100 1100 1200 1300 1400 1500---->
Save my rep from sojobo! He eats it for breakfast with likes. Made in five minutes btw.
[SIGPIC][/SIGPIC]
This is a sexy release, but I hate the new 'News' widget >:(
Have you got any ubercms for phoenix? :S
if someone can finish the news widget?
you have to convert this to Uber:
PHP Code:<?php
$query_display = mysql_query("SELECT * FROM cms_news WHERE super_fader ='1'");
$row_news = mysql_num_rows($query_display);
?>
<div id="promo-box" style="display:<?php if ($row_news == 0) { echo'none'; }else{ echo'block'; } ?>;margin-left:-1px;margin-bottom:10px;">
<div style="margin-top:10px;" id="promo-bullets"></div>
<?php
$query = mysql_query("SELECT * FROM cms_news WHERE super_fader ='1' ORDER BY published DESC LIMIT 4");
$c = 0;
while($row = mysql_fetch_assoc($query)) {
$display = 'block';
if ($c > 0)
{
$display = 'none';
}
echo '
<div class="promo-container" style="display: '.$display.'; background-image: url('.$row["super_fader_image"].');">
<div class="promo-content">
<div class="title"><a style="color: white;" href="articles.php?story='.$row["id"].'">'.stripslashes($row["title"]).'</a></div>
<div class="body">'.strip_tags($row["shortstory"]).'</div>
</div>
<a href="'.$facebook.'" target="_blank" class="facebook-link"></a>
<a href="http://twitter.com/#!/'.$twitter.'" target="_blank" class="twitter-link"></a>
<div class="enter-hotel-btn">
<div class="open enter-btn">
<a href="/client" target="ClientWndw">'.$lang['enter_hotel'].'<i></i></a>
<b></b>
</div>
</div>
</div>
';
$c++;
}
?>
</div>
<script type="text/javascript">
document.observe("dom:loaded", function() { PromoSlideShow.init(); });
</script>
</div>
Nice release, thought I saw this one before for ubercms
Sent from my GT-S5660 using Tapatalk
Sorry for my english if it isn't good, I am from The Netherlands.
My website:
http://officialgreenmax.co.cc/
All you have to do is the steps I provided, There is nothing more to it.
If you enjoy the release, simply click like.
Thanks, moved a few things around and come up with this:
What you think![]()
Thanks, Facebook
Rest In Peace, To my dog Sparky. Never forgotten <3
Skype: Danny.runsnyc
msn: dannyrunsnyc@hotmail.com