Jump to content

Recommended Posts

Hi

 

I have got a login page and after I log in, it takes me to a page I set in the coding which is great but I want to display some text or have a popup box saying I have successfully logged in, is that possible and if so how do I do it or can someone point me in the right direction please

 

Thank you in advance

 

Ian

Link to comment
https://forums.phpfreaks.com/topic/273531-login-form-text-help/
Share on other sites

Which would most likely suit your site? I find plain text to be boring and not very eye-catching - so a jQuery pop-up box would be better, you could also go the extra mile and make the registration and login forms pop-up boxes aswell, and use jQuery / aJax to validate the forms.

Personally, I find those kind of pop-ups and messages only annoying. I mean, I know I logged in successfully after I get transferred to the page, and my username is displayed on the page. Anything else is just wasted time, to tell me something I would know anyway.

I want to display some text

 

You would typically display the username, along with changing the navigation to include a logout link, so that the person would have a way to log out if desired.

 

 

@White_Lily, having someone go to your site and see an example of a popup, ISN'T a coding example, and doesn't help. The OP specifically asked -

but just not sure how to do it to be honest as the pop up box will need to know that the user has logged in
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.