vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Administrative and Maintenance Tools - Default avatar for banned members in postbit. (https://vborg.vbsupport.ru/showthread.php?t=236585)

borbole 02-21-2010 10:00 PM

Default avatar for banned members in postbit.
 
1 Attachment(s)
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

Quote:

Originally Posted by lemonadesoda (Post 1988847)
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

Quote:

Originally Posted by Speysider (Post 1998302)
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.

Code:

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

Originally Posted by princeedward (Post 1998314)
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

Quote:

Originally Posted by bigcurt (Post 2005704)
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.

Code:

<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

Quote:

Originally Posted by Bouncer222 (Post 2006237)
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

Quote:

Originally Posted by Leb (Post 2010286)
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

Quote:

Originally Posted by borbole (Post 2033856)
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

Quote:

Originally Posted by MichaelDance (Post 2044864)
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

Quote:

Originally Posted by chingon (Post 2046200)
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.

Quote:

Originally Posted by Kaitou Ace (Post 2057955)
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

Quote:

Originally Posted by Kaitou Ace (Post 2058456)
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

Quote:

Originally Posted by Kaitou Ace (Post 2058456)
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.


All times are GMT. The time now is 06:32 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01812 seconds
  • Memory Usage 1,814KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete