1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Ability to embed Xenforo Login on an external Wordpress page?

Discussion in 'XenForo Questions and Support' started by Deepmartini, Nov 24, 2011.

  1. Deepmartini

    Deepmartini Well-Known Member

    Is there anyway to do this? What is the code needed? I am using Wordpress as my frontend CMS and I would like forum members to be able to login from our homepage.
  2. Deepmartini

    Deepmartini Well-Known Member

    Has anyone ever done this?
  3. Deepmartini

    Deepmartini Well-Known Member

    Also I would be curious to embed the registration fields on an external Wordpress page, that way I can integrate it in with some additional payment options.
  4. optrex

    optrex Active Member

    sorry, not seen this - check out www.nzbees.net is that what you want to do?
    I use wordpress for the front page, diary and news. The members are linked but in my case they dont do anything outside of the forum.

    I log into my wordpress using my forum login, but I think you are after the other way around?
  5. Deepmartini

    Deepmartini Well-Known Member

    That's the basic idea but I would like a login box embedded on the wordpress homepage so people can login directly on there and go right through to the forum itself.
  6. optrex

    optrex Active Member

  7. Deepmartini

    Deepmartini Well-Known Member

    We're not going to use a bridge as we don't really need it, we're just going to use Wordpress to create our homepage and it's only 1 page. We just want to code in a login box for Xenforo and streamline things.
  8. TheBigK

    TheBigK Well-Known Member

    *bump* :sneaky:

    This would really be useful. Can someone work out a way to do this? I'm open to using the bridge as well.
  9. Deepmartini

    Deepmartini Well-Known Member

    Basically, I would like to create a "checkout page" (using an external payment system) but add two fields which say username/password and when the person submits the order through this other system...an account in Xenforo is created. That way I can use Xenforo as a paid membership site platform.

    If Xenforo offered other payment options (like Authorize.net, MoneyBookers, BeanStream, ClickBank, etc. and also allowed us to charge users BEFORE they can register, I wouldn't have to go this route. Right now, a user has to register first, then click upgrade and checkout via Paypal (only payment offered). So you end up with a lot of freebie seekers and guest accounts where people don't finish the process and it's a confusion work flow for visitors to navigate.
  10. Deepmartini

    Deepmartini Well-Known Member

    So no one has figured out how to embed a Xenforo login box on an external page?
  11. cmeinck

    cmeinck Well-Known Member

    A combined sign-up/login widget or code snippet that I could embed on my Wordpress front end would be epic.
    Deepmartini likes this.
  12. Deepmartini

    Deepmartini Well-Known Member

    Yes, that's what I would like as well. Seems a simple bit of code but I'm no developer so don't have a clue.
  13. Izagar

    Izagar Active Member

    Well the code for there is:

    <div id="loginBar" style="z-index: 9999;">
    <div class="pageWidth">
    <div class="pageContent">
    <h3 id="loginBarHandle">
    <span class="helper"></span>
    <div class="_swOuter" style="overflow: hidden; height: 170px;">
    <div class="_swInner" style="margin: 0px auto auto;">
    <form id="login" class="xenForm eAuth" style="display: block;" method="post" action="login/login">
    <ul id="eAuthUnit">
    <div class="ctrlWrapper">
    <dl class="ctrlUnit">
    <input id="LoginControl" class="textCtrl" type="text" tabindex="101" name="login">
    <dl class="ctrlUnit">
    <dl class="ctrlUnit submitUnit">
    <input type="hidden" value="1" name="cookie_check">
    <input type="hidden" value="/forums/" name="redirect">
    <input type="hidden" value="" name="_xfToken">
    Which is what is the thing that opens and reveals the coding... I'm not sure of what is the external source for it... I'm thinking it's in the login file but I don't know where to find it... :/ I'm pretty sure if you edit this code to your needs, it should work, but I rather find a bridge or something to work with it.

Share This Page