The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Moderation blues
I took the plunge, and rewrote my plugins to use the DM to create posts, instead of build_new_post(), but now:
All the posts are being marked as Moderated (closed)!!!! I'm really stumped why, I do: PHP Code:
Also, the post / reply counters are not being set properly - the user's post count doesn't change, and 0 replies still being listed. I need some help... |
#2
|
||||
|
||||
Did you set visible to 1 as well?
|
#3
|
|||
|
|||
Thanks, Amy, you're the best.
I had code to set visible to 1, but there was a bug in the conditional - fixed it and all problems gone. Now, if you could just solve global warming too... |
#4
|
||||
|
||||
glad to help
|
#5
|
|||
|
|||
FYI, the bug was due to tristate logic.
I had if ($threadinfo['visible']) { // set to visible... when I should have had if (!$threadinfo['visible] == 0) { // set to visible... since $threadinfo is null for new threads Thanks for the help |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|