The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Need some help with my first real from scratch vbulletin page
I have included the php code. I am trying just a real basic make a thread, and post up to 5 replies. I have included the php. Currently the form submitts, passes to the second page. I believe the issue is in the datamanager parts, most likely it is in the thread portion. When I submit the thread, it does return a id for the thread, however the thread doesn't show up at all.
PHP Code:
|
#2
|
|||
|
|||
Maybe start again, this tutorial is more up to date: [How-To] vBulletin API Basics: Creating Custom Pages & Misc.
You've put your custom PHP code all in the wrong place, it should go after it says: PHP Code:
(What do you mean by "It doesn't show up" ? Have you browsed directly to the threads URL? Does it show up then or do you get an error?) |
#3
|
|||
|
|||
Also, an error could be occuring without you knowing. You need to call pre_save() on the data manager object - this checks whether or not any errors occurred. If any errors did, then an errors array would be filled:
Eg: PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|