Squirrelmail qotd plugin is not showing any quotes nowadays. Please find the fix explained below.
How qotd plugin works ?
QOTD plugin retrieves random quotes from qotd.org site. Then it will be formatted using explode and str_replace functions.
for more about these functions can be found here.
What happened to qotd plugins now?
qotd.org site has modified the random quotes output. Due to this plugin is unable to find the pattern and the result will be a blank text.
After digging in to the code, I was able to fix this issue with small changes.
Go to plugins directory (/usr/share/squirrelmail/plugins/qotd_login)
Edit functions.php using favorite editor
Under parse quote out of web page
replace `font size="-1"` with `strong`
This will fix your problem, cheers !!
No comments:
Post a Comment