MyBB Community Forums

Full Version: Banned User Avatar
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey guys,

As I know very little to nothing about web development, I would like to ask someone with experience to make a simple mod which would change a user's avatar once they get banned. It would be wonderful if someone took a little bit of their time to make this modification and release it to the public.

Thanks for reading my suggestion/request.
The modification is partially what I am looking for, but I am not looking to purchase any memberships to acquire a copy. I'm sure a mod like this wouldn't take too long to create. If I knew how to work with PHP, I would just create the plugin and publicize it.
Do you actually want to change the avatar? Or just adjust it in some way?
(2012-10-26, 01:16 PM)Bumbanut Wrote: [ -> ]The modification is partially what I am looking for, but I am not looking to purchase any memberships to acquire a copy. I'm sure a mod like this wouldn't take too long to create. If I knew how to work with PHP, I would just create the plugin and publicize it.

I'm not charging for just this. You're paying for 150+ plugins.
(2012-10-26, 01:24 PM)Leefish Wrote: [ -> ]Do you actually want to change the avatar? Or just adjust it in some way?
Change it completely. I believe that it could be done with the use of phpMyAdmin commands, but I am looking for a plugin which will automatically do it to all users once they have been banned and change it back to their previous avatar once they are unbanned.

(2012-10-26, 02:33 PM)Yaldaram Wrote: [ -> ]I'm not charging for just this. You're paying for 150+ plugins.
I understand, but I am most likely not going to use any other plugins that you offer. Perhaps if I need more than one plugin from you and I cannot find a way to acquire a similar plugin, I might purchase a membership for that purpose.
I have a work around for this if you do not want to purchase a plugin follow these steps

1) Download and Activate the Conditional Templates Plugin from
http://mybbhacks.zingaburga.com/showthread.php?tid=464

2) Then go to Templates --> Current Template --> Member Templates --> member_profile

3) Find {$avatar} replace it with this

4) Use this code
<if $usertitle=="Banned" then><img src="PATH TO THE DEFAULT AVATAR" width="120" height="102" /><else>{$avatar}</if>

Note : This is the easiest way I could do this for you..This checks the members usertitle and then does the action..on most forums the Banned Usertitle is always Banned hence ive kept the condition that way..just incase you have something different on you forum replace the "Banned" with your code Wink

There may be more ways to achieve this ;(

I know you are looking for a plugin..but just incase no one is making it for you u can do it yourself Wink