Home Forums Plugin Support WP User Frontend Pro Some questions about the [wpuf_dashboard] user dashboard page.

This topic is: not resolved

This topic contains 4 replies, has 3 voices, and was last updated by  Tareq Hasan 5 years, 11 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #4842

    quokka
    Participant
    Post count: 10

    Hi,

    Working on the tutorial for you guys as promised to Mahi here: http://wedevs.com/support/topic/post-to-buddypress-actvities/ but while testing I came across some problems / questions..

    I have some questions about the [wpuf_dashboard] page..

    • Any chance of adding an edit link next to the delete link in dashboard page?
    • Can the delete link be deactivated? In case I don't want users to delete posts on a particular site, is this a configuration option?
    • I show the [wpuf_dashboard] page in a Buddypress user profile page on /members/members/photogallery/.. Clicking ‘delete' redirects to /members/?msg=deleted instead of redirecting to the dashboard page, also it doesn't show a success message of course.. I looked in documentation and WPUF code and seems there is no action hook or way to manipulate or define the return URL, that's a problem for me..

    Thanks a lot!
    Bas

    #4847

    Mahi
    Member
    Post count: 1555

    Hello Bas,

    thanks for your effort. for 1 & 2 there are settings option from WPUF -> Settings -> Dashboard tab , i am not sure how we can show dashboard items under buddypress user profile as i don't have much exp about buddypress, lets see what @tareq suggest .

    #4857

    Tareq Hasan
    Keymaster
    Post count: 2831

    The dashboard was intended to be inserted on a page and it gets the current page/posts URL and append the msg=deleted query string for a delete confirmation message. So I guess the dashboard post delete redirect isn't suitable for buddypress or you could modify the URL manually.

    #4859

    quokka
    Participant
    Post count: 10

    Hi Tareq,

    The dashboard code is in a WP page.
    Where should I modify the url manually?
    In WPUF plugin code? Hope not ๐Ÿ˜‰

    Thanks,
    Bas

    #4861

    Tareq Hasan
    Keymaster
    Post count: 2831

    Yes, it's the plugin code. But in a standard circumstance, everything should've worked fine.
    See /class/frontend-dashboard.php and delete_post function (near line 269).

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Some questions about the [wpuf_dashboard] user dashboard page.’ is closed to new replies.