News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Banded user

Started by Alex98, April 07, 2024, 04:44:57 PM

Previous topic - Next topic

Alex98

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

Steve

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?
DO NOT pm me for support!

Kindred

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.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Alex98

I had that system already on version 2.0. and displayed the adjusted rank to the banded user

Kindred

That was a mod. AFAIK, it was never updated to work with 2.1.x

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Alex98

I somehow did that via display.template
Instead of the displayed rank, there was a sign for a banded user

Aleksi "Lex" Kilpinen

There have been mods to do this, for example Label for banned members, 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 as well, that's for a 2.1 pre-release version, and could actually work - or be easily updated.
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Alex98

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, 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 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

Doug Heffernan

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.

Alex98

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

Kindred

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
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Bob Clifton

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 .
If a Grasshopper Carried a Shotgun the Birds wouldn't Mess With Them

Advertisement: