• I am trying to edit wordpress so whenever u login with a diff login u are gained access to a seperate set of tables…so if your login is peter it will access the peterusers and peterposts rather than if u loged in under james and were accessing the jamesusers and jamesposts tables…i need to know where $user_login is declared because i can not use it in the config.php or settings but i can use it in auth.php…anyideas?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter fmxsteckel

    (@fmxsteckel)

    Nevermind all…as usual right when i post a question i find an answer…i believe its somewhere in the get_currentuserinfo() function…ty n e way =)

    Thread Starter fmxsteckel

    (@fmxsteckel)

    ok i need to get help again…does anyone have any idea how i can get the $user_login to work before the table definitions?

    I am having somewhat of a different problem with $user_login. When a user comes into my application and requests their password. They are sent to a confirmation screen that says “The email was sent successfully to ‘s email address.” The $user_login is not being passed to the confirmation screen. And then the user gets an email where $user_login is also missing. Any ideas?
    Many thanks ??

    Login problems
    https://faq.wordpress.net/view.php?p=68
    Check the bit with the edit of wp-login.php – that might be it.

    Steckel, what you’re trying to do might not be possible, since wordpress knows how to run off of one set of tables. These tables are defined for use in wp-config.php, settings.php etc, and so I don;t think you will be able to do what you want without modifying the core source. If you are upto it, then it will be difficult for you to find support here, since these forums mostly deal with the regular wordpress, and such. I don’t mean to discourage you, this is just a note.
    Using different user tables might lead to a whole lot of problems, some unpredictable.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘$user_login?’ is closed to new replies.