r123ze
Forum Replies Created
-
Forum: Plugins
In reply to: [BP Profile Search] remove bps form on conditionOk, but for the second question, I didn’t understand your question, how to filter members and stay on the same page. for example if I search on this page.
mywebsite.com/membres/type/seller/
I need to get result on that page, and not redirect me to mywebsite.com/membres and display all members.. mixing buyer and seller profile.. hope you get me if you have any solution please?Thanks.
Forum: Plugins
In reply to: [BP Profile Search] remove bps form on conditionbtw i think there is a bug on plugin, i created bp member type and url is like this
mywebsite.com/membres/type/seller/
mywebsite.com/membres/type/buyer/but when I go to seller directory member and try to use filter to search for seller, it return buyer members in search result.. i think it mix data, maybe because search perform in /members and not /membres/type/seller/ ?? how to fix it?
Thanks.
Forum: Plugins
In reply to: [BP Profile Search] remove bps form on conditionthanks it works, i’m using youzer plugin, do you know if it’s possible to display the filter in member directory but not a above, but with youzer directory filters ?
Thanks.
Forum: Plugins
In reply to: [BP Profile Search] Default Value in Search Formsthanks so much, btw i use youzer plugin, and bp search profile displayed above default filter of youzer, but i want to change it place to place along with the default filter of youzer, is that possible to change place where the bps should be displayed?
Thanks so much, and great plugin..
Forum: Plugins
In reply to: [BP Profile Search] Default Value in Search Forms@dontdream andrea do you know how to remove contains text in field label, for example i have input.
City contains
<input …. :>I want to remove contains or hide it in front of the city field label….
if I choose also “match any” mode, it will display it in front of field label.. i want to remove this, any hook or function to do it?
thanks
- This reply was modified 4 years ago by r123ze.
According to outgoing value, the json format is:
Array ( [data] => Array ( [ID] => 1 [user_login] => admin [user_pass] => $P$BVbptZxEcZV2xDLyYeN.O4ZeG8225d. [user_nicename] => admin [user_email] => [email protected] [user_url] => [user_registered] => 2018-11-06 14:19:18 [user_activation_key] => [user_status] => 0 [display_name] => admin ) ...
So, if i want to access it, do i need to use oop or Multidimensional php array?
$json->data->user_email;
or
$json['data']['user_email']
i want to access it like object oop $json->data->user_email;
Hi @ironikus,
thanks for your quick reply.
The problem is that i don’t want to do it in wordpress, but in another external url wich i put in wp webhooks plugin.
I think wpwh plugin fired once registered because it created the emails.txt file, but i don’t get the email to store it in txt file.
When tried my first code above, i find always the email.txt is empty. But when I change it to this.
$data = file_get_contents('php://input'); $file = "emails.txt"; file_put_contents($file, $data);
I get all data in file like this format, but I want only to get email or username of the registered user..
{"data":{"ID":"36","user_login":"r123ze","user_pass":"$P$BXnUKsyaZXj3tVBgZ00Wbb9E6HHfK0.","user_nicename":"r123ze","user_email":"[email protected]","user_url":"","user_registered":"2020-11-12 08:48:04",....
If removed json_decode, the create_user fired and create file txt with this data, but if i put json_decode, it does not create txt file and not working.. can you tell me how to fix this please?
Thanks so much! ??
i forget, the file txt is created but always empty.