ryan.lumindas
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: Login With Ajax] %USERNAME% problemI used the shortcode in a page. I am not able to change the %USERNAME% into the logged in user that’s why I changed some code.
Thanks
Forum: Plugins
In reply to: [Plugin: Login With Ajax] %USERNAME% problemThis one I am sure,
I changed the ff:
<?php if( !empty($lwa_data[‘redirect’]) ): ?>
<input type=”hidden” name=”redirect_to” value=”<?php echo esc_url($lwa_data[‘redirect’]); ?>” />
<?php endif; ?>into
<?php if( !empty($lwa_data[‘lwa_login_redirect’]) ): ?>
<input type=”hidden” name=”redirect_to” value=”<?php echo esc_url($lwa_data[‘login_redirect’]); ?>” />
<?php endif; ?>
I think this is also the problem with the http://0.0.0.1/ login issue.
Regards,
RyanForum: Plugins
In reply to: [Plugin: Login With Ajax] %USERNAME% problemI take it back, it’s still not resolved yet.. 🙁
Forum: Plugins
In reply to: [Plugin: Login With Ajax] %USERNAME% problemHi, I think I solved my problem, I went to pluggable.php, and I changed the following:
$user_login = stripslashes($user->user_login);
into
$user_login = stripslashes($current_user->user_login);and it worked. I don’t know if this is a good workaround or not, but hey, it solved my problem 🙂 thanks for the help also.
Forum: Plugins
In reply to: [Plugin: Login With Ajax] %USERNAME% problemI tried it in my localhost, still the problem persists…
Forum: Plugins
In reply to: [Plugin: Login With Ajax] %USERNAME% problemhttp://localhost/buddypress/members/%USERNAME%/profile/
yes, but isn’t it supposed to be the username of the user, not the %USERNAME% itself?
Forum: Plugins
In reply to: [Plugin: Login With Ajax] %USERNAME% problemThanks for the reply,
I tied to add the %USERNAME% in the Global Login Redirect textbox in the admin area, and when user has logged in, it redirects to the same url as what I have input in the Global Login Redirect, meaning the replacement of the %USERNAME% did not come into place, or was it just me?
Forum: Plugins
In reply to: [Countdown Timer] [Plugin: Countdown Timer] Countdown timer reaches 0ok, so can i at least set a pop up or an alert if the counter has reaches 0?
Forum: Plugins
In reply to: [Countdown Timer] [Plugin: Countdown Timer] Countdown timer reaches 0If so, not if is 🙂