Thread: login xenforo

Results 1 to 2 of 2
  1. #1 login xenforo 
    Registered Member
    Join Date
    Nov 2017
    Posts
    1
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Recently a friend bought XenForo, and he is very skillful! I really like the software

    I only have one question, however, I want forum users to be able to log into my [PHP] site? With the credentials of the forum as well.? ? Because it would be strange if you asked users to create 2 accounts. Since a forum account is needed, I thought it is easier to just use this account for other things also is not website. ? I want (Allow access only to logged in users [PHP] This is my current code (example) Form Login



    Code:
    <div class = "member-login">
                    <form class = "login" action = "login / login" method = "post"> // "login/login" é o action do (forum/xenforo)
    
            <div class = "formtitle"> Acesso para membros </ div>               
                    <div class = "input">
            <input type = "text" placeholder = "User Name" name = "login" value = "" id = "ctrl_pageLogin_login" é necessário />
                    <span> <img src = "images / select.png" /> </ span>
                    </ div>
                    <div class = "input">
            <input type = "senha" placeholder = "Senha" nome = "senha" id = "ctrl_pageLogin_password" requerido />                 
            <span> <img src = "images / close.png" /> </ span>
    
            </ div>
    <div class = "formtitle" class = "ctrlUnit submitUnit">
    
                <input type = "submit" class = "bluebutton" value = "Log in" data-loginPhrase = "Log-in" data-signupPhrase = "Inscrever-se" tabindex = "4" />
                <label class = "rememberPassword"> <input type = "checkbox" name = "remember" value = "1" id = "ctrl_pageLogin_remember" tabindex = "3" /> Mantenha-se conectado </ label>
    </ div>
    
            <input type = "hidden" name = "cookie_check" value = "1" />
        <input type = "hidden" name = "_ xfToken" value = "" />
        <input type = "hidden" name = "redirect" value = "https: //meusite/painel.php" />
    </ form>

    Okay, once the login is done it will be redirected to the "pane.php" for all those who have access to "pane.php" by typing a url in the browser bar I want to prevent this, I am more access to log in to effected. I'm breaking my heart to try to solve this problem, can you help me? this page authentication?

    GRATEFUL!
    Reply With Quote  
     

  2. #2  
    Community Veteran


    Arch337's Avatar
    Join Date
    Sep 2008
    Posts
    2,950
    Thanks given
    210
    Thanks received
    349
    Rep Power
    1376
    If you got sql just make a forum account whenever someone create an account or make them have to create the forum account first.


    "A fail act is something you do regular, but a dumb act is something you can learn from"
    Spoiler for Problem?:
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Xenforo login bridge
    By BenBeri in forum Website Development
    Replies: 4
    Last Post: 01-26-2015, 02:41 PM
  2. Xenforo login interface VB4
    By RS Wiki in forum Website Development
    Replies: 2
    Last Post: 02-22-2014, 06:46 AM
  3. Replies: 7
    Last Post: 02-07-2008, 01:10 PM
  4. [TuT]Stopping multi logins through user ips
    By Wolf in forum Tutorials
    Replies: 21
    Last Post: 09-06-2007, 03:20 AM
  5. Getting player's UID at login
    By Pandora in forum Tutorials
    Replies: 10
    Last Post: 08-26-2007, 11:17 AM
Tags for this Thread

View Tag Cloud

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •