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 

[Request] Message board integrated with b2?

 
Post new topic   Reply to topic    boardom Forum Index -> Hacks
View previous topic :: View next topic  
Author Message
sh0ck



Joined: 02 May 2004
Posts: 49
Location: Norway

PostPosted: Wed Jan 12, 2005 12:07 pm    Post subject: [Request] Message board integrated with b2? Reply with quote

Hi! Is there any forum or messageboard which can integrate with the b2 usersystem? If not, it should be something to work on... Any ideas or suggestions? I think it would be a great way to actually give members other features...
_________________
http://www.licklinux.com
Back to top
View user's profile Send private message Visit poster's website
Sigg3



Joined: 03 Jul 2003
Posts: 889
Location: Oslo, Norway

PostPosted: Wed Jan 12, 2005 1:53 pm    Post subject: Reply with quote

Actually, you can use phpbb as a blog.

Check this out: http://www.fizzmatix.com/ap/

The news is all phpbb and is updated through the forum:D
_________________
Sigg3.net - You know you're worth it! | b2 Cafelog Resource Center
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
sh0ck



Joined: 02 May 2004
Posts: 49
Location: Norway

PostPosted: Wed Jan 12, 2005 11:17 pm    Post subject: Reply with quote

Yes, but I want one added to my current b2-blog. ..
_________________
http://www.licklinux.com
Back to top
View user's profile Send private message Visit poster's website
Sigg3



Joined: 03 Jul 2003
Posts: 889
Location: Oslo, Norway

PostPosted: Thu Jan 13, 2005 12:08 pm    Post subject: Reply with quote

I have a couple of phpbb2's set up, and blog on the same multi-user site, but I haven't found any hacks that implements/co-runs with b2.

Should be possible, though. At least if you could get the b2userinfo to be joined with the tables for phpbb2 users and mess around with the cookies.
_________________
Sigg3.net - You know you're worth it! | b2 Cafelog Resource Center
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
sh0ck



Joined: 02 May 2004
Posts: 49
Location: Norway

PostPosted: Tue Jan 25, 2005 11:21 pm    Post subject: Reply with quote

.... I guess it would be possible to set-up a second b2-blog with the same user database as the original and give every user the ability to post in this new blog. Then make categories and create layout like a forum/message-board.

Has anyone tried this? Or suggestions?
_________________
http://www.licklinux.com
Back to top
View user's profile Send private message Visit poster's website
sh0ck



Joined: 02 May 2004
Posts: 49
Location: Norway

PostPosted: Wed Jan 26, 2005 12:44 pm    Post subject: Reply with quote

This is how I've done it so far:

Downloaded a new b2 bundle. Renamed every database tables in the b2config except "b2user" to use the exsisting user database in the new blog, and allow users to use both the mainblog and the new "messageblog."
Code:

$tableposts = 'b2forumposts';
$tableusers = 'b2users';
$tablesettings = 'b2forumsettings';
$tablecategories = 'b2forumcategories';
$tablecomments = 'b2forumcomments';

Since I want to use this as a forum/messageboard I also adjusted this setting along with the paths and urls:
Code:

$new_users_can_blog = 1;

Then upload the whole thing into a new folder and run b2install.php.

Everything worked fine, and new users were able to register and post messages. Old users were able to use both blogs with their login.

One problem occured though. The newly registered users are also given permission to post in my main b2-blog, since they automaticly become "level 1". Is there any way to change this?

The solution may be to set the post-permission level in my mainblog higher than level 1. Say level 5. How can I do this?
_________________
http://www.licklinux.com
Back to top
View user's profile Send private message Visit poster's website
Sigg3



Joined: 03 Jul 2003
Posts: 889
Location: Oslo, Norway

PostPosted: Wed Jan 26, 2005 1:53 pm    Post subject: Reply with quote

Ahm..
edit b2-include/menutop.txt? But this has nothing to do with actual posting..
Unless you add
Code:
8   b2edit.posts.php   Edit/Post

or something like that...

shouldn't your _original_ b2.config set the permissions on your original blog?
allow_new_users = 0 and new_users_can_post = 0 ??
_________________
Sigg3.net - You know you're worth it! | b2 Cafelog Resource Center
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
sh0ck



Joined: 02 May 2004
Posts: 49
Location: Norway

PostPosted: Wed Jan 26, 2005 5:01 pm    Post subject: Reply with quote

That has no effect...

On my originial blog i have new_users_can_post = 0 BUT since I want to use the same user database on both blogs, new users from the messageblog will automaticly become level 1 users because of new_users_can_post= 1 and have the ability to post in my original blog anyway... Thats why I want to raise the permission level...
_________________
http://www.licklinux.com
Back to top
View user's profile Send private message Visit poster's website
sh0ck



Joined: 02 May 2004
Posts: 49
Location: Norway

PostPosted: Thu Jan 27, 2005 10:59 pm    Post subject: the solution! Reply with quote

I figured it out... Simply open b2edit.php and edit all the
Code:

if ($user_level == 0)
die ("Cheatin' uh ?");

to:
Code:

if ($user_level < 5)
die ("Cheatin' uh ?");

and likewise will all the different "cases."
_________________
http://www.licklinux.com
Back to top
View user's profile Send private message Visit poster's website
Sigg3



Joined: 03 Jul 2003
Posts: 889
Location: Oslo, Norway

PostPosted: Fri Jan 28, 2005 1:45 pm    Post subject: Reply with quote

It had to be in there somewhere..
..just didn't bother browsing b2 files:p
_________________
Sigg3.net - You know you're worth it! | b2 Cafelog Resource Center
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
sh0ck



Joined: 02 May 2004
Posts: 49
Location: Norway

PostPosted: Thu Feb 03, 2005 8:27 am    Post subject: Reply with quote

wait a month and i'll have the journal system up and running...
_________________
http://www.licklinux.com
Back to top
View user's profile Send private message Visit poster's website
Sigg3



Joined: 03 Jul 2003
Posts: 889
Location: Oslo, Norway

PostPosted: Sat Feb 05, 2005 12:16 pm    Post subject: Reply with quote

Very Happy
_________________
Sigg3.net - You know you're worth it! | b2 Cafelog Resource Center
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 -> Hacks All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot 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