Support Forum

customise report questionable post plugin

SS Shane Stegeman
Shane Stegeman
Member

Hi Simple Press team

 

Would you guys know If I could change label text on report questionable post form? This is such that any plugin updates do not override my changes?

 

Cheers

Sonia

3 Answers

New Answer

SS Shane Stegeman
Shane Stegeman
Member

One more quick question – what file contains the notifications logic? I would like to change the wording of this notification

 

“A user has edit the topic title of ….”

 

thanks

MP Mr Papa
Mr Papa
Member

this is two distinct questions… the second question has nothing to do with the report post plugin…

as to report post form, not exactly sure what you are asking… there are lots of text labels… and are asking in the form shown to users or the form in the email to admins??

if the former,  you could use the ‘sph_ReportPost’ filter and change any of the text that you like…

if the latter, you could use the ‘sph_report_post_email_subject’ filter to change the email subject or ‘sph_report_post_email_msg’ filter to change the body of the email message…

if other, please elaborate…

MP Mr Papa
Mr Papa
Member

oh as to the core notification message, afraid there is not an easy way to change that string… you can use the filter ‘sph_new_notice_data’ to update or change the notice data as part of the db query right before its added…  you can do a search and replace for that string..

you asked which file… it would in sp-db-management.php, function sp_save_edited_topic()… but if you edit it, you will have to change it every release..