PDA

View Full Version : Mini Mods - [OzzModz] Banned Member Avatar


ozzy47
09-29-2013, 10:00 PM
Another mod brought to you by,
https://vborg.vbsupport.ru/external/2015/01/1.png

Here is a small modification you can use to have a default avatar for your banned members, in the postbit.

It is a simple installation, upload the file in the UPLOAD folder, then import the product XML, product-ozzy_banned_member_avatar

You can edit the options under the settings, [OzzModz] Banned Member Avatar Settings

Complete Feature List
Option to disable the mod completely.
Option to select which usergroups are banned groups
Option to set the path and image name to the avatar you want to use.-------------------------------------------------------------------------------------------

If you like this mod please hit the https://vborg.vbsupport.ru/external/2015/08/1.png button to the right ---->

Please remember to click the, https://vborg.vbsupport.ru/external/2015/08/2.png button to the right if you installed the mod ---->

What does 'Marking As Installed' do ?

* It helps you to stay on top of updates - members who have installed modifications will be notified whenever new updates are available.

* For security issues - vbulletin.org will contact all members who have installed a modification whenever a security issue is brought to their attention.

* Marking a modification as installed also helps me know how many people are using my work, giving me extra incentive to provide more features and new modifications.

I appreciate the support!
-------------------------------------------------------------------------------------------

* History (Changelog) *
-------------------------
v1.0.0 (September 29, 2013)
- Initial public release.

v1.0.1 (January 1, 2014)
- Fixed a issue with wrong image name in settings.

v1.1.1 (September 7, 2014)
- Fixed a issue with it not working on some sites.

ozzy47
09-30-2013, 01:14 AM
Reserved.

fleshy66
09-30-2013, 03:13 AM
Great idea.

ozzy47
09-30-2013, 09:12 AM
Glad ya think so, and thanks for marking as installed. :)

Pocket Aces
09-30-2013, 03:19 PM
Just to clarify, this mod does not completely deletes the banned users uploaded avatars right? When ban's lifted, their own avatar will be displayed as normal.

franzes80
09-30-2013, 08:10 PM
good work!!Thank you!!

ozzy47
09-30-2013, 08:24 PM
Just to clarify, this mod does not completely deletes the banned users uploaded avatars right? When ban's lifted, their own avatar will be displayed as normal.

Correct, it just overwrites it in the display.

ozzy47
09-30-2013, 08:25 PM
good work!!Thank you!!

Glad ya like it, don't forget to mark as installed if you are using it. :)

jjohns12
10-04-2013, 02:09 AM
Love it Thanks

ozzy47
10-04-2013, 09:13 AM
Glad ya like it, and thanks for marking as installed. :)

ozzy47
10-11-2013, 10:20 PM
The product was updated, so new installs will see the banned image that is default with the product.

Mephistoxz
11-29-2013, 12:05 AM
Just installed it on a 4.2.1 installation, works like a charm ^^ Thank you!
Just a little suggestion: It should override the profile picture as well ^^

ozzy47
11-29-2013, 01:53 AM
Glad you like it, I'll look into more locations at some point. Thanks for marking as installed. :)

DemOnstar
11-29-2013, 07:05 AM
Downloaded, installed and rated...

All I have to do next is set up a PayPal account for myself...

ozzy47
11-29-2013, 10:12 AM
Glad ya like it, and thanks for marking as installed. :)

Bob_R
01-01-2014, 07:24 PM
Thanks. Marked as Installed. Just waiting for the cache I guess. Shows no image just text where image would be.

Username's avatar

ozzy47
01-01-2014, 07:32 PM
As long as it is all set up right, it should work. What type of caching you running? Did you try to flush the cache?

Bob_R
01-01-2014, 07:55 PM
I got it. In your settings in the AdminCP you have:

images/avatars/banned_avatar/banned 1.gif

I changed it to the proper name:

images/avatars/banned_avatar/banned_1.gif

ozzy47
01-01-2014, 08:07 PM
I could have sworn I fixed that before. :confused:

Bob_R
01-01-2014, 08:10 PM
Just installed it on a 4.2.1 installation, works like a charm ^^ Thank you!
Just a little suggestion: It should override the profile picture as well ^^

And the themename/misc/unknown.gif (but only for banned members, not members with no avatar!)

Bob_R
01-01-2014, 08:11 PM
I could have sworn I fixed that before. :confused:

No problem dude. Thanks for this!

ozzy47
01-01-2014, 08:19 PM
v1.0.1 Available
Fixed issue with wrong image name in the settings.

To upgrade, just re import the XML in the zip file, no need to upload the files to the server.

Everybody should upgrade so you will show the latest version number in your ACP.

chikuru
01-12-2014, 01:18 PM
Doesnt work. Nothing changed..

ozzy47
01-12-2014, 01:19 PM
It should change in the postbit, that is the only place it works as of now.

chikuru
01-12-2014, 03:48 PM
It should change in the postbit, that is the only place it works as of now.

I already tried reinstalling.. Did not work. Banned usergroup ID is 8..
Do you think its a conflict with other plugin?

I don't have mod installed that has hook in postbit..

ozzy47
01-12-2014, 05:06 PM
If you want, PM me a link to the site, a admin account, a link to a post where a banned member posted, and I can look into it for you.

ozzy47
01-12-2014, 05:50 PM
OK I got it going on your site, I had to change the code a bit, $vbulletin->options became $this->registry->options

Alibass
01-25-2014, 10:15 PM
OK I got it going on your site, I had to change the code a bit, $vbulletin->options became $this->registry->options
I installed your mod on my 4.2.2 board today and cannot get it to work. I am using your default root location for the gif file. I also changed the code as you mentioned and flushed the cache and still your mod will not work.

ozzy47
01-25-2014, 10:25 PM
I installed your mod on my 4.2.2 board today and cannot get it to work. I am using your default root location for the gif file. I also changed the code as you mentioned and flushed the cache and still your mod will not work.

Same thong, I can look into it a bit later, if you pm me a admin account, and a link to a thread where a banned member has posted.

Alibass
01-25-2014, 10:59 PM
Same thong, I can look into it a bit later, if you pm me a admin account, and a link to a thread where a banned member has posted.

I just sent you the info via PM for my site.

ozzy47
01-25-2014, 11:01 PM
Ok thanks, I'll check it out a bit later tonight.

Alibass
01-25-2014, 11:12 PM
Thanks, appreciate this. :):up:

ozzy47
01-26-2014, 01:26 AM
Fixed on Alibass's site. :)

Alibass
01-26-2014, 01:47 AM
Thanks ozzy for the extra help.

Great little mod, I recommend to all. :D:up:

ozzy47
01-26-2014, 01:51 AM
Not a problem, hopefully I can figure out which dang way to write it and not have to play around with it anymore. :)

abvolt
01-26-2014, 04:39 AM
Another great mod thanks..

ozzy47
01-26-2014, 09:33 AM
Another great mod thanks..

Thanks, glad ya like it, don't forget to mark as installed. :)

booble
03-14-2014, 06:10 PM
I have 4.2.2 but it not change avatars :(

-mod activated
-Banned Usergroups asigned
-images/avatars/banned_avatar/banned_1.gif

Barcham
03-14-2014, 07:07 PM
Did you place the gif in the proper directory? It may seem like a dumb question but I forgot to do that when I installed it. :D

booble
03-14-2014, 08:46 PM
Yes

images/avatars/banned_avatar/banned_1.gif

Barcham
03-14-2014, 09:09 PM
And are you checking the avatar in a post the banned member has made, not mistakenly looking at the profile picture? That is another error that some people do.

booble
03-15-2014, 12:19 AM
yes... avatr of posts...I tryed with .gif .jpg and not working

ozzy47
03-15-2014, 12:53 AM
yes... avatr of posts...I tryed with .gif .jpg and not working

If you want. you can PM me with a admin account, and FTP info, and I can see what is going on.

booble
03-15-2014, 01:07 AM
ok ozzy, this is localhost, when I upload to host, I pm you ;) Thanks

ozzy47
03-15-2014, 01:09 AM
Ok not a problem. :) But when you PM me reference this thread so I know what it is for. :)

vBarsiv
03-16-2014, 10:31 AM
good work, Thank you. (:

ozzy47
03-16-2014, 10:50 AM
good work, Thank you. (:

Thanks, don't forget to mark as installed. :)

ozzy47
09-07-2014, 10:28 AM
v1.1.1 (September 7, 2014)
- Fixed a issue with it not working on some sites.

ozzy47
09-07-2014, 10:29 AM
To upgrade, import the new XML, allowing overwrite. :)