Show Banned Message in Topics, Posts and Profile

Started by -=[Vyorel]=-, April 20, 2012, 05:07:13 PM

Previous topic - Next topic

-=[Vyorel]=-

Link to Mod

Show Banned Message in Topics, Posts and Profile

      
         
            
            

            
Created By:
         

            -=[Vyorel]=-
            (View my other mods here)
         

               
Latest Version: 1.7
            

               
My Website
            

            RO Power Hosting
            TruckersMP Romania
            SAMP Romania
         

Summary

It'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 :

  • English
  • Romanian

- This SMF modification is subject to the Mozilla Public License Version 1.1
- http://www.mozilla.org/MPL/


My mods for SMF - [6].

satinof

i installed mods and its showing only in forum posts, how to add to profile?



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.

-=[Vyorel]=-

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.
My mods for SMF - [6].

satinof

#3
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


sbranky

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?

FemR

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?



jsx

@-=[Vyorel]=-

I wanted to install this modification for a theme other than the default one and several failures occur before installation.



Why is this happening? And so I have to manually add these codes first and then install the modification?

-Rock Lee-

@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!
¡Regresando como cual Fenix! ~ Bomber Code
Ayudas - Aportes - Tutoriales - Y mucho mas!!!

Strannik64


Speed King

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

Strannik64

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 [nofollow]

https://www.forum.bg-nacionalisti.org/index.php?topic=28015.0 [nofollow]

Click => [nofollow]

I'll do that :)

Advertisement: