Sub Menu
Links Menu
Online Users

In total there are 306 users online :: 3 registered, 0 hidden and 303 guests

Most users ever online was 1091 on Wed Aug 16, 2023 5:27 pm

Registered users: Bing [Bot], Google [Bot], Majestic-12 [Bot] based on users active over the past 60 minutes

Phpbb & Wiki

General discussion of anything. Discuss a topic in and out of IntegraMOD

Moderator: Integra Moderator

Phpbb & Wiki

PostAuthor: richiebgood » Sat Mar 31, 2007 3:40 am

Hi Guys, just a quick one.

I am developing a dictionary on my site for paintball terms and then i came across wiki. I was wondering, how hard would it be to get the two to work together, i.e. have the same user names etc in phpbb and wiki?

I am not really thinking of integrating them, but i am just curious?
Last edited by richiebgood on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

richiebgood
Sr Integra Member
Sr Integra Member
 
Posts: 329
Likes: 0 post
Liked in: 0 post
Joined: Tue Aug 08, 2006 12:01 am
Cash on hand: 0.00
Location: Ireland

Re: Phpbb & Wiki

PostAuthor: krillmeed » Thu Nov 15, 2007 7:46 am

I came onto the forum with this very same question to ask. I have a Startrek Integramod forum, plus a Wiki. I also would be interested if anyone has either done it or are in the process of working on it <img>
Last edited by krillmeed on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

krillmeed
Sr Integra Member
Sr Integra Member
 
Posts: 301
Likes: 0 post
Liked in: 0 post
Joined: Sat May 27, 2006 12:34 am
Cash on hand: 0.00

Re: Phpbb & Wiki

PostAuthor: Helter » Thu Nov 15, 2007 8:58 am

which wiki are you using? mediawiki?
http://www.mediawiki.org
Last edited by Helter on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Always use Protection
Image


Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4167
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Mar 11, 2006 3:46 pm
Cash on hand: 172.60
Location: Seattle Wa
IntegraMOD version: IM 3

PostAuthor: richiebgood » Thu Nov 15, 2007 12:37 pm

I have my forum here: http://www.paintballer.ie and my wiki here: http://www.paintballwiki.info, both hosted on the same sever.

I use media wiki for the wiki. I would not imagain that they can work together. But im a noob so don't really know
Last edited by richiebgood on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

richiebgood
Sr Integra Member
Sr Integra Member
 
Posts: 329
Likes: 0 post
Liked in: 0 post
Joined: Tue Aug 08, 2006 12:01 am
Cash on hand: 0.00
Location: Ireland

Re: Phpbb & Wiki

PostAuthor: Helter » Thu Nov 15, 2007 12:50 pm

you will need to edit your wiki files for this to work.

File Version: $Id: README,v 1.7 2007/02/14 10:59:57 nkd Exp $

Create a group in PHPBB for your wiki users. I named mine "wiki".
You will need to put the name you choose in the code below.

NOTE: In order for a user to be able to use the wiki they will need to
be a member of the group you made in the step above.

Put Auth_phpbb.php in /extensions/

Open LocalSettings.php. Put this at the bottom of the file. Edit as needed.



Code: Select all
// This requires a user be logged into the wiki to make changes.$wgGroupPermissions['*']['edit'] = false;  // Specify who may create new accounts.$wgGroupPermissions['*']['createaccount'] = false;  // PHPBB User Database Plugin. (Requires MySQL Database)require_once './extensions/Auth_phpbb.php';  $wgPHPBB_WikiGroupName  = 'wiki';               // Name of your PHPBB group                                                 // users need to be a member                                                 // of to use the wiki. (i.e. wiki)  $wgPHPBB_UseWikiGroup   = true;                 // This tells the Plugin to require                                                 // a user to be a member of the above                                                 // phpBB group. (ie. wiki) Setting                                                 // this to false will let any phpBB                                                 // user edit the wiki.  $wgPHPBB_UseExtDatabase = false;                // This tells the plugin that the phpBB tables                                                 // are in a different database then the wiki.                                                 // The default settings is false.  /*-[NOTE]-*///$wgPHPBB_MySQL_Host     = 'localhost';          // phpBB MySQL Host Name.//$wgPHPBB_MySQL_Username = 'username';           // phpBB MySQL Username.//$wgPHPBB_MySQL_Password = 'password';           // phpBB MySQL Password.//$wgPHPBB_MySQL_Database = 'database_name';      // phpBB MySQL Database Name.  $wgPHPBB_UserTB         = 'phpbb_users';        // Name of your PHPBB user table. (i.e. phpbb_users)$wgPHPBB_GroupsTB       = 'phpbb_groups';       // Name of your PHPBB groups table. (i.e. phpbb_groups)$wgPHPBB_User_GroupTB   = 'phpbb_user_group';   // Name of your PHPBB user_group table. (i.e. phpbb_user_group)$wgAuth                 = new Auth_PHPBB();     // Auth_PHPBB Plugin.    


*note* I found this mod on the media wiki site, though I do not remember where

*edit* i found the link...
http://uber.leetphp.com/index.php?categ ... 147e6ed0d&
Attachments
Auth_phpbb.zip
(4.81 KiB) Downloaded 146 times
Last edited by Helter on Thu Nov 15, 2007 1:04 pm, edited 1 time in total.
Always use Protection
Image


Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4167
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Mar 11, 2006 3:46 pm
Cash on hand: 172.60
Location: Seattle Wa
IntegraMOD version: IM 3

PostAuthor: richiebgood » Thu Nov 15, 2007 1:03 pm

Cool, what does this let you do exactly?

If i log on in my forum will i have the same username on the wiki?
Last edited by richiebgood on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

richiebgood
Sr Integra Member
Sr Integra Member
 
Posts: 329
Likes: 0 post
Liked in: 0 post
Joined: Tue Aug 08, 2006 12:01 am
Cash on hand: 0.00
Location: Ireland


Return to General Discussion

Who is online

Registered users: Bing [Bot], Google [Bot], Majestic-12 [Bot]

cron