MyBB Tutorials

Scam Report on Profile and Postbit No Plugin

Submitted by sudo rm rf, , Thread ID: 209758

Thread Closed
20-06-2021, 11:21 PM
This post was last modified: 25-06-2021, 04:32 AM by sudo rm rf
#1
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

Content locked
This content has been locked. Please login or register in order to unlock it.



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

[Image: 4WUQNsA.png]

[Image: 4SbDQFB.png]
1

Users browsing this thread: 2 Guest(s)