inherit
157863
0
Nov 20, 2024 10:35:15 GMT -8
Skidjit
Hello Sweetie! :D
1,129
September 2010
skidjit
|
Post by Skidjit on Feb 26, 2016 10:46:00 GMT -8
Okay, going to try this again. Nothing like having a reply made, click the post button and getting a 404 error. 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.
|
|
inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on Feb 26, 2016 10:48:10 GMT -8
Okay, going to try this again. Nothing like having a reply made, click the post button and getting a 404 error. 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. Would you be able to make it so I can get rid of the border easily, and change the background colour (as well as the title-bar class XD) (unless I'm being dense and that should be the msg-otd class xD Thank you though! I'm aware I'm making a very specific request and I'm sorry that I keep asking all these things!
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,846
January 2015
msg
|
Post by Lynx on Feb 26, 2016 11:05:47 GMT -8
Skidjit - I still can't get into the build. Please do me a favor and try putting it on On This Date to see if the date shows on that setting. If it does, then I know right where I need to go to fix that. You can put it back on On This Day afterwards. Thanks! Boy_Wonder - Border is controlled by ".msg-otd" and you could probably add a background color in it as well (I don't have a background color set for it). I haven't tested with adding a background color, so not sure if the ".msg-otd" class will do what you want. To remove the border, just add this to the bottom of your stylesheet: .msg-otd { border: none; }
you may need to add the !important flag if that doesn't take as is. Once I can get in and add the tab where you can do class replacements, you should then be able to do that and possibly control your title-bar's colors by using your class. Once I get those new options in, you could even create your own classes to add to your CSS stylesheet and then add those new classes into the plugin to look for. This would allow you to further customize by having the plugin look for your classes and apply the CSS they use. No worries about the requests - gives me the opportunity to both improve the plugin and my skills.
Heading off to the support board to make a post about my Err Bear issue. Hopefully they can fix it fairly quick so I can start working on these.
|
|
inherit
157863
0
Nov 20, 2024 10:35:15 GMT -8
Skidjit
Hello Sweetie! :D
1,129
September 2010
skidjit
|
Post by Skidjit on Feb 26, 2016 11:26:00 GMT -8
Done.
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,846
January 2015
msg
|
Post by Lynx on Feb 26, 2016 11:35:52 GMT -8
Done. Thank you, Skidjit ! You can put it back if you want. It seems my Err Bear issue is related to the sticky on Support, but should be resolved when they get that resolved. Once I can get in, I'll take a closer look. Posting your settings as a reminder to me (no need for you to do anything with it) Note to self for Lovegood Lounge settings: settings: {"msg_otd":[{"otd_date":"2/26","otd_desc":"Today, something cool happened. (This is a test.)"}],"otg_hide_empty":"0","otd_title":"0","date_placement":"0","multiple_events":"0"}
EDIT: Skidjit - This may be part of the issues the PB is having at the moment, as I can't get the date to show in Content either. Once you see that they've got the issue resolved (check their sticky Important thread on the Support Board), please check again to see if the date shows. I have a feeling that it'll start working right when they do.
|
|
inherit
157863
0
Nov 20, 2024 10:35:15 GMT -8
Skidjit
Hello Sweetie! :D
1,129
September 2010
skidjit
|
Post by Skidjit on Feb 26, 2016 13:01:58 GMT -8
Actually, that was where I originally wanted to have the date, in content. But I went ahead and changed it to Title bar. I think I'll leave it there until I get back to tinkering with this. I'll peek in later. Really, for me there's no hurry. Good luck LynxOH I'll go check out the issues they are having... just to see what's up. Thanks.
|
|
inherit
157863
0
Nov 20, 2024 10:35:15 GMT -8
Skidjit
Hello Sweetie! :D
1,129
September 2010
skidjit
|
Post by Skidjit on Feb 26, 2016 16:49:53 GMT -8
OH my goodness! I am backreading this whole thread. (got to grab those edit codes while I still can.) But THEY are right. If this plugin already says, "On this day" or date... There really is no need for an actual date there unless you want one. I think in my mind, when filling out the events for the dates, I would need to make sure I have a date attatched to them... But that would only need be SEEN on the admin screen, not on the actual home page. I'll leave that option up to you, if you want to make it viewable on the home page or not. I really don't want to add to your plate. However, I do like the the edit options that the others here have been requesting. Great work so far. Thanks Lynx
|
|
inherit
(?)?
188910
0
Jan 26, 2013 13:30:48 GMT -8
♥ ℒʊ√ ♥
Clouds float into my life no longer to carry rain or usher storm but to add color to my sunset sky.
10,458
January 2013
luv
|
Post by ♥ ℒʊ√ ♥ on Feb 26, 2016 17:35:31 GMT -8
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,846
January 2015
msg
|
Post by Lynx on Feb 26, 2016 17:50:39 GMT -8
Skidjit - That's what the Date Placement option is for. You can have the date in the Title Bar, in the Content area or No Date at all - it's all optional to what you want. However, with your settings (that I posted for myself earlier), you had it set for Title Bar - which means the date should have showed up there. It's still not showing up for me anywhere either, so I've updated my support thread about it. At least, however, I can get back in and start making those other fixes / additions.
Thanks, ♥ ℒʊ√ ♥! I may yet to get to that stage where I can call myself a coder. Doing this certainly helps me to work on getting there.
|
|
inherit
157863
0
Nov 20, 2024 10:35:15 GMT -8
Skidjit
Hello Sweetie! :D
1,129
September 2010
skidjit
|
Post by Skidjit on Feb 26, 2016 20:04:38 GMT -8
Lynx I still have it set for Title bar. I'll leave it for you to be able test out when you are ready. Just give me a nudge if you need me to do something from my end. Thanks. Sounds cool. I know you were talking to Luv, but I have to say that you are doing great. I certainly have a ways to go to get to your level. *waves* to ♥ ℒʊ√ ♥
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,846
January 2015
msg
|
Post by Lynx on Feb 26, 2016 20:19:52 GMT -8
Skidjit Boy_WonderVersion 1.0.2 is posted in the OP. PLEASE be sure you read the OP regarding the update - especially for the Advanced tab (if you plan on using it). None of those fields on the Advanced tab can be left blank. As far as the date not showing, I've reported it to Michael Stone, who in turn reported it to the team working on getting all issues resolved. For now, I guess, it's going to act as if No Date is set regardless of setting for Date Placement. This is something currently out of my control and ask for patience while the PB team works their miracle. Note: If you leave it the Date Placement on Title Bar or Content, the date should automatically re-appear when the PB team has the issue resolved. Thanks for the compliment, Skidjit.
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on Feb 27, 2016 3:11:06 GMT -8
Current Version: 1.0.2 Library Link: www.proboards.com/library/plugins/item/1239Download Link: Key(s) Used: (none) On This Date allows you to enter events into the Dates tab with their associated events. The text field is used to describe the event, or what the event was, or whatever. Some may even find it useful to enter in upcoming events for their forum where it will automatically list it on that date. VERSION 1.0.2- Added more info on plugin setup in the About tab. - Clarified the date format on the Dates tab. - Added a new tab named Advanced: --- Allows you to set specific classes to use instead of PB's standard classes. Classes that can be changed are: ----- .container ----- .title-bar ----- .content --- Default classes are entered by default. --- Do NOT leave a field blank! Doing so will break the CSS. If you do not want to change a class, be sure its default is entered. For some reason, it's not picking up on my default in the JS if the field is left blank. I'll be working on that. In the interim, the default class names are shown on that tab. --- Change only the class(es) you want. Be forewarned, though, that you will be responsible for configuring the CSS for any changed classes. --- You can even use a created class. Put the class with its styling in your Stylesheet and then have the plugin reference it. VERSION 1.0.1- Added a Settings tab to further customize: --- Hide: If there are no events for that day, you can have the container hide rather than have it show the (There are no Events listed with today's date.) message. --- Title Bar Display: Now gives you a choice of On This Date or On This Day as the title in your title bar. --- Date Placement: You can have the date show once in the Title Bar, with each entry in the Content area or have No Date shown at all. --- Multiple Events: If there are multiple events on the same date, you can: have all of them show, just the first one it finds or picks a random one out of the list for that date. Updated About tab:
Dates tab:
Settings tab:
NEW - Advanced tab:
Please note that the container height sizes automatically, but you can change this via CSS. Also note that dates MUST be entered in the format of MM/DD, where MM = Month and DD = Date. Do not use 2 digits for single digit months or dates. Do not include the year - use your Description field to include that. To use: (1) Install the plugin. (2) Manage the plugin and enter the dates and events on the plugin's Dates tab. (3) Enable the plugin. (4) Place <div class="msg-otd"></div> where you want it to appear. If there are any bugs / suggestions for this plugin, please post them here and not in the Review area in the library. I don't check those that often and I may not see it in a timely manner. Changelog: 1.0.2 - Added more info in the About tab. Clarified the date format on the Dates tab. Added in an Advanced tab that lets you select the classes to use. 1.0.1 - Added a bottom margin to the CSS as well as add a Settings tab for further customization. 1.0.0 - Plugin finished and released.
I would like a version with more cowbell. And maybe ill never give you up. Never gonna let you down. Never gonna turn around, and hurt you.
|
|
inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on Feb 27, 2016 3:38:12 GMT -8
Skidjit Boy_WonderVersion 1.0.2 is posted in the OP. PLEASE be sure you read the OP regarding the update - especially for the Advanced tab (if you plan on using it). None of those fields on the Advanced tab can be left blank. As far as the date not showing, I've reported it to Michael Stone, who in turn reported it to the team working on getting all issues resolved. For now, I guess, it's going to act as if No Date is set regardless of setting for Date Placement. This is something currently out of my control and ask for patience while the PB team works their miracle. Note: If you leave it the Date Placement on Title Bar or Content, the date should automatically re-appear when the PB team has the issue resolved. Thanks for the compliment, Skidjit. It now matches my forum -just got to hunt down a pesky bold class-
|
|
inherit
157863
0
Nov 20, 2024 10:35:15 GMT -8
Skidjit
Hello Sweetie! :D
1,129
September 2010
skidjit
|
Post by Skidjit on Feb 27, 2016 6:18:12 GMT -8
Skidjit Boy_Wonder Version 1.0.2 is posted in the OP. PLEASE be sure you read the OP regarding the update - especially for the Advanced tab (if you plan on using it). None of those fields on the Advanced tab can be left blank. As far as the date not showing, I've reported it to Michael Stone, who in turn reported it to the team working on getting all issues resolved. For now, I guess, it's going to act as if No Date is set regardless of setting for Date Placement. This is something currently out of my control and ask for patience while the PB team works their miracle. Note: If you leave it the Date Placement on Title Bar or Content, the date should automatically re-appear when the PB team has the issue resolved. Thanks for the compliment, Skidjit . OK. Thanks. I now have it installed and the other one deleted. All is set up so the date would show in the Title bar once they get it. I'll pop in here to let you know when I see the date, just so you would know.
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,846
January 2015
msg
|
Post by Lynx on Feb 27, 2016 10:09:57 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ - I'm not really sure what you mean by "wanting more cowbell". Only thing I can think of it meaning is more features, but this wasn't intended to to a lot in the first place. So, what sort of "cowbells" did you have in mind? Boy_Wonder - Would I be correct in guessing that that's what you were looking for with your request? Also, I'm going through the code now and have found some stray <b> in there that I'm cleaning up now - so it may not be something on your end to find. When done, the only bold hard-coded would be the date but only on Date Placement = Content. Nothing else should be bold after this. Apologies for that - I thought I had them all. Skidjit - The date's still not showing and I've updated my support thread on it. I'm going to see what I can find out from my end. That should be a good indicator, though, when you see the date come back.
|
|