vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Mini Mods - [OzzModz] Banned Member Avatar (https://vborg.vbsupport.ru/showthread.php?t=302806)

ozzy47 09-29-2013 10:00 PM

[OzzModz] Banned Member Avatar
 
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

Quote:

Originally Posted by Pocket Aces (Post 2449017)
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

Quote:

Originally Posted by franzes80 (Post 2449067)
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

Quote:

Originally Posted by Mephistoxz (Post 2464444)
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

Quote:

Originally Posted by ozzy47 (Post 2471746)
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

Quote:

Originally Posted by ozzy47 (Post 2473775)
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

Quote:

Originally Posted by ozzy47 (Post 2473845)
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

Quote:

Originally Posted by Alibass (Post 2476866)
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

Quote:

Originally Posted by ozzy47 (Post 2476867)
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

Quote:

Originally Posted by abvolt (Post 2476898)
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


All times are GMT. The time now is 02:00 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.02079 seconds
  • Memory Usage 1,790KB
  • 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
  • (9)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