Forum Replies Created
-
AuthorPosts
-
Thomas Claffy
ParticipantHi Nico,
Thanks!
My #1 priority would be the post status and I would be happy if the action of the existing submit button set the status of the post to publish when the user role has publish rights and draft for users with no publish rights when a new post is submitted. Maybe I should add this as an enhancement request?
#2, The list of all events in the front end would, as you say, create a mini-admin role, which would be really useful to a lot of us folks managing calendars for a wide range of contributors where we want some help managing the posts but don’t want to open up the backend to someone else.
Thomas Claffy
ParticipantHi Geoff,
After actually mulling this over, I would prefer to do it with a cookie. If you have an event that fires when the view is changed, I would write it then and set it when the calendar is shown. I have a child theme set up so I assume I could implement this in a child template? Not even sure what that code would look like; I’m going to end up learning PHP sooner or later if I keep dabbling with WordPress. I guess this type of code is beyond your level of support? It would need to look like if the page = my event calendar page and this is the 1st time it is being shown and the view setting exists in the cookie then set the view.
This came up because of the pesky feature image. Some users love the graphical look and feel and other ocd users do not like the ragged look when there is no featured image and then there is the share problem on Facebook when the image is not large enough, FB just picks an image from some other event. So I seem to recall seeing some code where I can size my image which you seem to be doing with the photo view. I would like to size it so it share consistently and hide it in the list view and then keep track of their preferred view via a cookie and hopefully make everyone happy between a uniform list view, a graphical photo view and broad month view.
Sorry for expanding the topic. I can move part of this if you prefer. Just trying to expand and explain what I am trying to accomplish and why.
Tom
Thomas Claffy
ParticipantNico,
So I just set up an Editor role who has rights to edit others posts. This test user does not have any events. The Events list shows nothing so the first hurdle to get events the list when a user has rights to edit the post.
As for publishing, when an event is added in community, by default it is draft. Those users that have publish rights should have a publish button for draft events.
I think that is all it needs.
Tom
Thomas Claffy
ParticipantI realize this doesn’t work like the default WordPress roles and I guess I am questioning why? This seems to make sense in this case. Ultimately, it sounds like the editing is doable but how do they publish?
Thomas Claffy
ParticipantSo actually according to WordPress.org, these roles should be defined as Author and Editor. See https://codex.wordpress.org/Roles_and_Capabilities. Are thy implemented in the Community Plugin?
Thomas Claffy
ParticipantHi Nico,
I think you have it.
I currently have the following roles
1. Subscribers who can only submit new and cannot publish and must submit changes to me that I edit.
2. Contributor who can submit and cannot publish and can edit their own.It would be great if in the front end with no back end access, I could have
3. ContributorPublisher who can submit, publish and edit their own.
4. ContributorManager who can submit, publish and edit their own and also edit others.I can set those roles and rights up in the backend but I don’t know how to implement that in the front end. BTW, I am using Total and they added an Edit button right on the single event page for a user when they have edit rights so hopefully that would flow right thru when they have rights to edit based on their user role. I don’t expect a lot of new buttons and interface changes but if they would just have rights based on their roles then I guess submitting an event would immediately publish it?
thanks
tom
Thomas Claffy
ParticipantThis turned out (I am 98% sure as it is resolved by removing that plugin) to be a conflict with IP GEO BLOCK. It was blocking wp-admin/ajax.php
Thomas Claffy
ParticipantStill happening daily along with the strtotime() error.
jquery.ba-resize.min.js?ver=1.1:9 Uncaught TypeError: Cannot set property ‘w’ of undefined
at m (http://myfergusoncalendar.com/wp-content/plugins/the-events-calendar/vendor/jquery-resize/jquery.ba-resize.min.js?ver=1.1:9:550)
at dispatch (http://myfergusoncalendar.com/wp-includes/js/jquery/jquery.js?ver=1.12.4:3:12444)
at r.handle (http://myfergusoncalendar.com/wp-includes/js/jquery/jquery.js?ver=1.12.4:3:9173)m @ jquery.ba-resize.min.js?ver=1.1:9dispatch @ jquery.js?ver=1.12.4:3r.handle @ jquery.js?ver=1.12.4:3[26-Nov-2016 21:32:51 UTC] PHP Warning: strtotime() expects parameter 1 to be string, array given in /home/myfergus/public_html/wp-content/plugins/events-calendar-pro/src/Tribe/Recurrence/Meta.php on line 969
Thomas Claffy
ParticipantNo it is not unique to his site. I had this just last evening after creating a child theme. I added the child theme and added just a couple of functions in the child theme functions.php and activated it. Worked fine on my desktop (chrome on windows 7) but then worked as described above on my mobile (chrome on android); it would just spin. I activated my parent theme FROM my mobile and it started working on my mobile. I then activated my child theme FROM my mobile and again it worked on my mobile platform. I retested on my desktop and then it was not working there. Again, I activated the parent theme (total by the way) and then activated the child theme and it started working on my desktop and my mobile (as of my last testing). This is not unique to his system as I recreated it last night when I made changes to my theme. Not sure what else might trigger this but it’s a nasty non-responsive bug.
Thomas Claffy
ParticipantThis has been going on for weeks. It happened when I was down to 2016 and no other plugins and your update did nothing to fix this. As usual, I get the no effort reply from you. The last item you handled for me resulted in a lecture on why you don’t bother to actually do anything about it because your code is infallible and it’s almost always someone else fault and then you closed the support item. I obviously can’t fix your code nor do I have any idea what is causing this error so if you don’t want to look at this perhaps you can pass it on to someone else?
Thomas Claffy
ParticipantThanks Geoff,
I have them set to moderate but Event itself does not tell me that I have a draft venue or a draft organizer attached. It would be very helpful if that were indicated in bold by the new data. I guess best practices have to be reviewing venues and organizers prior to approving draft events as the new entries are marked as draft. Doable but not implemented very easily because as soon as I remove the duplicate draft then the event loses all references to what it was. Not even a note that original was ‘x’ but ‘x’ no longer exists. In my world we must have referential integrity and we don’t allow reference data that is in use to be deleted. You must change the usage (event venue) 1st then the reference (venue) record can be removed. Guess I’ll throw some of this in the suggestion box if I can get around to it.
Thomas Claffy
ParticipantI guess it did but it somehow created a new instance and simultaneously removed all of the old instances. they are just gone. I expected to have to manually delete them. They existed all the way to 2018 and poof gone. I had 2 months as expected from my setting. I changed it to 3 and several minutes later was notified by email (my security plugin) that the January events had been added. So no harm, no foul, just a few moments of dismay when it locked me up. I was getting prepared to restore last nights backup…I do love my hosting providers services. Always a safety net. So we can mark this closed and move on to fun things! Cheers.
Thomas Claffy
ParticipantGeoff,
I think the scope of your rules as they exist are correct and this is a very powerful feature. I am able to set up what I would think is an almost impossible annual schedule with annual exceptions and then override one occurrence. Really great stuff.
I just have one duplicate rule somehow that I want to be able to delete. I can add them, I can edit them, but I can’t remove one. Am I missing something here? I just don’t see a delete button by each rule.
Thomas Claffy
Participantwhew. I edited one event and it magically fixed everything but the recurring event was set up into 2018 (24 months) and now stops in Dec. I changed my settings to 3 months a couple of hours ago to see if it would generate January and still nothing. How long should this take? Can I force it?
Thomas Claffy
ParticipantWow. That plugin crashed my events. It deleted everything past December 13th and my calendar just locks up when I try to browse to December. Having my hosting provider restore last nights data as we speak. I would say you should not recommend that plugin to anyone. period.
So it looks like after the restore, I should create a new event, redo the complex reoccurrence rules and then delete the old series?
-
AuthorPosts
