jamshaid32
Forum Replies Created
-
Forum: Plugins
In reply to: [Participants Database] How to add place holder in fieldI am using Custom template and that code is in Custom template .That was working before but not it is not . I also did not get any error
Forum: Plugins
In reply to: [Participants Database] How to add place holder in fieldOkay i am using that below code to user current login users records
That was workink well before but now the code did not work it also did not gave me any error message
While i add user login field in database fields as well
$current_user = wp_get_current_user();
echo do_shortcode(‘[pdb_list filter=”user_login=’ . $current_user->user_login . ‘” template=edit-link]’);Looking for your Help
Forum: Plugins
In reply to: [Participants Database] How to add place holder in fieldHi Sir i use that article Using Participants Database with WordPress Users
its worked before but now it is not working can you please tell why it happening
ThanksForum: Plugins
In reply to: [Participants Database] How to add place holder in fieldI mean when a user sees all his record added by him. he can also edit them
Forum: Plugins
In reply to: [Participants Database] How to add place holder in fieldLeave my above replay i have solved it
please just let me know how user can edit record on single record link
That is the page where user will see list of all record
https://www.bradfordfhs.org.uk/members/members-interests/interest-record-list/
when he click on the mail id it goes to single record page i just want that user can edit that record from theirForum: Plugins
In reply to: [Participants Database] How to add place holder in fieldI have use this code on my page
[insert_php]
$current_user = wp_get_current_user();
echo do_shortcode(‘[pdb_list filter=”membership_id=’ . $current_user->user_login . ‘”]’);
[/insert_php]its not working can you please help
Forum: Plugins
In reply to: [Participants Database] How to add place holder in fieldThanks for giving me a solution
I have one more Question i do not should i asked here or in another support ticketsI have a Field in my record that is Membership ID (that is actually username of WordPress user)
So what I want that person who is login can see all recorded that is added by him against the specific username(membership id) on a single page. where further he can check on one by one on a single page and can edit themNote: A single user can add more than 1 record using his username
many thanksForum: Plugins
In reply to: [Contact Form 7] get Users email from their idNo, I don’t want that user know each other emails. they can only contact by using membership id with each other. the recipient email will be generated from their membership-id>emails .
Forum: Plugins
In reply to: [Participants Database] want to add only 1 search filterHi Sir can you please help me
please visit my that page
https://www.bradfordfhs.org.uk/members-interests/add-interest/
i want to add a username of login user as a default value in the First field “Membership ID”
can you please help me how i can add this
ThanksForum: Plugins
In reply to: [Participants Database] want to add only 1 search filterNo you have not get it right
Here what i need
I want to keep a record of user interest in the website . one user may have more than 1 interest so he can add more than 1 record
The issue is that while adding record user have to enter its membership id that is his username along with other 4 fields. So it is a possibility that a user can use any other person id/username and can add record along with his membership Id while I just want to restrict user that he can only add record against his own id. So for that, i just want that when a user enters its record instead of asking that id from the user. my system will automatically add the membership id that can get from current login user->username.InShort while adding a record from page User will fill all others 4 fields but the membership id will be picked from his username and total of 5 fields should be submitted in record
I hope you got it Now
Forum: Plugins
In reply to: [Participants Database] want to add only 1 search filterOkay, so can I get that id value from the plugin last register record.
Actually what I want that user will fill 4 fields from signup forms while 1 field that will be the membership id of that login users should be picked up from the system.
So that every one can add the record against his own username not using any other usernames.Forum: Plugins
In reply to: [Participants Database] want to add only 1 search filterokay, i got it. Thanks
so should i displayed these field in sign up forms . i just only want membership id from system else will be from user signup forms.
i tired now its working but when i submit data two record added in dbForum: Plugins
In reply to: [Participants Database] want to add only 1 search filterits not working for me
can you please guide me what will be the id in that case
is that one is the record id ?Forum: Plugins
In reply to: [Participants Database] want to add only 1 search filterHere How i Add a 1 as a sample
add_action(‘pdb-after_submit_signup’, ‘assign_id’);
function assign_id($data,$id) {
$data = “5003” ;
$id = “membership_id” ;Participants_Db::write_participant($data,$id);
}Forum: Plugins
In reply to: [Participants Database] want to add only 1 search filterHi Thanks for your response . can you please gave me an example of code
I have tried but failed every time. I am very happy if you can help me
Thanks