Hello! Recently my account switcher broke, making it so that my member's can no longer attach accounts from the Master account (
Image Here).
However, if you log into a secondary account and go to the account switcher, everything appears just fine (
Image Here). I have checked permissions, and can't seem to figure out why this is happening.
Help please?
Please post the content of the template accountswitcher_usercp_master_attach
<input type="hidden" name="action" value="as_attach" />
<input type="hidden" name="select" value="attachuser" />
<span class="smalltext">{$lang->as_attachuser}</span>
<br/><br/>
<strong>{$lang->as_username}</strong>
<input type="hidden" name="username" id="accountswitcher_username" style="width: 185px;" class="textbox" />
<br/><br/>
<strong>{$lang->as_password}</strong>
<input type="password" name="password" style="width: 185px;" class="textbox" />
<br/><br/>
<input type="submit" value="{$lang->as_attach}" name="{$lang->as_attach}" class="button" />
The ID of the username field was changed in one of the latest versions.
Please replace this line:
<input type="hidden" name="username" id="accountswitcher_username" style="width: 185px;" class="textbox" />
with:
<input type="textbox" name="username" id="accountswitcherusername" style="width: 185px;" class="textbox" />
Perfect! Thank you, as always, Doyle!