[3.3][RC] Random Quote - phpBB Extension

Extensions for phpBB 3.3.X
Maintained and supported by Stoker

[3.3][RC] Random Quote - phpBB Extension

Post by Stoker »

Extension Name: Random Quote
Author: Stoker
Extension Version: Image
Requirements: Image
From my old phpBB 3.0.X Mod


Extension Description:
The Random Quote Extension adds a random quote on forum index
New quote every time the page loads.
Config in ACP
Display on forum index and/or Simple Portal


Download:
random_quotes_v1.0.3.zip

Translations included:
Romanian
Spanish
French


Screenshots:
random_quotes_index.png
rqp.png
random_quotes_acp.png


Bonus Tips:
Question: How do I display quotes on all pages?
Answer: First, disable the extension!
Open /ext/stoker/randomquotes/event/listener.php
Find 'core.index_modify_page_title'
Replace with 'core.page_header'
That step allows you the place the Random Quote 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/randomquotes/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!

Older versions

random_quotes_v1.0.2.zip
You do not have the required permissions to view the files attached to this post.
Last edited by Stoker on 19 Apr 2025, 14:30, edited 5 times in total.
Reason: Extension updated

Random Quote - phpBB Extension

Post by Stoker »

Download added :thumb:

Random Quote - phpBB Extension

Post by Anișor »

Nice one mate!

Random Quote - phpBB Extension

Post by iorG19 »

I like this extension; just installed on my forum and it works perfect! 👌
How can i see the quote centered?

Random Quote - phpBB Extension

Post by Stoker »

iorG19 wrote: 15 Apr 2025, 17:43 I like this extension; just installed on my forum and it works perfect! 👌
How can i see the quote centered?
Check the files in the styles event folder. You need to add text-align:center; to the starting div

Random Quote - phpBB Extension

Post by iorG19 »

Stoker wrote: 15 Apr 2025, 17:47 ... You need to add text-align:center; to the starting div
Looks much better now! 👌
Thank you!

Random Quote - phpBB Extension

Post by iorG19 »

// Romanian translation for this extension; download and upload to the forum's /ext directory.
// Traducere în limba română a acestei extensii: descarcă și urcă în directorul /ext al forumului.
stoker-randomquotes-1.0.2_ro.zip

// Spanish translation for this extension; download and upload to the forum's /ext directory.
// Traducción a español para esta extensión; descarga y sube en la carpeta /ext de tu foro.
stoker-randomquotes-1.0.2_es.zip
You do not have the required permissions to view the files attached to this post.

Random Quote - phpBB Extension

Post by Stoker »

Thanks iorG19 :thumb:
I have linked to your translations in first post, right under the download.

Random Quote - phpBB Extension

Post by Stoker »

French by Sergio64
stoker-randomquotes-1.0.2_fr.zip
You do not have the required permissions to view the files attached to this post.

[3.3][RC] Random Quote - phpBB Extension

Post by Stoker »

Updated to 1.0.3
Changed location on forum index from before mark forums read to after.
It does look better.
Optimized so it doesnt run any query on index or portal if this setting isnt enabled.

Included languages:
Romanian
Spanish
French


Instructions:
Disable before updating. You dont have to delete data.
But since I changed the location, you need to delete the randomquotes folder BEFORE uploading the new version