OMG as sexy!! ''Isak'' <3![]()
OMG as sexy!! ''Isak'' <3![]()
Register button fix
Go app/tpl/skins/{skin}/index.php
toCode:<button >Register on {hotelname} for free</button>
put afterCode:<button class="register">Register on {hotelname} for free</button>
- - - Updated - - -Code:<script>$(".register").click(function() { window.location="http://{YOUR_IP}/register"; }); </script>
news fix
- - - Updated - - -Code:ALTER TABLE cms_news ADD (shortstory VARCHAR(999),longstory VARCHAR(999),author VARCHAR(999),published VARCHAR(999));
news html post fix:
Go app/tpl/skins/{skin}/admin/news_create.php
find:
toCode:$title = secureStr($_POST['title']); $shortstory = secureStr($_POST['shortstory']); $longstory = secureStr($_POST['longstory']);
NOTE:THIS PROCESS CAN CREATE A SECURITY RİSK.Code:$title = $_POST['title']; $shortstory = $_POST['shortstory']; $longstory = $_POST['longstory'];
Last edited by selimrecep; 11-02-15 at 06:21 PM.
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.
Write souce code of the page "me" here
- - - Updated - - -
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");
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:
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:
- - - Updated - - -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
- - - Updated - - -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"/>
Last edited by selimrecep; 14-02-15 at 02:30 PM.
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:
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
- - - Updated - - -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){
- - - Updated - - -Code:if($_SESSION['user']['rank'] >= {your_min_rank){
@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
- - - Updated - - -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
Last edited by selimrecep; 14-02-15 at 12:16 PM. Reason: .php to .js
screen shoot please??? @Neutrons212
Last edited by selimrecep; 14-02-15 at 11:11 AM.
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
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
"Table 'habbo.settings' doesn't exist" Can you give me this table bro?