PDA

View Full Version : some hack guidance please...


jjj0923
01-17-2005, 05:39 PM
I've written and installed plenty of hacks but I could use a little guidance.

I have a special field in my user table to signify a financial supporter to my forum. I am about to stop letting non financial supporters view images in posts.

where's the best place to insert the code that allows me to check my user field and stop the displaying of attached images...

thanks in advance.

- jeff

Andreas
01-17-2005, 05:44 PM
Hmm, for attached images couldn't you use permissions to deny non-supporters to download attachments?

For inline images (eg. [IMG]-Code) it will become a bit more difficult thinking of the postcache.
IMHO you would have to disable it (=> higher load, as every post must be parsed every time it is being displayed).