I created a plug in so a specific group of forums would have a special logo, but the other forums would default to the image in Style Vars. Here is what I created:
I did the first forum id, however, when I go to add another forum to use the special image, it defaults. What is wrong?
Code:
[COLOR=#000000][COLOR=#0000bb][/COLOR][FONT=Courier New][COLOR=#007700]if([/COLOR][COLOR=#0000bb]$vbulletin[/COLOR][COLOR=#007700]->[/COLOR][COLOR=#0000bb]GPC[/COLOR][COLOR=#007700][[/COLOR][COLOR=#0000bb]forumid[/COLOR][COLOR=#007700]] == [/COLOR][COLOR=#dd0000]'1'[/COLOR][/FONT][FONT=Courier New][COLOR=#007700]) { [/COLOR][COLOR=#0000bb]$BannerImg [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#dd0000]'special.png'[/COLOR][/FONT][FONT=Courier New][COLOR=#007700]; } else { [/COLOR][COLOR=#0000bb]$BannerImg [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#dd0000]'default.png'[/COLOR][/FONT][COLOR=#007700][FONT=Courier New]; } [/FONT][/COLOR][/COLOR]
Comment