The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Script to add thread?
Does anyone have a sample PHP script I can build off of that let's you add a thread? I'm not an advanced coder, but I can hack through a script once I have it to make it do what I need. I REALLY appreciate it. Thanks!
|
#2
|
||||
|
||||
From the script:
PHP Code:
|
#3
|
|||
|
|||
Thanks! I guess I was looking to see if anyone had a complete script, including the wrapper to allow the security access to do the post.
|
#4
|
||||
|
||||
Quote:
|
#5
|
||||
|
||||
Here's basically the same thing being called from an internal script.
PHP Code:
|
#6
|
|||
|
|||
I'm trying to call it externally. Basically, I have a third party that wants to automatically post notifications to a specific forum on our site. These notifications will include a title and content, and will all be posted by the same user. I'd like them to post a JSON object to a script, and have that script post it into vBulletin.
|
#7
|
||||
|
||||
I don't *see* anything internal to the application that accepts a JSON request and converts it to something the API can consume.
That's not to say it's not there, I just haven't come across it. So, you'd have to write your own code to accept the request & convert it from JSON to something the API can chew on if you wanted to go that route. If you do that, you'd likely have to manage security with them. Or, have them call the API in the traditional way. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|