Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 04-01-2011, 06:59 PM
MrHorror MrHorror is offline
 
Join Date: Nov 2010
Posts: 277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Avatar in place of/next to post icon

Does anyone know where I can find a mod that places the users avatar next to their post reply like on this board? Also on this same board, does anyone know where I can find the mod that puts users who have visited with their avatar next to their name, at the foot of the forum?
Reply With Quote
  #2  
Old 04-07-2011, 02:22 PM
gamerfu gamerfu is offline
 
Join Date: Apr 2008
Location: 台灣,&
Posts: 326
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It might help to know what verion of vBulletin you are running. These links might help.

Good artilce to read: [ How - to ] Displays users avatars any where.

vBulletin 4
BT - AVATAR FORUMDISPLAY'S THREADBIT PAGE
BT - Displays Avatars Memberinfo Recent Visitors
BT - Displays avatar newest members on forumhome
BT - Displays avatars your friend lists pop-up

vBulletin 3.8
BT - Displays avatars online users on forumhome
BT - Displays avatars your friends pop-up

vBulletin 3.6 & 3.7
Place Avatar in VB and Non-VB Pages
Avatar on forumdisplay
Reply With Quote
  #3  
Old 04-16-2011, 01:14 AM
MrHorror MrHorror is offline
 
Join Date: Nov 2010
Posts: 277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm using vb 3.8.6. I cannot find these mods anywhere. Ugh.
Reply With Quote
  #4  
Old 04-16-2011, 03:00 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What do you mean you can't find them anywhere - all the links he posted are valid links.
Reply With Quote
  #5  
Old 04-16-2011, 04:45 PM
MrHorror MrHorror is offline
 
Join Date: Nov 2010
Posts: 277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah but the mods weren't what I was looking for. They do similar to what I wanted, but not specifically.
Reply With Quote
  #6  
Old 04-16-2011, 05:13 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Then modify it to do what you want. I don't think I've used any mod from here exactly as it was released - I've always modified it specifically for my site.
Reply With Quote
  #7  
Old 04-16-2011, 06:31 PM
MrHorror MrHorror is offline
 
Join Date: Nov 2010
Posts: 277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have no idea how to modify mods. As an ex ipb user, never really had to modify any mods I used for our board.

--------------- Added [DATE]1302985980[/DATE] at [TIME]1302985980[/TIME] ---------------

Okay good news. I installed the avatarforumdisplay mod and edited it to resize avatars and made it english language. But how would I edit this plugin code here...


Code:
require_once('./includes/functions_user.php');
        $userid = $thread['postuserid'];
        $username = $thread['postusername'];
        $avatarurl = fetch_avatar_url($userid);
        if ($avatarurl == '') {
          $avatar = "<div class='avatar_forumdisplay' style='float:$stylevar[left]'><a href='member.php?u=$userid'><img src='$stylevar[imgdir_misc]/aucun_avatar.gif' border='0' width='50' height='50' alt='Profil de $username'></a></div>";
        }
        else {
          $avatar = "<div class='avatar_forumdisplay' style='float:$stylevar[left]'><a href='member.php?u=$userid'><img src='image.php?u=$userid' border='0' width='50' height='50' alt='Avatar $username'></a></div>";
        }


to get the avatars to display on the forums index page in place of the usual post icons like question mark, smiley, etc? Would it be as simple as changing avatar_forumdisplay to avatar_indexdisplay?
Reply With Quote
  #8  
Old 04-16-2011, 08:00 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

avatar_forumdisplay is a class - it has nothing to do with where it displays, it has to do with the CSS and how the item is formatted.

You need to make sure the code is on the correct page that you need the variable to be used. Then you need to make sure you use the correct variable name in that template.
Reply With Quote
Reply

Thread Tools
Display Modes

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 02:03 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.04346 seconds
  • Memory Usage 2,227KB
  • Queries Executed 13 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)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
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete