View previous topic :: View next topic |
Author |
Message |
FranklinYu
Joined: 06 Dec 2002 Posts: 4 Location: Dallas
|
Posted: Thu Jan 23, 2003 5:51 pm Post subject: Multi blogs on one copy of b2? |
|
|
Okay, I use b2 for.... say.... five sites on my host. Thing is, having that many copies of b2 is kind of conufusing sometimes. How do I have to set up my pages and config files so I can run multiple blogs off the same copy of b2?
*I got the SQL handled by using prefixes on the tables. _________________ No, I wouldn't worry too much, it's only the apocalypse. *shrug*
Franklin "Six-Eight" Yu. [ weblog ] |
|
Back to top |
|
 |
macshack
Joined: 17 Jul 2002 Posts: 1204 Location: Phoenix, Az
|
Posted: Thu Jan 23, 2003 6:49 pm Post subject: |
|
|
First, there has been a number of posts/topics on the subject of multiple blogs. Search the forum for details.
Second, when you say "five sites on my host", are these different domains on the same server and thus different "accounts" or are you meaning five subdirectories and copies of b2?
In either case it could be done (I think); the former will need some system setup, the latter, careful editing of b2.
The key I think, is to remember that b2 expects to access things through relative references. So those places where includes are done will need to be tweaked. This is not a simple config change. Each blog needs is own set of config data, so how you accomplish that is up to you; separate files, condition code in b2config or what ever. But the reference to the includes will be the most tedious.
Needless to say, this is not a task for the inexperienced user.
michael e |
|
Back to top |
|
 |
|DarkNoise| Guest
|
Posted: Sun Nov 23, 2003 2:33 am Post subject: |
|
|
ok, ive tried running multiple blogs. unless they are going to be accesed by seperate pages and all have their own db's dont bother.
use categories, much easier.
[url=my site]www.headexplodes.tk[/url]
right now im just having some trouble setting up the include but the categories work fine |
|
Back to top |
|
 |
Guest
|
Posted: Sun Jan 30, 2005 12:03 am Post subject: |
|
|
or b2 evolution! which does exactly that and a little bit more. i suggest you check it out. |
|
Back to top |
|
 |
Sigg3
Joined: 03 Jul 2003 Posts: 909 Location: Oslo, Norway
|
Posted: Mon Jan 31, 2005 10:39 am Post subject: |
|
|
You could use a css hack (see the bottom of http://sigg3.net/cafelog)
and have category 7 for instance set to display: none; in one template, and the others display: none; in another template.
I'm using this "hack" for having comments to picture-pages on a blog I ran for some co-students.. I created a category "invisible" and just edited the css. Works like a charm if the browser interprets css correctly..
... getfirefox now! _________________ Sigg3.net - You know you're worth it! | b2 Cafelog Resource Center | Fight my BattleImp! |
|
Back to top |
|
 |
|