postparsed table...how is it updated?
I noticed that the postparsed table is updated when a new post is made (and probably when it is updated) as well as when a post is viewed (if a record doesn't exist for that post in the table).
When else is it updated?
I'm trying to write a plug-in that circumvents the forum permissions for things like posting html, bbcode, etc...so that no matter what the permissions are I can put in any post I want.
I was thinking that if I insert a record directly into the postparsed table for my post, that will do it. But I'm just not sure if/when vbulletin may delete that record and re-parse the post.
I understand only a limited number of posts are stored in the postparsed table. Would setting the dateline column to an arbitrary date in the future help to keep it from being removed from the postparsed table? How does vBulletin decide when to look in the postparsed table and when to insert/update/remove records from it?
Any ideas?
Thanks guys!
|