hi! two quick questions:
1) can a thread be created from CLI , via either mysql or php executable? (lets say, i want to. auto generate some stats or reporting and make them a regular occurring thread)
2) can uploads be screened for nudity and or csam using something like sightengine ?
one way that could be done is forking off a shell command that has them review it by URL, and then running a sql command to delete the media or something like that if it gets flagged by the provider. i also have some existing php code in existing software that might be portable or usable for it.
are there any existing plugins scripts or docs on implementing point 2? like, at a minimum can we invoke a “antivirus” scanner or something where i can append this into the scan?
scanning or banning media uploads is unfortunately a must-have and im not clear on it being a feature of XF itself.
i did see this: https://xenforo.com/community/resources/jazzaaf-xenantivirus.7341/
which has me wondering what theyre hooking into because id just want to basically do that… just with a moderation service.
i guess while im on the subject, are there any hooks that can trigger a scan of post content as well?
all of these points would be solved if i have any way to just watch specific tables and process the text or media inside them (probably.) which is kind of what im doing in existing solution, its awful but it works
i dont need it made for me i just need to know how to trigger my own post processing scripts for a thread, image, or topic i guess?
thanks
1) can a thread be created from CLI , via either mysql or php executable? (lets say, i want to. auto generate some stats or reporting and make them a regular occurring thread)
2) can uploads be screened for nudity and or csam using something like sightengine ?
one way that could be done is forking off a shell command that has them review it by URL, and then running a sql command to delete the media or something like that if it gets flagged by the provider. i also have some existing php code in existing software that might be portable or usable for it.
are there any existing plugins scripts or docs on implementing point 2? like, at a minimum can we invoke a “antivirus” scanner or something where i can append this into the scan?
scanning or banning media uploads is unfortunately a must-have and im not clear on it being a feature of XF itself.
i did see this: https://xenforo.com/community/resources/jazzaaf-xenantivirus.7341/
which has me wondering what theyre hooking into because id just want to basically do that… just with a moderation service.
i guess while im on the subject, are there any hooks that can trigger a scan of post content as well?
all of these points would be solved if i have any way to just watch specific tables and process the text or media inside them (probably.) which is kind of what im doing in existing solution, its awful but it works
i dont need it made for me i just need to know how to trigger my own post processing scripts for a thread, image, or topic i guess?
thanks
Last edited: