UberCMS Staff Page - About Owner's edit

Results 1 to 3 of 3
  1. #1
    Apprentice frankblack is offline
    MemberRank
    Jul 2013 Join Date
    New ZealandLocation
    5Posts

    config UberCMS Staff Page - About Owner's edit

    Hey guys!
    This is my first release, so I hope people enjoy it .

    Credits
    Habbo (For the theme) - 25%
    Me (For the coding) - 35%
    UberCMS Developers - 45%

    Recently I have been working with UberCMS (Custom)
    and developing my new hotel after I shutdown Habix Hotel late last year... In this release I have coded a "About the Owner + Co-Owner" box on the side of the Staff Page that fully interacts with SQL and gets the staff members looks from the database based on their ID, meaning when the owner changes his looks on the staff page, it stays up to date as its not hard coded with his look. I have also set it up so you can easily change the gender in the text about he co-owner and owner so it says he/she or his/her by changing one simple line instead of having to edit the whole paragraph... This has a database system that works in with the database and has a html version were you change the settings at the top of the inc/tpl/staff-about.tpl page.

    Here is the HTML Version:


    Code below:
    <!-- Owner Config Dialog --!>
    <!-- Username: (For Avatar image)--!><?php
    $look_owner = mysql_result(mysql_query("SELECT users.look FROM users WHERE users.id = 1"), 0);
    ?>
    <!-- Username: (For in text) --!><?php
    $name_owner = mysql_result(mysql_query("SELECT users.username FROM users WHERE users.id = 1"), 0);
    ?>
    <!-- His/Her Gender choice (For in text) --!><?php $his_her_owner = his
    ?>
    <!-- He/She Gender choice (For in text) --!><?php $he_she_owner = he
    ?>


    <!-- Co-Owner Config Dialog --!>
    <!-- Username: (For Avatar image)--!><?php
    $look_coowner = mysql_result(mysql_query("SELECT users.look FROM users WHERE users.id = 2"), 0);
    ?>
    <!-- Username: (For in text) --!><?php
    $name_coowner = mysql_result(mysql_query("SELECT users.username FROM users WHERE users.id = 2"), 0);
    ?>
    <!-- His/Her Gender choice (For in text) --!><?php $his_her_coowner = his
    ?>
    <!-- He/She Gender choice (For in text) --!><?php $he_she_coowner = he
    ?>


    <div class="habblet-container ">
    <div class="cbb clearfix red ">


    <h2 class="title">Habbo Hotel Owner</h2>


    <div class="box-content">


    <img src="http://habbo.com/habbo-imaging/avatarimage?&action=crr=6&direction=2&head_direction=3&gesture=sml&figure=<?php echo ($look_owner); ?>" align="left">

    <p>
    <b><a href=""><?php echo ($name_owner); ?></a></b><img src="http://beta.no-ip.biz/r63b/c_images/album1584/ad1.gif" align="right"><br>
    <?php echo ($name_owner); ?> is the owner of Habbo Hotel, <?php echo ($his_her_owner); ?> job is to keep the website online and everything running smoothly. <?php echo ($name_owner); ?> is often inactive and very hard to contact, <?php echo ($he_she_owner); ?> likes to answer questions that people have and likes things to run "fine and dandy".

    </p>


    </div>

    </div>
    </div>
    <div class="habblet-container ">
    <div class="cbb clearfix red ">


    <h2 class="title">Habbo Hotel Co-Owner</h2>


    <div class="box-content">




    <b><a href=""><?php echo ($name_coowner); ?></a></b><img src="http://habbo.com/habbo-imaging/avatarimage?&action=crr=6&direction=2&head_direction=3&gesture=sml&figure=<?php echo ($look_coowner); ?>" align="left">

    <p>
    <img src="http://beta.no-ip.biz/r63b/c_images/album1584/ad2.gif" align="right">
    <?php echo ($name_coowner); ?> is the second owner of Habbo and is incharge of staff management, <?php echo ($he_she_coowner); ?> is a very friendly person to have a cup of tea with. <?php echo ($name_coowner); ?> likes to have fun around the hotel and talk
    to other Habbo's.
    </p>


    </div>

    </div>
    </div>




    <div class="habblet-container ">
    <div class="cbb clearfix settings ">
    <h2 class="title"><span style="float: center;"><b>Our Badges</b></span> <span style="float: right; font-weight: normal; font-size: 75%;"></span></h2>

    <div id="habboclub-info" class="box-content"><center><img src="http://beta.no-ip.biz/r63b/c_images/album1584/EV0.gif" align="center"><img src="http://beta.no-ip.biz/r63b/c_images/album1584/EV1.gif" align="center"><img src="http://beta.no-ip.biz/r63b/c_images/album1584/adm.gif" align="center"><img src="http://beta.no-ip.biz/r63b/c_images/album1584/EV1.gif" align="center"><img src="http://beta.no-ip.biz/r63b/c_images/album1584/EV0.gif" align="center"></center></br><center><i>To find us, simply look for a user wearing one of the above badges!
    </i></center></div>
    <?php
    echo '</div>
    </div>


    <div class="habblet-container ">
    <div class="cbb clearfix settings ">


    <h2 class="title">Habbo Trial Staff</h2>


    <div class="box-content">



    <p>
    <center><img src="http://beta.no-ip.biz/r63b/c_images/album1584/HBA.gif" align="center"><img src="http://beta.no-ip.biz/r63b/c_images/album1584/NWB.gif" align="center"></center></br></br><center>There are two stages in the process of being a trial staff member, You will first start of at Habbo Trial Silver, Were you will be trained and supervised for a period of time. After that you will be promoted to Habbo Trial Gold, And will be trained on how to answer support tickets, and will work along-side a Moderator who will be assigned to you. After those two stages you will be promoted to a Moderator, If available. If not you will be granted the Habbo Staff badge but will stay at the trial staff position until a spot becomes available for you.</center>
    </p>


    </div>


    </div>
    </div>


    <div class="habblet-container ">
    <div class="cbb clearfix red ">


    <h2 class="title">Applying for Trial Staff</h2>


    <div class="box-content">



    <p>
    <center>Habbo hotel accepts staff applications and sometimes hand-picks our staff when we need more staff, If we are accepting people VIA application we will always be looking for another person to join our team of trial staff, Please dont bug us about this as it will only lower your chances. When applications are open you will be nofitied in the news.</center>
    </p>


    </div>


    </div>
    </div>






    <script type="text/javascript">if (!$(document.body).hasClassName(\'process-template\')) { Rounder.init(); }</script> ';





    It is self-explanatory when it comes to editing and adding this in, just replace your entire staff-about.tpl with this, or add this in to part of it, if you dont want the Trial staff, Staff badges, Staff Info box's simply delete them.

    Live version: beta.no-ip.biz/community/staff

    Screenshots


    Direct Image link: http://i41.tinypic.com/hs6xvs.png

    Also, As i mentioned in the top of the post there is Two versions, a HTML (released) and a Database version, They both do the same thing just in different ways, the database version may be released depending on the feedback on this thread.

    Thanks, Enjoy.
    Last edited by frankblack; 28-07-13 at 05:25 AM. Reason: Adding Credits


  2. #2
    Developer iGalaxy is offline
    MemberRank
    Jul 2013 Join Date
    C:/xampp/htdocsLocation
    488Posts

    Re: UberCMS Staff Page - About Owner's edit

    Nice CMS, could you privately talk to me? PM me for my skype.

  3. #3
    Apprentice frankblack is offline
    MemberRank
    Jul 2013 Join Date
    New ZealandLocation
    5Posts

    Re: UberCMS Staff Page - About Owner's edit

    Thanks. :).



Advertisement