Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Display Avatar Thumbnails in WGO on Forum Home Details »»
Display Avatar Thumbnails in WGO on Forum Home
Version: 0.05a, by Sarteck Sarteck is offline
Developer Last Online: Jun 2020 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 4.1.x Rating:
Released: 07-24-2012 Last Update: 07-30-2012 Installs: 18
Uses Plugins
Re-useable Code  
No support by the author.

Created on and tested with 4.1.11, although it will probably work with most other versions.

This Modification allows an Admin to make Avatar thumbnails display in the Who's Online portion of the What's Going On section (usually located at the bottom of the Forum Home).

This modification allows the Admin to specify maximum height and/or width to the thumbnails. It also allows an Admin to specify a specific image to use as a default thumbnail for those users without avatars. Alternatively, it allows for an Admin to decide if Users withut avatars should jsut have their username displayed as normal.


Included in the settings (and disabled by default) is an option to "give credit" to CleverBaka. All this does is add a link to my forum in your forum's footer. It's entirely optional, but I hope you'll give credit if you don't mind the tiny bit of clutter in your footer.





To install, simply import the provided XML file in your Product Manager.



You have full permission to modify this to suit your needs, and I'm always open to input.





What this Modification does [Technical]:
--adds fields to the query that searches for logged in users.
--adds table joins to the query that searches for logged in users.
--does not add any queries
--replaces the "Marked Up Username" with an image of the user's avatar.



Update (25.JUL.12) [0.02a]
  • Added "title" attribute to Image element so that Username shows when hovering your mouse cursor over a thumbnail
  • Added Product URL.
  • Added Version Check URL.
Update (26.JUL.12) [0.03a]
  • Options now successfully install. (Sorry 'bout that guys.)
Update (26.JUL.12) [0.04a]
  • Fixed a bug that was not showing the currently logged in user.
  • Got rid of some unnecessary testing code.
Update (31.JUL.12) [0.05a]
  • Added an option that allows an Admin not to display commas between the avatars.







Screenshots:



Download Now

File Type: xml product-sar_wgo_avatars.xml (6.2 KB, 150 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
yilmaz

Comments
  #2  
Old 07-25-2012, 08:11 AM
Sarteck's Avatar
Sarteck Sarteck is offline
 
Join Date: Mar 2008
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is my first "official" and "full" modification. Please be gentle.
Reply With Quote
  #3  
Old 07-25-2012, 04:22 PM
faisaly.com faisaly.com is offline
 
Join Date: Mar 2007
Posts: 226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where are the options I am not seeing any options after uploading .xml in settings/options? also causes mysql errors using vB4.2.0...

o well nice try...
Reply With Quote
  #4  
Old 07-25-2012, 06:03 PM
sadiq6210 sadiq6210 is offline
 
Join Date: Sep 2005
Posts: 684
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any screenshot?
Reply With Quote
  #5  
Old 07-25-2012, 10:58 PM
Sarteck's Avatar
Sarteck Sarteck is offline
 
Join Date: Mar 2008
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@faisaly.com:
Options are in AdminCP ----> Settings ----> Options ----> Avatar -> WGO
As for 4.2.0, I dunno. This is for 4.1.x.

@sadiq6210:
Next time I got a decent number of members online at my forums, I'll take a screenshot or two. X3
Reply With Quote
  #6  
Old 07-25-2012, 11:12 PM
Sarteck's Avatar
Sarteck Sarteck is offline
 
Join Date: Mar 2008
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah. I guess the settings did have to be saved separately. >_> My bad.

I'll add them into the product XML stuff when I figure out how, for now there's a vBulletin Settings XML that should work.
Reply With Quote
  #7  
Old 07-26-2012, 01:17 AM
Sarteck's Avatar
Sarteck Sarteck is offline
 
Join Date: Mar 2008
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, now the Setting Group successfully isntalls. Sorry about that. X3
Reply With Quote
  #8  
Old 07-26-2012, 01:32 AM
Sarteck's Avatar
Sarteck Sarteck is offline
 
Join Date: Mar 2008
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Another minor update.

Had some useless code left over from my testing that I deleted.

Also fixed a bug that made it so that the currently logged in was not showing.
Reply With Quote
  #9  
Old 07-26-2012, 01:44 AM
thecore762 thecore762 is offline
 
Join Date: Jul 2008
Posts: 510
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are there any screenshots?
Reply With Quote
  #10  
Old 07-26-2012, 02:09 AM
Sarteck's Avatar
Sarteck Sarteck is offline
 
Join Date: Mar 2008
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default


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 12:10 AM.


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.15050 seconds
  • Memory Usage 2,314KB
  • Queries Executed 26 (?)
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
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete