The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Just a little help with something
Hey, i'm in the middle of finishing a hack of mine. In the hack it uses the /admincp/forums.php file. To turn this hack on/off of a per forum baisis. Look here so you get a better understanding.
PHP Code:
PHP Code:
Now my problem is, i have to call the forum IDs that the custom hack is turned on. Heres the query im using now. PHP Code:
Does anyone know what i could use for that query to grab the turned on forums id? Something like this? PHP Code:
|
#2
|
|||
|
|||
Bump?
|
#3
|
||||
|
||||
I'm not completely following - can you explain it again ?
|
#4
|
|||
|
|||
Are you just looking for forumid's? And if so why are you making it so complicated?
|
#5
|
|||
|
|||
Here why, i'm not making it more complacated, im making it much eaiser on the user that will be using this hack:
1.) If the user makes a new forum he has the option to turn this hack on or off per forum. See Screenshot: Now in this query below i need to add the forum IDs where they were turned on. from the screenshot above: See this query below? Where you see X,Y,Z, i want to code it so it calls the forum ids from where they are turned on from. PHP Code:
|
#6
|
|||
|
|||
You'll have to use a JOIN to select only those rows for which the forum table entry has 'marlboro' on.
|
#7
|
|||
|
|||
I don't understand, isn't LEFT JOIN used to join 2 or more tables together in one query? In this case its not, unless i miss understood you. Maybe an example?
|
#8
|
|||
|
|||
Your making this way too complex...contact me via IM today....
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|