Forum Replies Created
-
AuthorPosts
-
February 13, 2015 at 9:03 am in reply to: eMember -register/login form in 2nd language without wpml or qtranslate #68540jurgenvtMember
i got the white screen tackel:
there was a “)” to much in:
add_filter(’emember_get_language_path’, ’emember_custom_lang_handler’), 10, 2);
now i did in functions.php:
add_filter(’emember_get_language_path’, ’emember_custom_lang_handler’, 10, 2);
function emember_custom_lang_handler($eMember_language_file, $lang)
{
//Add your condition here and specify the language file that you want to load
global $post;
if ($post->ID == “1071”){
$eMember_language_file = WP_EMEMBER_PATH . “lang/nld.php”;
}
else{
$eMember_language_file = WP_EMEMBER_PATH . “lang/heb.php”;
}
//Return the path and eMember will load this file.
return $eMember_language_file;
}
//SOSMOD
no errors, but no “nld” language on pageid 1071 where i used the shortcode [wp_eMember_registration]
February 12, 2015 at 11:27 am in reply to: eMember -register/login form in 2nd language without wpml or qtranslate #68538jurgenvtMemberThank you so much.
i must be doing something wrong, because i am getting a white screen.
in wp_eMember1.php i added (after last “add_action”, line 165:
//SOSMOD
add_filter(’emember_get_language_path’, ’emember_custom_lang_handler’), 10, 2);
function emember_custom_lang_handler($eMember_language_file, $lang)
{
//Add your condition here and specify the language file that you want to load
global $post;
if ($post->ID == “1071”){
$eMember_language_file = WP_EMEMBER_PATH . “lang/nld.php”;
}
else{
$eMember_language_file = WP_EMEMBER_PATH . “lang/heb.php”;
}
//Return the path and eMember will load this file.
return $eMember_language_file;
}
//SOSMOD
wrong file? wrong place?
please advise.
Thank you!
October 30, 2014 at 12:01 pm in reply to: Notification mail to email address when user registers and is pending approval #66449jurgenvtMemberi am referring to the account state in wp-admin/admin.php?page=wp_eMember_manage.
when a usere registers, his account is moderated. untill approved or disaproved the acount state is “pending”
the problem is, that if an admin or moderator does not log in, he/she does not know there are usere waiting for approval.
October 29, 2014 at 7:33 am in reply to: Notification mail to email address when user registers and is pending approval #66447jurgenvtMemberYes i did,
this sends an email when “double opt in” is being used (i.e.the confirm-your email address email)
i am & can not use this option.
October 12, 2014 at 7:01 pm in reply to: eMember and MyCred Plugin – show a page once to new (logged-in) member #65867jurgenvtMemberi should have known that! thank you
and this works like a charm!, thank you so much!
problem solved!
October 11, 2014 at 4:40 pm in reply to: eMember and MyCred Plugin – show a page once to new (logged-in) member #65865jurgenvtMembersorry to bother again,
i seem to miss something, because when i put this in my functions.php
my website turns to white.
error log:
PHP Parse error: syntax error, unexpected T_VARIABLE in /…localpathhere…/functions.php on line 1394
code in functions.php
<?php
add_action('user_register', 'give_member_registration_points');
function give_member_registration_points($user_id) {
$ref = 'newmember_points';
$user_id = $user_id;
$amount = '10';
$log = 'new membership points';
//Give points here
$mycred = mycred();
$mycred->add_creds(
$ref,
$user_id,
$amount,
$log
);
}
?>i understand there must be something wrong with then $mycred variable , my skills ar not sufficient unfortunatly..
i know this beyond your support, but im trying anyway..
thank you
October 8, 2014 at 12:22 pm in reply to: eMember and MyCred Plugin – show a page once to new (logged-in) member #65863jurgenvtMemberHi admin,
this seems really promessing
where do i put this code
thank you so much!
July 19, 2014 at 7:23 am in reply to: eMember- registration: how to change "a confirmation email has been sent" #64363jurgenvtMemberThank you so much for this update,
will apply it soon.
thank you
July 16, 2014 at 6:01 am in reply to: eMember- registration: how to change "a confirmation email has been sent" #64361jurgenvtMemberyes i’m working in a translated set up, so the exact phrase i cannot recall.
in “eng.php” i found:
define(“EMEMBER_PLEASE_CHECK_YOUR_INBOX”, “Please check your email and follow the link to complete the registration.”);
it is the phrase a visitor gets after he/she fills in the first registration fields (firsnmae, lastname & email)
thank you!
July 15, 2014 at 5:06 pm in reply to: eMember- registration: how to change "a confirmation email has been sent" #64359jurgenvtMemberNo they are not: it is a free membership
jurgenvtMemberthank you wzp. works! this is great!
jurgenvtMemberfound this:
function emember_country_list_dropdown($select = “”) {
$countries = array(“”, “Afghanistan”, “Albania”, “Algeria”, “Andorra”, “Angola”, “Antigua and Barbuda”, “Argentina”, “Armenia”, “Australia”,
“Austria”, “Azerbaijan”, “Bahamas”, “Bahrain”, “Bangladesh”, “Barbados”, “Belarus”, “Belgium”, “Belize”, “Benin”, “Bhutan”, “Bolivia”,
“Bosnia and Herzegovina”, “Botswana”, “Brazil”, “Brunei”, “Bulgaria”, “Burkina Faso”, “Burundi”, “Cambodia”, “Cameroon”, “Canada”, “Cape Verde”,
“Central African Republic”, “Chad”, “Chile”, “China”, “Colombi”, “Comoros”, “Congo (Brazzaville)”, “Congo”, “Costa Rica”, “Cote d’Ivoire”,
“Croatia”, “Cuba”, “Cyprus”, “Czech Republic”, “Denmark”, “Djibouti”, “Dominica”, “Dominican Republic”, “East Timor (Timor Timur)”, “Ecuador”,
“Egypt”, “El Salvador”, “Equatorial Guinea”, “Eritrea”, “Estonia”, “Ethiopia”, “Fiji”, “Finland”, “France”, “Gabon”, “Gambia, The”, “Georgia”,
“Germany”, “Ghana”, “Greece”, “Grenada”, “Guatemala”, “Guinea”, “Guinea-Bissau”, “Guyana”, “Haiti”, “Honduras”, “Hungary”, “Iceland”, “India”,
“Indonesia”, “Iran”, “Iraq”, “Ireland”, “Israel”, “Italy”, “Jamaica”, “Japan”, “Jordan”, “Kazakhstan”, “Kenya”, “Kiribati”, “Korea, North”,
“Korea, South”, “Kuwait”, “Kyrgyzstan”, “Laos”, “Latvia”, “Lebanon”, “Lesotho”, “Liberia”, “Libya”, “Liechtenstein”, “Lithuania”, “Luxembourg”,
“Macedonia”, “Madagascar”, “Malawi”, “Malaysia”, “Maldives”, “Mali”, “Malta”, “Marshall Islands”, “Mauritania”, “Mauritius”, “Mexico”, “Micronesia”,
“Moldova”, “Monaco”, “Mongolia”, “Morocco”, “Mozambique”, “Myanmar”, “Namibia”, “Nauru”, “Nepa”, “Netherlands”, “New Zealand”, “Nicaragua”, “Niger”,
“Nigeria”, “Norway”, “Oman”, “Pakistan”, “Palau”, “Panama”, “Papua New Guinea”, “Paraguay”, “Peru”, “Philippines”, “Poland”, “Portugal”, “Qatar”,
“Romania”, “Russia”, “Rwanda”, “Saint Kitts and Nevis”, “Saint Lucia”, “Saint Vincent”, “Samoa”, “San Marino”, “Sao Tome and Principe”,
“Saudi Arabia”, “Senegal”, “Serbia and Montenegro”, “Seychelles”, “Sierra Leone”, “Singapore”, “Slovakia”, “Slovenia”, “Solomon Islands”,
“Somalia”, “South Africa”, “Spain”, “Sri Lanka”, “Sudan”, “Suriname”, “Swaziland”, “Sweden”, “Switzerland”, “Syria”, “Taiwan”, “Tajikistan”,
“Tanzania”, “Thailand”, “Togo”, “Tonga”, “Trinidad and Tobago”, “Tunisia”, “Turkey”, “Turkmenistan”, “Tuvalu”, “Uganda”, “Ukraine”,
“United Arab Emirates”, “United Kingdom”, “United States of America”, “Uruguay”, “Uzbekistan”, “Vanuatu”, “Vatican City”, “Venezuela”,
“Vietnam”, “Yemen”, “Zambia”, “Zimbabwe”);
$options = ”;
foreach ($countries as $country) {
$selected = (strtolower($country) == strtolower($select)) ? “selected=’selected'” : “”;
$options .= “<option $selected value='” . $country . “‘ > $country </option>”;
will it be possible to provide a standard selected country. ?
thank you
-
AuthorPosts