The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
One Last Question
I want to make the link for reputation show up on posts that are made in certain boards only. Generally this could have been handled by a simple reading of the forum ID number. Only problem is, when you view a post it is in a different script.
I assume you have to pull the forum ID the post is listed under via the database, but I am having trouble with that call. Any assistance would be appreciated. |
#2
|
|||
|
|||
I'm not sure I follow, but did you try checking $forum[forumid]?
|
#3
|
||||
|
||||
If you look at your post table in the database you will see forumid of a post is not something that is stored, but threadid is and in the thread table the forumid of the thread is available.
That means in your custom script, whatever it is, when it selects the posts from the database the query must "join" the post and thread tables so that the forumid is available. If you can find or make this query then you can make sure forumid is something you can find from the $post array or whatever you are calling it. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|