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

Reply
 
Thread Tools
Avatar on forumdisplay Details »»
Avatar on forumdisplay
Version: 1.1, by Allan Allan is offline
Developer Last Online: Mar 2017 Show Printable Version Email this Page

Version: 3.6.4 Rating:
Released: 01-07-2007 Last Update: 01-09-2007 Installs: 81
Uses Plugins Template Edits
Additional Files  
No support by the author.

Avatar on forumdisplay
(Compatible All vB3.6)




Description: Add avatar to user who have create the thread

Installation: Import the plugin
Upload image (aucun_avatar.gif) to your style in misc file
  • Add this class in your style, At the end, in "Additional CSS Definitions", second bloc (custom css))
Code:
.avatar_forumdisplay {
padding:0px 5px 0px 0px;
}
  • Details:
In AdminCP => Styles & Templates => Style Manager => in your style (Main CSS) :





  • In threadbit template, find:
Code:
<if condition="$show['gotonewpost']"><a href="showthread.php?$session[sessionurl]goto=newpost&t=$thread[threadid]" id="thread_gotonew_$thread[realthreadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[go_to_first_new_post]" border="0" /></a></if>
  • Before, add this code:
Code:
$avatar
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Version 1.1: Add avatar by default (Big thank to Fred for plugin )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

PS: If you use thie mod, click on Install please

Supporters / CoAuthors

Show Your Support

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

Comments
  #32  
Old 02-16-2007, 12:07 PM
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Posts: 1,207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great idea! Thanks for sharing, Allan!

Quote:
Originally Posted by PennylessZ28 View Post
I'm going to use this with an if statement for an New Members Introduction Forum
What's the easiest way to restrict this only to certain forums?
Reply With Quote
  #33  
Old 02-16-2007, 04:21 PM
Soliloquy's Avatar
Soliloquy Soliloquy is offline
 
Join Date: Mar 2006
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I also would like to see this work with avatars stored in the file system.

This mod is definitely encouraging new thread creation; most of my members have pictures of their faces as their avatars, so I think they like seeing their faces on the threads page! I also made the default image a flower, so I think it's prompting new male members to customize their avatars. The only problem is the lack of avatars from the file system; I have some great custom art made as avatars on my forum, which I'm really proud of. But it looks so weird to have gaps on the threads page that some have switched back to having no avatar instead of getting their picture up. And from the user perspective, it just looks broken.

I don't know how difficult it is to call the avatars from the file system, but can we at least have a default image for those people in the meantime? (Personally I'd like it to be a different image from the default image currently in use, so at least they'd stand out from the newbies.)
Reply With Quote
  #34  
Old 02-28-2007, 10:41 PM
Tom_S Tom_S is offline
 
Join Date: Jan 2007
Location: VA Beach
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where is this aucun_avatar.gif I am supposed to upload?
Reply With Quote
  #35  
Old 02-28-2007, 10:47 PM
Soliloquy's Avatar
Soliloquy Soliloquy is offline
 
Join Date: Mar 2006
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It wasn't included; I believe you're supposed to use your own file and name it aucun_avatar.gif.
Reply With Quote
  #36  
Old 02-28-2007, 10:56 PM
Tom_S Tom_S is offline
 
Join Date: Jan 2007
Location: VA Beach
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No..actually I found the critter. It is that little green bird with the screenshots LOL
Reply With Quote
  #37  
Old 03-19-2007, 04:15 PM
Soliloquy's Avatar
Soliloquy Soliloquy is offline
 
Join Date: Mar 2006
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've noticed that when members change their avatar the old one is still displayed on forumdisplay. Any way to correct this?

Also, have you seen the Sender Avatar In Private Message List mod? It does almost the same thing except for the private messages list, and works with the filesystem. I thought maybe it would give you some ideas
Reply With Quote
  #38  
Old 07-13-2007, 05:18 PM
CrashPush's Avatar
CrashPush CrashPush is offline
 
Join Date: Feb 2007
Location: New York
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I will try to get this one in my forum.
Reply With Quote
  #39  
Old 07-13-2007, 09:06 PM
xcingix's Avatar
xcingix xcingix is offline
 
Join Date: Feb 2006
Location: Brooklyn, NY
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there ANY way I can use this on my forumhome?
I want to display the last poster's avatar and name instead of status icon on the forumhome.

I've asked on other forums and it seems noone is able to help me with this issue.
It HAS to be possible.

If anyone has any ideas please let me know... PLEASE.
Reply With Quote
  #40  
Old 07-17-2007, 04:45 AM
SkyCatcher's Avatar
SkyCatcher SkyCatcher is offline
 
Join Date: Feb 2003
Location: Germany
Posts: 310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by xcingix View Post
Is there ANY way I can use this on my forumhome?
I want to display the last poster's avatar and name instead of status icon on the forumhome.

I've asked on other forums and it seems noone is able to help me with this issue.
It HAS to be possible.

If anyone has any ideas please let me know... PLEASE.
I hope you meant to say forumdisplay and not forumhome because I whipped you up a little plugin you can use which will display the last posters username and avatar wherever you want in the forumdisplay (threadbit) so you can replace the statusicons with this.

Basically will do the same as the original hack but instead displays the last poster and avatar. It's 7:40 am and I'm tired as crap so I didn't make it pretty and didn't even make it a product file.

It works with custom avatars, filesystem avatars, and forum stock avatars. If your users do not have an avatar it will display the noavatar.gif that you will need to upload to your misc image directory.

I'm not hi-jacking this thread and I am offering 0 support. You just seemed desperate for a modification like this so I thought I'd be nice. I might release it as it's own hack if there's a demand.

On a side note, I sent the original author a new copy of his hack which worked with filesystem and db avatars back in May but I guess he opted not to release it *shrug*

Anyway xcingix, you can download your own personal mod here

Only thing I can think of that may suck for you is if you're using table prefixes, think I forgot to add that to a couple lines in the first query because, well, I'm tired
Reply With Quote
  #41  
Old 07-17-2007, 12:38 PM
chiwexa chiwexa is offline
 
Join Date: Jul 2007
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I want to give the users the possility to choose, maybe they want it or maybe not...

So I added the following code:

Code:
<if condition="$post[field9] == Ja">$avatar</if>
And the Profile-Field (field9) With the options Ja (Yes) and Nein (No).
But it doesn't work... evan if I choose yes.
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:50 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.05100 seconds
  • Memory Usage 2,318KB
  • 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
  • (4)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete