There was either an external authentication database error or you are not allowed to update your external account.”

Which is obviously saying, it’s trying to create a new account in the MediaWiki database.. but, where really it should be trying to make a new account in my WP database.. right? Or, that might be meaning the other way around.. I’m not sure.

My questions are:

1) Is there a way to modify the “Create New Account” page, with the WP register page codes? So, when someone tries to create a new account on my MediaWiki itself.. it calls the WP database for it?

Or..

2) Just modify the MediaWiki file, that contains the “Create Account” link, and use the link to the registration page for the WP blog itself? And if so, which MediaWiki file does this reside in?

I guess I’d rather have it simple.. and just implement the WP registration codes, into the MediaWiki file.. so there is no redirecting of the “Create Account” link in my MediaWiki..

Or, does someone know of an “extension” for MediaWiki.. that synchronizes the MediaWiki & WordPress registrations? Thanks in advanced..

spencerp

/It’s ALMOST totally there now.. the way I want her.. just that dang Registration problem on the MediaWiki sigh.

By the way, you have to be registered and signed-in, to edit my Wiki.. whee! Which means, you’ll have to register on my blog, or forums first! This is why I’d like to get this MediaWiki registration figured out soon sigh..

I have done some crazy google searching and also came up empty handed. I would change all registration links to bbPress or WP. That way, at least you know they can register and not screw anything else up.

1) Edited the MediaWiki:Sidebar by adding in my own custom Register link, pointing to the Blog’s register page.

2) Edited some of the MediaWiki: (Logouttext, Createaccount, some Login”whatever files”, Nologin, Notloggedin, and maybe a few others) files – Removing all the “create account” references. So the “Login / Create Account” link was chopped down to just “Login”.. same goes for the one found on the actual login page.. (Well.. as far as I know I got all them “Create Account” references lmao!

3) Replaced those “create account” words/calls with custom text saying “Please click on the register link in the sidebar. Once you’ve created an account through my blog’s register page, you’ll get an email with the details. Once registered, your username and password will allow you to login on the Codex.”

4) Also, had added that little “hack” to hide the [Edit] link on the pages and stuff, if not logged in.. I had done this before even doing the above.. so.. as far as I know, I’m good to go for the Codex..

I’ll just have customize the email that comes from the blog after they register there, and the same for the forums.. I guess this is all I need, right people? If there’s more.. please tell me.. whee!

Spencer, was just hoping for a quick clarification on all this: Did you use the same MySQL database for everything? In the thread here you use terms like “MediaWiki database” and “WP database,” but I’m wondering whether that actually just means the MediaWiki tables and the WP tables, all contained in one MySQL database. Do tell.

i used a centralized mysql table which contains a mesh of all of the variables of all systems!. The reason wy i did that is, some of these usertables contain information which would change the bahaviour of the software, such as roll, last login etc. SO its not a mater of authentication and session ONLY. You also need the other stuff!!!.

i ALSO used a single portal for signup/signin. THIS SHOULD NOT BE SCARY (assuming that thinking does’nt hurt your brain). A good IDE will get everything done for you (search replace globally, find all instances of a function etc).

I reccomend http://www.eclipse.org/downloads/ as an editor, and use PHP IDE as an ide ontop of eclipse. Be patiant, if you have’nt installed before, it could be a bit strang, but do take a better part of a weekend to figure out hw it works. TRUST ME, php will be your bizatch afterwards

@nateolsen, I just added ALL 3 databases into ONE database, like such:

database_name (holding all three)

bb_forums

bb_posts

bb_privatemessages

bb_tagged

bb_tags

bb_topicmeta

bb_topics

mw_archive

mw_categorylinks

mw_externallinks

mw_filearchive

mw_hitcounter

mw_image

mw_imagelinks

mw_interwiki

mw_ipblocks

mw_job

mw_langlinks

mw_logging

mw_math

mw_objectcache

mw_oldimage

mw_page

mw_pagelinks

mw_querycache

mw_querycachetwo

mw_querycache_info

mw_recentchanges

mw_redirect

mw_revision

mw_searchindex

mw_site_stats

mw_templatelinks

mw_text

mw_trackbacks

mw_transcache

mw_user

mw_user_groups

mw_user_newtalk

mw_watchlist

sk2_blacklist

wp_bad_behavior

wp_bas_log

wp_bas_os

wp_bas_pages

wp_bas_refer

wp_bas_searches

wp_bas_ua

wp_bas_visitors

wp_bbpress_post_options

wp_bbpress_post_posts

wp_categories

wp_comments

wp_link2cat

wp_linkcategories

wp_links

wp_options

wp_post2cat

wp_post2tag

wp_postmeta

wp_posts

wp_secureimage

wp_sk2_logs

wp_sk2_spams

wp_tags

wp_tag_synonyms

wp_usermeta

wp_users

Of course, used the normal database prefix for each one specifically. It was mentioned though, that for the mw_ ones, you didn’t have to use the “mw_” prefix for when trying to mesh with bbpress/WP.. but, to play it safe, I used the default “mw_” prefix anyway.. Choice is your’s really..

@mozey, nice!! I’ll have to try that out sometime, well, when I get more time. Thanks for tips and pointers!

UPDATE: I’ve decided to remove my MediaWiki, or better known as the Codex. I merely installed it to play around, customize, and get familiar with it.

The whole reason for removing it is, I really don’t have the time for it. I don’t have time to add anything to it, make a theme for it, and customize it anymore.

As for this article, it’s still a good reference guide as what To-Do for getting your MediaWiki, bbPress, and WP login/registration working together. I hope you find it as useful as I did. Well, I guess that’s it for now. Tata.

Installed Mediawiki. Put Authpress in the extensions folder. Added code to LocalSettings.php. In that file, I tried both with and without these lines, uncommented and with my database information:

# Only include the following if you aren't using the same db as MediaWiki
$wgAuth->setAuthPressDBServer ('FIXME');
$wgAuth->setAuthPressDBName('FIXME');
$wgAuth->setAuthPressUser('FIXME');
$wgAuth->setAuthPressPassword('FIXME');

citizenkeith, are installing MediaWiki with those changes and additions already done to it, before actual installing of it? Or are you doing these changes/ additions to MediaWiki *after* MW installation is done? Also, is all three (wp, bbpress and mediawiki) installed in under same database?

What I did, was, had bbPress and WP installed *first*. And integrated first. Then, I installed MediaWiki into the same database as WP and bbPress. Then applied those extensions and additions to MediaWiki…

Did you put BOTH database tables and such in the SAME database? Like I said above here?

If you want, and IF I can find the stuff I had before.. I’ll post it back here. As for the stuff you’re talking about above there… couldn’t ya just change the references from WP database calls to bbPress calls?

As far as I know, you would only need to do what’s on this page right? Since we’re not talking about WP here at all?