View Full Version : Styles help
GiJoe
08-21-2004, 11:16 AM
I'm getting my test site setup so I can show it to the rest of the management team on my site. (WOLFGaming.net)
We are moving from PostNuke as our CMS. There's no integration and it doesn't seem there will be anytime soon... Anyway.
I'd like my Left Blocks while in the forum to be the same as what they look like on the front page. BUT... I don't want the forum Catagories/Tables to carry the background image I have on the front page... I've attached to screen shots to illustrate what I mean... ;-) Be kind I am new to vB... ;-)
Front Page:
http://wolfgaming.net/images/vba_front.gif
Note the Block header background
Forums:
http://wolfgaming.net/images/vba_forums.gif
No header background... But when I tell it to use the same style as the front page the block background comes too... :-(
http://wolfgaming.net/images/vba_forums_front.gif
As you can see it's not pretty.... ;-)
I'd like it to look like this....
http://wolfgaming.net/images/vba_final.gif
Brian
08-21-2004, 12:46 PM
The easiest way to do that would probably be to just create a new style, make it a child style of your current one, and then change the 'Category Strips' class in that style. You'd then probably want to set the new style as your default, then set your 'Default / Homepage' in your CMPS to use your current style.
GiJoe
08-21-2004, 01:19 PM
Hmmm... Can't seem to get the combination right.
GiJoe
08-23-2004, 12:01 PM
I have another question...
We run "FanSites" for popular PC Games. Currently I am able to create different styles/templates using PostNuke. I want to get away from using PN and go strictly with vba.
Can I call seperate Styles that would also show different News posts, polls etc... Basically can I run mulitiple sites with one install or two or three etc still calling the same vb forums ofcourse.
I might not be explaining this very well... So here are the sites. If you go to them then to the forums it takes you to our single install of vB. All of the forums are ofcourse excessable through any of the sites so as not to invalidate our license...
Main site:
http://wolfgaming.net/wgn/index.php
FanSite #1 PlanetSoldner.com
http://planetsoldner.com
FanSite #2
http://bf2gaming.net
I want to be able to keep the news and other content seperate but continue to share the same forums. Cross promotion is essential to our site so we have to be able to have the different gaming forums accessable to each of the fansites as well as the Main site.
TestSite:
http://testing.wolfgaming.net/testing/vb/cmps_index.php
(Beware the test site is on a DSL connection so it runs slower then the "Live" sites)
Thanks for the help! :D
Brian
08-23-2004, 12:45 PM
You could just create some new CMPS pages and have those other domains point to those pages. Or you could create some subfolders on the domain with your forum, make a copy of the cmps_index.php file, place a copy in each of those folders, and and make this small code change:
Look for:
define('VBA_PORTAL', true);
Right below that add:
define('VBA_PAGE', 'page_name_here');
Just replace page_name_here with whatever you used as the identifier for your new page and that will cause it to use that page with that file.
GiJoe
08-23-2004, 01:44 PM
Gotcha!! I was hoping it would be this easy... I tend to make things more complicated then they are... Thanks Brian! :D
KW802
08-23-2004, 02:26 PM
FanSite #1 PlanetSoldner.com
http://planetsoldner.com
Nice looking site! :cool:
I wish I had even the sightest of graphic skills. :o
GiJoe
08-23-2004, 09:18 PM
Nice looking site! :cool:
I wish I had even the sightest of graphic skills. :o
Thanks man... Me too. I'll have to admit I only work on the backend stuff. The graphics were done by one of the admins... ;-)
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.