Home › Forums › Calendar Products › Events Calendar PRO › Past events and P2P connections
- This topic has 5 replies, 2 voices, and was last updated 9 years, 6 months ago by Josh.
-
AuthorPosts
-
October 24, 2014 at 6:46 am #832315runroomParticipant
Hi! I’m having some problems with events calendar pro and the PlugIN P2P connect. I’m trying to connect a Post with an event, but the plugin only shows the upcoming events, and if i try to connect from an event, i can select the Post, but after save the changes the connection dissapears but only in the admin, the connections persist at the DB.
Did you know if it’s a coomon issue?
Thanks in advance!October 24, 2014 at 4:33 pm #833683JoshParticipantHello runroom,
Thanks for reaching out to us!
I’m sorry for the inconvenience this issue is causing. I did a little research and this doesn’t appear to be a common problem.
Unfortunately, since this falls into a compatibility issue I can’t guarantee a resolution to the issue in support here. However, hopefully we can get enough information to help get a solution figured out for this situation.
As a start, when using the P2P plugin, does the selected post not showing after selecting and updating only happen on events or does it happen on any other post or custom post type?
Thanks!
October 27, 2014 at 1:49 am #839948runroomParticipantHello, thanks for the response!
The selected post only dissapears in the events in the admin, but the related events appears in the front end. weird!Thanks in advance.
October 27, 2014 at 4:32 pm #842045JoshParticipantHello runroom,
Thanks for following up with us! Would you mind posting the exact code you used to generate the connection?
Again, I would like to restate that I’m happy to take a look at the code to see if I can reproduce and/or provide a quick look to see if there is something causing the conflict. However, I can’t guarantee that I’ll be able to support a complete resolution to this issue due to the nature of the conflict.
Thanks!
October 28, 2014 at 9:49 am #844147runroomParticipantHi Josh!
This is my code in the functions.php file.function my_connection_types() {
p2p_register_connection_type( array(
‘name’ => ‘Connectar Agenda amb Blog’,
‘post_status’ => ‘publish’,
‘from’ => ‘post’,
‘to’ => ‘tribe_events’,
‘reciprocal’ => true,
‘duplicate_connections’ => true
) );p2p_register_connection_type( array(
‘name’ => ‘Connectar Agenda amb Ateneus’,
‘from’ => ‘tribe_events’,
‘to’ => ‘directori’,
‘reciprocal’ => true,
) );p2p_register_connection_type( array(
‘name’ => ‘Connectar programes amb Agenda’,
‘from’ => ‘programes’,
‘to’ => ‘tribe_events’,
‘reciprocal’ => true,
) );
}add_action( ‘p2p_init’, ‘my_connection_types’, 100 );
thanks in advance for your time!
October 29, 2014 at 6:58 pm #848203JoshParticipantHello runroom,
Thanks for following up with us.
I tested it out and was able to replicate the issue you’re noting when editing events. I’ll add an internal ticket for this issue for our developers to consider looking into the conflict and whether or not this is something that we can potentially address in a future release. However, I can’t guarantee that this will be something that gets addressed directly from our side. If there isn’t something we can see where we’re not following WordPress best practices that is causing the issue there isn’t too much we can do.
I’ll go ahead and close this ticket. If you have any further questions please don’t hesitate to open a new one. As we make updates to our internal ticket about this issue, we’ll notify you here.
I apologize for the inconvenience.
Thanks!
-
AuthorPosts
- The topic ‘Past events and P2P connections’ is closed to new replies.