[php] how to put tabbed menu for a forum like this

Discussion in 'PHP' started by surendra204, Sep 15, 2011.

  1. #1
    hi i am newer to php and i have a forum which was designed in php. i want to make my forum like this. In this all forum categeories are not placed in a single page it is divided into some categeories and placed under tabs. i dont kwno how can i do this. i serached in phpbb forum and community. but i ddn't get exatly for what i am looking. can you pelase tell me hwo can i do this. i am giving the screen shot for a web site who did.

    [​IMG]
     
    surendra204, Sep 15, 2011 IP
  2. Rising_Star

    Rising_Star Active Member

    Messages:
    39
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    63
    #2
    first of all put the tabs u want at the top of your page and give them a code u want... for example gaming-1, coding-2, computing-3...etc.... now the links for the tabs shoud be like this 
    
    
    
    http://viewforum.php?tab=1 ......... for gaming
    
    h ttp://viewforum.php?tab=2 ........ for coding
    
    h ttp://viewforum.php?tab=3 ........ for computing....
    
    so when a users clicks on the tabs.... they will carry the "tab=1" value in the address bar... get it with $_GET and load the categories u want for the particular tab
    
    PHP:
     
    Rising_Star, Sep 16, 2011 IP
  3. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #3
    This isn't something that someone should tackle as his first programming project. You're going to have to learn a lot of programming, or you're going to have to learn a library that has tabs. It's not something someone can give you a few lines of code (or even a whole script) to just add to your forum.
     
    Rukbat, Sep 16, 2011 IP
  4. surendra204

    surendra204 Greenhorn

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #4
    i thought there would be already a mod for this. hmmmmm so i need to learn php so that i can do this. ok friends thanks for all your replies
     
    surendra204, Sep 17, 2011 IP
  5. ezprint2008

    ezprint2008 Well-Known Member

    Messages:
    611
    Likes Received:
    15
    Best Answers:
    2
    Trophy Points:
    140
    Digital Goods:
    1
    #5
    risingstar answered your question in the easiest way.
     
    ezprint2008, Sep 17, 2011 IP