Link to Mod (https://custom.simplemachines.org/mods/index.php?mod=3384)
Show Banned Message in Topics, Posts and Profile
Created By: | -=[Vyorel]=- (http://www.simplemachines.org/community/index.php?action=profile;u=200419) (View my other mods here (http://custom.simplemachines.org/mods/index.php?action=search;author=200419)) |
Latest Version: 1.7 |
My Website | RO Power Hosting (https://www.ro-ph.com) TruckersMP Romania (https://www.truckersmp.ro) SAMP Romania (https://www.sa-mp.ro) |
SummaryIt's a simple mod. This mod show a banned message in topics, posts and profile for banned members.
Support Version of SMF :
- SMF 1.1.16
- SMF 1.1.17
- SMF 1.1.18
- SMF 1.1.19
- SMF 1.1.20
- SMF 1.1.21
- SMF 2.0.2
- SMF 2.0.3
- SMF 2.0.4
- SMF 2.0.5
- SMF 2.0.6
- SMF 2.0.7
- SMF 2.0.8
- SMF 2.0.9
- SMF 2.0.10
- SMF 2.0.11
- SMF 2.0.12
- SMF 2.0.13
- SMF 2.0.14
- SMF 2.0.15
- SMF 2.0.16
- SMF 2.0.17
- SMF 2.0.18
Language :
- This SMF modification is subject to the Mozilla Public License Version 1.1
- http://www.mozilla.org/MPL/
(https://www.ro-ph.com/images/logo.png) (https://www.ro-ph.com)
i installed mods and its showing only in forum posts, how to add to profile?
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi48.tinypic.com%2F34q6zrq.png&hash=9c2e3f0dfd3a18b379d4734e4348c0a79a583993)
i have edited themes/default/profile.template.php but just nickname appear :(
What i need to do?
I need to slash nickname and add "USER IS BANNED"(uĹžblokuotas)
-
MOds:
http://custom.simplemachines.org/mods/index.php?mod=2960
http://custom.simplemachines.org/mods/index.php?mod=3384
they working only in forum posts, i need too add it to profile.
Update!
- Now, this message appear in topics, posts and profile.
- Added 2 images for demo
Quote from: satinof on June 26, 2012, 07:09:21 AM
i installed mods and its showing only in forum posts, how to add to profile?
...
they working only in forum posts, i need too add it to profile.
Redownload and reinstall this mod. :)
Thanks for idea.
Quote from: -=[Vyorel]=- on June 28, 2012, 07:08:00 AM
Update!
- Now, this message appear in topics, posts and profile.
- Added 2 images for demo
Quote from: satinof on June 26, 2012, 07:09:21 AM
i installed mods and its showing only in forum posts, how to add to profile?
...
they working only in forum posts, i need too add it to profile.
Redownload and reinstall this mod. :)
Thanks for idea.
damn i love you <3
Hi,
I installed this mod and working properly by admin,
a normal user but I see the word "banned" only topics, but do not see it in the user profile,
It 'possible that the forum profile functions only by admin? I would also to be seen in the user profile to all user and not only by admin, is it possible?
Hi -=[Vyorel]=-,
Thanks for the mod, just what I'm looking for.
I have the same issue as above though - regular users don't see it ('Banned!') in profile pages... only in posts. I thought you updated it to show?
@-=[Vyorel]=-
I wanted to install this modification for a theme other than the default one and several failures occur before installation.
(https://i.imgur.com/ebI8pfC.png)
Why is this happening? And so I have to manually add these codes first and then install the modification?
@jsx It may be that since it is a custom theme, the code should not search, so I see it adapt to the default. You can guide through the comments of the file to quickly find where you have to edit...
While I'm at it I leave the translation to Latin Spanish.
<file name="$themedir/languages/Modifications.spanish_latin.php" error="Skip">
<operation>
<search position="end" />
<add><![CDATA[
// Show Banned Message Start
$txt['banned'] = 'Baneado';
// Show Banned Message End
]]></add>
</operation>
</file>
<file name="$themedir/languages/Modifications.spanish_latin-utf8.php" error="Skip">
<operation>
<search position="end" />
<add><![CDATA[
// Show Banned Message Start
$txt['banned'] = 'Baneado';
// Show Banned Message End
]]></add>
</operation>
</file>
Regards!
Please mod update for 2.1.2
I think this can be set without any mod - just create separate membergroup called "Banned" and assign there some minimal permissions. Then move to that group all banned users.
See it working on my forum:
https://www.forum.bg-nacionalisti.org/index.php?action=groups;sa=members;group=12
https://www.forum.bg-nacionalisti.org/index.php?topic=28015.0
Click => (https://i.postimg.cc/2qYG0zS7/2022-06-06.png) (https://postimg.cc/2qYG0zS7)
Quote from: Speed King on June 06, 2022, 07:58:58 AMI think this can be set without any mod - just create separate membergroup called "Banned" and assign there some minimal permissions. Then move to that group all banned users.
See it working on my forum:
https://www.forum.bg-nacionalisti.org/index.php?action=groups;sa=members;group=12
https://www.forum.bg-nacionalisti.org/index.php?topic=28015.0
Click => (https://i.postimg.cc/2qYG0zS7/2022-06-06.png) (https://postimg.cc/2qYG0zS7)
I'll do that :)
Update for SMF 2.1.4, please.