Noche
New Member
Noob and newbie
Posts: 108
inherit
155521
0
Dec 15, 2023 6:37:45 GMT -8
Noche
Noob and newbie
108
June 2010
sod
|
Post by Noche on Oct 20, 2023 3:17:18 GMT -8
I need a plugin that allows admins to create a "tip of the day" (A bit like the news bar, but I only changes once a day) that can be placed in a sidebar plugin.
I tried the "Bible verse of the day" to see if It fit the criteria and it did but the "comments" part can't be hidden unfortunatly.
I have the "Pseudo-random weather generator" on my site and I would love the "Tip of the day" to work like that!
Any help is appreciated
|
|
Noche
New Member
Noob and newbie
Posts: 108
inherit
155521
0
Dec 15, 2023 6:37:45 GMT -8
Noche
Noob and newbie
108
June 2010
sod
|
Post by Noche on Nov 30, 2023 11:32:22 GMT -8
Trying to bump this for good luck
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,017
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Nov 30, 2023 19:37:52 GMT -8
I need a plugin that allows admins to create a "tip of the day" (A bit like the news bar, but I only changes once a day) that can be placed in a sidebar plugin. I tried the "Bible verse of the day" to see if It fit the criteria and it did but the "comments" part can't be hidden unfortunatly. I have the "Pseudo-random weather generator" on my site and I would love the "Tip of the day" to work like that! Any help is appreciated There are a couple of existing plugins that might fit the bill
|
|
Noche
New Member
Noob and newbie
Posts: 108
inherit
155521
0
Dec 15, 2023 6:37:45 GMT -8
Noche
Noob and newbie
108
June 2010
sod
|
Post by Noche on Dec 6, 2023 12:46:57 GMT -8
You are god sent Chris! The Condition X plugin seems to be the one that gets closest to my request, I do have some questions/issues but I have asked in the official help thread for that specific plugin here. I was hoping it could pick a tip of the day randomly
|
|
Noche
New Member
Noob and newbie
Posts: 108
inherit
155521
0
Dec 15, 2023 6:37:45 GMT -8
Noche
Noob and newbie
108
June 2010
sod
|
Post by Noche on Dec 10, 2023 12:48:52 GMT -8
Do you think you could help me with the issue regarding the plugin?
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,017
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Dec 11, 2023 21:27:12 GMT -8
Do you think you could help me with the issue regarding the plugin? How do I get this to show things at random? in the advanced tab there are a "P: Math.random() < P" but I dont know how to actually use it. It really depends on how you envision it working when randomized Noche . A forum URL would probably reveal what a "Pseudo-random weather generator" is, but from what I gather, you desire a plugin that can display a tip that changes every 24 hours and can be placed in a sidebar, both of which are covered by the condition X plugin. The secret sauce however is in the details. The most straightforward would be to manually jumble the date on each tip once a week within the condition-X plugin (e.g., "Sun" becomes "Fri" and so on), which would not require additional storage to remember what was chosen previously with the settings in the plugin itself being used for that purpose. You could increase the number of tips to however much you wish and use the interval format ( <on date="day 2 of 30"> ... </on>) to increase the cycle before it repeats. A second option would be to introduce a script on the advanced tab of the condition-X plugin that would drop a "cookie" on the user's device to recall the last chosen tip and display that for the rest of the day. If a user switches to another device, they will most likely see a different tip for that day since each device stores the cookie locally. Other users will also see different tips since the tips on their devices will differ, and fights over the official tip for the day will ensue. The third option would be to add a key to the condition-X plugin since it was left in an editable state, then edit the coding to take advantage of the storage offered by the key (not easy, but easier than building a plugin from scratch). All users will then agree on what they see as the tip of the day. The fourth would be an entirely new plugin built from the ground up
|
|
Noche
New Member
Noob and newbie
Posts: 108
inherit
155521
0
Dec 15, 2023 6:37:45 GMT -8
Noche
Noob and newbie
108
June 2010
sod
|
Post by Noche on Dec 12, 2023 3:19:06 GMT -8
My co-admin envisioned a plugin that would randomize the content and show a new object everytime the page was refreshed. I am not sure if that is possible with the Condition X, as it seems to be on a daily basis which is not often enough, as she (co-admin) has more than 60 "Tips" apparently. Do you have any suggestions?
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,017
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Dec 12, 2023 7:59:04 GMT -8
|
|
Noche
New Member
Noob and newbie
Posts: 108
inherit
155521
0
Dec 15, 2023 6:37:45 GMT -8
Noche
Noob and newbie
108
June 2010
sod
|
Post by Noche on Dec 13, 2023 13:07:35 GMT -8
What would the community ever do with out you! thank you, so so much!
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,017
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Dec 14, 2023 0:58:16 GMT -8
|
|