I'm getting ready to upgrade software, and I have several IPS instances installed. How the heck does this extension know which one to use? I see no option to declare the IPS DB or ww file path.
Topic on Extension talk:IPBAuthLogin
Appearance
I figured it out ... need to update the following values for my situation. I think it would be a good idea to update the instructions to explicitly call this out. Also, I assume that $wgIPBDBHost
can be commented(?) or set to 'localhost'
if the forum is on the same host as the wiki instance to which this extension applies:
Presently:
- $wgIPBDBHost = 'forum_db_host';
- $wgIPBDBUsername = 'forum_db_username'; // this account only needs SELECT access to forum DB
- $wgIPBDBPassword = 'forum_db_password';
- $wgIPBDBDatabase = 'forum_db_name';
Clearer:
- $wgIPBDBHost = 'add_your_forum_db_host_name'; // comment if forum host is same as wiki host
- $wgIPBDBUsername = 'add_your_forum_db_username'; // this account only needs SELECT access to forum DB
- $wgIPBDBPassword = 'add_your_forum_db_password';
- $wgIPBDBDatabase = 'add_your_forum_db_name';
Also should mention that this extension name and loader name, 'IPBAuthLogin' are not consistent with the calls within the code 'IPBLoginAuth', so this probably should be fixed.