• Resolved affiliatenow

    (@affiliatenow)


    Inside the plugin you give 2 sample shortcodes and some variables… how to you use those variables inside the shortcode?

    For example: Right now any “logged in” user can see / edit any other users ticket, which I assume is by design… so how do I lock it down so only the correct email or user_id can view their tickets?

    [crm-perks-tickets]
    – user_id: ID of wordpress user , default=logged in user id
    – email: Email of wordpress user

Viewing 1 replies (of 1 total)
  • Plugin Author CRM Perks

    (@crmperks)

    >>default=logged in user id

    if you do not set any user id , plugin will get id of “logged in” user

    [crm-perks-tickets] gets email address of logged in user
    and shows tickets related to logged in user

    for example
    user with email ([email protected]) is logged in
    plugin will show all tickets created by “[email protected]” only
    why we will show other tickets ?

    if user is not logged in , so email address is not available
    plugin will not show any ticket
    but user can create new ticket by entering his email

Viewing 1 replies (of 1 total)
  • The topic ‘How to secure tickets using “User_Id” or “Email”’ is closed to new replies.