<!-- IF FORUM_ID eq 'XX' --> new css

Modifications for phpBB3.
Try the Mods here and share Your own Mods
Forum rules
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support

<!-- IF FORUM_ID eq 'XX' --> new css

Post by uzidesign »

Hi all,

Hope it's the right place.

I want to add new background by forum id, FORUM_ID eq 'XX' diablo background, FORUM_ID eq 'XX2' cars background, etc'..

So i was thinking to use:

Code: Select all

<!-- IF FORUM_ID eq '3' --> new css file with new background<!-- ENDIF -->
<!-- IF FORUM_ID eq '4' --> new css file with new background<!-- ENDIF -->
<!-- IF FORUM_ID eq '5' --> new css file with new background<!-- ENDIF -->


In overall_header.html

Is there other way to do it / better one?

Thanks!

<!-- IF FORUM_ID eq 'XX' --> new css

Post by Stoker »

I dont know how its done, but take a look at Christian Bullock styleswitcher.

<!-- IF FORUM_ID eq 'XX' --> new css

Post by uzidesign »

Christian Bullock style switcher give the option to members to each choose from one of multiple colour schemes or backgrounds,
Not auto change css by forum id.

But Tnx, I will try to figure out.

<!-- IF FORUM_ID eq 'XX' --> new css

Post by RMcGirr83 »

You can set styles for each forum with the ACP for that forum