The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
build_new_post moderated?
Hi,
Hopefully this is a simple question, but how do you stop a post made with build_new_post being moderated? I have a closed forum, where I am automatically posting ads made from Photopost Classifeds (which include a link back to the classifieds software). It I post the ad as an admin or moderator, all is fine, however if I post as a normal user, the thread is put in the moderation queue. The workround I am doing is when the thread is posted, manually set the visible field in the db to 1, however this is a little sloppy... Is there someway to force the hidden value to be 1 automatically? (Already tryed creating an array $threadinfo with hidden=1 and passing across, but no dice...) cheers! Ben |
#2
|
|||
|
|||
I know this is an old bump, but has anyone else ever come across this,
I'm coding something else which has the same issue, after calling the build_new_post function, I then need to call the "approve_thread" function otherwise it just won't show up! (but only for normal users, moderators and admin are fine ...?) |
#3
|
||||
|
||||
When setting the $foruminfo variable within the build_new_post() function... try setting $foruminfo[moderatenewthread] = 0. That should do it for you, otherwise you may also need to set $foruminfo[moderatenewpost] = 0 as well.
|
#4
|
|||
|
|||
Cheers buddy, also looked like I needed
PHP Code:
Am I missing something else somewhere? |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|