Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 04 Aug 2007, 19:19
craiovaforum's Avatar
craiovaforum craiovaforum is offline
 
Join Date: Nov 2005
Banned usergroup default avatar

How do I set a default avatar for the banned usergroup?
Is there any way to do this?
After the user is banned to modify his avatar with a default one.
__________________
http://www.craiovaforum.ro
Reply With Quote
  #2  
Old 04 Aug 2007, 22:01
Gray Matter Gray Matter is offline
 
Join Date: May 2005
In postbit or postbit_legacy, find:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and replace it with:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Change the red number to your banned usergroup's ID and the green URL to the URL of the avatar. Hope this works for you.

(Also, remember that this will only affect the avatars within posts, not within member profiles or any other part of the board. You will have to edit those manually if you wish to change them as well.)

Last edited by Gray Matter; 05 Aug 2007 at 02:08.
Reply With Quote
  #3  
Old 05 Aug 2007, 01:24
craiovaforum's Avatar
craiovaforum craiovaforum is offline
 
Join Date: Nov 2005
thanks, it works but I have some problem with the size of the image, it shows up like the original avatar of the person.
__________________
http://www.craiovaforum.ro
Reply With Quote
  #4  
Old 05 Aug 2007, 02:08
Gray Matter Gray Matter is offline
 
Join Date: May 2005
Sorry, I failed to take that into account. I've edited the code I wrote in my original post and it should work fine now.
Reply With Quote
  #5  
Old 21 Aug 2007, 19:22
Spermy Spermy is offline
 
Join Date: Oct 2005
How would you do it to have 2 different usergroups with 2 different pictures?
Reply With Quote
  #6  
Old 21 Aug 2007, 20:25
Reeve of shinra's Avatar
Reeve of shinra Reeve of shinra is offline
 
Join Date: Oct 2001

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #7  
Old 09 Aug 2009, 19:09
wally's Avatar
wally wally is offline
 
Join Date: Aug 2005
doesnt work in vb3.7.4 (i know old topic)

anyone a idea how to get this working in vb3.7.4 (or in 3.8.x)?
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 09:35.

Layout Options | Width: Wide Color: