Author: Stoker
Extension Version:
Requirements:
From my old phpBB 3.0.X Mod
Extension Description:
The Random Joke Extension adds a random joke on forum index
New Joke every time the page loads.
Config in ACP
Display on forum index and/or Simple Portal
Download:
Screenshots:
Bonus Tips:
Question: How do I display Jokes on all pages?
Answer: First, disable the extension!
Open
/ext/stoker/randomjokes/event/listener.php
Find
'core.index_modify_page_title'
Replace with
'core.page_header'
That step allows you the place the Random Joke anywhere in the overall_header.html
So you can open up that file and look at the events or go here to find the available events in the overall_header.html
Next step is to remane the template event file of this extension.
Go here
/ext/stoker/randomjokes/styles/prosilver/template/event
to find and rename the file.Lets say you want it before the navbar, then remane it to
overall_header_navbar_before.html
Purge cache and enable the extension. enjoy!