intarwebsdeveloper
Forum Replies Created
-
Forgot to mention that I have a custom members-list.php file in my theme (located at theme/ultimate-member/members-list.php). Would having this custom template file override anything or cause your snippet to not work?
- This reply was modified 5 years, 5 months ago by intarwebsdeveloper.
Thanks for the code and video. My code is the same as yours but it’s still not working for me. In your example, what type of field is used for the is_featured meta key? Text field?
I changed it to 999999 and it’s still not working. The profile that has the
is_featuredmeta key appears normally, in alphabetical order not first in the search results.
Does the member directory need to have specific options or settings enabled or disabled?
Can you post the code you said that works?- This reply was modified 5 years, 5 months ago by intarwebsdeveloper.
Yes I did add the
is_featuredmeta key and value to a user. Does this meta key need to be a specific type of custom field? Text field? Radio?I am using Ultimate Member 2.1.13
I have not removed the custom fields and added them back because I don’t know what the exact meta key names are for the fields that need to be added back.
I have multiple custom fields with the same name/label but different meta key names. I can’t tell which one is which.
- This reply was modified 5 years, 5 months ago by intarwebsdeveloper. Reason: Added missing details
You can use is_page() conditional so your hook only activates on whatever page you have the login form on.
Example:
<?php if (is_page('login')) { my_after_form(); } ?>- This reply was modified 5 years, 5 months ago by intarwebsdeveloper. Reason: added example
Who’s genuis idea was it to make the forms autosave anyway without being able to undo anything? Whoever it is should be fired.
That’s messed up, you can at least have a list of revisions so you can go back to a previous version. I just lost 8 hours of work because of the unwanted autosave.
Nevermind, I figured it out. My client changed the Um Members page to a different page that didn’t have the directory shortcode in it. That’s why it stopped working.
Forum: Plugins
In reply to: [Hide Price Until Login] Plugin causes fatal errorI was having this issue also. WP Wham’s suggested fix works like a charm. It literally took 10 seconds to implement. C’mon @cedcommerce! Hope you aren’t dead or something.
- This reply was modified 5 years, 6 months ago by intarwebsdeveloper.
+1 million on umbrella / corporate accounts. Your competitors such as MemberPress and Paid Memberships Pro already have this additional feature.
- This reply was modified 5 years, 6 months ago by intarwebsdeveloper.
Does the Textarea field input in a paragraph or just a single word “Dog”?
single wordWhat happens when you input the single word in the Textarea field and search it in the directory?
It says no results foundDoes the result show?
No, it says no results foundAs I mentioned in my post, it works fine when I used a text field intead of a textarea.
I just tested the callback function and if I remove the conditional statements, it does indeed work like your screenshot.
I guess I’ll just have to write separate callbacks instead of using conditional statements.
I wonder if it’s my callback code that’s the issue?
function zipcodes_callback_1() { $cscmemberid = um_user('csc_member_id'); if ($cscmemberid == '1') { $zips = array( "999999" => "999999", "888888" => "888888" ); } elseif ($cscmemberid == '2') { $zips = array( "11111" => "11111", "22222" => "22222" ); } else { $zips = array( "765654" => "765654", "456786" => "456786" ); } return $zips; }I can’t replicate your screenshot.
When I add a multi-select dropdown to the profile form, this field shows as an option for a Search Filter. If I add a callback to this multi-select dropdown, it does not appear as an option for a Search Filter anymore.
I’ve tried it multiple times and it keeps happening.
- This reply was modified 5 years, 7 months ago by intarwebsdeveloper. Reason: Error on my end