The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Working with DM - Could someone check if I am not missing anything
Note: this is not a plea for help (yet ) but a request to check if the DM code is completely as it should be. It is working, I just want to make sure.
Hello, Thank you for taking the time to read this thread and your future willingness to reply to it What's this about? I am in the process of coding a site separate from my vbulletin msg board (v3.7.3) and I am slowly being sucked in to increase site <> forum interaction. Now I have managed to display the last 5 posts from any given thread, given that the threadid has been added to my site database and I am now in the process of having the system create a new thread on my messageboard, incase threadid does not exsist in the site database. In the end the process should look for threadid and if FALSE, pick up on the contents of the entry in the site database, generate a new thread and update my site's database threadid cell with the correct threadid. When a visitor then visits the specific item on the site, it will show the latest 5 posts in that specific thread (if present) and a link to the thread on the messageboard in case they want to leave a comment. Now, I got it all working, but I just want to check if the interaction with the data manager is correct. I picked up the code snippets from around vbulletin.org, but would like someone to have a look at it, if there is something I am forgetting. So basically this thread is all about making sure it will work properly in the end. $forumid, $userid, $title, $pagetext are set somewhere else (Select from database) and I only picked up on the code that is required for the interaction with the DM, as the rest shouldn't be relevant. PHP Code:
Add-on question: Are there any other options I could possibly set, like for example to show a signature? Again, thank you for taking your time to view and perhaps even reply to this thread |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|