The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
Can we get a link to the feed and also what do you have set for the RSS template?
|
#12
|
|||
|
|||
Hey Lynee, is there a query I can run to find posts with a blank body (No characters for the message)?
Thanks |
#13
|
||||
|
||||
Quote:
PHP Code:
|
#14
|
|||
|
|||
Quote:
|
#16
|
|||
|
|||
Weird... Could anyone help with the query to remove the blank posts, I wonder if they were blank or if the content was lost..
Thanks again |
#17
|
|||
|
|||
It's a pretty simple query to DELETE FROM post WHERE pagetext = '', but I don't know if that's a good idea. When you delete a post in vbulletin it also handles deleteing anything else that needs to be deleted (like the thread if you delete the only post), and keeps counters up to date. I think it would be a better idea to use a php script to query for the post ids, then call the vbulletin delete_post() function for each one.
|
#18
|
||||
|
||||
If you are going to run a query to do this, I would STRONGLY suggest doing it on a test site first. If you don't write a script like Kevin suggested, then make sure your run Rebuild Thread Information, Rebuild Forum Information, Rebuild Post Count, Remove Orphan Threads, and Remove Orphan Posts all from the Maintenance > General Update Tools screen. Then click on some threads/posts that you know were empty and see if everything is working correctly. And then, and ONLY then, should you do a database backup of your live site and do the same thing there.
|
#19
|
|||
|
|||
Thanks for the replies.
Bit of a mission to get this fixed, I will try doing a fresh test upgrade again and see if the same happens. Kevin, you posted before that the RSS poster would bypass vBulletin stopping a post if it was blank, but if it was run through the admincp an error would show that the subject of body is blank, does that mean the script is still able to bypass that and post a blank message? |
#20
|
|||
|
|||
Quote:
If you have a feed that's producing blank posts then it might help track down that error. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|