1 (edited by grr1d 2007-06-30 14:15)

Topic: individual forums have their own skins?

is there a plug-in or mod for this?

if not, that'd be quite cool big_smile

2 (edited by MattF 2007-06-30 14:40)

Re: individual forums have their own skins?

Nope. Also, that would be a hellish waste of bandwidth.

Edit: Btw, this is the wrong section. A mod isn't a plugin.

3

Re: individual forums have their own skins?

MattF wrote:

Nope. Also, that would be a hellish waste of bandwidth.

Edit: Btw, this is the wrong section. A mod isn't a plugin.

its not a waste of bandwidth on vbulletin though?

Re: individual forums have their own skins?

vBulletin by itself is a waste of bandwidth.

5 (edited by grr1d 2007-06-30 14:55)

Re: individual forums have their own skins?

elbekko wrote:

vBulletin by itself is a waste of bandwidth.

mkay well thank you

but still, i'm not understanding how if 1 forum had different colors thats a waste of bandwidth?

im sure someone else out there would want this too

Re: individual forums have their own skins?

Now, to answer the question:

In header.php, change

<link rel="stylesheet" type="text/css" href="style/<?php echo $pun_user['style'].'.css' ?>" />

to

<link rel="stylesheet" type="text/css" href="style/<?php echo (isset($forum_style) ? $forum_style : $pun_user['style']).'.css' ?>" />

And then on your pages you can define, before loading header.php, the style like so:

$forum_style = 'Oxygen';

For example, in viewforum.php you could do the following:
find

$id = isset($_GET['id']) ? intval($_GET['id']) : 0;

add after

switch($id)
{
  case 1:
    $forum_style = 'Oxygen';
  break;
  case 6:
    $forum_style = 'Cobalt';
  break;
}

This would use the Oxygen style for the forum with ID 1 and the Cobalt style for the forum with iD 6.

7

Re: individual forums have their own skins?

thank you

Re: individual forums have their own skins?

hmm...very nice idea. I think I shall try this.