Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi ouegy,

    We actually have support for this in 3 ways right now:

    1) If you have registration off, users can edit the listings with an access key/email on the front end.

    2) If you have registration on, with our current dev version, you can edit the listings by clicking on an edit button if you’re logged in and viewing your listing

    3) The new BuddyPress module allows you to edit listings in a single place, also from the front end.

    If you want the latest dev version, contact us here to get it: http://awpcp.com/contact/

    The logged in user’s listings question is one I’ll have to ask my developer, if the answers above aren’t what you need. Let me know and I’ll ask (but I suspect I’ve told you what you wanted to hear, since this is a highly requested feature!)

    Thread Starter ouegy

    (@ouegy)

    Thanks,

    1) This is not an option, not user friendly at all!

    2) Unfortunately I cannot turn open registration on

    3) I looked at your premium modules. Will this return all of the currently logged in users listings, or will I need to write a loop to return this?

    I suspect something like the following would do it but I don’t want to persist if the BuddyPress module will do it for me.

    $user_id = get_current_user_id();
    $classifieds = $wpdb->get_results(
    "SELECT *
    FROM $wpdb->wp_awpcp_ads
    WHERE user_id = $user_id");
    foreach($classifieds as $classified) {
    echo ?><h2><?php $classified->ad_title ?></h2>
    <?php }

    Hi ouegy,

    When you don’t have a user logged in, you have to identify them in some fashion. Here are a few options:
    – Cookie
    – IP address
    – Email/access key

    While you say the last one isn’t friendly, the first two are unfortunately friendly but completely unreliable to allow us to know you are you. Cookies can be deleted, IP addresses change all the time. So if you don’t have an account, we have to have a way to secure your ads–that’s why the email/access key was used in this case.

    I’m not sure why you can’t use registration here–it would be the best solution from a security and knowledge standpoint. You’d definitely be able to find listings for user X, because that user would have WordPress info available to us to use. Can you explain why this is the case?

    Doing it the way you suggest above would have some pretty serious security issues, allowing users to spoof each other pretty easily and manipulate the ads. BuddyPress will also require that you use registered users as well, since we integrate with the BP profile.

    Thread Starter ouegy

    (@ouegy)

    Hi,

    The site is membership only which is why I’m not allowing open registrations. To place a classified ad you have to be a registered user (and logged in), however I don’t see an option to edit from the front-end at this location /show-ad/?id=1, am I misunderstanding something?

    Does the BuddyPress module require open registration to be switched on, or just to have registered users?

    Thanks

    Maybe we’re confusing things a bit here–

    Requiring registration doesn’t imply that we require open registration. Usually, membership plugins will restrict that process (via a fee/payment or some kind of moderation process) but the end result is that:
    – Users are asked to register
    – Users create an account
    – They pay/get approved via the membership plugin
    – Users gain access to the site

    That’s the mechanism we’re looking for on options 2 and 3 above–just a user account to associate to the listings. If you have that, you can use 2 or 3, but you don’t have to open up membership to everyone to get that.

    Does that make more sense now?

    Thread Starter ouegy

    (@ouegy)

    Yes it does – however, the ‘Edit Ad’ button links to the dashboard…

    Yes, as I mentioned above–if you want the front-end ad editing capability, you need our latest dev version to get it (it’s close to release). Contact us here to get it: http://awpcp.com/contact/

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Frontend editing’ is closed to new replies.