Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2008
    Posts
    14
    Plugin Contributions
    0

    Default Really annoying problem with customized Login script!!

    http://www.xblight.com

    Hey everyone.
    Ok so if you go on my site and click music on the top, ull see that i set it up so it takes you to a new popup window that tells you to logon before accessing the music player (assuming your not logged in).

    I put two options, either Log In or Create an Account.

    Youll notice that if you click create an account it takes you to a separate page (still in the popup) where I setup a mini version of the user registration page. I got that part working perfectly and i've tried it numerous times.

    If they click log in however it closes the popup and opens a new window that takes you to the normal index.php login page. Which works fine but im a perfectionist.

    What I want to do is make log in take you to a new login page within the popup, just like the create an account one. I just cant seem to get it working though, and would really appreciate help.

    TIA!

  2. #2
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Really annoying problem with Login script!!

    well, im not javascript guru nor i know much about it , but your button is calling two function .. open_win() and self.close()

    both are doing their job right i guess,

    maybe you want to pass the url of login page to self.open() ? or something similar in javascript ???

  3. #3
    Join Date
    Nov 2008
    Posts
    14
    Plugin Contributions
    0

    Default Re: Really annoying problem with Login script!!

    Yeah but then it would be stuck in popup mode which would be really bothersome for users.

    The only possibility I see is making a form similar to the create account one, I just cant seem to get it right though.

  4. #4
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Really annoying problem with Login script!!

    never mind my first post..

    remove your javascript function you don't need it .

    Use this ..

    <input type="button" name="_blank" value="Login" onclick="javascript:window.location='http://xblight.com/store/index.php?main_page=login';"/>

    this will open the login page in same window.


    hope this helps .

  5. #5
    Join Date
    Nov 2008
    Posts
    14
    Plugin Contributions
    0

    Default Re: Really annoying problem with customized Login script!!

    yes, i know.
    the idea is that I want the login box alone.
    not all the other stuff that comes with login.php..
    I want the actual form for the login boxes.

 

 

Similar Threads

  1. Annoying display problem with PayPal Express Checkout
    By jingjo in forum PayPal Express Checkout support
    Replies: 6
    Last Post: 3 Aug 2012, 07:49 PM
  2. Replies: 2
    Last Post: 11 Jul 2008, 03:36 PM
  3. customized login form: security error when login
    By weber in forum General Questions
    Replies: 0
    Last Post: 4 Jul 2008, 03:35 PM
  4. Really have a weired problem with IH2, please help...
    By Kruna in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 17 Jul 2007, 07:41 AM
  5. PLEASE HELP really really stuck with shipping
    By wolf99 in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 25 Oct 2006, 08:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg