boardom Forum Index boardom
b2 message board
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Multi blogs on one copy of b2?

 
Post new topic   Reply to topic    boardom Forum Index -> PHP help
View previous topic :: View next topic  
Author Message
FranklinYu



Joined: 06 Dec 2002
Posts: 4
Location: Dallas

PostPosted: Thu Jan 23, 2003 5:51 pm    Post subject: Multi blogs on one copy of b2? Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address
macshack



Joined: 17 Jul 2002
Posts: 1204
Location: Phoenix, Az

PostPosted: Thu Jan 23, 2003 6:49 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
|DarkNoise|
Guest





PostPosted: Sun Nov 23, 2003 2:33 am    Post subject: Reply with quote

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






PostPosted: Sun Jan 30, 2005 12:03 am    Post subject: Reply with quote

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

PostPosted: Mon Jan 31, 2005 10:39 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> PHP help All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2 © 2001, 2002 phpBB Group