[MODDB] Separate Login and User Name 1.0.6

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Get Involved
nouveau
Registered User
Posts: 256
Joined: Tue Mar 27, 2007 1:51 pm

Re: [DEV] Separate Login and User Name 1.0.5

Post by nouveau »

Sorry for not responding earlier, but have been quite busy with paid work and other projects.

Will update the file to be compatible with the latest phpbb version, modx and automod versions within the week.
Formerly known as xceler8shun

nouveau
Registered User
Posts: 256
Joined: Tue Mar 27, 2007 1:51 pm

Re: [DEV] Separate Login and User Name 1.0.5

Post by nouveau »

archfourtytwo wrote:I'm installing this with AutoMOD on 3.0.5 and getting a few errors with finding things. Is this not meant for the 3.0.5 branch?
I'll update through the week to make sure there is 3.0.5 and automod compatibility to the latest versions.
lwaa wrote:this sounds like what I am looking for --- can I, as admin, enforce the username? I'm setting up a confidential forum and want all usernames to be the same, for privacy reasons.
Usernames are unique and the mod won't allow other people to share a username or loginname. Same as default phpbb settings.
Formerly known as xceler8shun

nouveau
Registered User
Posts: 256
Joined: Tue Mar 27, 2007 1:51 pm

Re: [DEV] Separate Login and User Name 1.0.6

Post by nouveau »

The version is currently sitting at 1.0.6

Modification Download: See first post in the topic

Changelog:
2009-08-11 - Version 1.0.6
* Tested working on 3.0.5
* Updated to MODX 1.2.2
* Corrected error in schemas files
* Fixed a few misc errors and tidied up the install.xml file.

Must have phpbb version 3.0.5 installed to update modification to 1.0.6
Formerly known as xceler8shun

mrwolf
Registered User
Posts: 7
Joined: Sun May 31, 2009 1:30 pm

Re: [DEV] Separate Login and User Name 1.0.6

Post by mrwolf »

Thank you very much for your great work

I really appreciate it

:D

nouveau
Registered User
Posts: 256
Joined: Tue Mar 27, 2007 1:51 pm

Re: [DEV] Separate Login and User Name 1.0.6

Post by nouveau »

Version 1.0.6 was going to have LDAP support, but I am still having a few issues there, so I have removed that part for a later version and updated to 3.0.5 modx 1.22 and fixed a few install file bugs.
Formerly known as xceler8shun

nouveau
Registered User
Posts: 256
Joined: Tue Mar 27, 2007 1:51 pm

Re: [DEV] Separate Login and User Name 1.0.5

Post by nouveau »

digitalexclusion wrote:Hello,
I just installed v1.0.5 and am running phpBB3.0.5. I think everything worked during the install but when I click on "Disallow login names" under the Users and Groups tab in the ACP, I get the following error:

SQL ERROR [ mysql ]

Table 'jdatabase.DISALLOW_LOGIN_TABLE' doesn't exist [1146]

SQL

SELECT * FROM DISALLOW_LOGIN_TABLE

BACKTRACE

FILE: includes/db/mysql.php
LINE: 174
CALL: dbal_mysql->sql_error()

FILE: includes/acp/acp_disallow_loginnames.php
LINE: 92
CALL: dbal_mysql->sql_query()

FILE: includes/functions_module.php
LINE: 507
CALL: acp_disallow_loginnames->main()

FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()

What did I do wrong and how can I fix it???
Thanks
Did you run the install script to make the database changes?

Also note that 1.0.5 will not install correctly on 3.0.5, due to a few core fill changes.

Please update to 1.0.6 to ensure compatability with the 3.0.5 version of phpbb
Formerly known as xceler8shun

User avatar
ameisez
Registered User
Posts: 1166
Joined: Sun Nov 04, 2007 7:04 am

Re: [DEV] Separate Login and User Name 1.0.6

Post by ameisez »

I want to change the text explain below login name.

This

Code: Select all

Login name:
Length must be between 3 and 20 characters.
To This

Code: Select all

Login name:
Please use your IDNUMBER as your login name if you already have. Otherwise, Length must be between 3 and 20 characters.
I've been searching tru the lang file but I can't find it. I give up. Please help :oops:
PHPBB on HOSTGATOR SERVER. MY PERSONAL CHOICE ;)
Need phpBB images and buttons? HIRE ME
my MOD: BB3 Media Player | a phpbb based media player

User avatar
guardog
Registered User
Posts: 61
Joined: Sun Aug 03, 2008 2:19 pm

Re: [DEV] Separate Login and User Name 1.0.6

Post by guardog »

A great mod I must say.

I'm using 3.0.5, mod version is 1.0.6. When I run install/index.php, i get this error:

Code: Select all

PHP Notice: in file /install/functions_install.php on line 212: Undefined property: dbal_mysql::$mysql_version
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3848: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3264)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3850: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3264)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3851: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3264)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3852: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3264)
and then when I try to run it again

Code: Select all

There is nothing left for you to do except delete the install folder.
The error code is making me worry, I installed this using AutoMOD.
Dream and reality...
What's the difference?...

nouveau
Registered User
Posts: 256
Joined: Tue Mar 27, 2007 1:51 pm

Re: [DEV] Separate Login and User Name 1.0.6

Post by nouveau »

guardog wrote:A great mod I must say.

I'm using 3.0.5, mod version is 1.0.6. When I run install/index.php, i get this error:

Code: Select all

PHP Notice: in file /install/functions_install.php on line 212: Undefined property: dbal_mysql::$mysql_version
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3848: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3264)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3850: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3264)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3851: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3264)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3852: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3264)
and then when I try to run it again

Code: Select all

There is nothing left for you to do except delete the install folder.
The error code is making me worry, I installed this using AutoMOD.
Is this the only MOD installed or are their others also installed?

I just installed a fresh copy of 3.0.5, automod rc2 and Sep Username 1.0.6 with no errors

functions_install.php line 212 relates to your mysql version

Code: Select all

			if (version_compare($db->mysql_version, '4.1.3', '>='))
what version are you running?
Formerly known as xceler8shun

nouveau
Registered User
Posts: 256
Joined: Tue Mar 27, 2007 1:51 pm

Re: [DEV] Separate Login and User Name 1.0.6

Post by nouveau »

ameisez wrote:I want to change the text explain below login name.

This

Code: Select all

Login name:
Length must be between 3 and 20 characters.
To This

Code: Select all

Login name:
Please use your IDNUMBER as your login name if you already have. Otherwise, Length must be between 3 and 20 characters.
I've been searching tru the lang file but I can't find it. I give up. Please help :oops:
The language used is basically the same as the default system language.

Open - language/en/mods/info_acp_separate_login_username.php
Find

Code: Select all

'LOGINNAME_CHARS_ANY_EXPLAIN'			=> 'Length must be between %1$d and %2$d characters.'
Replace with

Code: Select all

'LOGINNAME_CHARS_ANY_EXPLAIN'			=> 'Please use your IDNUMBER as your login name if you already have. Otherwise, length must be between %1$d and %2$d characters.'
Should work, haven't tested it
Formerly known as xceler8shun

User avatar
guardog
Registered User
Posts: 61
Joined: Sun Aug 03, 2008 2:19 pm

Re: [DEV] Separate Login and User Name 1.0.6

Post by guardog »

I did a clean install (without any pre-existing mod) as well and here are the results:

1) On localhost using XAMPP, no problem, install went fine.

2) On my hosting account, the same error occurs after I clicked Install when browsing the install/index.php file.

I guess it's my webhosting company's problem then.

Anyhow the MOD is working (encountered no error so far, not sure whether all the functions are working).

EDIT: From the cPanel I get this MySQL version 5.0.67-community.
Dream and reality...
What's the difference?...

nouveau
Registered User
Posts: 256
Joined: Tue Mar 27, 2007 1:51 pm

Re: [DEV] Separate Login and User Name 1.0.6

Post by nouveau »

I'll see if I can get a copy of 5.0.67 and test over the weekend,
Formerly known as xceler8shun

piegus
Registered User
Posts: 31
Joined: Mon Dec 17, 2007 10:22 pm

Re: [DEV] Separate Login and User Name 1.0.6

Post by piegus »

Hi xceler8shun.
Firstly gr8 mod! Im a webmaster of one site with joomla onboard. The J! is connected with phpbb3 by jfusion.
It's working very well but i want to install this mod.

I installed it on my localhost and i saw that the new field loginname which is created by mod is taking responsibility for logging in.
For my site this is a hell of a problem beac. jfuison is connecting with everything by username from phpbb3.

What would I have to edit to make username as it was. And loginname as this additional filed.
Dunno how to say it clearly.

In other words: username field stays, and we add displayname( instead loginname).

User avatar
ameisez
Registered User
Posts: 1166
Joined: Sun Nov 04, 2007 7:04 am

Re: [DEV] Separate Login and User Name 1.0.6

Post by ameisez »

that is a good point. im also looking for bridge and your question got my attention.

perhaps it is safer to add displayname instead of loginname to keep username reserved for bridge.
PHPBB on HOSTGATOR SERVER. MY PERSONAL CHOICE ;)
Need phpBB images and buttons? HIRE ME
my MOD: BB3 Media Player | a phpbb based media player

nouveau
Registered User
Posts: 256
Joined: Tue Mar 27, 2007 1:51 pm

Re: [DEV] Separate Login and User Name 1.0.6

Post by nouveau »

MOD is now validated.

http://www.phpbb.com/community/viewtopi ... &t=1768595


As I now run a few joomla sites with phpbb integration, I'll explore this and report back when I can sort something out. It may be joomla code changes more than phpbb.
Formerly known as xceler8shun

Locked

Return to “[3.0.x] MODs in Development”