I have a quick way to add a scammer alert on users postbit and profiles to warn other users if said person is a scammer.
You will need template conditionals installed which you can find here
to start you will need to open up your postbit_classic and member_profile template and add this code in the place you want it to display
Next you need to create a custom profile field using the template below
Tittle: Scam Alert
Short Description: Editable only by our staff
Field Type: Textbox
Required?: No
Show on Registration?: NO
Display on profile?: No
Display on postbit?: No
Viewable By: All groups
Editable By: Your moderators
You will need to change the X in this line <if $post['fidX'] then> to match the number on your custom field by opening up the field you created and looking for the number at the end of the url.
you can add this to your global css and adjust as needed
.scam-alert{padding: 4px 0px;text-align: center;border-radius: 3px;font-size: 11px;text-transform: uppercase;font-weight: 500;background: #131313;color: #ff000c;margin-right: 29px;border: 1px solid #b50202;margin: auto;width: 77%;}
When all said and done should look like this
MyBB Tutorials
Scam Report on Profile and Postbit No Plugin
Submitted by sudo rm rf, 20-06-2021, 11:21 PM, Thread ID: 209758
Thread Closed
RE: Scam Report on Profile and Postbit No Plugin
RE: Scam Report on Profile and Postbit No Plugin 03-07-2021, 03:19 AM #3
03-07-2021, 03:19 AM
#3