Welcome to the RaGEZONE - MMORPG development forums.

How to add tabs to PhoenixPHP (NOOB FRIENDLY)

This is a discussion on How to add tabs to PhoenixPHP (NOOB FRIENDLY) within the Habbo Tutorials forums, part of the Habbo Hotel category; Hey guys, just a simple TUT on how to add tabs to PhoenixPHP. Step 1 - Add PHP Code: INSERT INTO  ...

LyncusMU
Results 1 to 14 of 14
  1. #1
    HabboPH | www.habboph.com
    Rank
    Member +
    Join Date
    Aug 2010
    Location
    None ur bizz!
    Posts
    803
    Liked
    44

    config How to add tabs to PhoenixPHP (NOOB FRIENDLY)

    Tabo Hotel
    Hey guys, just a simple TUT on how to add tabs to PhoenixPHP.


    Step 1 - Add
    PHP Code:
    INSERT INTO `plugin` (`id`, `name`, `uninstall_code`, `hk_tab`, `hk_text`, `hk_link`, `cms_tab`, `cms_text`, `cms_link`) VALUES
    ('1''Forum''forum'''''''),
    (
    44'Forum''''''''''forum''Forum''/forum'); 
    Step 2 - Make a new nav in /system called (example; forumnav.php)

    Step 3 - Add
    PHP Code:
        <div class="SubnavBar">
        <?php
        $getplugin 
    mysql_query("SELECT * FROM plugin WHERE cms_tab = 'forum'");
        while(
    $plugin mysql_fetch_array($getplugin))
        {
        
    ?>
            <div class="navButton" <?php if(THIS_SCRIPT == $plugin['cms_link']) echo 'style="font-weight:bolder;"'?> onClick="location.href='<?php echo $plugin['cms_link']; ?>.php'"><a href="<?php echo $plugin['cms_link']; ?>.php"><?php echo $plugin['cms_text']; ?></a></div>
            <?php
        
    }
        
    ?>
        </div>
    Step 4 - Make sure the top of ur page shows this...
    PHP Code:
    <?php
    define
    ('USERNAME_REQUIRED'TRUE);
    define('ACCOUNT_REQUIRED'TRUE);
    include(
    'global.php');
    define("THIS_SCRIPT"'forum');
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 

    <html xmlns="http://www.w3.org/1999/xhtml"> 
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
    <head>
    <title><?php echo $sitename." - Forum"?></title>
    Step 5 - Make sure ur page has
    PHP Code:
    <div class="mainBox"> 
        <?php include("header.php"); ?>
        <?php include("system/forumnav.php"); ?>
    In it!

    Step 6 - Edit this in ur database...

    Step 7 - Last of all! Open Header.php and add...
    PHP Code:
                    <div class="navButton" ref="Forum" onClick="location.href='forum.php'">Forum<a href="forum.php"></a></div
    Need any help? Add my msn; [email protected]

    Thanks andi hope u enjoy!
    Last edited by thetrev14; 19-07-11 at 01:27 AM.

  2. HostKey.com: Unmetered Dedicated servers in the Netherlands
  3. #2
    1 yeare
    Rank
    Member +
    Join Date
    May 2007
    Location
    Sweden
    Posts
    488
    Liked
    2

    Re: How to add tabs to PhoenixPHP (NOOB FRIENDLY)

    Screen of the work when its done? :)

  4. #3
    HabboPH | www.habboph.com
    Rank
    Member +
    Join Date
    Aug 2010
    Location
    None ur bizz!
    Posts
    803
    Liked
    44

    Re: How to add tabs to PhoenixPHP (NOOB FRIENDLY)

    I did this one that way...

    Image:




    I did this one a different way which ill explain later...

    Image:



    Thanks

  5. #4
    Member
    Rank
    Newbie
    Join Date
    Jul 2011
    Posts
    25
    Liked
    0

    Re: How to add tabs to PhoenixPHP (NOOB FRIENDLY)

    I loved this plugin I can now post events and ends at the hotel! Very good!

  6. #5
    aka Illumnia <Guent.nl>
    Rank
    Member +
    Join Date
    Dec 2009
    Location
    The Netherlands
    Posts
    414
    Liked
    224

    Re: How to add tabs to PhoenixPHP (NOOB FRIENDLY)

    Mhm, i don't like to do this via SQL. But its a good tutorial, goodluck in the future.

  7. #6
    HabboPH | www.habboph.com
    Rank
    Member +
    Join Date
    Aug 2010
    Location
    None ur bizz!
    Posts
    803
    Liked
    44

    Re: How to add tabs to PhoenixPHP (NOOB FRIENDLY)

    Thanks and i cant post in the tutorials section. It doesnt show a post new thread button. Thanks again! :)

  8. #7
    Newbie
    Rank
    Newbie
    Join Date
    May 2011
    Location
    Toronto
    Posts
    13
    Liked
    1

    Re: How to add tabs to PhoenixPHP (NOOB FRIENDLY)

    Thanks for steeling Twiz Hotel's css and images. The plugin is alright but did anyone take a look at the credits. "Originalz". He just stole it from him. If you don't believe me go to Twiz Hotel.

  9. #8
    Working in private usage.
    Rank
    Member +
    Join Date
    Jul 2011
    Location
    On FrostEmu
    Posts
    886
    Liked
    128

    Re: How to add tabs to PhoenixPHP (NOOB FRIENDLY)

    Quote Originally Posted by Refraction View Post
    Thanks for steeling Twiz Hotel's css and images. The plugin is alright but did anyone take a look at the credits. "Originalz". He just stole it from him. If you don't believe me go to Twiz Hotel.
    if you don't wanna be ripped, then secure ur site, or let the owner secure his site.

    By the way, good tutorial. Already knew this but still gold.

  10. #9
    Member
    Rank
    Newbie
    Join Date
    Jul 2011
    Posts
    45
    Liked
    10

    Re: How to add tabs to PhoenixPHP (NOOB FRIENDLY)

    Quote Originally Posted by George2000 View Post
    if you don't wanna be ripped, then secure ur site, or let the owner secure his site.

    By the way, good tutorial. Already knew this but still gold.
    Its Called.. You Wont Believe This. View-Source ! Ooooo I know right its so surprising. The most u can do is Block Right Clicking.

  11. #10
    Idiots these days...
    Rank
    Member +
    Join Date
    Sep 2009
    Location
    Wales
    Posts
    1,202
    Liked
    213

    Re: How to add tabs to PhoenixPHP (NOOB FRIENDLY)

    Quote Originally Posted by Refraction View Post
    Thanks for steeling Twiz Hotel's css and images. The plugin is alright but did anyone take a look at the credits. "Originalz". He just stole it from him. If you don't believe me go to Twiz Hotel.
    You gonna cry now for making a few edits? I feel for you, No really I do.

    *Sarcasm*

    Index of /Public/Styles/custom


    Quote Originally Posted by Originalz View Post
    Its Called.. You Wont Believe This. View-Source ! Ooooo I know right its so surprising. The most u can do is Block Right Clicking.
    You can encode or encrypt it aswell.
    Last edited by zJordan; 19-07-11 at 06:34 PM.

  12. #11
    Minor Devolper
    Rank
    Member +
    Join Date
    Dec 2007
    Location
    England
    Posts
    586
    Liked
    58

    Re: How to add tabs to PhoenixPHP (NOOB FRIENDLY)

    as jordan said you can encrypt it - like we used to do with our loaders haha - also id never use this since mysql server doesnt need that stress...

  13. #12
    HabboPH | www.habboph.com
    Rank
    Member +
    Join Date
    Aug 2010
    Location
    None ur bizz!
    Posts
    803
    Liked
    44

    Re: How to add tabs to PhoenixPHP (NOOB FRIENDLY)

    Actually, Originalz and I own a hotel now so no worries :)

  14. #13
    Member
    Rank
    Newbie
    Join Date
    Jul 2011
    Posts
    45
    Liked
    10

    Re: How to add tabs to PhoenixPHP (NOOB FRIENDLY)

    Quote Originally Posted by -Jordan- View Post
    You gonna cry now for making a few edits? I feel for you, No really I do.

    *Sarcasm*

    Index of /Public/Styles/custom

    Actually It's Not Crying. How about i Rip ur Edits right, and use it eyyy :D . And I Said That With Respect So Dont go and start sometin big szeen.




    You can encode or encrypt it aswell.
    And Yee I'll Encode It Thanks For The Advice. (Y)

  15. #14
    Newbie
    Rank
    Newbie
    Join Date
    Jul 2011
    Posts
    12
    Liked
    0

    Re: How to add tabs to PhoenixPHP (NOOB FRIENDLY)

    will be trying this tonight

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •