Topic: No clue how to include certain elements.

What is the 1.3 punBB pure code to integrate these parts into a random .php document?

  • Navigation-bar..

  • Announcement..

  • Categories & Forums..

  • Online Status & Etc.

http://img30.imageshack.us/img30/8551/ultimate.png

..except this part below: (cause I already know about that)

if (!defined('FORUM_ROOT'))
    define('FORUM_ROOT', './');
require FORUM_ROOT.'include/common.php';

Re: No clue how to include certain elements.

I think it would be hard (if possible at all). You can put a random content into templates (like main.tpl).

Re: No clue how to include certain elements.

Parpalak wrote:

I think it would be hard (if possible at all). You can put a random content into templates (like main.tpl).

Oh, but I don't understand how diablo3.se have managed to cut out the title and title description then? Do you have any clue how?

Source: http://diablo3.se/forum/

Ps. Thanks for the support, it's appreciated.

4

Re: No clue how to include certain elements.

If editing the .tpl files won't achieve what you want, (which I find it hard to believe that it's nigh on impossible, as suggested above), then use CSS to hide what you don't want.

Re: No clue how to include certain elements.

Eaglesight wrote:

how diablo3.se have managed to cut out the title and title description then?

They've obviously deleted

    <!-- forum_title -->
    <!-- forum_desc -->

in main.tpl.

6 (edited by Eaglesight 2009-06-09 15:33)

Re: No clue how to include certain elements.

MattF wrote:

If editing the .tpl files won't achieve what you want, (which I find it hard to believe that it's nigh on impossible, as suggested above), then use CSS to hide what you don't want.

Parpalak wrote:

I think it would be hard (if possible at all). You can put a random content into templates (like main.tpl).

Thanks to you both, I have solved the problem now and directing me to the templates sure helped. smile

Ps. Great work to developers, I really like punBB.