• Resolved tradesouthwest

    (@tradesouthwestgmailcom)


    How do we use the Access Key that is available in the post editor metabox? We need to create a link that we can email the user, which send them to the listing. We do not see a way to email or copy/create a link to use that will allow user access to the listing.

    If the only option is to copy the link of the listing and send that link to user then this would be an issue. What we need is a way to allow users to view listing that has been made non-public (hidden with CSS body_class). We do not want to generate a password and make the listing/post Private as there are already resources like the Access Key made available in the listing meta.

    If we grab the meta_data of the '_wpbdp[access_key]' and use this as a token to parse url; maybe like rtrim(get_permalink( $listing_id ), '/') . '&access_key=' . $access_key,

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter tradesouthwest

    (@tradesouthwestgmailcom)

    View line 305 in https://github.com/tradesouthwest/wordpress-client/blob/master/A-L/itc/lib/contollers/pages/class-listing-contact.php to see usage… giving access to listing with files made visible; once they (judges) fill out contact form.

    Plugin Support bobbied

    (@bobbied)

    Hi @tradesouthwestgmailcom

    Thank you for reaching out with this question.

    When a user creates a listing that will use an access key, the user is sent an email with the access key and the link to the listing to edit it. Right now, we don’t have a setting to resend that email but I’ve added a feature request for that.

    Thank you for bringing this to our attention!

    Thread Starter tradesouthwest

    (@tradesouthwestgmailcom)

    Thanks for the response. As to:

    > When a user creates a listing that will use an access key, the user is sent an email with the access key and the link to the listing to edit it

    So the link-to-edit is not really what we were looking for but it was something related to what we “wanted” to do. We would like to use the access key as a password for that listing but not as a user form entered password but as a url parameter… similar to what you are describing in your response.

    Only difference would be that the access key gets use as a validation key to allow emailed user to access the front-end view (child-theme/business-directory/single_content.tpl.php). And only the user with access_key can read the full listing.

    See: The page I need help with: for progress on this. github will have updates too.

    Please set as Resolved at anytime you feel. Suggestions on a hook to add on to end of single_content.tpl would be helpful. I had to poke into template using:

    if( function_exists( 'views_addon_render_itc_contact_review' ) ){
    	do_action( 'views_addon_itc_contact_review' );
    }
    Plugin Support bobbied

    (@bobbied)

    Thanks for clarifying the use case here. I have added a feature request for similar behavior. Appreciate you letting me know the issue is resolved.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Access Key usage’ is closed to new replies.