The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Trigger a "modified" on a post
So, here's what I do.
I pre-write an article that needs data. I don't like staying up until 3:30am for the data (and I don't like getting up that early, either!)..... So, I take the article, create a new thread and make in "invisible". I wrote a PHP script that takes the data at 3:30am, formats it with BBCode, shoves it into the post with a CONCAT, changes the thread title to reflect the info and sets "visible". The problem is the post cache. The title and visibility update fine, but when I look at the post, it doesn't always "update". If I click "modify", the info is there... Is there a way to let the system know it's been edited or trigger a rebuild cache on this specific post? HELP!! I'M TIRED!!!! :P |
#2
|
||||
|
||||
This kind of stuff is better done with the datamanager.
PHP Code:
[sql] delete from postparsed where postid=$postid [/sql] This will force a refresh when the post is viewed. |
#3
|
|||
|
|||
Thanks, I like #2... LOL! Datamanager?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|