Forum Replies Created
-
Author
-
shaundraniaParticipant
Yes, thank you Radu but that’s not what I was referring to. I think Laura may have answered my question.
shaundraniaParticipantThank you!! Laura, for some reason the members aren’t showing at all on my members page. It says “sorry, no members were found” from the front end. But when I’m looking from the backend and I go to a user profile, it shows me the members. What could I need to do or fix?
shaundraniaParticipantHey Laura, I’m not sure I understand. Will you give me the code to add?
Are these the steps?
1) get shortcode of profile fields (please tell me what/where this is)?
2) copy code
3) add code to theme functions in editor?
4) replace (starts with/ends with) with search form code (please tell me where/what that is)?
5). Do I need to add the css code in theme style on editor?Thank you Laura for your help!!
shaundraniaParticipantLaura, no problem. can you help me with the steps to adding the advance search to members page? Can you please tell me what to do after installing shortcode ultimate plugin?
Thank you!!!
shaundraniaParticipantOkay. I promise I’m not going to harass you with this stuff all day :). Thank you so much for your patience.
So, here’s what I’m thinking of doing:
1) copy the code you have created and add it to a my notepad++
2) add a note underneath that code for the additional code
3) add new code
4) Save the codes/file in notepad++
5) delete other bp custom in host provider.
5) add newly saved file to host provider
Done-Did I get this correct? I hope so.
shaundraniaParticipantOk. So it’s a matter of choosing your code or their code basically? Or do you know of a way to have both codes inserted to cover the members page & profile search? If not, no worries.
But, I believe you shared the code here, so I will copy and paste it in my notepad++.
shaundraniaParticipantOkay. Will do. And I can use the blank Bp custom zip you sent me before to upload to my bluehost account… Like you did before? Saving it with notepad++
shaundraniaParticipantHey Kieran, I looked in the forum and it appears that someone may have had a similar question to me. So, I wanted to check with you to make sure this wasn’t the same code you’ve already added to my site. If not, can you tell me if this code would create a conflict with what you’ve already added? Here it is-
add_filter (‘bp_ajax_querystring’, ‘modify_members_loop’, 20, 2);
function modify_members_loop ($qs=false, $object=false)
{
global $wpdb;
if ($object != ‘members’) return $qs;// figure out if the logged-in user is male or female
$gender = xprofile_get_field_data (5, bp_loggedin_user_id ());if ($gender == ‘Male’)
$query = “SELECT user_id FROM {$wpdb->prefix}bp_xprofile_data WHERE field_id = 5 AND value = ‘Female'”;
else
$query = “SELECT user_id FROM {$wpdb->prefix}bp_xprofile_data WHERE field_id = 5 AND value = ‘Male'”;$custom_ids = $wpdb->get_col ($query);
$args = wp_parse_args ($qs);
$args[‘include’] = implode (‘,’, $custom_ids);
$qs = build_query ($args);return $qs;
}shaundraniaParticipantThank you! I’ve created a profile and submitted the question.
Thanks for your help Kieran!!
shaundraniaParticipantNo problem Kieran, I understand. Only thing is I don’t have a WordPress.org account, I have a WordPress.com through my host provider so it won’t let me login to ask her the question. I’ll try to get around that though.
Thank you for your help!
shaundraniaParticipantKieran, by the way, I sent you this message because you have been the ONLY person that has provided exceptional customer service. In fact, you are probably the reason why I extended my support contract with you guys. I have been waiting since Friday morning to get an answer from Laura regarding the question I posed to you on Saturday and still no response (It seems to be a theme). I know you’re not working during the week and if I have to wait until Saturday to get true customer service, I will. Thank you for being a great help and technical support person. I apologize for sending this message when you’re not working but I wanted to explain why.
shaundraniaParticipantHi Laura, I’ve been waiting patiently for your help since Friday and I have yet to receive any help. Will you PLEASE RESPOND!
I’ve added the search to the front page myself but I seem to be having a different issue now. This past weekend I added the php code to prevent the same sex search on my site but it’s not working with the profile (home) search I’ve added to the fact not page. How can I fix this?
I hope you respond soon
shaundraniaParticipantKieran, I know you don’t work during the week but the same sex prevention search isn’t working. I added the home search to my front page and when I created a fake profile(woman) and did a search- it gave a list of other women on the site (other fake profiles). Do you have any suggestions on how I can I fix this?
shaundraniaParticipantHey Kieran, if I added the advance search plugin to my members page would that interfere with the same sec prevention code you inserted on my site? If not, can give tell me how to add that to the members page?
Thank you!!
shaundraniaParticipantHey Kieran, pmpro had a newer code that allowed me to delete certain parts of the items on the account page (membership,invoices, links, profile). I deleted the profile and links from the page and left invoice and membership. Now, those buttons are not visible.
shaundraniaParticipantHey Laura, yes rebuild it please. But, I want to keep the slides and text I have on the home page the same. Also, I have inserted a code to prevent same sex search so I don’t want to have the member carousel on there.
Thank you for adding the search/register form!!!
shaundraniaParticipantHey Kieran, it’s still doing it. After a person selects their plan, they get to the membership confirmation page and they hit “view your membership account”. Once they hit “view your membership”, then on that membership account page they select hit the button that says “edit profile”. After the person hits “edit profile” on the membership account page the link is directing them to the “matchmaking services account” page instead of their profile page.
I believe I had explained it incorrectly/badly the first time. I hope that makes more sense.
shaundraniaParticipantHey Kieran, if you hit “view your membership account” on the confirmation page it will send you to the matchmaking account page.
By the way, I’m glad it’s you helping me- you are awesome!
shaundraniaParticipantHey Kieran, that’s Because I had set the woocommerce page to members account page. But now that I’ve set the account page for matchmaking services to the “matchmaking account” page, you will probably be redirected to the woocommerce “matchmaking account” page if someone signs up for the dating service.
Do you mind checking one more time?
-
AuthorPosts