Log in

View Full Version : Changing $lastpostinfo in a plugin.


mawby
05-31-2008, 04:11 PM
Hi,

I've nearly finished writing a profanity filter for my forum, one where the members can chose to have it turned on or off, but I'm struggling to find out how to change the thread titles that appear in forumhome_lastpostby, namely $lastpostinfo[lastthread] and $lastpostinfo[trimthread]. For some reason I just can't seem to find a plugin hook location that will allow these values to be changed. Can anyone help?

Lynne
05-31-2008, 05:06 PM
I think you are right in that there is no plugin available for it. I think you will have to add your own hook in the code or just edit the code directly.

mawby
05-31-2008, 05:28 PM
Well at least I wasn't being stupid. :) Shame though, I don't really want to edit the code.

Maybe I need to try a different approach and look at making the builtin censor option user configurable.