PDA

View Full Version : help making hack work in multy forums


almightyone
03-05-2002, 10:06 AM
yes i am trying to implement a hack into mlty forums the code looks as follows

Activate only on "selected" forums(2)
if ($forumid==39){

now i wanna use it in forum 32 too ive tried these options

Activate only on "selected" forums(2)
if ($forumid==39 AND 32){

Activate only on "selected" forums(2)
if ($forumid==39) ($forumid==32){
Activate only on "selected" forums(2)
if ($forumid==39) AND ($forumid==32){

then ive tried with the comma in it
($forumid==39,32)

now ive tried all those options and yet to get it to work most hose give a parse error one of them works without parse error but the hack doesnt work in the second forum any help would be greatly appriciated

Admin
03-05-2002, 02:02 PM
if ($forumid==39 or $forumid==32) {

almightyone
03-05-2002, 03:47 PM
fabulous thanx so much now if to keep going would i just keep puttin the or then forumid== in it? thanx again