Random Joke - phpBB Extension

Extensions for phpBB 3.3.X
Maintained and supported by Stoker

Random Joke - phpBB Extension

Post by Stoker »

Extension Name: Random Joke - Fun Factory
Author: Stoker
Extension Version: Image
Requirements: Image
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:
random_joke_v1.0.2.zip


Screenshots:
jokes_index.png
jokes_portal.png
jokes_acp.png



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!
You do not have the required permissions to view the files attached to this post.
Last edited by Stoker on 17 Apr 2025, 11:34, edited 1 time in total.
Reason: -