www.webdeveloper.com
Results 1 to 6 of 6

Thread: Editing PHP Code to Create Custom Themes for Phpbb

  1. #1
    Join Date
    Mar 2006
    Posts
    46

    Editing PHP Code to Create Custom Themes for Phpbb

    Anyone here good with editing the code for phpbb to create their own custom theme? How involved is this? What files in what directories do you edit?

  2. #2
    Join Date
    Jun 2004
    Location
    4846′36″ N 910′48″ E
    Posts
    3,747
    i can't remember exactly, but i did make a customised theme for a phpBB forum a year ago; basically, the design and the actual code is quite well separated, making it "not too hard" or "easy" to modify (the design).

    Unless someone tells you exactly what you have to do, either here, or in the phpbb.com community, my advice would be to open a few files which names make sense, and see what is done inside.
    Hmm, i'm sure you'll find infos about that on the phpbb.com forums

    sry about the useless answer

  3. #3
    Join Date
    Feb 2005
    Location
    BC, Canada
    Posts
    1,098
    Custom themes are extremely easy, they use PHPBB's template syntax (which is basic html with variable parsing and basic loops). They're located in the /styles/ or /themes/ folder if I remember correctly.
    Corn is no place for a mighty warrior!

  4. #4
    Join Date
    Jan 2006
    Location
    England UK
    Posts
    200
    Hi,

    PHPBB themes, are basically html.

    there located in templates/

    SubSilver being you default...

    The files, are .tpl, and can be opened with notepad or any html editors such as dreamweaver. Each file represents each part of the forum, ie overall_header.tpl this is your header... index_body.tpl this is the main index page with all the different sections of the forums are displayed.

    Basically its easier to mod an existing template then it is to create one from scratch, as all the files names are set, along with the image file names, just make you new images and replace the old ones.

    make your header, with or without the links, if you use photoshop, make sure u use slices, this would break up the design, when done, save to web, and when you selecting where to put it, you will noticed options below, images only ect... make it html and images... this will then give you the html code for the template, paste it into the overall_header.tpl, but only replace it where the html is for the file... normally at the bottom.

    There are so many things, to do, just look our the old template is and basically try to make it so with yours.

    Aaron

  5. #5
    Join Date
    Aug 2004
    Location
    San Antonio, TX
    Posts
    564
    personally, i would go with a smf forum like the one i use at http://www.teens4christ.org

    at least it validates and it much more security controls - i used phpbb and it is ok but has way to many bugs.

    Answers to all your questions can be found at: PHP Manual

  6. #6
    Join Date
    Jun 2004
    Location
    4846′36″ N 910′48″ E
    Posts
    3,747
    Ep! Don't do any religeous propaganda!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles