Hello, guys.
I knew to do this but I just blocked it.
How can I add to the post box that the user is a banded to show him a picture that he is a banded instead of the primary rank.
I hope you understand
Quote from: Alex98 on April 07, 2024, 04:44:57 PMI hope you understand
Sorry, but I'm afraid I don't.
Are you talking about the post box being the one I'm currently typing in?
Unless you create a separate user group for banned users, there is no way to do this in smf by default.
As user's banned status is not generally displayed for every user to see.
I had that system already on version 2.0. and displayed the adjusted rank to the banded user
That was a mod. AFAIK, it was never updated to work with 2.1.x
I somehow did that via display.template
Instead of the displayed rank, there was a sign for a banded user
There have been mods to do this, for example Label for banned members (https://custom.simplemachines.org/index.php?mod=4152), but as you can see by the edits it does it's not exactly that simple. You could take a look at Show Banned Message in Topics, Posts and Profile (https://custom.simplemachines.org/index.php?mod=3384) as well, that's for a 2.1 pre-release version, and could actually work - or be easily updated.
Quote from: Aleksi "Lex" Kilpinen on April 08, 2024, 01:13:04 PMThere have been mods to do this, for example Label for banned members (https://custom.simplemachines.org/index.php?mod=4152), but as you can see by the edits it does it's not exactly that simple. You could take a look at Show Banned Message in Topics, Posts and Profile (https://custom.simplemachines.org/index.php?mod=3384) as well, that's for a 2.1 pre-release version, and could actually work - or be easily updated.
not work.
Come on guys, it was very easy, the code was in 2 lines, you just added Show_banded user and the url of the image, something like that. and then when the ban user gets that rank
Quote from: Alex98 on April 08, 2024, 01:37:58 PMnot work.
If it doesn't work the way it is, then it's easily updated as mentioned above. Did you even try it?
Quote from: Alex98 on April 08, 2024, 01:37:58 PMCome on guys, it was very easy, the code was in 2 lines, you just added Show_banded user and the url of the image, something like that. and then when the ban user gets that rank
You have being given too much help with this, and you are not making any efforts to help yourself at all, but expect to be spoon-fed.
Quote from: Doug Heffernan on April 08, 2024, 01:56:56 PMQuote from: Alex98 on April 08, 2024, 01:37:58 PMnot work.
If it doesn't work the way it is, then it's easily updated as mentioned above. Did you even try it?
Quote from: Alex98 on April 08, 2024, 01:37:58 PMCome on guys, it was very easy, the code was in 2 lines, you just added Show_banded user and the url of the image, something like that. and then when the ban user gets that rank
You have being given too much help with this, and you are not making any efforts to help yourself at all, but expect to be spoon-fed.
I didn't even ask for help until I drained all my capacities
If you know that it was just two lines of code, then go ahead and change those lines of code in your 2.1.x installation.
Otherwise, believe us when we say that it's not quite that simple...
Or head over to the mod requests board and ask for someone to rewrite it for you. Specify free or paid when you request
If you are an admin just go to the users profile and put BANNED in the slot for Custom Title . You can put a Dunce Capped guy in the pic too or something else if you want to . Or just Delete the account .