Initiate Mage
- Joined
- Feb 9, 2015
- Messages
- 1
- Reaction score
- 0
OMG as sexy!! ''Isak'' <3tt:
Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!
Join Today!<button >Register on {hotelname} for free</button>
<button class="register">Register on {hotelname} for free</button>
<script>$(".register").click(function() {
window.location="http://{YOUR_IP}/register";
});
</script>
ALTER TABLE cms_news ADD (shortstory VARCHAR(999),longstory VARCHAR(999),author VARCHAR(999),published VARCHAR(999));
$title = secureStr($_POST['title']);
$shortstory = secureStr($_POST['shortstory']);
$longstory = secureStr($_POST['longstory']);
$title = $_POST['title'];
$shortstory = $_POST['shortstory'];
$longstory = $_POST['longstory'];
Write souce code of the page "me" hereHi, when i go to: index.php it redirects me to habway how to fix it??
$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");
$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?Write souce code of the page "me" here
staff.php fix
Go to app/tpl/skins/{skin}/staff.php(rank 11 fix)
find:
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)) ORDER BY id DESC");
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?
background: url(../../images/icons/extra.png) no-repeat top center;
background: url(../images/icons/extra.png) no-repeat top center;
user_badges
users_badges
<img class="shadow" style="margin-top:10px;"src="/r63/c_images/album1584/'.$badgeCodes[$n].'.gif"/>
<img class="shadow" style="margin-top:10px;"src="{YOUR_C_IMAGES_URL}/album1584/'.$badgeCodes[$n].'.gif"/>
You must be registered to see links
ranks table(staff.php fix):
id INT(2)
name VARCHAR(999)
badgeid VARCHAR(20)
- - - Updated - - -
OR
ranks.sql:
You must be registered to see links
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:
go app/tpl/skins/{skin}/styles/red/red-icons.cssCode:background: url(../../images/icons/extra.png) no-repeat top center;
go to line 115
replace to:
Code:background: url(../images/icons/extra.png) no-repeat top center;
badge shop fix (error:user_badges doesn't exist)
go app/tpl/skins/{skin}/badgeshop.php
replace all toCode:user_badges
Code:users_badges
badgeshop icon fix
go app/tpl/skins/{skin}/badgeshop.php
GO LINE 64
replace toCode:<img class="shadow" style="margin-top:10px;"src="/r63/c_images/album1584/'.$badgeCodes[$n].'.gif"/>
Code:<img class="shadow" style="margin-top:10px;"src="{YOUR_C_IMAGES_URL}/album1584/'.$badgeCodes[$n].'.gif"/>
import your database pleaseVery, very, very thanks!
But, i don't have hk :c i'm rank 10:
You must be registered to see links
And, if i try to go in /hk.php it says i haven't the right rank, in hk the min rank is 6.
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 ;
}
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 ;
}
<?php if(isset($_COOKIE['style'])){
print "<script>
switch_style('{$_COOKIE['style']}');
</script>";
}
?>
if($_SESSION['user']['rank'] >= 5){
if($_SESSION['user']['rank'] >= {your_min_rank){
<img class="shadow" src="/app/tpl/skins/Project Habbo/images/news/<?php echo $news['image'] ?>" alt="{newstitle-<?php echo $news['id']; ?>" align="right">
user_tags
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."import your database please
You must be registered to see links
pass: bOasIB76YAW1nql1eMsNr3eXY9I1mN72efn4kHKV0hM
new fix (forgot red-green-blue style at refresh the page)
go extra/head/change.php
replace:
toCode: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 ; }
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>"; } ?>
HK fix
go to hk.php
go line 2
replace
toCode:if($_SESSION['user']['rank'] >= 5){
Code:if($_SESSION['user']['rank'] >= {your_min_rank){
@Neutrons212
your get this message?
---------------------------------------------------------
You are not allowed to be here, sorry.
---------------------------------------------------------
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">
new fix (user settings tags)
go tags.php
replace all
toCode:user_tags
Code:users_tags
screen shoot please??? Neutrons212Thanks! 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
replace all with Notepad++You must be registered to see linksI don't have hk in the menu, but if i go in /hk it works.
And happens this if i click something in hk.You must be registered to see links
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){
Have you tried logging in again to clear browsing data ?Already done... so, i changed the min rank in the headers but nothing:
You must be registered to see links
I don't see: hk and staffrule.
I haven't got habbo.settings table.(settings)
settings replace to server_settings??
go app/management/config.phpIt's a table of hk, but, how i can set maintenance? in hk there isn't nothing.
try it:There is a method to do it with the db?
$maintenance_q=mysql_query("SELECT * FROM maintenance");
while($row_m=mysql_fetch_assoc($maintenance_q))
{
$_CONFIG['hotel']['in_maint'] = $row_m['maintenance'];
}