login,e-commerce,usability , How to add admin login link on a website? [closed]


How to add admin login link on a website? [closed]

Question:

Tag: login,e-commerce,usability

I have a login and registration page where user can login and place an order. I have already crated a adminlogin , adminlogout, adminorder page to do the admin related task. But im not sure where to add this admin login link. Sould I add this link to the menu bar with beside user login link or create a drop down list with user login and admin login?

In normal eCommerce web site I dont see any admin login link. That is confusing me. If they dont have any admin login link , then how they are managing all the completed orders.


Answer:

On the normal user login page you can add redirect to /admin (usually) if the user has ADMIN rights after the authentification finished. If you aren't authentificated and open /admin page you must open a custom admin login form.

Links like those for administration page must not be put on front side of the website.


Related:


How to specify what “list” the product was added to cart from? Enhanced Ecommerce


javascript,google-analytics,e-commerce,implementation,product
Trying to implement Google Analytics Enhanced Ecommerce tracking for my website. How to specify what "list" the product was added to cart from? Here is the standard tracking code for adding the product to basket: // Called when a product is added to a shopping cart. function addToCart(product) { ga('ec:addProduct',...

On login form chrome will save password but with no username


php,google-chrome,login
i am trying to save password with username when loging-in with Google Chrome. But unfortunately the chrome only show password with ( no username ). What seems to be the problem? Here's the image for better imagination. is maybe problem that input of username got name attribute email? (should it...

Supplier login when using spree-drop-ship


e-commerce,spree,marketplace
I'm working on a marketplace website. The idea is to allow for suppliers to login, add their products, view orders, generate reports etc. I'm using Spree Commerce, and I see everyone suggesting to use spree-drop-ship extension to achieve all/part of above.(it's not really clear from the documentation, all the features...

backbone persistent login - login removed on browser quit


javascript,rest,authentication,backbone.js,login
I am working on a backbone application that hooks into RESTful API. One problem I having at the moment, is that a user can be logged, they can then close there browser, reopen it go to my application and be logged out. Is is possible to make a login persistent...

Windows 8: Must enter login password twice


login,windows-8,windows-8.1
I've seen many posts about this error but in my case the password is being typed correctly but is always rejected on the first attempt, saying Your PC is offline. Please sign in with the last password. I know Windows tries to authenticate Live accounts with their servers, but it's...

Updating fields of model using forms and views on Django 1.7


python,mysql,django,forms,e-commerce
In models.py my Product model is class Product(models.Model): productName = models.CharField(max_length=20, default='1',blank=False,null=False, primary_key = True) userPhone = models.CharField(max_length=20, default='1') userid = models.ForeignKey(Account, default='1',null=True) productDesc = models.TextField(blank=False,null=False, default='1') productCategory = models.ForeignKey(Category, null=False, default='1') productPrice = models.DecimalField(default='0',blank=False,null=False, max_digits=6, decimal_places=2) picture =...

Have to reload page for if statement to be parsed


php,html,session,login
First: Code! loginform.html <form action="" method="post" id="loginform"> <h3>Login</h3> <input type="text" name="username" placeholder="Username"> <br> <br> <input type="password" name="password" placeholder="Password"> <br> <input type="submit" name="logsubmit" value="Login" class="registerbutton"> </form> login.php <?php require_once("../resources/config.php"); require_once("../resources/library/dbconnect.php"); function checkUser($con) { if...

Error in laravel 4


php,laravel,laravel-4,login,admin
When i try to log in , it redirects me to www.example.com/admin/{username} but it shows a NotFoundHttpException error. Thank you in advance! The routes.php file Route::get('/admin', '[email protected]'); Route::get('/logout', '[email protected]'); Route::get('profile', function() { return "welcome! Your username is" . Auth::admin()->username; }); Route::resource('sessions', 'SessionsController', ['only' => ['index', 'create', 'destroy', 'store']]); here is...

change the errors of my login script


php,mysql,database,validation,login
This is a part of my login script. I'm trying to get an error more Specifically so that if you are logging in and you type your username correct but your password is incorrect that the error is: Wrong password and not: username or password are incorrect. And if you...

Remote connection to embedded device in field


login,ssh,embedded,ethernet
I would like to ask about the way how to establish remote connection to Linux based embedded device in the field. I have a small linux board I want to place in remote location. It has an internet access through ethernet. Than I have a Linux server with public IP...

mysql_num_rows() - php login form fails [duplicate]


php,html,mysql,sql,login
This question already has an answer here: PHP & MySQL: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given [duplicate] 2 answers mysql_fetch_array() expects parameter 1 to be resource (or mysqli_result), boolean given 29 answers Here is the log-in form script. If I run this, server echos Warning: mysql_num_rows()...

PHP login not working (comparing plain submitted password with encrypted one) [duplicate]


php,mysqli,login,passwords
This question already has an answer here: Secure hash and salt for PHP passwords 13 answers I'm trying to make a login with prepared statement but kept failing so I let every step have an echo when failed. I get a "Password verify: (0)" so i'm guessing the problem...

Is it a good practise store the checkout steps fields in php $_SESSION?


php,session,e-commerce,checkout
I have my e-commerce site with three checkout steps, each button to continue is a POST action and redirect to the next step: if the user navigates by the checkout steps (click on the previous button for example), the form fields don´t show the data posted previously. This form fields...

Dx trouble writing output: already prepared… - Error in console


java,android,eclipse,e-commerce,braintree
braintree-api-1.6.1-full.jar android:minSdkVersion="14" android:targetSdkVersion="18" I need to implement braintree inside my android app which has no issues, but as I copy the braintree jar file, into my projects libs folder and import the necessary classes, my app crashes. Full error message in console: Dx trouble writing output: already prepared [2015-06-18...

One time Sign-in [duplicate]


java,android,login
This question already has an answer here: How to display a one time welcome screen? 3 answers I am creating a project where I have a login screen, which is used for user to login into the Application. This login screen should only be visible the first time, so...

Jsoup Login aspx Digikey


java,parsing,post,login,jsoup
I have a problem with connect to Digikey.it with jsoup. I need login with my account and use cookies, but when i execute post, do not login. This is my code: String UrlLogin="https://www.digikey.it/classic/RegisteredUser/Login.aspx?ReturnUrl=%2fclassic%2fregistereduser%2fmydigikey.aspx%3fsite%3dit%26lang%3dit&site=it&lang=it"; Connection.Response response = Jsoup.connect(UrlLogin) .method(Connection.Method.GET) .execute(); Document loginPage = response.parse(); response = Jsoup.connect(UrlLogin)...

Drupal7 modified user login no effect?


php,templates,drupal,login
I am new to Drupal. I am trying to create a modified login page. I have modified the template.php of my theme with the name "cmse" in /sites/all/themes/cmse/ This is my template.php: <?php function cmse_preprocess_html(&$vars) { $vars['classes_array'][] = 'homepage'; $vars['classes_array'][] = 'teaser'; } function cmse_theme() { $items = array(); //...

Different storyboard's entry points depending on a parameter


ios,login,uiviewcontroller,storyboard,entry-point
I'm developing an app where I need to manage the common scenario of users having to provide credentials to log in and access the main app's functions. This way, the view I need to firstly show the user if she's not logged in is the view to allow her to...

How to check for an @ in an email address from a form post


php,forms,email,login,verification
I have a form with login and registration. My Form <form method="POST" action="login.php"> <input type="text" name="mail" value="Input your email"/> <input type="submit" value="Check"/> </form> Now, if someone enters their email, I want to check if there is an "@" in the address. I have tried using an array, but that´s not...

Custom ID providers with Identity Toolkit?


login,google-identity-toolkit
Is there a way to add custom identity providers with the Google Identity Toolkit? The default NASCAR doesn't support OpenID or Twitter. It appears that adding providers was possible in an old version of the toolkit, and that page indicates that they hoped to make doing so easier in future...

Symfony2 & PHPUnit - Access getContainer()


php,symfony2,login,parameters,phpunit
I have a problem with my PHPUnit test on symfony2. To connect to my application, I use a web service, so I created a UserProvider. In my function loadUserByUsername I use symfony2 parameters saved in app/config/parameters.yml. As I'm not in a controller I need to use the global variable $kernel...

Mailchimp Ecommerce360 Javascript Implementation


javascript,rest,e-commerce,mailchimp
Wondering if anyone can provide an example of how to pass a request to the /ecomm/order-add function of the Mailchimp API using javascript. This is critical for making use of Mailchimp's Ecommerce360 tracking. Here is documentation from Mailchimps API: https://apidocs.mailchimp.com/api/2.0/ecomm/order-add.php...

returning login status in php [CURL] [closed]


php,wordpress,curl,login
how are you? i have a non expected result , it should return "1" when login successfuly , and "0" when login error, and it always return "0" <?php $username = 'admin'; $password = 'admin'; $loginUrl = 'http://localhost/wordpress/wp-login.php'; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $loginUrl); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, 'log='.$username.'&pwd='.$password);...

The Enter button not working on Login page


php,login,acceptbutton
I just made a login system but I can only login with pressing the button on my screen, not using the enter button on my keyboard. How can I enable this? I read something about the AcceptButton, but how do I apply this? my code: login.php <?php require('inc/functions.php'); session_start(); if(checkLogedIn()){...

Account onLogin hook Meteor loop


javascript,login,meteor,hook,account
I am building an application using Meteor. I want to create a new Cart ID (to act as a cart where I can store items) each time a user logs into my application. However, every time I open a new page in the application, a new Cart ID is created....

FacebookCallback.onCancel is getting called when trying to login using facebook sdk


android,facebook,login,facebook-sdk-4.0
I have an Android app and I am trying to use facebook's sdk (version 4.1.0) to get a token and login. Here is my code: public class LoginActivity extends Activity { private CallbackManager callbackManager; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_login); FacebookSdk.sdkInitialize(getApplicationContext()); callbackManager = CallbackManager.Factory.create(); LoginManager.getInstance().registerCallback(callbackManager, new...

Google Identity Toolkit - Google Sign in Error 400 after login


html,login,google-signin
I am currently working on an admin system to edit a websites contents and require a login system that allows me to check if a user is within a certain Google group, so I am using the Google Sign in platform (as part of the Google Identity Toolkit), however, when...

Why is ftp_login() authentication failing?


php,login,ftp
I am attempting to use ftp_login() but continue to get the error: Warning: ftp_login(): Login authentication failed in /path/to/file.php I am 100% positive that the username and password are correct. Login succeeds when using an FTP client like WinSCP or FileZilla. There are no symbols in either the password or...

XPages: Login not working?


login,xpages
im having a huge problem with the login node in the Web Browser. I click "Login" on the top right corner of my layout. It gets me to the login screen. All fine so far. Then im trying to login and as soon as i typed in my login-data and...

Redirect Codeigniter user when using back button


php,codeigniter,login
If the user hits their browser's Back button directly after logging into my Codeigniter web app they're taken back to the login form. Instead I'd like the user to be directed to the homepage. Also, when the user logs out, I'd like to prevent access to the Account page, but...

PHP token security


php,security,login,token
I wrote a PHP application which requires a login. This application is private so no new users can register. First I used sessions to identify the users but it lead to problems on tablets because they lost their sessions. I think this is because of energy saving operations. Now I...

How to log in user to my web application when he click on some link in his email


php,mysql,email,login,yii2
Every day I need to send emails to my users with links for articles that they may be interested in on my news site. Example of link: <a href="http://example.com/article/5/some-seo-title>title of article </a> I am keeping data about users in my user table: id, username, email ... When user clicks some...

Continuous query fail in login script


php,login
I'm making a login script but it keeps failing and printing out the "connection failed". Why does the query fail and how can i make this better? session_start(); if(isset($_POST['submit'])){ $email = $_POST['email']; $pass = $_POST['pass']; $connection=mysqli_connect("localhost","root","","dbname") or die('Connection failed.'); mysqli_select_db($connection, 'dbname') or die ("Connection failed."); $query = mysqli_query($connection, "SELECT *...

Android: automatic logout


java,android,time,login,logout
Hi I want to logout automatically after a determined time of inactivity my Android app. In the Second Activity in onPause I save the time when the app is in pause in a variable. In MainActivity in method onresume I save the time when the app restarts in another variable...

Parse (Java for Android) login returns Object Not Found


java,android,login,parse.com
I'm trying to login using Parse for android. If I enter the correct username and password, I log in successfully. But when I use a wrong password or username, I always get error 101: object not found. Here's the code (Notice "username" and "password" are EditText): private void doLogin() {...

authentication ruby valid_password error


ruby-on-rails,login,devise,passwords
I'm new to ROR. I tried for simple login with email and password. I can't authenticate the password. It's repeated question, and my error is not yet cleared with old questions. My code is user = User.find_by_email(params[:email]) user.valid_password?(params[:password]) if @user = User.find_by_email(params[:user][:email]).valid_password?(params[:user][:password]) #render :json=> user.as_json(:status=>'success', :Message=>'Sucessfully Registered', :username=>user.username ), :status=>201...

MVC5 Login to custom Database


asp.net-mvc,authentication,login,asp.net-mvc-5,owin
What if you have your own database and a BAL (Business Access Layer) and don't want to use DefaultConnection and the template ASPNET database tables but my own user tables? How can you use a custom database? ConnectionString: public class AppDbContext : IdentityDbContext<AppUser> { public AppDbContext() : base("DefaultConnection") { }...

Multi service with one-login authentication (Single sign-on)


authentication,login,single-sign-on,saml
Single sign-on (SSO) is a property of access control of multiple related, but independent software systems. With this property a user logs in once and gains access to all systems without being prompted to log in again at each of them. (from wikipedia) now, I have more web service:...

Log in through active directory


c#,login,active-directory
I want to create LogIn button through Active Directory. So i have an idea to take Name logged user(Windows) from his Domain: string Name = System.Security.Principal.WindowsIdentity.GetCurrent().Name; and then take Group for Login above: string Group = System.Security.Principal.WindowsIdentity.GetCurrent().Groups.ToString(); // <---I think this is wrong ? string allowedGroup = "Admins"; then something...

PHP login system help needed for deletion


php,login,delete,user
Help with user deletion: Hello I am creating a user creation system for a project of mine, I am still very new to PHP, my issue is getting the user from the MySQL database and then deleting it, I will show you my code below: <?php require_once("config/db.php"); if ($login->isUserLoggedIn() ==...

Login with Facebook option trigger suggest to download an app


android,ios,facebook,osx,login
Yesterday I logged in to Airbnb with my Facebook account on my OSX. Shortly later I got a notification both on my iPhone and computer saying "Airbnb is available to install on your iPhone" My question is, does anyone here know how this was done? Is this a feature available...

issue Login cakephp


cakephp,login
i'm new cakephp and i have 1 question, please help me! I have 1 table name quan_tri_viens same users, but i don't use table users i read and follow the instructions http://book.cakephp.org/2.0/en/tutorials-and-examples/blog-auth-example/auth.html but i can not sign in Model: QuanTriViensController <?php App::uses('AppController', 'Controller'); class QuanTriViensController extends AppController { public function...

403 Error when trying to remove products from Cart


php,server,e-commerce,opencart,cpanel
I am using a cPanel host and running PHP 5.5. Opencart version 1.5.1. When I try to remove a product from the cart I am getting a 403 forbidden error. This only seems to happen with products that have a lot of options and include text input options. I have...

How to use curl return value in php script


php,wordpress,curl,login
I have two servers: A where WP is installed on one, and B where it's not. Application run on B is trying to use WP credentials for login. I have a login form on server B: <h1>Login</h1> <div> <form class="forma" id="form" action="login.php" method="POST"> <div class="form-group"> <label>Username</label> <input class="form-control" type="text" name="username"...

Google SignIn State


login,oauth-2.0,google-oauth
I'm trying to build a Google signin button into my website. I'm trying to avoid using their built-in button. The code below works to sign in a user, but I can't figure out how to make my webpage remember that they're signed in when the user refreshes the page, or...

Failing to Log Into Umbraco admin Area


.net,login,umbraco
Hi Guys I have inherited an Umbraco site but I am getting a splash screen informing me that "Looks like there's still work to do". I am getting three errors in the console which my have somthing to do with this; Microsoft SQL Server is telling me that there is...

integrate login to my sites with OpenId or OAuth


login,zend-framework2,oauth-2.0,openid,integrated
i have a few site developed with zend framework 1 and zend framework 2,i wanna users register in main site and in other sites i want to have a login button ,if user click on login: 1- if user logged in in main site ago , user login without enter...

Prestashop 1.6 product_list: get number of attached attribute combinations


php,e-commerce,prestashop
I'm building my first prestashop. I have a couple of products with attribute combinations that have an impact on the price. In list views, I would like to detect if a product has more than one combination attached to it, in order to display a 'from' before the price. I...

unable to register an user using afnetworking


ios,json,login,afnetworking,http-status-code-401
I want to create a user to a back-end server, I need to enter following information to register user. { "user": { "email": "[email protected]", "password": "secret", "password_confirmation": "secret", "seed_recipes": true //optional } I wrote following code for registering a user: AFHTTPRequestOperationManager *manager = [AFHTTPRequestOperationManager manager]; manager.requestSerializer = [AFJSONRequestSerializer serializer]; NSDictionary...

What's the ideal cloud storage for String Objects?


android,login,server
In my app I would need a way for users to log in. Once they log in point balances are kept and synced with the cloud. The only things that would need to be stored in the cloud are String userID, String Points, and String Password. I have no clue...