Forum Replies Created

Viewing 15 Topics - 1 through 15 (of 87 total)
Author Posts
October 14, 2015 at 8:02 pm in reply to: Conditional Logic posting to Custom Post Type 74654
hatchmedia hatchmedia

Hi Towhid,

From my initial testing, it looks like this is working for me! Thanks so much for the code snippet, I appreciate it.

Damien

October 13, 2015 at 2:51 pm in reply to: Conditional Logic posting to Custom Post Type 74574
hatchmedia hatchmedia

Thanks Towhid,

I appreciate it.

Damien

October 12, 2015 at 6:04 pm in reply to: Conditional Logic posting to Custom Post Type 74513
hatchmedia hatchmedia

Hello,

I was just wondering if you could give any ideas on this please?

Damien

October 6, 2015 at 3:27 pm in reply to: Conditional Logic posting to Custom Post Type 74186
hatchmedia hatchmedia

Hi Towhid,

Could you give me an idea of where to look please? I am happy to try a few things myself, but would appreciate a little guidance, just to get me started. 🙂

Thanks

Damien

August 24, 2015 at 5:53 pm in reply to: Redirection loop when deleting posts. 68859
hatchmedia hatchmedia

Thanks Towhid, appreciate the help.

Damien

August 24, 2015 at 1:32 pm in reply to: Redirection loop when deleting posts. 68812
hatchmedia hatchmedia

Thanks Twohid,

As mentioned though in my last email, that does work, but I have it set up to go to a user account which includes their username.

This has worked before without any issues. It has worked for probably about a year now, but since the updating, it seems to have stopped.

Please see this post from 2 years ago where I set this up with Tareq.

Is there anything that you can think of for where I should be looking?

Damien

August 21, 2015 at 3:39 pm in reply to: Redirection loop when deleting posts. 68400
hatchmedia hatchmedia

Just to give an update to this.

I have my dashboard set up to go to the users BuddyPress profile. So it works as http://mysite.ie/USERNAME/my-posts. If I remove the USERNAME element, then the posts will delete without an issue.

When I delete from USERNAME/my-posts, the following is added to the URL:
?action=del&pid=12301&_wpnonce=7d079c5504&msg=deleted

When I delete form just /my-posts, then this is added to the URL:
/?msg=deleted

Is there anything that you can think of that would cause this to stop working? It had worked on a previous version of WPUF before.

Cheers

Damien

August 20, 2015 at 7:21 pm in reply to: Redirection loop when deleting posts. 68340
hatchmedia hatchmedia

Hi Towhid,

Thanks for the response.

Removing all the plugins did not resolve the issue but swapping the theme did. It also seemed to resolve another open issue I have open here.

So, obviously the issue must be somewhere in my theme’s code, but could you give me any clues as to where it might be? The only thing I have done with the dashboard area is add code that allows for multiple post types and also, a redirect after upload:

/*
==========================================================
Multiple Post Types for the Dashboard
==========================================================
*/
function wpufe_dashboard_post_type( $args ) {
    $args['post_type'] = array( 'dogs', 'cats', 'others', 'post' );
 
    return $args;
}
 
add_filter( 'wpuf_dashboard_query', 'wpufe_dashboard_post_type' );

<?php
/*
=========================================================================
WP User Frontend Redirect after upload
=========================================================================
*/

function wpuf_redirect_to_profile( $response ) {
$response['redirect_to'] = bp_core_get_user_domain( get_current_user_id() );

return $response;
}

add_filter( 'wpuf_add_post_redirect', 'wpuf_redirect_to_profile' );
add_filter( 'wpuf_edit_post_redirect', 'wpuf_redirect_to_profile' );
?>

Damien

August 20, 2015 at 4:18 pm in reply to: admin-ajax.php 500 Internal Server Error when submitting 68296
hatchmedia hatchmedia

Hey guys,

Not to worry with this one. It turns out another plugin which also uses AJAX was causing the issue.

Damien

April 2, 2015 at 3:56 pm in reply to: Trash is missing from the backend 40539
hatchmedia hatchmedia

Hi Nayem,

I need to set up a test domain first as the site is live, so will do so asap and sent details over.

Thanks again

Damien

March 31, 2015 at 8:49 pm in reply to: Trash is missing from the backend 40394
hatchmedia hatchmedia This reply has been marked as private.
March 31, 2015 at 7:20 pm in reply to: Trash is missing from the backend 40382
hatchmedia hatchmedia

Hi Nayem,

I have mentioned on a number of occasions that I am trying this with the default post type.

The screen shots I sent were also from the default post type.

Damien

March 31, 2015 at 5:44 pm in reply to: Trash is missing from the backend 40366
hatchmedia hatchmedia

Hi Nayem,

Thanks for your continued support.

I have had a look at that line and I have the exact same thing as you.

Click here to see the unedited snippet from the frontend-dashboard.php file.

Damien

March 31, 2015 at 3:04 pm in reply to: Trash is missing from the backend 40353
hatchmedia hatchmedia

Hi Nayem,

As far as I recall,the only thing I did with the plugin was add the following to my functions.php to allow multiple post types be displayed in the dashboard. I do not recall amending anything else.

function wpufe_dashboard_post_type( $args ) {
    $args['post_type'] = array( 'dogs', 'cats', 'others', 'post' );
 
    return $args;
}
 
add_filter( 'wpuf_dashboard_query', 'wpufe_dashboard_post_type' );

Damien

March 30, 2015 at 6:47 pm in reply to: Trash is missing from the backend 40296
hatchmedia hatchmedia

Hi Nayem,

If I delete a post as the admin from the frontend, it still does not show in the trash in the backend.

You can see the process here: http://imgur.com/15S1ZzL,QEwP61v,ABaUdC8,oPhVvFW#0

The first image shows the newly created post in the front end.
The second image shows it in the backend.
Once I delete the image, I am receiving the Redirect Loop error which I have not noticed before.
If I then check the backend, the post is gone but there is still no trash can.

Hopefully this helps

Damien

Viewing 15 Topics - 1 through 15 (of 87 total)