WordPress.org

Ready to get started?Download WordPress

Forums

Personal Fundraiser
Subscribers can't see edit button - do they need to be contributo (19 posts)

  1. AMEEKER
    Member
    Posted 2 years ago #

    New and existing users who are subscribers can't see the pfund edit button. Do they need to be contributors in order to see that button? Admins can see it.

    http://wordpress.org/extend/plugins/personal-fundraiser/

  2. AMEEKER
    Member
    Posted 2 years ago #

    Actually, admins can't consistently see it. Here is my cause page:

    [Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

    And here's a link to the screenshot of a personal fundraising page as I'm logged in as an admin:
    https://picasaweb.google.com/lh/photo/UYE5z2Szb-8n-kTa66v90em4aIcjjUUQvwQPf-rKcDU

    and again as a user (role of subscriber):

    https://picasaweb.google.com/lh/photo/qx8KntyIi-qZiNVCh2Hxw-m4aIcjjUUQvwQPf-rKcDU

    The edit button doesn't show in either case. I'm sure this is an issue somehow on our end, but I can't figure it out. I thought perhaps it was somehow a permission thing, but if that was the case, wouldn't I as an admin be able to see it no matter what?

  3. John Kleinschmidt
    Member
    Plugin Author

    Posted 2 years ago #

    You need to use the [pfund-edit] shortcode to display the edit button.

  4. AMEEKER
    Member
    Posted 2 years ago #

    https://picasaweb.google.com/lh/photo/BSrCI_0LyZ94gabAsA3fk-m4aIcjjUUQvwQPf-rKcDU

    There's a link to the cause in the editor - sorry the code I pasted in above got edited out because it was too long.

    I do have [pfund-edit] in. It's not showing.

  5. John Kleinschmidt
    Member
    Plugin Author

    Posted 2 years ago #

    Its probably a permissions issue. You can only edit your own campaigns. Does the edit button show up when you create a new campaign from the cause (eg go to the cause screen and click on the x to close the popup window and see if the edit button shows up there)?

    Beyond that, I would check the Personal Fundraising settings page in the Admin Dashboard to see what types of User Roles that can submit campaigns. Only the user roles that are checked will be able to edit campaigns.

  6. AMEEKER
    Member
    Posted 2 years ago #

    Hi - I checked the cause page: http://www.godmanguild.org/causes/syep/ and the edit button does show up there.

    I had previously set the plugin so that only Admins could create submit campaigns. I changed it so every role could submit to see if that would make the edit button available, and I still could not see the edit button on campaigns, either as an admin, or as a logged in user (role subsciber) looking at that user's campaign.

  7. John Kleinschmidt
    Member
    Plugin Author

    Posted 2 years ago #

    Can you edit the campaigns from the administrative dashboard (eg. click on Campaigns from the dashboard menu)? Also when you look at the campaign listing can you verify that the user listing in the admin campaign listing page is the same user you are attempting to edit with?

  8. AMEEKER
    Member
    Posted 2 years ago #

    I can edit the campaigns from the dashboard as an Administrator.

    When I look at the Campaign listing, the user listing column shows the username of the Administrator who approved each campaign, not the actual user who submitted the campaign.
    https://picasaweb.google.com/lh/photo/HTGRD2lFfxixSwIptS8Orem4aIcjjUUQvwQPf-rKcDU

    Also, in the campaigns themselves, the existing users' email address's are not being passed through to the campaigns.
    https://picasaweb.google.com/lh/photo/KGUxmXsSJmCayMPsXBxQ_um4aIcjjUUQvwQPf-rKcDU

    Is that necessary in order for each campaign to be connected to the user account, which would then make the edit button available?

  9. John Kleinschmidt
    Member
    Plugin Author

    Posted 2 years ago #

    The plugin requires that you collect a user display name and a user email address in order to correctly display the avatar as well as to send emails to the user when their campaign is approved and when donations are made to their campaign. I am not sure if that is why they are assigned to the administrator who approved each campaign. If you look at a campaign that is currently pending, is it assigned to a user?

  10. AMEEKER
    Member
    Posted 2 years ago #

    I have the user display name and user email address both set as required
    https://picasaweb.google.com/lh/photo/9u48zG6vWTuDxvs_HkREYum4aIcjjUUQvwQPf-rKcDU

    though when completing the form at http://www.godmanguild.org/causes/syep/ it doesn't ask for an email address unless you have a reason to choose "Register" after creating your campaign.

    If I look at a pending campaign, it doesn't show any user.

    Also, in case you needed to see this:

    Login Required to Create (not checked)
    Allow Users To Register (checked)
    Campaigns Require Approval (checked)
    User Roles that can submit campaigns
    Administrator (checked)
    Editor (not checked)
    Author (not checked)
    Contributor (not checked)
    Subscriber (not checked)
    Calendar Contributor (not checked)

  11. John Kleinschmidt
    Member
    Plugin Author

    Posted 2 years ago #

    If you want to allow regular users to create and edit campaigns, you need to have the checkbox checked for "Subscriber".

    The reason that email isn't being collected is that the shortcode isn't on your cause. If you want to collect it, but not display it, edit the cause, clicking on the "HTML" tab in the cause editor and adding the following at the top:
    <!-- [pfund-email-address] -->

  12. AMEEKER
    Member
    Posted 2 years ago #

    If we collect it, and an existing user puts an email there different than the email already associated with their account, with that cause a problem? We didn't collect it in the first place because I just KNOW that's going to happen.

  13. John Kleinschmidt
    Member
    Plugin Author

    Posted 2 years ago #

    It shouldn't cause a problem... that email address is only used to send emails to the person who created a campaign. It doesn't have to match the email address associated to that user.

  14. AMEEKER
    Member
    Posted 2 years ago #

    So I changed the checkboxes to allow Subscribers, Editors and Contributors to submit and edit...

    And added the commented out {pfund-email-address} to the cause.

    I logged out as an admin, started a campaign from scratch from the front end, registering as a new user. That worked perfectly - it showed the username on the admin panels the whole way and I can see the edit button as that logged in user.

    I logged out as that user, started a campaign from scratch from the front, as an existing user, logging in after creating my campaign.

    And here's where I figured out what's happening, and I now know how to fix it, but I'd like to know if you know how to help me fix the existing campaigns...

    I didn't build this site - it existed before me. :-) It has a login redirect for users which send them to a particular page. So when existing users got to this part of the process, where they needed to login after creating their page to "make this page viewable to others," they WERE logging in, but they were returned to the page which then shows the popup that says their page is awaiting approval, and until then they can access it at ...

    I just caught this.

    I took off that redirect for an existing user, then tried the whole campaign creation again, and it created perfectly, with their username associated with the campaign and all. And, when logged in as that user, viewing the campaign page, the edit button is viewable.

    So, technically, all is well if I take away the redirects upon login for these users (which is kind of fine, I think I can work that out with their web guy by showing him a simpler way, anyway).

    But, for the EXISTING campaigns which it seems like now have no user associated (or, maybe only the admin user who approved them?), is there a way to go back and associate them with their original submitter? It's like somewhere along the way the process was disconnected...

  15. John Kleinschmidt
    Member
    Plugin Author

    Posted 2 years ago #

    Ahh... that makes sense...

    As far as associating campaigns to the original submitter, I don't think you can do that, but you can update those campaigns so that emails go to the correct person (assuming you have emails for those people). Unfortunately the best you can do with the existing ones is to update them as an admin. They will then only be editable by the admin, but that is better than a non existent user.

  16. AMEEKER
    Member
    Posted 1 year ago #

    Hi John,

    Me again. I know we've covered this already, but I have to ask again just to be sure our only option isn't scraping what we've done so far. Is there a table somewhere where I could change the user id associated with a campaign? The more we're using it, the more this is a problem (created on our end of course...).

  17. AMEEKER
    Member
    Posted 1 year ago #

    Also John, IF this were working as it's supposed to... ;-)

    Would donations in PayPal be somehow attributed to the campaign owner? Right now, there is no way within PayPal to tell which donation came from which personal fundraising page... OR, from within the website itself, no cause-wide method for extracting donations made. (We know we can pull them per campaign).

    Am I missing something here? It seems like there IS that option in the Authorize.net directions (using the Description).

  18. John Kleinschmidt
    Member
    Plugin Author

    Posted 1 year ago #

    Campaigns are simply a custom post type, so you could update the wp_posts table (you can find the ID of the campaign by editing it in the admin dashboard -- the post value in the URL in your browser will be the ID of the campaign).

    As far as PayPal is concerned, there isn't anything in PayPal that ties a particular donation to a campaign owner. I think that could possibly be added for a future version though.

    The description on Authorize.net is generic for all campaigns -- you can't change it per campaign. The same thing is available in PayPal... when you create your donation button you can specify a donation id that is essentially a description of the donation, but that value will be the same for all campaigns.

  19. AMEEKER
    Member
    Posted 1 year ago #

    Totally worked. Thanks so much.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic