Auth_phpBB: A patch

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    php|uber.leet Forum Index // General
View previous topic :: View next topic  
Author Message
ZeiP



Joined: 29 Nov 2008
Posts: 1

PostPosted: Sat Nov 29, 2008 2:46 pm    Post subject: Auth_phpBB: A patch Reply with quote
Hi,

I'm using your extension on our site (thanks BTW, it saves us and our users a lot of trouble administering double accounts!) However, I had to make some modifications that I deemed necessary in order for the extension to be optimally usable by us.

The changes do the following:


  • Make MW take the user's real name from the phpBB DB to MW when first logging in.
  • Make MW update email and real name on every login from phpBB DB to MW.
  • Make MW use the original version of the username instead of the clean (which is at least uncapitalized) version. *
  • Allow the extension to reside in a separate directory of it's own (extensions/Auth_phpBB/) instead of extensions root.


The patch can be found at http://www.zeip.eu/~zeip/auth_phpbb.diff.txt. It's not perfect, since I intended it to be primarily used only on our site. But if you see that some of the changes might be of any use to others, feel free to attach them to the distribution version.

*) May cause some troubles with special characters in the user names username_clean is probably more safe but at least my username is incompatible with it Smile

P.S.

Quote:

http://uber.leetphp.com/wiki/extensions/Source.Auth_phpBB.php:
* Anyone who knows where
* to find all the template options please let me know. I was only able
* to find a few.


http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/specials/SpecialUserlogin.php?view=markup, in function mainLoginForm().
Back to top
View user's profile Send private message
root
Site Admin


Joined: 24 Jun 2005
Posts: 471

PostPosted: Wed Dec 03, 2008 3:33 pm    Post subject: Reply with quote
Thanks.
Back to top
View user's profile Send private message
JWPlatt



Joined: 20 Feb 2011
Posts: 4

PostPosted: Sun Feb 20, 2011 6:23 pm    Post subject: Reply with quote
I too changed the extension to not install in the extensions root, but in its own subfolder. Although this thread is old, the behavior still exists. I'd hightly recommend this change of behavior in your next release.
Back to top
View user's profile Send private message
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    php|uber.leet Forum Index // General All times are GMT - 8 Hours
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

alexisBlue v1.2 // Theme Created By: Andrew Charron and Web Hosting Bluebook
Powered by phpBB © 2001, 2002 phpBB Group