Post by Skidjit on Feb 26, 2016 10:46:00 GMT -8
Boy_Wonder - I don't typically put the editable copy in the library. This is mostly so it can't be tampered with to which may bring people to the support thread saying "I think I did something and now it doesn't work". Not saying you're one of those people (as I know you're working on plugins yourself), but some may and that's just something I don't want to really have to deal with. It's just something I'd rather avoid. Sorry. However, what I will do is add in another tab to where you can set what class(es) you use on your forum that aren't standard. There will be a place for each class I use (except for the .msg-otd class, as that's not a standard class anyways) in the plugin. So, if you use "title_bar" as your class instead of "title-bar", you'll be able to edit what class the plugin looks for.
For the date format, I had thought the 6/18 example might be a clue, but I'll add clarification to that. Thanks for bringing that to my attention.
Skidjit - Just to confirm the answers you were given above:
- Only someone who has access to your Plugins > Manage can add / edit / delete events for the plugin. There's no method in there that would allow a user to do this and that would probably also require a super key so everyone had access to see the entry. Maybe as a thought for later on down the road update, but definitely not until after V6 launches. We'll see. Remind me if you'd be interested in user entries after that, and I'll look into it.
- The plugin does look for the <div> so it knows where it should appear. I did it this way to allow forum owners the option of where they wanted it placed, rather than me hard-code a location in. I'll add info about the <div> in the About tab though. Thanks for bringing that to my attention.
- I took a look on your forum and didn't see where you've got the plugin running, so I'll take a guess at what could be the problem. First, if there are events for the current date (whatever today's actual date is), check to make sure you don't have the Date Placement setting (Settings tab) set to No Date, as this will prevent the date from showing at all. If that's not the case, see if there's an entry that has today's date (for this post, the Date would be 2/26 for an event to show today). If there's no event for today (you're seeing the (There are no Events listed with today's date.) message), then the date doesn't show. I'll add that in to show the date, but only if the Date Placement is set to Title Bar (no need to for Content since there wouldn't really be any content). Third possibility: do you have the Date in MM/DD format? As stated by Boy_Wonder , the format may not be clear - of which will be addressed. Using a date in any other format, such as MM-DD or DD/MM or DD-MM won't work and the plugin won't recognize it. If you set with DD/MM, the plugin will try to interpret that as MM/DD. So, if you have what you want as February 7 entered as 7/2 (DD/MM)- it thinks you mean July 2 (MM/DD).
I'm currently having issues getting into the Build (keep getting the Err Bear), so I can't work on these fixes yet. I'll work on them as soon as the Err Bear decides to go back into hibernation.
I know. I came back in here while that error was going on. Ugh. Glad all is well now though.
I did get it to working before on my test site, after I added that code in the template. (You peeked in on my main site before I could get it up. Company dropped by my house.) Anyway, I just now put it on my main site listed below. No dates show though. (I used as you said 2/26 for today. No spaces or zeros.) But what I put in the field for the event did.
Honestly, I'm going to have to go for a little while. There's no hurry on this issue on my end. I know you want to get things working as soon as possible. Who knows, maybe in a little while the angry bear will have gone to sleep to let you do your stuff. I'll be back later. Thanks for your help so far.