Include in Forum and Topic List

Discuss phpBB 3.0.x in general.
Forum rules
Please post any phpBB 3.1.x related topics in the forum.
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
the.ronin
New member
New member
Posts: 11
Joined: 22 Nov 2008, 00:10
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Include in Forum and Topic List

Postby the.ronin » 27 Mar 2009, 00:59

How would I include something after the first forum in the forum list and first topic in the topic list?

The same idea as that in the [url=http://www.phpbb.com/kb/article/advertisements-in-phpbb3/]Advertisements in phpBB3[/url] article where pentapenguin shows you how to include an ad after the first or last post in the post list. Except I want to do that in the forum and topic lists.

Also, would there be a way to NOT do the include if there is only one forum, topic, or post in the list?

This would be for the Prosilver style.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “phpBB 3.0.x "Olympus" discussion”

Who is online

Users browsing this forum: Ahrefs [Bot] and 5 guests