PDA

View Full Version : Administrative and Maintenance Tools - Default avatar for banned members in postbit.


borbole
02-21-2010, 10:00 PM
This is a simple mod that will allow you to show a default avatar for your banned members in postbit. To install the mod, import the Default Ban Avatar.xml file from the Acp-Plugins aand Products and upload the banned.jpg image to your images/avatar folder.

You can enable and disable the mod at Settings-Options-User Banning Options. Where you can also enter the url to whatever image you wish to use a default avatar for your banned members.

lemonadesoda
02-22-2010, 03:41 PM
Nice idea. Would be great if you built in a graphic processing engine... take their current avatar, make it B&W, then put a red X across it. Now that would be a perfect setup.

Aceman
02-22-2010, 05:18 PM
You could do that by setting the background of the sell as the avatar, then putting a PNG file of the red X into the sell. You'd have to set the cell/div to the size of your avatars for your site. But probably doable.

BlackJacket
02-22-2010, 08:57 PM
Nice idea. Would be great if you built in a graphic processing engine... take their current avatar, make it B&W, then put a red X across it. Now that would be a perfect setup.

Thats a great idea!

whitedd
02-22-2010, 09:43 PM
...installed...but dont work...

borbole
02-23-2010, 08:23 AM
Did you enable it after you installed it? What about the image, did you upload it to the avatar''s folder? What theme are you using?

Speysider
03-06-2010, 08:11 AM
Can we use this mod for vB3.x and if not, will a version for vB3.x be released?

princeedward
03-06-2010, 08:34 AM
nice...how about creating same like this for in-active members let say starting 1 month or there is a settings of how many months start that the users is counted as in active...then their avatar will auto change with our prefered in active avatar....else if they comeback it will show again their original own avatar....hope this is possible...

i was thinking this quite long time already...

thanks and best regards

:p:up:

borbole
03-11-2010, 07:27 AM
Can we use this mod for vB3.x and if not, will a version for vB3.x be released?

Try to remove the following code from the xml file and give it a go. Hopefully it will work on a 3.8 version as well. But test it first at your test forum.

<dependency dependencytype="vbulletin" minversion="4.0.0" maxversion="5.0.0" />

nice...how about creating same like this for in-active members let say starting 1 month or there is a settings of how many months start that the users is counted as in active...then their avatar will auto change with our prefered in active avatar....else if they comeback it will show again their original own avatar....hope this is possible...

i was thinking this quite long time already...

thanks and best regards

:p:up:

That is an interesting idea, however it exceeds my mods funcionality. This is best to be created as a mod on its own. Try to request it at the Request section and hopefully someone will create it for you.

bigcurt
03-17-2010, 05:35 PM
Do you still think this will work in 3.8? I know I keep asking you for your mods, but you make such good ones ;P.

borbole
03-18-2010, 12:08 PM
Do you still think this will work in 3.8? I know I keep asking you for your mods, but you make such good ones ;P.

Thanks. About vb 3x, the thing is that I don't use it and wouldn''t know if it work there or not. But tell you what, try to remove this line from the xml file and give it a go, but at your test forum. If it works then install it at your live forum.

<dependency dependencytype="vbulletin" minversion="4.0.0" maxversion="5.0.0" />

Bouncer222
03-19-2010, 02:47 AM
upload the banend.jpg

banend.jpg or banned?
mistype?

borbole
03-19-2010, 11:55 AM
upload the banend.jpg

banend.jpg or banned?
mistype?

It was a typo. I fixed it. Thanks for letting me know about it.

-=Leb=-
03-25-2010, 10:05 PM
they deserve a nasty avatar for banned users lol :p

borbole
03-26-2010, 12:24 AM
they deserve a nasty avatar for banned users lol :p

They certainly do :D

GiaoThong
04-01-2010, 12:05 AM
Very nice. Thank you

borbole
04-02-2010, 01:30 PM
You are welcome.

sticky
04-18-2010, 06:41 AM
Will this work for any banned usergroup or just default?

BadgerDog
04-24-2010, 02:55 PM
Installed ... thanks .. :)

Any chance of having it also display the same "banned" avatar in the User Profile? It still shows original default avatar ...

Regards,
Badger

imbonez9
04-24-2010, 05:20 PM
I second the banned avatar in user profile idea

borbole
05-08-2010, 07:27 PM
I might a look at it if I will have some free time later.

BadgerDog
05-09-2010, 01:51 PM
I might a look at it if I will have some free time later.

Thank you ... appreciate that ... :up:

Regards,
Badger

MichaelDance
05-28-2010, 11:16 PM
Hey mate, can you do this but a Default Avatar cause i cant find out how to use my .png for the Default Avatar and i can with your options for the Banned, Can you help me thanks :)

borbole
05-29-2010, 12:30 AM
Hey mate, can you do this but a Default Avatar cause i cant find out how to use my .png for the Default Avatar and i can with your options for the Banned, Can you help me thanks :)

I believe that there is already a default avatar mod.

chingon
05-31-2010, 08:18 PM
There is and I have it installed, possibly why this one is not working for me? Uninstalled, thanks anyway. Oh, and yes I uploaded the pic.

Kaitou Ace
06-23-2010, 06:55 AM
Installed, but doesn't seem to work.

borbole
06-23-2010, 04:05 PM
There is and I have it installed, possibly why this one is not working for me? Uninstalled, thanks anyway. Oh, and yes I uploaded the pic.

I can''t really say as I am not familiar with the other mod.

Installed, but doesn't seem to work.

Did you enable it and follow the other instructions as well?

Kaitou Ace
06-23-2010, 09:26 PM
Yeah, and I found the problem. It's hard-coded with group 8 being banned, but since my forum used to be an ipb some 5 years back, my banned group is different. Hardcoded the hook for the banned groups I use and it's fine now.

borbole
06-24-2010, 02:43 PM
Yeah, and I found the problem. It's hard-coded with group 8 being banned, but since my forum used to be an ipb some 5 years back, my banned group is different. Hardcoded the hook for the banned groups I use and it's fine now.

Glad to hear that you got it worked out. I used the standard vb gid for the banned group.

mimi123
06-28-2010, 11:33 PM
i installed it. i was able to upload it at plugins-import/upload

but uploading the avatar did not work it says this :

There was an error encountered with your upload:
•Imageinfo Failed:

behnam
07-07-2010, 10:37 AM
installed on 4.0.4 not working at all :-(

BadgerDog
07-08-2010, 10:16 AM
Working fine for us under 4.0.4pl1 ...

Regards,
Badger

odln018
07-12-2010, 01:14 PM
Is there a version of this for 3.8.x?

Datok
07-30-2010, 02:36 AM
Hi,

Thank you for that... I have been using it...

Is there anyway you could do one that shows that the member has been warned?

Thank you in advance.

Regards

alan92rttt
08-12-2010, 05:05 PM
I had it working on 404.

I modified another plugin and its stopped working.

I uninstalled /reinstalled and it still does not work.

I turned off all of the other plugins running on postbit_display_complete it still does not work.

Any suggestions on what I should look at? Does it modify any templates?

sonixax
11-06-2010, 08:04 PM
not working

Droptop
11-30-2010, 01:37 AM
working on 4.0.8 PL2. Thanks

naavian
12-23-2010, 11:34 AM
Yeah, and I found the problem. It's hard-coded with group 8 being banned, but since my forum used to be an ipb some 5 years back, my banned group is different. Hardcoded the hook for the banned groups I use and it's fine now.

My banned usergroupid is 13.
I edited xml;
if ($this->registry->options['avatarenabled'] && $this->post['usergroupid'] == 8)
as
if ($this->registry->options['avatarenabled'] && $this->post['usergroupid'] == 13)

than installed it and uploaded jpg to images/avatars/ folder as banned.jpg

Still not working =(

4.1.0 PL2

Da-Vinci
01-13-2011, 10:52 PM
I think it has just stopped working for 4.1.0 PL2, it used to work great but sadly it no longer works for me either.

Here's the avatar I made for it should it get updated.

http://www.nzb-forum.com/images/avatars/banned.png

overlord73978
02-19-2011, 10:09 PM
Tried it with 4.1.2 and no luck.

Popa Andrei
03-31-2011, 01:45 PM
just noticed on mi forum that it doesent show the images enimore.
Ani idea why?

arche4335
04-24-2011, 09:46 AM
Worked on 4.1.3. Thanks

Nico de Vries
07-03-2011, 08:23 AM
Doesn't work (4.1.4).

Is there anything else that works that does something similar for V4?

Conehead555
08-28-2011, 02:03 AM
Works perfect 4.1.4

Omniverse
10-13-2011, 08:30 AM
thanks a bunch for this, much <3

-Omni

luismoreira
10-28-2011, 11:03 AM
Hello man, i need one addon for: if the member (non-banned users) dont set avatar, have one default, you can help me?

Da-Vinci
04-13-2012, 07:37 AM
Just tried installing this mod again on a brand new 4.1.11 PL1, and it's not showing the avatar, would love to see an update for this.

killerford
10-20-2012, 11:28 PM
Does this work for 4.2?

borbole
10-21-2012, 11:00 AM
Does this work for 4.2?

I have not tried it on 4.2x versions to be honest.

49er
10-21-2012, 12:16 PM
Not working on 4.1.7 either .... :down: