Chair Hosting Posted January 28, 2015 Report Posted January 28, 2015 Hello, I want to put a login form onto our Multicraft Installation: http://mc.gbitdrive.net (top right) to link to http://gbitdrve.net/client with a login form that automatically logs our clients into their portals. Is that possible? We use WHMCS a lot and we wanted to try Blesta for our 2nd brand. Thanks, Jacob Chair Hosting 1 Quote
Michael Posted January 28, 2015 Report Posted January 28, 2015 Hello, I want to put a login form onto our Multicraft Installation: http://mc.gbitdrive.net (top right) to link to http://gbitdrve.net/client with a login form that automatically logs our clients into their portals. Is that possible? We use WHMCS a lot and we wanted to try Blesta for our 2nd brand. Thanks, Jacob http://www.blesta.com/forums/index.php?/topic/510-login-form-outside-blesta/ Paul and Chair Hosting 2 Quote
Chair Hosting Posted January 28, 2015 Author Report Posted January 28, 2015 Thanks, Ill take a look Michael and Chair Hosting 2 Quote
Chair Hosting Posted January 28, 2015 Author Report Posted January 28, 2015 Hello, Take a look at the Multicraft now..... any way to fix that? Thanks, Jacob Chair Hosting 1 Quote
Michael Posted January 28, 2015 Report Posted January 28, 2015 Hello, Take a look at the Multicraft now..... any way to fix that? Thanks, Jacob You've not added the form correctly. If you can remove the form back to how it was before I can inspect element edit it for you and give you the code here. Chair Hosting 1 Quote
Chair Hosting Posted January 28, 2015 Author Report Posted January 28, 2015 Here is the code I have: <form class="navbar-form navbar-right" role="form"> <div class="form-group"> <input type="text" class="form-control" name="username" placeholder="Username" value="" id="login_username"> </div> <div class="form-group"> <input type="password" placeholder="Password" class="form-control" name="password" value="" id="login_password"> <div> <input type="submit" name="login" value="Login" class="btn" /> </form> Original: <?php endif ?> <?php if (Yii::app()->user->isGuest) { ?> <form class="navbar-form navbar-right" role="form"> <div class="form-group"> <input type="text" placeholder="Name" class="form-control"> </div> <div class="form-group"> <input type="password" placeholder="Password" class="form-control"> </div> <button type="submit" class="btn btn-success">Login</button> </form> <?php } else { Thanks, Jacob Chair Hosting 1 Quote
Chair Hosting Posted January 28, 2015 Author Report Posted January 28, 2015 Anything wrong with it? Quote
Michael Posted January 28, 2015 Report Posted January 28, 2015 Any Help? Well is it the form you have on it now the Name Password Login or are you trying to add another one? Quote
Chair Hosting Posted January 28, 2015 Author Report Posted January 28, 2015 Hello, I am trying to make tghe login for on the menu bar login to the Blesta Client area Quote
Michael Posted January 28, 2015 Report Posted January 28, 2015 Hello, I am trying to make tghe login for on the menu bar login to the Blesta Client area I'm confused mate, you have two logins. Login which links to the Multicraft login page, and the login (form), is it the form you are trying to make work for Blesta? Quote
Chair Hosting Posted January 29, 2015 Author Report Posted January 29, 2015 Hello, This login form want it to link to Blesta which is https://gbitdrive.net/client. Login Form: http://puu.sh/faNEX/1131afd8fd.jpg Thanks, Jacob Quote
Michael Posted January 29, 2015 Report Posted January 29, 2015 Hello, This login form want it to link to Blesta which is https://gbitdrive.net/client. Login Form: http://puu.sh/faNEX/1131afd8fd.jpg Thanks, Jacob Ok thank you so it is the long one . Your code should be: <form class="navbar-form navbar-right" method="post" action="http://gbitdrve.net/client/login/"> <div class="form-group"> <input type="text" placeholder="Name" class="form-control" name="username" id="login_username"> </div> <div class="form-group"> <input type="password" placeholder="Password" class="form-control" name="password" id="login_password"> </div> <input type="submit" name="login" value="Login" class="btn btn-success" hidefocus="true"> </form> And make sure you have edited the config file as stated in the other thread. Quote
Chair Hosting Posted January 30, 2015 Author Report Posted January 30, 2015 Hello, I have edited the php files on the Blesta Directory. I will try again now. Thanks, Jacob Quote
Chair Hosting Posted January 30, 2015 Author Report Posted January 30, 2015 It takes me to localhost when I click Login. Quote
Michael Posted January 30, 2015 Report Posted January 30, 2015 It takes me to localhost when I click Login. That's weird even if the information if wrong it should use the url provided in post. Quote
Chair Hosting Posted January 31, 2015 Author Report Posted January 31, 2015 Yea, well it brings me to localhost... Quote
WebHostCentral UK - Dean Posted February 13, 2015 Report Posted February 13, 2015 I know this is a little old but was you doing this locally or on a live server? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.