gpmonlineshop
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Help with the iframe codeI managed to solved this by using the get_userinfo
‘<?php
/*
Template Name: xxxxxxxx
*/
?>
<?php if ( is_user_logged_in() ) { ?>
<?php global $current_user; get_currentuserinfo(); ?>
<?php } else { ?>
<?php wp_redirect(‘http://xxxxxxxxx.com/’); ?>
<?php } ?>’Forum: Fixing WordPress
In reply to: Help with the iframe codenot working out for me
out of my league I guess
Trying to put this in a wordpress page but i guess i can’t run php inside a page.
<iframe src=”http://www.gpmonlineshop.com/lobby/lobby.asp?c=customerid&phpu=’ . $current_user->user_login . ‘&phpp=’ . $current_user->$user_pass_md5 . ‘&phpe=’ . $current_user->user_email . ‘” width=”1024″ height=”768″></iframe>
Oh well I guess we just have to settle with double registration
Forum: Fixing WordPress
In reply to: Help with the iframe codeDifferent domains.
User register on my website http://www.mywebsite.com and when a user fire up that iframe it should open that iframe http://www.website.com and automatically register that user in that website or login that user if that user already exist.
Not sure if it will make it easier if we involved cookies.
Sorry I’m just a beginner at this.
Thanks for the quick response too
Same problem here it conflicts with media library grid view. I’m just going around it at the moment by deactivating it when mocking around with images then re activating after.
Have we come up with the solution for this yet?
I contacted my host server support and they disabled the mod_sec rule. All working fine after that.