Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Showgroups with Avatars Details »»
Showgroups with Avatars
Version: 1.00, by Kolbi Kolbi is offline
Developer Last Online: Jan 2022 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.8.x Rating:
Released: 08-18-2009 Last Update: 09-10-2009 Installs: 18
Template Edits Auto-Templates
Translations  
No support by the author.

Search in the template showgroups_usergroupbit
Code:
<td class="$bgclass">$user[onlinestatus]>
add after
Code:
<br />
<if condition="$vbulletin->options['usefileavatar']">
    <if condition="$user['avatarrevision']"><img src="$vboptions[avatarurl]/avatar$user[userid]_$user[avatarrevision].gif" title="$user[username]'s Avatar" alt="Avatar" border="0" /></if>
<else />
    <img src="image.php?u=$user[userid]&amp;dateline=$avatar[dateline]" title="$user[username]'s Avatar" alt="Avatar" border="0" />
</if>
The attached product is for people who use the TMS.
Product and template edits will be included automatically then.

It will look like:
Demo

For people how want to have a fixed avatar width:
Code:
<br />
<if condition="$vbulletin->options['usefileavatar']">
    <if condition="$user['avatarrevision']"><img src="$vboptions[avatarurl]/avatar$user[userid]_$user[avatarrevision].gif" title="$user[username]'s Avatar" alt="Avatar" border="0" width="XX" /></if>
<else />
    <img src="image.php?u=$user[userid]&amp;dateline=$avatar[dateline]" title="$user[username]'s Avatar" alt="Avatar" border="0" width="XX" />
</if>
Just remove the XX from width="XX" and replace it with the width you want to have shown in the showgroups.
The attached product is without this fixed width!
But this is only neccessary if you allow for example your moderators another size for their avatars than your administrators have.

Matthias

Download Now

File Type: xml product-showgroups1.xml (1.9 KB, 88 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 08-19-2009, 05:10 PM
ITDarasgah's Avatar
ITDarasgah ITDarasgah is offline
 
Join Date: Mar 2009
Location: Pakistan
Posts: 144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

good ....very nice let me try
Reply With Quote
  #3  
Old 08-20-2009, 03:11 PM
students_forum's Avatar
students_forum students_forum is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a nice little feature
Thanks
Reply With Quote
  #4  
Old 08-21-2009, 02:00 AM
Faizan Faizan is offline
 
Join Date: Mar 2008
Location: fullmaza.com
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

really appricated dear
Reply With Quote
  #5  
Old 08-21-2009, 09:18 PM
DubaiZone DubaiZone is offline
 
Join Date: Aug 2009
Location: United Arab Emirates {Dxb
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice But really you know ..
The image size will be problem to us ..
Coz some avatars would be larg and big and some might be small
the result will be big miss in the Showgroups ..
But THANK YOU for the MOD ..
Reply With Quote
  #6  
Old 08-23-2009, 05:19 PM
Kolbi Kolbi is offline
 
Join Date: Mar 2009
Location: D - S?dbaden
Posts: 899
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DubaiZone View Post
Nice But really you know ..
The image size will be problem to us ..
Coz some avatars would be larg and big and some might be small
the result will be big miss in the Showgroups ..
But THANK YOU for the MOD ..
If you tell me which size the avatars should be, I can modify it for you.
Reply With Quote
  #7  
Old 10-12-2009, 07:34 PM
Kolbi Kolbi is offline
 
Join Date: Mar 2009
Location: D - S?dbaden
Posts: 899
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Little update for people how want to have a fixed width of their shown avatars in the showgroups
Reply With Quote
  #8  
Old 09-13-2011, 02:23 PM
danyxxx danyxxx is offline
 
Join Date: Oct 2010
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice modification, installed !
Reply With Quote
  #9  
Old 11-11-2012, 09:26 PM
RRCamellini's Avatar
RRCamellini RRCamellini is offline
 
Join Date: Mar 2012
Location: Brazil
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thx a lot my friend
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 01:20 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10135 seconds
  • Memory Usage 2,296KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (1)postbit_attachment
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete