![]() |
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:
|
Bump? :(
|
I'm not completely following - can you explain it again :)?
|
Are you just looking for forumid's? And if so why are you making it so complicated?
|
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:
|
You'll have to use a JOIN to select only those rows for which the forum table entry has 'marlboro' on.
|
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?
|
Your making this way too complex...contact me via IM today....
|
All times are GMT. The time now is 03:28 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|