threwthenevr
Forum Replies Created
-
The permissions gives me options to change for user group and world. 0400 would be 400 however the scans dont pick up the change.
I didn’t want to make a new post seeing this post.
I am having this exact same issue.Forum: Developing with WordPress
In reply to: My Auto login function needs a Lil something ??@bcworkz thank you again for giving me a different perspective on this matter.
For security reasons I will not be doing the auto login.
I will be keeping this for future reference/documentation as it would be a reminder for me to think of the different outcomes that may occur.Thank you very much.
Little more Info if it helps.
I use the Kleo theme and use their login box.
WordPress with BuddyPress
Forum: Developing with WordPress
In reply to: Wp get current user questionThanks for the reply I really appreciate it. I understand what your saying about showing the new registered users info to that same user without being logged in first.
Even after you register with Facebook they log you in on the check email for activation link page.
I was trying to do what they done but I have a custom redirect for users who login and it caused some conflicts when they auto logged in after registration so I had to find another way.
This code is what I’ll use for now until I am able to find a safer way.
<center><h1> Check Your Email To Activate Your Account!</h1><center> Thanks for registering,<b><?php echo $_POST["signup_username"]; ?></b><br /> You have successfully created your account! <br />To begin using this site you will need to activate your account via the email we have just sent to <b><?php echo $_POST ["signup_email"] ;?><b>
the page that it’s on if refreshed gets the postdata error and redirects to my homepage if they click continue,otherwise if they click exit it returns a blank template.idk if that would make it safer but I’m still learning new stuff as I go pretty much.
I don’t mind having the WP cookies being short lived if that’s how the code I used works because I only needed that code for a 1 time use per new registered user.I was aiming to give the registration/activation process a more personalized feel for the user. But I don’t want to risk security issues or email scrapers doing any harm with their emails if that code leaves some sort of door open.Im still new to php and still would like to pick up javascript and html. Eventually I’ll get better.
I really appreciate your help and thoughts.
Images didn’t work.
- This reply was modified 7 years, 7 months ago by threwthenevr.
- This reply was modified 7 years, 7 months ago by threwthenevr.
Don’t look like it. I took some screenshots.
Before I change wp-login.php everything works fine.
https://mywebsite.com/wp-login.php?action=bp-resend-activation&id=3627&_wpnonce=5b8545dbc1
After the resend button in clicked
It works fine, but after I change wp-login.php to login I get redirected to a 404 page.
And the url stays the same mywebsite.com/wp-login.php?action=bp-resend-activation&id=3627&_wpnonce=5b8545dbc1
By chance do u think it is one of those check referrer address passed in $_SERVER issues?
If so is there a function of some sort that I could use that addresses wp-login.php being the new /login.
Forum: Fixing WordPress
In reply to: Show registered users email on check email page?Here’s the code I figured it out
<center><h1> Check Your Email To Activate Your Account!</h1><center> Thanks for registering,<b><?php echo $_POST["signup_username"]; ?></b><br /> You have successfully created your account! <br />To begin using this site you will need to activate your account via the email we have just sent to <b><?php echo $_POST ["signup_email"] ;?><b>
Forum: Developing with WordPress
In reply to: Wp get current user questionOdd I never received an email that notified there was a reply.
I figured out what I needed to do.<center><h1> Check Your Email To Activate Your Account!</h1><center> Thanks for registering,<b><?php echo $_POST["signup_username"]; ?></b><br /> You have successfully created your account! <br />To begin using this site you will need to activate your account via the email we have just sent to <b><?php echo $_POST ["signup_email"] ;?><b>
I wanted to have the new registered users name and email show up on a certain page for a more personalized feel.
Forum: Developing with WordPress
In reply to: Resend activation email messed up after rename wp-login.phpThat is what is missing, man tyvm ??
Forum: Developing with WordPress
In reply to: Wp get current user questionI’ve also used $_POST and $_GET but those never worked for me.
Forum: Fixing WordPress
In reply to: Show registered users email on check email page?Update.
Just a quick update.
I’ve been searching nonstop threw documentation/Codex and I came up with this code,global $wpdb; /* lets retrieve the email of users who signed up $wpdb */ function get_user_by( ‘email’,‘null’ ) $user_email = $wpdb->wpjm_signups (‘user_email’); if ($signups) { echo "sent to " . $user_email ; } else { echo "email not listed."; } //Creating a shortcode to display signup email add_shortcode( 'user_email');
I placed it in my themes functions.php file but had to delete it due to the 500 error.
Am I on the right track?
Forum: Fixing WordPress
In reply to: Show registered users email on check email page?Was this post moved? I posted in every thing else wordpress.