lp19
New Member
Posts: 77
inherit
264700
0
Apr 22, 2024 5:17:13 GMT -8
lp19
77
July 2021
lp19
|
Post by lp19 on Feb 11, 2023 0:37:15 GMT -8
Forum URL: (private) Where to begin on this one. I have a specific need to be able to execute scripts in posts who then run each time the page is refreshed. basically I need html in the BBCode plaintext posts (and even title) but let's start with posts. I understand the dangers of this (obviously) and I as admin would need to be the only one allowed to do this. I explain better by an example. I have written a plugin in javascript who runs on a custom page linkThat runs perfectly. What you see there are the weekly games in a football (soccer) competition. As you can see is the score (or timing) a link to matchtopics. (threads) The threadstart is generated by another script to return static info of the upcoming game. It is here that I would want a dynamic part that is altered by javascript. I need it to alter the score to the current situation each time a refresh happens. I have seen there is a plugin under the name "HTML in posts for admin" But that does not seem to do the trick. Are there other solutions out there that can help me create this result. For the record, today I have someone on staff who does those updates manually. If that can happen automatically that would be great.
|
|
lp19
New Member
Posts: 77
inherit
264700
0
Apr 22, 2024 5:17:13 GMT -8
lp19
77
July 2021
lp19
|
Post by lp19 on Feb 12, 2023 4:28:34 GMT -8
I understand I'm asking for a very specific problem, and maybe it just can not be done, but zero replies in 30 hours is not much eh.
Well enjoy your Super Bowl, but after that I'm expecting replies. Even if it says it can not be done.
|
|
#FF6600
Apprentice of the Universe
42712
0
1
Apr 22, 2024 6:04:54 GMT -8
🎶Sossity🎶
24,118
May 2005
nhs5
|
Post by 🎶Sossity🎶 on Feb 12, 2023 4:47:14 GMT -8
I understand I'm asking for a very specific problem, and maybe it just can not be done, but zero replies in 30 hours is not much eh. Well enjoy your Super Bowl, but after that I'm expecting replies. Even if it says it can not be done. Sorry for the wait. However, it’s the weekend and the office is closed. At this time, support admins are usually only available for emergencies like ( for eg) system issues. Members who help out are volunteers and so aren’t obliged to respond. Also, they may not know the answer to your query and some queries can only be addressed by the admins. Business/office hours are: Mon-Fri 9am-5pm Pacific time (-8 GMT)
|
|
lp19
New Member
Posts: 77
inherit
264700
0
Apr 22, 2024 5:17:13 GMT -8
lp19
77
July 2021
lp19
|
Post by lp19 on Feb 12, 2023 5:23:59 GMT -8
I understand I'm asking for a very specific problem, and maybe it just can not be done, but zero replies in 30 hours is not much eh. Well enjoy your Super Bowl, but after that I'm expecting replies. Even if it says it can not be done. Sorry for the wait. However, it’s the weekend and the office is closed. At this time, support admins are usually only available for emergencies like ( for eg) system issues. Members who help out are volunteers and so aren’t obliged to respond. Also, they may not know the answer to your query and some queries can only be addressed by the admins. Business/office hours are: Mon-Fri 9am-5pm Pacific time (-8 GMT) That was a very polite way of saying I need to be patient with my niche question. I do apologize for my impatience. You know how it is eh. Stuck on something and there is no progress.
|
|
Kami
Forum Cat
Posts: 40,199
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,199
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Feb 12, 2023 9:35:00 GMT -8
Forum URL: (private) [snip by Kami] I have seen there is a plugin under the name "HTML in posts for admin" But that does not seem to do the trick. I am not certain I'll be able to help, but letting us know how the plug-in failed to accomplish your needs would be helpful: please list out in step-by-step order what you did to add HTML in your post, what the HTML was, and what happened when you did post. Thanks!
|
|
lp19
New Member
Posts: 77
inherit
264700
0
Apr 22, 2024 5:17:13 GMT -8
lp19
77
July 2021
lp19
|
Post by lp19 on Feb 13, 2023 4:02:10 GMT -8
Forum URL: (private) [snip by Kami] I have seen there is a plugin under the name "HTML in posts for admin" But that does not seem to do the trick. I am not certain I'll be able to help, but letting us know how the plug-in failed to accomplish your needs would be helpful: please list out in step-by-step order what you did to add HTML in your post, what the HTML was, and what happened when you did post. Thanks! Thanks Kami for yoiur reply. After reading it I asked myself the question what it was I'm doing wrong. I well found the reason the plugin was not working for me. First of all I was doing something wrong with the tag. I added a [/HTML] to finish the code while this was not required. Secondly, the code written after [HTML] only works when a reply has been submitted. Without a first reply the code is shown. As soon as there is a reply the script is executed.
|
|
Kami
Forum Cat
Posts: 40,199
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,199
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Feb 13, 2023 7:26:08 GMT -8
I am not certain I'll be able to help, but letting us know how the plug-in failed to accomplish your needs would be helpful: please list out in step-by-step order what you did to add HTML in your post, what the HTML was, and what happened when you did post. Thanks! Thanks Kami for yoiur reply. After reading it I asked myself the question what it was I'm doing wrong. I well found the reason the plugin was not working for me. First of all I was doing something wrong with the tag. I added a [/HTML] to finish the code while this was not required. Secondly, the code written after [HTML] only works when a reply has been submitted. Without a first reply the code is shown. As soon as there is a reply the script is executed. It sounds like you're all sorted now, right? If you wouldn't mind confirming / denying that would be super :)
|
|
lp19
New Member
Posts: 77
inherit
264700
0
Apr 22, 2024 5:17:13 GMT -8
lp19
77
July 2021
lp19
|
Post by lp19 on Feb 13, 2023 22:30:39 GMT -8
Thanks Kami for yoiur reply. After reading it I asked myself the question what it was I'm doing wrong. I well found the reason the plugin was not working for me. First of all I was doing something wrong with the tag. I added a [/HTML] to finish the code while this was not required. Secondly, the code written after [HTML] only works when a reply has been submitted. Without a first reply the code is shown. As soon as there is a reply the script is executed. It sounds like you're all sorted now, right? If you wouldn't mind confirming / denying that would be super Yeah I guess I can work with what I have indeed. Going to have to look into better on how that post will look like while on mobile version but I understand that this is not something that can be helped in V5.
|
|
Kami
Forum Cat
Posts: 40,199
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,199
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Feb 14, 2023 8:34:00 GMT -8
It sounds like you're all sorted now, right? If you wouldn't mind confirming / denying that would be super Yeah I guess I can work with what I have indeed. Going to have to look into better on how that post will look like while on mobile version but I understand that this is not something that can be helped in V5. For what it's worth, you can disable the v5 mobile view via your admin panel under Upgrades > Experiments. This will force your forum to always use the 'desktop' view; it will likely be a sub-optimal experience for mobile users as they will have to zoom and will likely encounter some compatibility problems, but it will also allow plugins to run. It's up to you to determine which is more important for v5: the correct experience for this thread, or a streamlined mobile experience. (Of course, once v6 rolls around and after someone has made the HTML in posts plugin for v6, you'll no longer have to choose)
|
|
lp19
New Member
Posts: 77
inherit
264700
0
Apr 22, 2024 5:17:13 GMT -8
lp19
77
July 2021
lp19
|
Post by lp19 on Feb 15, 2023 7:08:15 GMT -8
Yeah I guess I can work with what I have indeed. Going to have to look into better on how that post will look like while on mobile version but I understand that this is not something that can be helped in V5. For what it's worth, you can disable the v5 mobile view via your admin panel under Upgrades > Experiments. This will force your forum to always use the 'desktop' view; it will likely be a sub-optimal experience for mobile users as they will have to zoom and will likely encounter some compatibility problems, but it will also allow plugins to run. It's up to you to determine which is more important for v5: the correct experience for this thread, or a streamlined mobile experience. (Of course, once v6 rolls around and after someone has made the HTML in posts plugin for v6, you'll no longer have to choose) Yeah I had that idea a year ago but my members didn't like that to much. I even developed a mobile view in case "mobile view" was off but a big chuck of my members depend on that mobile view. They are watching a footballgame on tv and want to comment on it on the site. So yeah, a big part is mobile users. Doesn't matter, we will have V6 eventually and this solution will be very handy then. Thanks for your assistance.
|
|