Former Member
inherit
guest@proboards.com
222576
0
May 15, 2024 19:45:16 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 26, 2015 7:51:23 GMT -8
it ok buddy, i'll ask someone else like i said, iv tryed and i dont want to mess it up .... its not a matter of being scared craig thanks anyways
|
|
Former Member
inherit
guest@proboards.com
222576
0
May 15, 2024 19:45:16 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 26, 2015 8:12:40 GMT -8
iv got i working:) iv put it on 1 board id 62 but i need to put it on another 50 is there a better way than doing the {if $[board.id] == XX || $[board.id] == XX || $[board.id] == XX} for every one ? if not then are those spaces in this code ? or doesnt it matter.
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,787
January 2015
msg
|
Post by Lynx on Jul 26, 2015 8:16:03 GMT -8
If it's going on most boards, and there are only a few that it won't be on, you can use:
{if $[board.id] != XX || $[board.id] != XX} where XX would be the board ID that it would NOT be on.
Depends on how many boards DO have it compared to how many boards do NOT have it.
|
|
Former Member
inherit
guest@proboards.com
222576
0
May 15, 2024 19:45:16 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 26, 2015 8:19:44 GMT -8
If it's going on most boards, and there are only a few that it won't be on, you can use: {if $[board.id] != XX || $[board.id] != XX} where XX would be the board ID that it would NOT be on. Depends on how many boards DO have it compared to how many boards do NOT have it. lol clever thanks
|
|
#eb7100
33409
0
1
May 9, 2024 18:53:40 GMT -8
Brian
48,129
November 2004
smashmaster3
|
Post by Brian on Jul 26, 2015 8:37:47 GMT -8
As a correction to the above you'll want to use && instead of || in the if statement. Otherwise the statement will always return as true even in the boards you specified.
|
|
Former Member
inherit
guest@proboards.com
222576
0
May 15, 2024 19:45:16 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 26, 2015 8:44:01 GMT -8
If it's going on most boards, and there are only a few that it won't be on, you can use: {if $[board.id] != XX || $[board.id] != XX} where XX would be the board ID that it would NOT be on. Depends on how many boards DO have it compared to how many boards do NOT have it. i put this in but it didnt work {if $[board.id] != 82 || $[board.id] != 83 || $[board.id] != 88 || $[board.id] != 85 || $[board.id] != 86 || $[board.id] != 87 || $[board.id] != 84 || $[board.id] != 89 || $[board.id] != 90} what have i done !!! lol
|
|
Former Member
inherit
guest@proboards.com
222576
0
May 15, 2024 19:45:16 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 26, 2015 8:45:25 GMT -8
As a correction to the above you'll want to use && instead of || in the if statement. Otherwise the statement will always return as true even in the boards you specified. do i add && to every xx or just one ?
|
|
Former Member
inherit
guest@proboards.com
222576
0
May 15, 2024 19:45:16 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 26, 2015 8:49:19 GMT -8
iv got it working twas an easy q like i titled thank u
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,787
January 2015
msg
|
Post by Lynx on Jul 26, 2015 8:50:14 GMT -8
Using Brian's correction to my error, this: {if $[board.id] != 82 || $[board.id] != 83 || $[board.id] != 88 || $[board.id] != 85 || $[board.id] != 86 || $[board.id] != 87 || $[board.id] != 84 || $[board.id] != 89 || $[board.id] != 90} would become this: {if $[board.id] != 82 && $[board.id] != 83 && $[board.id] != 88 && $[board.id] != 85 && $[board.id] != 86 && $[board.id] != 87 && $[board.id] != 84 && $[board.id] != 89 && $[board.id] != 90} Thank you, Brian, for that correction. Much appreciated!
|
|
Former Member
inherit
guest@proboards.com
222576
0
May 15, 2024 19:45:16 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 26, 2015 9:10:34 GMT -8
got it thanks iv put it on 3 site and alls good thanks again
|
|