[BETA] Account Links

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!
Scam Warning
Locked
MydnyteSyn
Registered User
Posts: 383
Joined: Sun Oct 07, 2007 10:02 am

Re: [BETA] Linked Accounts

Post by MydnyteSyn » Thu May 29, 2008 3:07 am

Terrific! Thank you so much, Drakkim :) Your assistance has been sincerely appreciated, as has your work on this mod. Thank you, again!

Duvessa
Registered User
Posts: 2
Joined: Wed May 28, 2008 9:36 pm

Re: [BETA] Linked Accounts

Post by Duvessa » Thu May 29, 2008 2:28 pm

That did it for me too. I did try and make a search for something on installing a new mod into the panel, but if it was somewhere, I must have gone stupid and missed it. :(

MydnyteSyn
Registered User
Posts: 383
Joined: Sun Oct 07, 2007 10:02 am

Re: [BETA] Linked Accounts

Post by MydnyteSyn » Sun Jun 01, 2008 4:16 pm

Is there something that I can do to allow usernames that have apostrophe's in them to link? We have several members whose usernames have apostrophe's but they are unable to link their accounts.

User avatar
'Christa
Registered User
Posts: 6
Joined: Mon Jun 02, 2008 11:22 pm

Re: [BETA] Linked Accounts

Post by 'Christa » Mon Jun 02, 2008 11:33 pm

The link doesn't seem to work, is that normal ? T_T This mod is the one I need since a loooong time...

Well, that works now, and I installed it, but it seems that this mod can't stand the accents x_X

Drakkim
Registered User
Posts: 176
Joined: Thu Feb 05, 2004 5:48 am
Contact:

Re: [BETA] Linked Accounts

Post by Drakkim » Tue Jun 03, 2008 11:09 am

I'll see what I can do about the single quotes... and the site should be back up... there was a fire at the server's datacenter this weekend, so around 9000 servers (including conclavewiz.com) were offline for a couple days.

-Drakkim

User avatar
'Christa
Registered User
Posts: 6
Joined: Mon Jun 02, 2008 11:22 pm

Re: [BETA] Linked Accounts

Post by 'Christa » Tue Jun 03, 2008 3:33 pm

And the accents !! Veeeery important O_O (One of my characters is named Caïn)

But, at last, your mod works perfectly (even if only with pseudos without accents), that's great \o/ Thanks very much ^^

Drakkim
Registered User
Posts: 176
Joined: Thu Feb 05, 2004 5:48 am
Contact:

Re: [BETA] Linked Accounts

Post by Drakkim » Wed Jun 04, 2008 4:24 am

Just so you guys know, I've worked out a few bugs, but I want to test a bit more...

Expect these fixes in the next couple days:

Update to phpBB 3.0.1 and MODX 1.2.0
[Cleanup] Removed function account_switch_form (Not used since 0.5.3)
[Bug Fix] Set variables to prevent 'unset' warnings in functions_linked_acct.php (Thanks Scriptmaster10)
[Bug Fix] Removed quotes in SQL (Thanks Frug)
[Bug Fix] Can't link users with single quotes (') in name (Thanks MydnyteSyn)
[Bug Fix] Can't link users with non-english characters in name (Thanks 'Christa)
Added UCP module install instructions to MODX

Did I miss anything on the recent posts?

Drakkim
Registered User
Posts: 176
Joined: Thu Feb 05, 2004 5:48 am
Contact:

Re: [BETA] Linked Accounts

Post by Drakkim » Thu Jun 05, 2008 6:08 pm

0.5.5 now available for download.

-Drakkim

User avatar
'Christa
Registered User
Posts: 6
Joined: Mon Jun 02, 2008 11:22 pm

Re: [BETA] Linked Accounts

Post by 'Christa » Sat Jun 07, 2008 8:43 pm

Copy: root/styles/prosilver/template/ucp_linked_acct.html
To: styles/prosilver/template/ucp_linked_acct.html
Copy: root/styles/prosilver/template/linked_acct_form.html
To: styles/prosilver/template/linked_acct_form.html
the file linked_acct_form.html is missing ^^'

Moreover, the mod is now fully working, I thank you very much.

User avatar
mitthoo
Registered User
Posts: 253
Joined: Tue Oct 03, 2006 12:34 pm

Re: [BETA] Linked Accounts

Post by mitthoo » Tue Jun 10, 2008 11:29 am

where is this file linked_acct_form.html i could not find it in the mod file...

also in ACP 3 modules comes which one should be added.. although all of them comes up with same page in UCP.

User avatar
mitthoo
Registered User
Posts: 253
Joined: Tue Oct 03, 2006 12:34 pm

Re: [BETA] Linked Accounts

Post by mitthoo » Tue Jun 10, 2008 11:55 am

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/functions_linked_acct.php on line 209: Undefined variable: linked_valid
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3580: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2961)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3582: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2961)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3583: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2961)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3584: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2961)

This is what i got when username and password was not correct while linking the account. Some bug i guess
Last edited by mitthoo on Tue Jun 10, 2008 12:43 pm, edited 1 time in total.

User avatar
mitthoo
Registered User
Posts: 253
Joined: Tue Oct 03, 2006 12:34 pm

Re: [BETA] Linked Accounts

Post by mitthoo » Tue Jun 10, 2008 12:00 pm

one more thing

Access to the Administration Control Panel is not allowed as you do not have administrative permissions.

I got this when i liked my Administrator account with other normal registered account while going to the ACP.


This is working.. i think :D :D

User avatar
mitthoo
Registered User
Posts: 253
Joined: Tue Oct 03, 2006 12:34 pm

Re: [BETA] Linked Accounts

Post by mitthoo » Tue Jun 10, 2008 12:40 pm

I want it to be like this..

Image

I used the following code in linked_acct_form.html since it was missing from the mod file..

Code: Select all

<!-- Switch Users -->
<form id="switch_user" method="post" action="{U_ACTION}">
	<div class="panel">
		<div class="inner">
			<span class="corners-top"><span></span></span>
			<fieldset>
				<dl>
					<dt><label for="switch_acct">{L_SWITCH_USER}</label></dt>
					<dd>
					<!-- IF S_LINKED_ACCT_OPTIONS -->
						<select name="switch_acct">{S_LINKED_ACCT_OPTIONS}</select>
					<!-- ELSE -->
						<b class="text medium">{L_NO_LINKED_ACCTS}</b>
					<!-- ENDIF -->
					</dd>
				</dl>
			</fieldset>
			<span class="corners-bottom"><span></span></span>
		</div>
	</div>
	<fieldset class="submit-buttons">
		<input class="btnmain" type="submit" name="submit" value="{L_SWITCH_USER}" />
	</fieldset>
	
</form>	
<!-- End Switch Users -->
it is taken from ucp_linked_acct.html

Most important of all, it only shows up in ucp. I want this to be enabled throughout the board. no matter where i go.. acrade, gallery, index, viewforum, viewtopic etc..

Drakkim
Registered User
Posts: 176
Joined: Thu Feb 05, 2004 5:48 am
Contact:

Re: [BETA] Linked Accounts

Post by Drakkim » Tue Jun 10, 2008 1:45 pm

mitthoo wrote:also in ACP 3 modules comes which one should be added.. although all of them comes up with same page in UCP.
The three modes / modules was a misunderstanding on my part when I updated the info file... only install (1) and you should be fine (only "manage linked accounts" will be in the next version)
mitthoo wrote:

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/functions_linked_acct.php on line 209: Undefined variable: linked_valid
Typo... I guess I missed one of the variables. I'll get that in the next update.
mitthoo wrote:Access to the Administration Control Panel is not allowed as you do not have administrative permissions.

I got this when i liked my Administrator account with other normal registered account while going to the ACP.
This is normal. When you switch accounts, you are logged out of the old and into the new, so the administration session is ended. phpBB3 doesn't allow you to have an ACP session active without the admin user being logged into the main board.


Hopefully, I'll update tonight with the missing files ("styles/prosilver/template/linked_acct_form.html" and "styles/subsilver2/template/linked_acct_form.html". Those are how you put the drop-down on other pages (oops!)

I'm actually working on some MCP features at the moment... they may or may not get released tonight as well. They will allow for moderator/admin only account switching and for mods/admins to link accounts for users.

-Drakkim

User avatar
mitthoo
Registered User
Posts: 253
Joined: Tue Oct 03, 2006 12:34 pm

Re: [BETA] Linked Accounts

Post by mitthoo » Tue Jun 10, 2008 1:57 pm

mitthoo wrote:I want it to be like this..

Image

First could you consider my suggestion of having the switch user module at the top below search and without submit button. (that would be nice)

Most important of all, it only shows up in ucp. I want this to be enabled throughout the board. no matter where i go.. acrade, gallery, index, viewforum, viewtopic etc..

And this one also.

Locked

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