• Resolved Rem_FR

    (@rem_fr)


    Hello,

    Is it possible to make a private link friendly printable like the link in the private mail for editable record.

    So instead to have [pdb_record] –> /?page_id=69&pid=ZR8W6 & [pdb_single] –> /page_id=87&pdb=9
    we get also a link to a single post not editable but with private id

    so intead of n°id=9 we get /page_id=87&pdb=ZR8W6

    ?
    Thanks for your help

    https://www.ads-software.com/plugins/participants-database/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author xnau webdesign

    (@xnau)

    You can build this into your email template something like this:

    Here is your <a href="https://mysite.com/page_id=87&pdb=[id]">record</a>

    Thread Starter Rem_FR

    (@rem_fr)

    Thannks for you answer but it doesn’t work with this code. i tried it.

    example :
    https://joggingclublicquois.fr/?page_id=15&pdb=5 (single record)
    https://joggingclublicquois.fr/?page_id=13&pid=NM90Q (editable record)

    if i do :
    https://joggingclublicquois.fr/?page_id=15&pdb=NM90Q
    there is no entry !

    It’s too simple to find a personal single page juste with changing id number so i would like single record with private link too.

    Plugin Author xnau webdesign

    (@xnau)

    Yes, that won’t work, because the two codes are for two different shortcodes. If you want to use the “pid” code, you have to have the [pdb_record] shortcode on the page it goes to. If you are using the “pdb” code, the page has to have the [pdb_single] shortcode.

    Of course, it’s possible to have both shortcodes on a page.

    Thread Starter Rem_FR

    (@rem_fr)

    Of course, it’s possible to have both shortcodes on a page.

    on the same page ?
    have you an example ? can we see the result online

    Sorry. I’m french. and i’m not sure that my question on the first post was really comprehensive/clear

    Plugin Author xnau webdesign

    (@xnau)

    OK, well the pdb_record and pdb_single shortcodes both expect an ID in the URL in order to know which record to show. The format is different so if you have both shortcodes on the page, only the one that got the value it needs will appear.

    Try it: just put this on your page:

    [pdb_single]
    [pdb_record]

    Thread Starter Rem_FR

    (@rem_fr)

    OK. Not exactly what i demanded. It doesn’t matter. It’s ok

    Plugin Author xnau webdesign

    (@xnau)

    I am trying to understand what you want, so I reread your first post. You cannot use a private id (pid) to get a single record, you can only use it to get an editable record.

    Do you want to hide the record id?

    Thread Starter Rem_FR

    (@rem_fr)

    Yes exactly. That’s what i want : hide record id for single page
    Is it possible to hide record id ?
    like for this page : https://joggingclublicquois.fr/inscription/single-fiche/?pdb=14

    hide n°14

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Private link for printing’ is closed to new replies.