Ajax Javascript

04/03/2022 04:32 forfeitsol#1
It would be awesome if we can use ajax on the post for retrieving informations such as (example is for Apex Legends forum) cheat status or active customer count etc.
04/03/2022 12:11 lordsill#2
Sorry, but we will not do that. Allowing users to embed js code into their posts can be a big problem and can be abused easily for bad things.
If you want to show something like cheat status, customer count etc. you could generate a dynamic image on your server and embed it here.
04/03/2022 22:42 forfeitsol#3
Quote:
Originally Posted by lordsill View Post
Sorry, but we will not do that. Allowing users to embed js code into their posts can be a big problem and can be abused easily for bad things.
If you want to show something like cheat status, customer count etc. you could generate a dynamic image on your server and embed it here.
But images are caching? Need to hard refresh for reload. Is there anything you guys can do about that?
04/03/2022 22:45 Devsome#4
Quote:
Originally Posted by forfeitsol View Post
But images are caching? Need to hard refresh for reload. Is there anything you guys can do about that?
Just create a PHP script which outputs the image with the header no-cache and you are good to go.
04/03/2022 22:50 forfeitsol#5
Quote:
Originally Posted by Devsome View Post
Just create a PHP script which outputs the image with the header no-cache and you are good to go.
I already did. Image is not caching on serverside.
[Only registered and activated users can see links. Click Here To Register...]
It's not a huge thing to make it work, but just want to mention.
(left ePvp, right php)
04/03/2022 22:54 Devsome#6
Quote:
Originally Posted by forfeitsol View Post
I already did. Image is not caching on serverside.
[Only registered and activated users can see links. Click Here To Register...]
It's not a huge thing to make it work, but just want to mention.
(left ePvp, right php)
Might be caching on your site / browser. I got no problems and the image in your thread looks good.

04/04/2022 09:16 lordsill#7
#rejected