A piggy bank of commands, fixes, succinct reviews, some mini articles and technical opinions from a (mostly) Perl developer.

Jump to

Quick reference

Showing posts with label phpbb. Show all posts
Showing posts with label phpbb. Show all posts

Add to breadcrumb trail in phpBB

Do this before loading the template:

$template->assign_block_vars('navlinks', array(
    'FORUM_NAME'    => "link display text",
    'U_VIEW_FORUM'  => "http://url-of-page"
));

Common admin tasks in phpBB 3

Change the author of a post:

  • Click on the post
  • Click on the "Moderator Control Panel" link in the top left
  • Click on the "Post details" link on the right-hand side (note: It might look like a triangle with a question mark in it)
  • Scroll down to the bottom of the post, and you will see a drop-down menu to change the poster.

How to add a custom PHP page to phpBB3

There is a tutorial explaining how to add a static HTML page, with phpBB header and footer.
This is how to add a dynamic PHP page in a similar way:
  1. Go to ACP | General | Security settings, and set "Allow php in templates" to "Yes".
  2. Follow the tutorial at: http://wiki.phpbb.com/Practical.Add_custom_page
  3. In the template (e.g. about_us.html), replace where it says "Content in here" with <!-- INCLUDEPHP relative/path/to/your/php/page.php -->