![]() |
[SOVED]Banned Group Avatar ( modification based on groupid ) 3.8.x
Hello,
I need a modification that will put a single image to all users that are banned maybe the modification can be made for the usergroupd id .. or something like that ( 3.8.x ) . Kind Regards ! |
You could make a plugin in Plugin Manager-> Add A New Plugin
hook: postbit_display_complete Give it a name, leave execution order as 5. php code: PHP Code:
|
ok, thanks a lot, I will try that :D
|
Hei... doesn't work man :(
|
Quote:
|
Yes ...
But I use another modification for the users with no avatar .. maybe because that? |
Possible... try changing the execution order from 5 to 8.... if nothing change it from 8 to 2, see if either helps.
|
aaa , I will try this , I return with reply
--------------- Added [DATE]1316009592[/DATE] at [TIME]1316009592[/TIME] --------------- Nothing happens.. I try with 2, 8, 1, 10 ... doesn't work . I have this modification: PHP Code:
I try this way --> PHP Code:
PHP Code:
PHP Code:
I try this way to --> PHP Code:
|
I don't know what you are doing with:
Code:
<if condition="is_member_of($bbuserinfo, array(123))"> Code:
<if condition="is_member_of($bbuserinfo, 1, 2, 3)"> Banned usergroup is usually 8. |
My banned groupid is 123 :)
But not that is the problem ... --------------- Added [DATE]1316020189[/DATE] at [TIME]1316020189[/TIME] --------------- Yuhuuuuu , I make the modification succesfully . Was pretty simple, look : I search in postbit_legacy for <if condition="$show['avatar']"> And I find: PHP Code:
PHP Code:
PHP Code:
You can replace 123 with your banned groupid , usually 8 . ENJOY ( for who's looking after this modification ) :p |
All times are GMT. The time now is 03:05 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|