Simple Machines Community Forum

SMF Support => SMF 2.1.x Support => Topic started by: Alex98 on April 07, 2024, 04:44:57 PM

Title: Banded user
Post by: Alex98 on April 07, 2024, 04:44:57 PM
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
Title: Re: Banded user
Post by: Steve on April 07, 2024, 06:01:21 PM
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?
Title: Re: Banded user
Post by: Kindred on April 07, 2024, 07:06:23 PM
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.
Title: Re: Banded user
Post by: Alex98 on April 08, 2024, 12:07:37 AM
I had that system already on version 2.0. and displayed the adjusted rank to the banded user
Title: Re: Banded user
Post by: Kindred on April 08, 2024, 12:24:52 AM
That was a mod. AFAIK, it was never updated to work with 2.1.x

Title: Re: Banded user
Post by: Alex98 on April 08, 2024, 01:01:59 PM
I somehow did that via display.template
Instead of the displayed rank, there was a sign for a banded user
Title: Re: Banded user
Post by: Aleksi "Lex" Kilpinen on April 08, 2024, 01:13:04 PM
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.
Title: Re: Banded user
Post by: Alex98 on April 08, 2024, 01:37:58 PM
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
Title: Re: Banded user
Post by: Doug Heffernan on April 08, 2024, 01:56:56 PM
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.
Title: Re: Banded user
Post by: Alex98 on April 08, 2024, 04:04:15 PM
Quote from: Doug Heffernan on April 08, 2024, 01:56:56 PM
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.
I didn't even ask for help until I drained all my capacities
Title: Re: Banded user
Post by: Kindred on April 08, 2024, 04:47:33 PM
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
Title: Re: Banded user
Post by: Bob Clifton on May 14, 2024, 12:12:50 PM
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 .