Can you post the link so we can see what it is doing?
Thread Starter
vipman
(@vipman)
No, you can’t, the site has built-in user restrictions.
For Administrator works, and for other users there is no
I’m sorry, I don’t have enough information to help.
In general, make sure you are not using page caching on the page with the [pdb_record] shortcode.
Thread Starter
vipman
(@vipman)
edit. can. only. administrator.
as.solve.user?
The [pdb_record] shortcode will work for all users if they have the correct URL.
What is shown on the screen for other (non-admin) users?
Thread Starter
vipman
(@vipman)
What do you mean “correct URL”?
Have admin, as and have other such same URL, only for admin works editing, and for users not works
Thread Starter
vipman
(@vipman)
I want to make sure that only the records and fields that I want to enter are displayed on the user’s page.
“The user enters the Personal Cabinet, His orders, there are displayed his records, but not all fields, and the ID with the name”
The user’s page needs the [pdb_record] shortcode. You can determine which fields are shown using the “groups” or “fields” attributes of the shortcode…like this example:
[pdb_record groups="main,contact"]
The correct URL must include the “private ID” code for the record…so it must have something like ?pid=SH3YI at the end. That is only an example, the real private link will have a unique code for the record.
This is not necessary if you are getting the user ID from the logged-in user. This is explained in the Using Participants Database with WordPress Users article.
Thread Starter
vipman
(@vipman)
Thanks. With Shortcode I figured it out. The only thing I can’t decide is to output to my Account all the records that the user created with the current account
2) Link to edit the record is sent only to the administrator account, and other users it does not work. I know as the link is generated, it on “private_id”, I consider that it is not absolutely safe because if there are one million records, the advanced user in the address line will randomly enter 5 letters and “will break” someone’s record, at least I see private_id in the database of wp_participants_database
Subtotal :
1 – I Have a link to edit the “not” comes to email accounts (ID introduces abstracts of the records that was created from your account)
2 – I have read many times your article, but I it’s not working conclusion (PERSONAL records), I think you understand what I mean, from the records of 1,000 users to a separate page taken out 100 of your
3-Safety.. Can I “enhance” the protection of personal data, to guess “private_id” from 1000 to 10000 records will be fairly easy
-
This reply was modified 8 years, 1 month ago by
vipman.