UberCMS 2 How to do this..

Results 1 to 6 of 6
  1. #1
    R.I.P Millercent FatalLulz is offline
    MemberRank
    Nov 2012 Join Date
    AustraliaLocation
    2,248Posts

    config UberCMS 2 How to do this..

    Hey,

    first off I'm in a little need of help with removing this;


    The code for it (I believe) is this;
    Code:
    <body id="%body_id%" class="<?php if (!LOGGED_IN) { echo 'anonymous'; } ?> "> 
    <div id="overlay"></div> 
    <div id="header-container"> 
    	<div id="header" class="clearfix"> 
    		<h1><a href="%www%"></a></h1> 
           <div id="subnavi"> 
    			<div id="subnavi-user"> 
    			<?php if (LOGGED_IN) { ?>
    				<ul> 
    					<li id="myfriends"><a href="#"><span>My Friends</span></a><span class="r"></span></li> 
    					<li id="mygroups"><a href="#"><span>My Groups</span></a><span class="r"></span></li> 
    					<li id="myrooms"><a href="#"><span>My Rooms</span></a><span class="r"></span></li> 
    				</ul> 
    			<?php } else { ?>
    			<div class="clearfix">&nbsp;</div> 
                    <p> 
    				        <a href="%www%/client" id="enter-hotel-open-medium-link" target="client" onclick="HabboClient.openOrFocus(this); return false;">Enter Hotel</a> 
                    </p> 
    			<?php } ?>
    			</div> 
    			<?php if (LOGGED_IN) { ?>
                <div id="subnavi-search"> 
                    <div id="subnavi-search-upper"> 
                    <ul id="subnavi-search-links"> 
    					<li><a href="%www%/account/logout" class="userlink" id="signout">Sign Out</a></li> 
    				</ul> 
                    </div> 
                </div>
    I tried removing the entire thing (White bar and all) but it never fully removed.

    Secondly, I want to add another one of these;

    Under neath that one.. I tried again but all it does it just overlap it. I think it's not coded anywhere to add one below it BUT I have seen other sites with one below it so it's possible.


  2. #2
    Banned Hindi is offline
    BannedRank
    Dec 2013 Join Date
    C:/Location
    163Posts

    Re: UberCMS 2 How to do this..

    Quote Originally Posted by FatalLulz View Post
    Hey,

    first off I'm in a little need of help with removing this;


    The code for it (I believe) is this;
    Code:
    <body id="%body_id%" class="<?php if (!LOGGED_IN) { echo 'anonymous'; } ?> "> 
    <div id="overlay"></div> 
    <div id="header-container"> 
        <div id="header" class="clearfix"> 
            <h1><a href="%www%"></a></h1> 
           <div id="subnavi"> 
                <div id="subnavi-user"> 
                <?php if (LOGGED_IN) { ?>
                    <ul> 
                        <li id="myfriends"><a href="#"><span>My Friends</span></a><span class="r"></span></li> 
                        <li id="mygroups"><a href="#"><span>My Groups</span></a><span class="r"></span></li> 
                        <li id="myrooms"><a href="#"><span>My Rooms</span></a><span class="r"></span></li> 
                    </ul> 
                <?php } else { ?>
                <div class="clearfix">&nbsp;</div> 
                    <p> 
                            <a href="%www%/client" id="enter-hotel-open-medium-link" target="client" onclick="HabboClient.openOrFocus(this); return false;">Enter Hotel</a> 
                    </p> 
                <?php } ?>
                </div> 
                <?php if (LOGGED_IN) { ?>
                <div id="subnavi-search"> 
                    <div id="subnavi-search-upper"> 
                    <ul id="subnavi-search-links"> 
                        <li><a href="%www%/account/logout" class="userlink" id="signout">Sign Out</a></li> 
                    </ul> 
                    </div> 
                </div>
    I tried removing the entire thing (White bar and all) but it never fully removed.

    Secondly, I want to add another one of these;

    Under neath that one.. I tried again but all it does it just overlap it. I think it's not coded anywhere to add one below it BUT I have seen other sites with one below it so it's possible.
    Code:
    body id="%body_id%" class="<?php if (!LOGGED_IN) { echo 'anonymous'; } ?> "> 
    <div id="overlay"></div> 
    <div id="header-container"> 
    	<div id="header" class="clearfix"> 
    		<h1><a href="%www%"></a></h1> 
           <div id="subnavi"> 
    			<div id="subnavi-user"> 
    			<?php if (LOGGED_IN) { ?>
    				<ul> 
    					<li id="myfriends"><a href="#"><span>My Friends</span></a><span class="r"></span></li> 
    					<li id="mygroups"><a href="#"><span>My Groups</span></a><span class="r"></span></li> 
    					<li id="myrooms"><a href="#"><span>My Rooms</span></a><span class="r"></span></li> 
    				</ul> 
    			<?php } else { ?>
    			<div class="clearfix">&nbsp;</div> 
                    <p> 
    				        <a href="%www%/client" id="enter-hotel-open-medium-link" target="client" onclick="HabboClient.openOrFocus(this); return false;">Enter Hotel</a> 
    
    // second button lul
    <a href="" id="enter-hotel-open-medium-link" target="client" onclick="HabboClient.openOrFocus(this); return false;">ur second button lelelel</a>
    
                    </p> 
    			<?php } ?>
    			</div> 
    			<?php if (LOGGED_IN) { ?>
                <div id="subnavi-search"> 
                    <div id="subnavi-search-upper"> 
                    <ul id="subnavi-search-links"> 
    					<li><a href="%www%/account/logout" class="userlink" id="signout">Sign Out</a></li> 
    				</ul> 
                    </div> 
                </div>
    Fixed your, Um second button and I guess removing the upper part would be locating id subnavi in the global.css and editing it. =)

  3. #3
    Boomshakalaka resize is offline
    MemberRank
    Dec 2011 Join Date
    286Posts

    Re: UberCMS 2 How to do this..

    Isn't it this code?

    PHP Code:
     <div id="subnavi"> 
                <div id="subnavi-user"> 
                <?php if (LOGGED_IN) { ?>
                    <ul> 
                        <li id="myfriends"><a href="#"><span>My Friends</span></a><span class="r"></span></li> 
                        <li id="mygroups"><a href="#"><span>My Groups</span></a><span class="r"></span></li> 
                        <li id="myrooms"><a href="#"><span>My Rooms</span></a><span class="r"></span></li> 
                    </ul>

  4. #4
    R.I.P Millercent FatalLulz is offline
    MemberRank
    Nov 2012 Join Date
    AustraliaLocation
    2,248Posts

    Re: UberCMS 2 How to do this..

    Quote Originally Posted by resize View Post
    Isn't it this code?

    PHP Code:
     <div id="subnavi"> 
                <div id="subnavi-user"> 
                <?php if (LOGGED_IN) { ?>
                    <ul> 
                        <li id="myfriends"><a href="#"><span>My Friends</span></a><span class="r"></span></li> 
                        <li id="mygroups"><a href="#"><span>My Groups</span></a><span class="r"></span></li> 
                        <li id="myrooms"><a href="#"><span>My Rooms</span></a><span class="r"></span></li> 
                    </ul>
    If I remove that then I'm left with 'Parse error: syntax error, unexpected '}' in C:\xampp\htdocs\includes\tpl\generic-top.tpl on line 6' . Exactly what I got before.
    @Hindi if I do that then this happens;

  5. #5
    R.I.P Millercent FatalLulz is offline
    MemberRank
    Nov 2012 Join Date
    AustraliaLocation
    2,248Posts

    Re: UberCMS 2 How to do this..

    Quote Originally Posted by Hindi View Post
    Hotel URL? and add my Skype absterg3 - Ill fix it up for ya :)
    http://127.0.0.1 ;P (Localhost in other words)

    Skype isn't my preference for help.. threads are made for a reason (Plus i'm heading to sleep).

    Tried a few other ways and didn't get far.

  6. #6
    R.I.P Millercent FatalLulz is offline
    MemberRank
    Nov 2012 Join Date
    AustraliaLocation
    2,248Posts

    Re: UberCMS 2 How to do this..

    Fixed the first problem. Just need help with setting up the button under the other one.. I've added the button like so;
    Code:
    <?php if (LOGGED_IN) { ?> 
                <div id="to-hotel"> 
    					    <a href="%www%/client" class="new-button green-button" target="uberClientWnd" onclick="HabboClient.openOrFocus(this); return false;"><b>Enter Hotel</b><i></i></a> 
    						
    			
    			</div> 
    			<div id="to-hotel"> 
    					    <a href="%www%/client" class="new-button white-button" target="uberClientWnd" onclick="HabboClient.openOrFocus(this); return false;"><b>Enter Hotel</b><i></i></a> 
    						
    			
    			</div>
    But it shows up on top of the other one for some reason.



Advertisement