inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,846
January 2015
msg
|
Post by Lynx on Nov 14, 2016 6:51:05 GMT -8
Yes that's correct XD Peter will correct me if I'm wrong Okay. Thanks! I'm working on an updated version that adds a few more options, so I'll be sure to fix that at the same time.
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Nov 14, 2016 6:56:47 GMT -8
Lynx, Don't listen to Boy_Wonder, he's always wrong even when he's right. Psst...that's correct, don't tell him though.
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,846
January 2015
msg
|
Post by Lynx on Nov 14, 2016 6:58:35 GMT -8
LOL, Peter. Okay. I'll be sure to make that fix on the updated version I'm working on. I've already moved that line to where it's supposed to be (it was inside an else statement).
|
|
inherit
190874
0
Nov 4, 2023 5:43:57 GMT -8
daylilydude
305
March 2013
daylilydude
|
Post by daylilydude on May 13, 2017 2:59:16 GMT -8
Matt , I'd have to do another update to the plugin - as it doesn't have anything for background color. Until I can do that, you'll just have to set the text to a lighter color for now. I'll see about getting a background color option added in. Is there an update to getting a background color added??
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,846
January 2015
msg
|
Post by Lynx on May 13, 2017 19:14:37 GMT -8
Matt , I'd have to do another update to the plugin - as it doesn't have anything for background color. Until I can do that, you'll just have to set the text to a lighter color for now. I'll see about getting a background color option added in. Is there an update to getting a background color added?? There is no update yet that has that option, but you can go to Admin > Themes > Advanced Styles & CSS > Stylesheet (tab) - be sure your on the theme to affect and add this to the bottom of the stylesheet: /* Modify background color for Random News plugin */ .msg-rnf { background-color: #000000; }
Replace the #000000 with the color of your choice. Remember to save. This will need to be done for each theme. However, if you want the same background color on all themes, put this in your Global Header ( Admin > Structure > Headers & Footers > (click on Global Headers & Footers) instead of the code above: <style> /* Modify background color for Random News plugin */ .msg-rnf { background-color: #000000; } </style>
Again, replace the #000000 with the color of your choice. Remember to save.
|
|
Former Member
inherit
guest@proboards.com
244837
0
Nov 21, 2024 12:02:14 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jun 4, 2017 8:21:48 GMT -8
I cant get it to display at all. I've placed the code in different positions, but it's not showing. I've tried Main and Global header. Help?
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,846
January 2015
msg
|
Post by Lynx on Jun 5, 2017 15:47:59 GMT -8
@tumbler,
Link to your forum please. You can PM it to me if you don't want to post it.
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,846
January 2015
msg
|
Post by Lynx on Jun 5, 2017 17:20:51 GMT -8
@tumbler,
I've figured out the issue - you've got the timer set for 86400 seconds. I'll get a fix out tomorrow, because what it's doing is waiting for that to pass before the first news feed item gets picked, which is why it's not showing up.
I'll set it up so the first item gets displayed right away before the delay timer goes into effect, so it'll show the first random news feed before the wait.
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,846
January 2015
msg
|
Post by Lynx on Jun 6, 2017 10:18:10 GMT -8
@tumbler, I've just submitted Version 1.1.2 to the library, so it may take some time for it to show up. Just check the Plugin Library occasionally - it'll show up on the first page once it's been approved, and the current version will show as Version 1.1.2. I'll also update my OP in this thread once I see it approved (if it gets approved). The fix should now make it so the first random item shows up after only 1 second, but then it'll wait for the delay you set (in the UI) before displaying the next random item.
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,846
January 2015
msg
|
Post by Lynx on Jun 6, 2017 11:10:09 GMT -8
@tumbler (and anyone else using this plugin),
Version 1.1.2 is now accepted into the library. Link is in the OP. The OP has also been updated.
|
|
Former Member
inherit
guest@proboards.com
244837
0
Nov 21, 2024 12:02:14 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jun 6, 2017 12:07:20 GMT -8
It works now, thank you!
The only problem is, now it refreshes after every page change, and its set to the right mode (Dynamic).
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,846
January 2015
msg
|
Post by Lynx on Jun 6, 2017 12:25:16 GMT -8
It works now, thank you! The only problem is, now it refreshes after every page change, and its set to the right mode (Dynamic). The original intent of this plugin was to also change on page change. Having it remain on the same item through a page change was not part of the original scope of this plugin (it was not developed with an item remaining for a day before a new item was randomly picked). However, I'll see what I can do about having it skip picking a new item on page change for the Dynamic setting IF the Delay is greater than or equal to an amount of delay time (which will be configurable in the UI). This will allow people to still have it change on a page change unless their Dynamic setting has a lower Delay.
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,846
January 2015
msg
|
Post by Lynx on Aug 26, 2017 14:13:17 GMT -8
Random News got a small update - a Skip option has been added that lets you skip any number of news feed entries (basically, preventing any entry with the Skip box checked from displaying).
Note to @tumbler: This is not precisely what you were looking for (I'm still working on that), but you could, in the interim, set it to skip every entry except the one you want to show. The downside is that you would have to change this every day.
I'll update this thread when the new version (1.2.0) gets accepted.
EDIT: Although the plugin has UI settings for Page Changing and Dynamic Use Page Change on the Settings tab, please note that these 2 sections are NOT currently operational (the coding has not been added yet, just the UI options). Although those 2 sections require to be filled in, you can just put in bogus entries for now - as they are not even looked at yet to use.
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,846
January 2015
msg
|
Post by Lynx on Aug 28, 2017 11:34:34 GMT -8
Version 1.2.0 has been accepted into the library.
|
|
inherit
250596
0
Sept 30, 2018 15:10:00 GMT -8
kihyun
7
November 2017
kihyun
|
Post by kihyun on Mar 6, 2018 11:07:13 GMT -8
Hello,
Thank you for the plugin. But would you consider showing recent threads in certain boards just like normal news feed.
|
|