Create A Forum - Support Forums

Support => General Support => Topic started by: clayhanson on September 16, 2014, 10:39:19 pm

Title: How do I create a Login button with EzPortal?
Post by: clayhanson on September 16, 2014, 10:39:19 pm
I've been thinking and searching on this issue for a while, with no avail. So, i'm creating a ezportal page, and i've made a Login section on it. I, however, cannot find the function for the login button. It's very confusing, so I figured i'd come here for help. (And yes, I have used Google Chrome's Inspect Element feature on the login buttons on my website's index page.) The current link it sends you to is http://bbsserver.createaforum.com/templates/default/login.aspx (http://bbsserver.createaforum.com/templates/default/login.aspx)


My current forums URL: Blackbeard Forums (http://bbsserver.createaforum.com/index.php)


The page i'm having issues on (the portal page): Blackbeard Forums Guest Home (http://bbsserver.createaforum.com/index.php?action=ezportal;sa=page;p=4)


I'd really appreciate any help.
Title: Re: How do I create a Login button with EzPortal?
Post by: CreateAForum on September 17, 2014, 06:11:55 am
That link doesn't seem right at all.... http://bbsserver.createaforum.com/templates/default/login.aspx
Do you have another website or you do just want to link to loing page here?
If so it would be http://bbsserver.createaforum.com/index.php?action=login
Title: Re: How do I create a Login button with EzPortal?
Post by: clayhanson on September 17, 2014, 07:19:44 pm
That link doesn't seem right at all.... http://bbsserver.createaforum.com/templates/default/login.aspx
Do you have another website or you do just want to link to loing page here?
If so it would be http://bbsserver.createaforum.com/index.php?action=login
What I mean is... When you put in your username and password into an input box, what is the javascript/HTML script that runs when you click the Login button? I don't want the link to my website's login page.
Title: Re: How do I create a Login button with EzPortal?
Post by: CreateAForum on September 17, 2014, 07:42:04 pm
I don't understand what are you trying to do.
Title: Re: How do I create a Login button with EzPortal?
Post by: clayhanson on September 17, 2014, 11:25:13 pm
I have posted an image on the OP.
Title: Re: How do I create a Login button with EzPortal?
Post by: CreateAForum on September 17, 2014, 11:35:30 pm
You can use the ezblock login block in ezportal to do this.
Title: Re: How do I create a Login button with EzPortal?
Post by: clayhanson on September 17, 2014, 11:53:12 pm
You can use the ezblock login block in ezportal to do this.
Yes, but I really want to go a different direction, to make my forum stand out. I understand that you can use eZBlock, but most guests just assume that the "Guest Home" tab on my index page is where they should go.
Title: Re: How do I create a Login button with EzPortal?
Post by: CreateAForum on September 18, 2014, 12:11:26 am
Example form HTML code which might work
Code: [Select]
<form id="guest_form" action=" http://bbsserver.createaforum.com/index.php?action=login2 method="post" accept-charset="ISO-8859-1">
<div class="info">Welcome, <strong>Guest</strong>. Please <a href=" http://bbsserver.createaforum.com/index.php?action=login>login</a> or <a href=" http://bbsserver.createaforum.com/index.php?action=register">register</a>.<br>Did you miss your <a href="http://support.createaforum.com/index.php?action=activate;PHPSESSID=0b0fe07449634924e13cf8cfee5115de">activation email</a>?</div>
<input name="user" size="10" class="input_text" type="text">
<input name="passwrd" size="10" class="input_password" type="password">
<select name="cookielength">
<option value="60">1 Hour</option>
<option value="1440">1 Day</option>
<option value="10080">1 Week</option>
<option value="43200">1 Month</option>
<option value="-1" selected="selected">Forever</option>
</select>
<input value="Login" class="button_submit" type="submit"><br>
<div class="info">Login with username, password and session length</div>
<input name="hash_passwrd" value="" type="hidden">
</form>
Title: Re: How do I create a Login button with EzPortal?
Post by: clayhanson on September 18, 2014, 01:01:32 am
Example form HTML code which might work
Code: [Select]
<form id="guest_form" action=" http://bbsserver.createaforum.com/index.php?action=login2 method="post" accept-charset="ISO-8859-1">
<div class="info">Welcome, <strong>Guest</strong>. Please <a href=" http://bbsserver.createaforum.com/index.php?action=login>login</a> or <a href=" http://bbsserver.createaforum.com/index.php?action=register">register</a>.<br>Did you miss your <a href="http://support.createaforum.com/index.php?action=activate;PHPSESSID=0b0fe07449634924e13cf8cfee5115de">activation email</a>?</div>
<input name="user" size="10" class="input_text" type="text">
<input name="passwrd" size="10" class="input_password" type="password">
<select name="cookielength">
<option value="60">1 Hour</option>
<option value="1440">1 Day</option>
<option value="10080">1 Week</option>
<option value="43200">1 Month</option>
<option value="-1" selected="selected">Forever</option>
</select>
<input value="Login" class="button_submit" type="submit"><br>
<div class="info">Login with username, password and session length</div>
<input name="hash_passwrd" value="" type="hidden">
</form>
Thanks. I'll try it out! :)
Title: Re: How do I create a Login button with EzPortal?
Post by: clayhanson on September 18, 2014, 01:07:07 am
I just tried your HTML, and when I pushed the login button, this came up:

Quote from: Google Chrome
Forbidden
You don't have permission to access / http://bbsserver.createaforum.com/index.php on this server.