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
  #12  
Old 02-28-2010, 09:10 PM
Qleb's Avatar
Qleb Qleb is offline
 
Join Date: Sep 2008
Location: Lebanon
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dtv100 View Post
is this compatible with vbseo?
yes it is
Reply With Quote
  #13  
Old 02-28-2010, 09:17 PM
dtv100 dtv100 is offline
 
Join Date: Apr 2007
Location: in the south of the north
Posts: 307
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

avatar don't show for me no matter what i try .
Reply With Quote
  #14  
Old 04-16-2010, 05:11 PM
Qleb's Avatar
Qleb Qleb is offline
 
Join Date: Sep 2008
Location: Lebanon
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dtv100 View Post
avatar don't show for me no matter what i try .
try to disable seo links for memebers avatar in vbseo options
Reply With Quote
  #15  
Old 07-28-2010, 03:30 AM
bacemail bacemail is offline
 
Join Date: Dec 2009
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this work with avatars stored in the file system?

And... this is the avatar of the thread starter, right?
Reply With Quote
  #16  
Old 07-28-2010, 11:18 AM
Qleb's Avatar
Qleb Qleb is offline
 
Join Date: Sep 2008
Location: Lebanon
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

first

Quote:
Does this work with avatars stored in the file system?

yes it is

and yes also its for thread starter
Reply With Quote
  #17  
Old 07-28-2010, 08:18 PM
bacemail bacemail is offline
 
Join Date: Dec 2009
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My avatars are stored in a directory called customavatars. I think this is throwing it off.
Reply With Quote
  #18  
Old 07-28-2010, 09:16 PM
bacemail bacemail is offline
 
Join Date: Dec 2009
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Eh... here's what I get - see attached pic.


My avatars are in the file system, but as per vBulletin directions, they are in a directory called "customavatars", not "avatars".

I noticed that the script produces this url for the avatar...

blablabla.com/forums/avatars/xxxxxxer.gif?type=thumb


The url id for the avatar is not correct. The ?type=thumb seems to be throwing it off, no? Also, it's not calling up the right directory for the avatars. When I made the switch from database storage to file system storage, the directions stated to make a directory called "customavatars", not "avatars".


1. If I can just get the call to pull from my "customavatars" directory, not the "avatars" directory.
2. get rid of the ?type=thumb at the end of the url.
3. fix the columns so that the thread title column is not blank. Looks like all the columns are moved over one <td> cell.

Thanks for anyone's input in advance. I used the first version of this mod when my avatars were stored in the database. Since I moved them to the file system, I had to unistall.

This feature was great. My users loved it.
Attached Images
File Type: jpg avatarthread.jpg (26.5 KB, 0 views)
Reply With Quote
  #19  
Old 07-29-2010, 02:23 PM
vBarsiv vBarsiv is offline
 
Join Date: Jul 2010
Location: Turkey / Manisa
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A nice add-on, but the main page when opening forum is for muscle.
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 06:58 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.04473 seconds
  • Memory Usage 2,328KB
  • 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
  • (7)bbcode_php
  • (3)bbcode_quote
  • (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
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (2)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_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_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