How to add tabs to PhoenixPHP (NOOB FRIENDLY)

Results 1 to 14 of 14
  1. #1
    Account Upgraded | Title Enabled! thetrev14 is offline
    MemberRank
    Aug 2010 Join Date
    None ur bizz!Location
    792Posts

    config How to add tabs to PhoenixPHP (NOOB FRIENDLY)

    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; strikehotel@live.com

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


  2. #2
    Account Upgraded | Title Enabled! Spyron is offline
    MemberRank
    May 2007 Join Date
    SwedenLocation
    486Posts

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

    Screen of the work when its done? :)

  3. #3
    Account Upgraded | Title Enabled! thetrev14 is offline
    MemberRank
    Aug 2010 Join Date
    None ur bizz!Location
    792Posts

    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

  4. #4
    Enthusiast Haninha is offline
    MemberRank
    Jul 2011 Join Date
    25Posts

    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!

  5. #5
    hoi ik ben cool Merijn is offline
    MemberRank
    Dec 2009 Join Date
    The NetherlandsLocation
    492Posts

    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.

  6. #6
    Account Upgraded | Title Enabled! thetrev14 is offline
    MemberRank
    Aug 2010 Join Date
    None ur bizz!Location
    792Posts

    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! :)

  7. #7
    Apprentice Refraction is offline
    MemberRank
    May 2011 Join Date
    TorontoLocation
    13Posts

    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.

  8. #8
    Account Upgraded | Title Enabled! George2000 is offline
    MemberRank
    Jul 2011 Join Date
    The NetherlandsLocation
    1,150Posts

    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.

  9. #9
    Enthusiast Originalz is offline
    MemberRank
    Jul 2011 Join Date
    44Posts

    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.

  10. #10
    ส็็็็็็็ Bloodraven is offline
    MemberRank
    Sep 2009 Join Date
    AntarcticaLocation
    2,414Posts

    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 Bloodraven; 19-07-11 at 07:34 PM.

  11. #11
    Minor Devolper ntl200 is offline
    MemberRank
    Dec 2007 Join Date
    EnglandLocation
    538Posts

    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...

  12. #12
    Account Upgraded | Title Enabled! thetrev14 is offline
    MemberRank
    Aug 2010 Join Date
    None ur bizz!Location
    792Posts

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

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

  13. #13
    Enthusiast Originalz is offline
    MemberRank
    Jul 2011 Join Date
    44Posts

    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)

  14. #14
    Apprentice rsy54yw5 is offline
    MemberRank
    Jul 2011 Join Date
    12Posts

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

    will be trying this tonight



Advertisement