Two Log-In Widgets on One Page!! Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
2 posters

    Two Log-In Widgets on One Page!!

    Kynamic
    Kynamic
    New Member


    Posts : 22
    Reputation : 1
    Language : English

    Two Log-In Widgets on One Page!! Empty Two Log-In Widgets on One Page!!

    Post by Kynamic November 22nd 2015, 6:19 pm

    I want to have two log-in widgets on my Portal, (One visible for guests and one visible for members in a different spot) but when I try to add both I get the error:
    Information wrote: Exclamation A predefined widget can only be present once on a same page.

    Is there a workaround for this? Does someone have the code of the login box so I can use that as a personal widget?

    Thanks
    -Kynamic Exclamation

    Ace
    Ace
    Forumember


    Posts : 250
    Reputation : 49
    Language : Portuguese & English

    Two Log-In Widgets on One Page!! Empty Re: Two Log-In Widgets on One Page!!

    Post by Ace November 22nd 2015, 6:39 pm

    Hi,

    First, create a new widget. Use this code. If you want to edit the images that I've put just look for img src"

    Code:
    <form action="/login" method="post" name="form_login">
           <label for="username">Username:</label><dd><input type="text" tabindex="1" name="username" id="username" size="25" maxlength="40" value="" class="inputbox autowidth" /></dd><dl><dt><label for="password">Password:</label></dt><dd><input type="password" tabindex="2" id="password" name="password" size="25" maxlength="25" class="inputbox autowidth" /> <br /><br /><a href="/profile.forum?mode=sendpassword"><img src="http://icons.iconarchive.com/icons/seanau/flat-app/24/Questionmark-icon.png" /> Forgot your password?</a><br /><a href="/register"><img src="http://icons.iconarchive.com/icons/custom-icon-design/pretty-office-8/24/User-blue-icon.png" />  Register</a><br /><br /> </dd><dd><input type="hidden" name="redirect" value="" /><input type="hidden" name="query" value="" /><input type="submit" name="login" tabindex="6" value="Log in" class="button1" /></dd> </dl>
    </form>

    Set the permissions of this widget to be shown just for the guests. The native Login widget just for members, mods and admins.

    Hope you like it. Smile

    Regards.