Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
best forum display avatar Details »»
best forum display avatar
Version: 1.00, by Qleb Qleb is offline
Developer Last Online: Jan 2015 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.8.4 Rating:
Released: 02-24-2010 Last Update: Never Installs: 4
Template Edits
 
No support by the author.

this well show the user avatar in forumdsiplay

by image.php file

try it demo here -->> Click here

open the template ( threadbit )

and add this code where u like the avatar to appear

PHP Code:
<div style="background: url(images/misc/unknown.gif) no-repeat center; width: 40px;  height: 39px; border: 0px;" >
<
a href="member.php?$session[sessionurl]u=$thread[postuserid]"><img src="image.php?u=$thread[postuserid]&type=thumb" width="39" height="39" border=/></a>
</
div


or for advanced , if you like to add this avatar inside single (td)

open template (FORUMDISPLAY)

at line : 73 in orginal template you need to add new (td)
its mean we has added a new td in forumdisplay table .


below this code

PHP Code:
<if condition="$show['search_engine']"
you well find something like this
PHP Code:
<td class="thead">&nbsp;</td
copy and past the (td) line again to be like
PHP Code:
<td class="thead">&nbsp;</td>
<
td class="thead">&nbsp;</td
few lines below find (<else />)

add the same td line copy and past the (td) line below <else /> to be like

PHP Code:
<td class="thead">&nbsp;</td>
<
td class="thead">&nbsp;</td

save (FORUMDISPLAY) and open ( threadbit )

find in (threadbit)

PHP Code:
<td class="alt1" id="td_threadtitle_$thread[realthreadid]title="$thread[preview]"
above of it add

PHP Code:
<td class="alt2">
<
div style="background: url(images/misc/unknown.gif) no-repeat center; width: 40px;  height: 39px; border: 0px;" 
<
a href="member.php?$session[sessionurl]u=$thread[postuserid]"><img src="image.php?u=$thread[postuserid]&type=thumb" width="39" height="39" border=/></a
</
div>  
</
td

thats all

enjoy

Screenshots

File Type: jpg Untitled.jpg (43.4 KB, 0 views)

Show Your Support

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

Comments
  #2  
Old 02-25-2010, 03:45 PM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, I don't understand your English.

What mode, only popular forums? Who's avatar?

This is not even an addon.
Reply With Quote
  #3  
Old 02-25-2010, 07:17 PM
Abdullah SZ Abdullah SZ is offline
 
Join Date: Mar 2008
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wrong forum, it's not a product.

Nice edit though.
Reply With Quote
  #4  
Old 02-26-2010, 08:06 AM
cheech47's Avatar
cheech47 cheech47 is offline
 
Join Date: Oct 2006
Location: In Hell
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Demo link doesnt work
Reply With Quote
  #5  
Old 02-26-2010, 01:15 PM
grey_goose grey_goose is offline
 
Join Date: Jun 2009
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, Template mod.

Find:
Code:
<a href="showthread.php?$session[sessionurl]p=$thread[lastpostid]$thread[highlight]#post$thread[lastpostid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>
        </div>
</td>
After, that, add:

Code:
<td>
<div style="background: url(images/misc/unknown.gif) no-repeat center; width: 40px;  border: 0px;" >
<a href="member.php?$session[sessionurl]u=$thread[postuserid]"><img src="image.php?u=$thread[postuserid]&type=thumb" width="39" height="39" border=0 /></a>
</div> 
    </td>
Then it'll display an avatar thumbnail after the last poster's info.

edit: Hmmmmm but then the (thead) header is off... needs a bit of cleaning up.
Reply With Quote
  #6  
Old 02-26-2010, 01:24 PM
grey_goose grey_goose is offline
 
Join Date: Jun 2009
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To fix that, in forumdisplay:

Find:

Code:
<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=lastpost" rel="nofollow">$vbphrase[last_post]</a> $sortarrow[lastpost]</span></td>
Modify:

Code:
<td class="thead" align="center" nowrap="nowrap" colspan="2"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=lastpost" rel="nofollow">$vbphrase[last_post]</a> $sortarrow[lastpost]</span></td>
Reply With Quote
  #7  
Old 02-26-2010, 05:34 PM
Abdullah SZ Abdullah SZ is offline
 
Join Date: Mar 2008
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks grey goose
Reply With Quote
  #8  
Old 02-27-2010, 04:00 PM
Qleb's Avatar
Qleb Qleb is offline
 
Join Date: Sep 2008
Location: Lebanon
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank grey_goose good job :P
Reply With Quote
  #9  
Old 02-28-2010, 12:50 PM
dtv100 dtv100 is offline
 
Join Date: Apr 2007
Location: in the south of the north
Posts: 307
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is this compatible with vbseo?
Reply With Quote
  #10  
Old 02-28-2010, 01:09 PM
Silencer Groans's Avatar
Silencer Groans Silencer Groans is offline
 
Join Date: Dec 2007
Location: k.s.a
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank
Reply With Quote
Reply

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

Forum Jump


All times are GMT. The time now is 01:57 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.09309 seconds
  • Memory Usage 2,324KB
  • Queries Executed 24 (?)
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
  • (7)bbcode_php
  • (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
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete