Forum Replies Created
-
AuthorPosts
-
August 3, 2014 at 12:18 am in reply to: Stamping Error Checklist – an error occurred while trying to stamp the file #24404BjeddMember
I have been trying to figure out why the manual stamping just hangs and all I get is a white screen with the page title. I don’t get any error and the debug file is empty. I have tried all the alternate methods, checklists and re-uploading the file (binary). I have also checked against all other plugins for compatibility. The only thing I haven’t done is check against the theme, but it is Genesis and I have to use it.
Does anyone have any suggestions?
BjeddMemberI am not having any luck with getting the pages unprotected. I am not using partial protection, only the member level page protection. I have tried creating 2 new pages and I get the same response, You must be logged in to view this content”. The pages are not set in General Protection, they are Granted Access to all member levels, they are set to “No, Do not protect this content.” at each page level. I have tried setting this as the Password reset page as well, but nothing seems to help. I have cleared caches, restarted, etc.
BjeddMemberOK, the issue is back again. And under General Protection as well as all member levels, that page is not protected. Here is the page that should be unprotected: [http://booksarefun.com/repportal/contact/]
Have I done something by tweaking the login or the settings? I also have that page set as the Membership Payment/Join Page (Mandatory): because we don’t want anyone to be able to register…only a contact form. Please advise.
Thanks.
BjeddMemberThanks, I read the above thread, but that is not quite what I am asking. I am wanting to place this as a WP Admin link in the Admin sidebar, not a theme widget or sidebar. If not the WP Admin sidebar, at least somewhere prominent in the WP Admin dashboard or the WP Admin Toolbar. I know there are some plugins that can help, but they seem to be overkill for just this one function. I am trying to avoid another plugin if possible.
BjeddMemberThat works perfectly, but how can I get that custom php function into the WP admin sidebar or in the WP admin dashboard as a simple link?
BjeddMemberHi, I see the tweak, but what I want to do is apply that particular function just to a url link so that when someone clicks that link they are redirected back to their home page based on their member level (level_id?). How do I specify this only to apply to a specific link e.g.- [a href=”?”]Home Page[/a] using the level_id?
$emember_auth = Emember_Auth::getInstance();
$user_id = $emember_auth->getUserInfo('member_id');
if (!empty($user_id))
{
//User is logged in so add your conditional code here
$membership_level_resultset = $emember_auth->userInfo->primary_membership_level;
$home_page_url = $membership_level_resultset->loginredirect_page;
//Do something with this URL
header('Location: $home_page_url');
}Thanks,
Bruce
BjeddMemberOf course, now that I have posted… I think it is working now. It must have been cache, but I really cleared everything.. If is still happening, I will send login details as the site is secure. Thanks.
BjeddMemberI have imported all members with PHPMyAdmin using the fomrat in the members.csv template, but now my passwords are not working. I can see the passwords in the sql table password field, but they are not encrypted. Is this p[art of the problem? Does eMember automatically encrypt them?
If I go into the eMember profile and manually reset the password, then the login works. I guess my question is how do I bulk import these passwords into the member profile?
BjeddMemberThanks. Any idea on an ETA for this functionality?
BjeddMemberWould you please clarify this: “see how the custom data of a member is stored in this field and then reverse engineer your CSV data structure from there”. I have done a test registration, and I can see the data imported into the 2 fields in phpMyAdmin. But what exactly am I looking for to reverse engineer this? I know the names of the 2 custom fields, I know the structure of the members.csv file, but what do I need to do next?
Or would this be any easier from the WordPress database side of the fence, and then just turn on the setting to sync with eMember? The Cimy User Extra fields and Cimy User Manager plugins allow creating custom fields and bulk importing into those fields in WordPress.
July 5, 2013 at 9:48 pm in reply to: How to Retrieve and Show Specific Details of the Logged-in Member #44943BjeddMemberI have 2 custom fields that I want to grab and pass out to an external query. Could I use the above to do something like this?
function get_url($request_url) {
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $request_url);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 10);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$response = curl_exec($ch);
curl_close($ch);
return $response;
}and then a request :
$request_url = 'https://mysite.com//Default.aspx?js=[customfield-info1 here]&pe=[customfieldinfo-2 here]';
$response = get_url($request_url);Honestly, I’m not a PHP programmer. I researched a bit and this was the closest I could find to a solution.
BjeddMemberOK, I figured out one problem after looking in wp-config.php. I had the wrong database. But for my other question, can I import into the custom fields with the members.csv file or can this only be done through mysql only with something like phpMyAdmin?
BjeddMemberI replaced the form action code as suggested, but it does not seem to have any affect. I still get an Error 404 after clicking in either of the input fields.
BjeddMemberSorry, but I am not seeing the same code. Here is what I have from line 441-450: from eMember Version v8.2.4
$emember_auth = Emember_Auth::getInstance();
$emember_config = Emember_Config::getInstance();
$msg = $emember_auth->getSavedMessage(‘eMember_login_status_msg’);
$state_code = $emember_auth->getSavedMessage(‘eMember_login_status_code’);
$join_url = $emember_config->getValue(‘eMember_payments_page’);
ob_start();
?>
<form action=”” method=”post” class=”loginForm wp_emember_loginForm” name=”wp_emember_loginForm” id=”wp_emember_loginForm” >
<?php wp_nonce_field(’emember-login-nonce’); ?>
BjeddMemberI probably am and appreciate your take. My goal is to create a popup with eMember Login on the homepage that occurs within another shortcode (a button). The theme does not have an easy way to place a widget area so I can’t use the eMember popup widget. The button just needs to call the eMember Login as a popup. The theme shortcode creates a button or button link. The button that needs to call the eMember popup is here titled “Current Member Login”: and the button is labeled “Login”:. Here’s the link: [http://www.lifepurposeinstitute.com/alumni/]
Currently I am loading the eMember login page as an iframe to accomplish the task, but a strange thing is happening as soon as I click into one of the input fields it automatically submits and gets a 404 error: “The page you are looking for could not be found.”.
Thanks for you help.
-
AuthorPosts