Forum Replies Created
-
Author
-
mycolombianwifeParticipant
I have posted this code in Sweetdate – Styling options – Quick css. Now it works. Thanks
mycolombianwifeParticipantI did that and nothing happend.
I even changed
width: 200px !important;
height: 200px !important;to
width: 400px !important;
height: 400px !important;April 6, 2018 at 20:55 in reply to: Non members can read messages sent my other users in their email #193966mycolombianwifeParticipantHello !
I have tried that ( deleted the code completely from the function.php ) but “non-members” still receive the entire messsage send in their email !
1. Is that so by default ?
2. The problem is that some users send phone numbers or emails immediately to “non-members” and they recieve the entire msg in their email ?
What can be done ?
What if we turn off the email notifications for non-members?
mycolombianwifeParticipantNow it works !!! Thank you !
First I have to install the child theme.
Then I created a new php file with the name members-loop.php in the path wp-content/themes/sweetdate/buddypress/members
It was an empty php file in which I copy and pasted the code you gave me.
mycolombianwifeParticipantok After logging in, click at members.
or open this link: https://www.mycolombianwife.com/members/
Then scroll down to the bottom in order to proceed to the next page.
Page 2
Open any profile with left click.
Then return to the members gallery using the left arrow icon of your browser.
The search will jump to page 1
mycolombianwifeParticipantfrom which country are you trying to access my site ?
I have the IQ countryblock plugin.Currently I do not have a child theme installed.
mycolombianwifeParticipantok I have found the pictures.
Now these Folders have pictures from 1 – 14707
Is there any way to find out which number belongs to which profile ?mycolombianwifeParticipantOk, thank you I´m using the horizontal search bar that you created now, but when I seek for women only men appear.
I´m a man looking for a women.
View he attached screenshot.Also I would like to know if the additional photos still exist on my server, so I can integrate them into the rtMedia.
Attachments:
You must be logged in to view attached files.mycolombianwifeParticipantI found a soultion for the gender search. View the attached screen.
The 2 other problems still remain.
Also with this plugin, it is impossible to create an age range search.
The age range search, the way I had to before. ( view screen attached )
If it is possible, please explain me how.No child theme is active at the moment.
I still wonder if I can recuperate the additional profile photos, since the ALBUM setion dissapeared aswell
Attachments:
You must be logged in to view attached files.mycolombianwifeParticipantok, I problem I have with bb profile search is
When I search for men ( I´m a women looking for a man ) only women show up, instead of menView the attached screen.
Also with this plugin, it is impossible to create an age range search.
The age range search, the way I had to before. ( view screen attached )
If it is possible, please explain me how.No child theme is active at the moment.
I still wonder if I can recuperate the additional profile photos, since the ALBUM setion dissapeared aswell
Attachments:
You must be logged in to view attached files.mycolombianwifeParticipantThe Issue with this BB profile search plugin was that I could not set an age range search, they wa I had it.
Now I switched back to the search function of the theme.
Settings – Buddypress.
Please view the screen attached.With this settings now the gender and age search works, but the search is LOST when I continue to the following pages.
Also I still the additional photos do not show up.
Attachments:
You must be logged in to view attached files.mycolombianwifeParticipantsee the attached screenshot
Attachments:
You must be logged in to view attached files.mycolombianwifeParticipantok I see, now I have a solution with the Bp profile search plugin,
but the thing is that when I selectI´m a man looking for woman, only MEN show up !
when I selecet
I´m a woman looking for men, only WOMAN show up !
mycolombianwifeParticipantAlso I found out that registration doesn´t work at the moment. Nothing happens after I enter username email and password.
As well as Log in doesn´t work: If you log in with a test account it says that I´m already logged in, refresh page, but nothing happens.
mycolombianwifeParticipantAlso I want to add, that is it now a plugin problem, because I already had them all ( with expection of buddypress ) deactivated.
mycolombianwifeParticipantMy functions php in the child theme folder looks like this
`
<?php/* Restrict email messages content to non paying members */
if ( ! function_exists(‘kleo_pmpro_restrict_pm_email_content’)) {
function kleo_pmpro_restrict_pm_email_content($email_content, $sender_name, $subject, $content, $message_link, $settings_link, $ud)
{$restrict_message = false;
$restrict_options = kleo_memberships();
$area = ‘pm’;if (pmpro_getMembershipLevelForUser($ud->ID)) {
$current_level_obj = pmpro_getMembershipLevelForUser($ud->ID);
$current_level = $current_level_obj->ID;//if restrict my level
if ($restrict_options[$area][‘type’] == 2 && isset($restrict_options[$area][‘levels’]) && is_array($restrict_options[$area][‘levels’]) && !empty($restrict_options[$area][‘levels’]) && in_array($current_level, $restrict_options[$area][‘levels’])) {
$restrict_message = true;
}//not a member
} else {
if ($restrict_options[$area][‘type’] == 2 && isset($restrict_options[$area][‘not_member’]) && $restrict_options[$area][‘not_member’] == 1) {
$restrict_message = true;
}
}if ($restrict_message) {
$content = ‘The message is not visible for you at the moment. Only after the full payment of a tour of at least 2 days you can view and send messages. ‘;
$email_content = sprintf(__(
‘%1$s sent you a new message:Subject: %2$s
“%3$s”
To view and read your messages please log in and visit: %4$s
———————
‘, ‘buddypress’), $sender_name, $subject, $content, $message_link);// Only show the disable notifications line if the settings component is enabled
if (bp_is_active(‘settings’)) {
$email_content .= sprintf(__(‘To disable these notifications, please log in and go to: %s’, ‘buddypress’), $settings_link);
}return $email_content;
}return $email_content;
}
}
add_filter( ‘messages_notification_new_message_message’, ‘kleo_pmpro_restrict_pm_email_content’, 11, 7 );//Minify
add_filter(‘bwp_minify_style_ignore’, ‘exclude_my_css’);function exclude_my_css($excluded)
{
$excluded = array(‘app’,’foundation’,’foundation-responsive’);
return $excluded;
}function remove_public_message_button() {
remove_filter( ‘bp_member_header_actions’,’bp_send_public_message_button’, 20);}
add_action( ‘bp_member_header_actions’, ‘remove_public_message_button’ );/**
* @package WordPress
* @subpackage Sweetdate
* @author SeventhQueen <themesupport@seventhqueen.com>
* @since Sweetdate 1.0
*//**
* Sweetdate Child Theme Functions
* Add extra code or replace existing functions
*/add_filter( ‘bp_get_message_thread_excerpt’, ‘kleo_custom_message_length’);
function kleo_custom_message_length($text) {
return substr( $text,0 , 6 );
}
//Hide members without avatars
add_action( ‘bp_core_delete_existing_avatar’, ‘log_avatar_deleted’ );
add_action( ‘xprofile_avatar_uploaded’, ‘log_avatar_uploaded’ );//on new avatar upload, record it to user meta
function log_avatar_uploaded(){
update_user_meta(bp_loggedin_user_id(), ‘has_avatar’, 1);
}//on delete avatar, delete it from user meta
function log_avatar_deleted($args){
if($args[‘object’]!=’user’)
return;
//we are sure it was user avatar delete
//remove the log from user meta
delete_user_meta(bp_loggedin_user_id(), ‘has_avatar’);
}function modify_loop_and_pag($qs, $object=false) {
global $wpdb;
$include = ”;if( $object != ‘members’ )//hide for members only
return $qs;$subscribers = $wpdb->get_results(“SELECT user_id FROM {$wpdb->usermeta } WHERE meta_key=’has_avatar'” , ARRAY_N );
foreach($subscribers as $subscriber){
$include = $include . “,” . $subscriber[0];
}$args = wp_parse_args( $qs );
//check if we are listing friends?, do not apply in this case
if( !empty( $args[‘include’] ) ) {
$args[‘include’] = $args[‘include’] . ‘,’ . $include;
}
else {
$args[‘include’] = $include;
}$qs = build_query($args);
return $qs;
}
add_action( ‘bp_ajax_querystring’ , ‘modify_loop_and_pag’, 25, 2 );function current_user_has_avatar($id) {
global $bp;
if ( bp_core_fetch_avatar( array( ‘item_id’ => $id, ‘no_grav’ => true,’html’=> false ) ) != bp_core_avatar_default( ‘local’ ) ) {
return true;
}
return false;
}// ATTENTION
// This code should be deleted after first site load with the code
//
function init_avatar_meta(){
global $wpdb;
$ids=$wpdb->get_col(“SELECT ID FROM $wpdb->users”);//we don’t need to check for meta value anyway
foreach( $ids as $id ){
if( current_user_has_avatar($id) ){
update_user_meta( $id, ‘has_avatar’, 1 );
} else {
delete_user_meta( $id, ‘has_avatar’ );
}
}
}
add_action(‘init’, ‘init_avatar_meta’);
?>mycolombianwifeParticipantHello Laura.
I mean I can not see on which date and time I can recieved the messages.
or on which date and time I have sent the messages.Does Buddypress simply doesn´t count with this feaure?
Or do you know a plugin which can make this possible ?Attachments:
You must be logged in to view attached files.September 29, 2015 at 22:09 in reply to: log out button too close to profile button in smart phone version #79922mycolombianwifeParticipantSeptember 25, 2015 at 13:44 in reply to: log out button too close to profile button in smart phone version #79476mycolombianwifeParticipantThe log out button should be on the right side (see screenshot)
Attachments:
You must be logged in to view attached files.mycolombianwifeParticipantafter trying to install woocommerce again I have got
Fatal error: Cannot use object of type WP_Error as array in /homepages/15/d405161118/htdocs/mycolombianwife/wp-content/themes/sweetdate/framework/inc/pixelentity-themes-updater/class-envato-protected-api.php on line 344
just after clicking on the “install now” button, after loading for a while…
mycolombianwifeParticipantby the way I´m no longer able to re-install the plugins that I have deleted:
wordfence
wangguard
w3-total-catch
woocommerce
shareaholicWhen I click on “install now” it just keeps loading forever…
mycolombianwifeParticipantI have tried to rename the
themes/sweetdate
themes/sweetdate-childto
themes/sweetdate.deactivate
themes/sweetdate-child.deactivate
NOW I have access to the admin panel after the log in!1. I go to myurl.com/wp-admin.php and log in
2. then it has changed to the default theme
3. then I remove the .deactivate via my FTP
4. then I change the them to sweetdate-cild again
Is this just a temorary solution ?
Since this seems to be a theme issue I think the solution about be to reinstall OR update theme to a newer version.
I have purchased this theme about a year and half ago.
Until now, I suppose that a newer version has been release.
How do I update the theme?
Would this even be a solution in that case ??
thanks
mycolombianwifeParticipant@mycoach
after I do that I get a white screenI´m stilling waiting for a response I posted this issue 10 hours ago.
mycolombianwifeParticipantI have talked to the server support again.
They told me that for him it can be a .htaccess file issue
OR a hacker attack.They apperantly can not help me…
He recommend me that an expert should looking into the page and look if there is any php error or possible hacker attack going on.
waiting for your response…
mycolombianwifeParticipantupdate:
– as you can see the see the frontend is working.
– users are abel to log in including me
– there even have been new registrations todayI just can not access my WP dashboard / admin panel
Please help
mycolombianwifeParticipantYes, indeed some peope don´t get that they have to scroll down to see the profile information.
Also some users told me that they don´t understand how to view their messages.
Viewing the messages should not be “hidden” This would improve the usability.mycolombianwifeParticipantok thanks laura, I hope also other users of this theme will be interested in this feauture.
Since, if it will be fixed to would improve the functionality of the theme a lot.April 24, 2015 at 17:48 in reply to: Fatal error after upgrading to latest Buddypress version 2.2.3.1 #56095mycolombianwifeParticipantAll these custom code was provided by this theme support. I did´t add anything myself.
I would just like to maintain the function that users profiles without pictures do not appear on the members page.
mycolombianwifeParticipanthere is the screenshot
Attachments:
You must be logged in to view attached files.mycolombianwifeParticipantHello Laura, you mean in the analytics box?
I´ve just pasted this code
<!–Start Zombaio Code–><script src=””https://secure.zombaio.com/External/loc-scr/?62861750w242af6e9a304504402db6a5fe5136f66″></script><!–End Zombaio Code–>just before the analytics code
but I dont see the text line, which is supposed to show up in the footer…
please check yourself: http://www.mycolombianwife.com/
Thank you
-
AuthorPosts