XF 2.2 How to hide all custom user titles

OK it worked but not the results I was hoping for. Some members can still input a custom user title and I don't want them to. I have that permission set to NEVER and rebuilt the caches several times and it does not work

When I added the code above, it worked but then no user titles showed up at all so I turned it off. I appreciate any help.
 
I have that permission set to NEVER and rebuilt the caches several times and it does not work
If the permission is set to never they can not add a custom title.

You have something set up incorrectly, or a third party add-on or other code is involved.
 
This thread was not started by me and I see that the person was shown how to hide the custom title but not how to remove it which I think is the issue with me. This is certainly a learning experience. I need to remove the custom title of everyone that typed one it but the default custom title made by my system needs to show in its place.
I appreciate all for he inlput.
 
Yes, removing a permission does not remove the content - the same applies to existing signatures if the permission is removed.

The existing content needs to be deleted and then the default title will be used.
 
Ultimately, I think the easiest would be to run a script that would delete any characters in the custom user title areas of existing members then just rebuild the user cache and that should fix it. I just have to figure out how to remove them instead of looking one by one.
 
This was possible in xf1 but not sure if the schema is the same in 2 - perhaps @Paul B can confirm.

 
I have a way to go then. My site is on AWS and I don't have anything set up such as an SQL editor. I have to figure that all out. Again, I appreciate the help.

This has come a long way since I wrote basic programming on a Radio Shack TRS-80 and saved the programs on an audio cassette before the 5-1/4" floppy came out. I am way, way behind.
 
Back
Top Bottom