Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications

Reply
 
Thread Tools
2 or more profile picture Details »»
2 or more profile picture
Version: 1.00, by Q-v-n-s-Q Q-v-n-s-Q is offline
Developer Last Online: Feb 2013 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 01-17-2006 Last Update: Never Installs: 6
 
No support by the author.

since to see too much peoples requested.. so here its:
[removed link=nothing to view on page but popups ... ][COLOR=DarkOrange]


profile 1
Code:
<a href="$userinfo[fieldxx]" target="_blank"> <img src="$userinfo[fieldxx]"border="0" width="99" height="75" style="border:1px solid $stylevar[tborder_bgcolor];" /> </a>
profile 2
Code:
<a href="$userinfo[fieldxx]" target="_blank"> <img src="$userinfo[fieldxx]"border="0" width="99" height="75" style="border:1px solid $stylevar[tborder_bgcolor];" /> </a>
profile 3
Code:
<a href="$userinfo[fieldxx]" target="_blank"> <img src="$userinfo[fieldxx]"border="0" width="99" height="75" style="border:1px solid $stylevar[tborder_bgcolor];" /> </a>
replace fieldxx with your own field number!!

note* if you wanna change the size of the images

width="99" height="75" replace the number to any size..


enjoy!!!

Show Your Support

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

Comments
  #2  
Old 01-18-2006, 01:29 AM
Q-v-n-s-Q Q-v-n-s-Q is offline
 
Join Date: Mar 2005
Posts: 289
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

opps there is a bug.. here is the live demo of the bug.. if a member without more then 2 images there will be ( x )


so um ima replace the to make it with a defaulf images latter..or whoever can help post it here.


update !!! : sorry guys i was in a hurry so here is the latest code tested and working

replace the above code :

Code:
 <a href="$userinfo[fieldxx]" target="_blank"> <img src="$userinfo[fieldxx]"border="0" width="99" height="75" style="border:1px solid $stylevar[tborder_bgcolor]; " /> </a>
with the code below :

Code:
 
<if condition="$post[fieldxx]"> 
<div><a href="$userinfo[fieldxx]" target="_blank"> <img src="$post[fieldxx]"border="0" width="99" height="75" style="border:1px solid $stylevar[tborder_bgcolor]; "></div> 
<else />
<div><img src="nopic.gif"></div> 
</if>
this is of the demo if a member havent fill out his addition profile field

will be show as no pic

enjoy!!
Reply With Quote
  #3  
Old 01-18-2006, 03:03 AM
The Chief's Avatar
The Chief The Chief is offline
 
Join Date: Aug 2005
Location: Montreal
Posts: 1,037
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

that's just too easy...

I thought it was some kind of thing that you could upload more the one profile picture directly to the website...
Reply With Quote
  #4  
Old 01-18-2006, 03:23 AM
Q-v-n-s-Q Q-v-n-s-Q is offline
 
Join Date: Mar 2005
Posts: 289
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gamebgs
that's just too easy...

I thought it was some kind of thing that you could upload more the one profile picture directly to the website...

um i could do that if you want too. but this much better to save your webspace and banwidth.. cuz the profile will be link to a lots of website
Reply With Quote
  #5  
Old 01-18-2006, 01:09 PM
waza waza is offline
 
Join Date: Apr 2005
Location: Belgium
Posts: 341
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's not really true, if you want to allow them a lot of profile pics, vb would have to call for like 30 fields more if you want 10 pics.
So this id isn't good and is no hack either, the way to use custom profile pics is already much better described in the spice your profile up thread.
Reply With Quote
  #6  
Old 01-21-2006, 04:57 PM
TygerTyger TygerTyger is offline
 
Join Date: Aug 2005
Posts: 182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why would you allow someone 10 profile pics? For two or three there's nothing wrong with this hack, a few pairs of conditionals won't kill you. If you want more then you should look to a more complete solution.
Reply With Quote
  #7  
Old 01-23-2006, 11:04 PM
123Corleone 123Corleone is offline
 
Join Date: Dec 2005
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i searched (<a href="$userinfo[fieldxx]" target="_blank"> <img src="$userinfo[fieldxx]"border="0" width="99" height="75" style="border:1px solid $stylevar[tborder_bgcolor]; " /> </a>) where that have to be? in memberinfo???
Reply With Quote
  #8  
Old 01-25-2006, 06:43 PM
Q-v-n-s-Q Q-v-n-s-Q is offline
 
Join Date: Mar 2005
Posts: 289
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 123Corleone
i searched (<a href="$userinfo[fieldxx]" target="_blank"> <img src="$userinfo[fieldxx]"border="0" width="99" height="75" style="border:1px solid $stylevar[tborder_bgcolor]; " /> </a>) where that have to be? in memberinfo???
just place the code anywhere in the memberinfo template, and dont forget the change the field the your own...
Reply With Quote
  #9  
Old 01-29-2006, 11:50 PM
???`S?LV?R???`'s Avatar
???`S?LV?R???` ???`S?LV?R???` is offline
 
Join Date: Aug 2003
Posts: 368
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by waza
the way to use custom profile pics is already much better described in the spice your profile up thread.
would you mind posting a link to that specific post, and/or page within that thread?
Reply With Quote
  #10  
Old 02-04-2006, 04:06 AM
cbr929rrerion cbr929rrerion is offline
 
Join Date: Oct 2005
Posts: 275
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

whats the code to make it where you can upload to that field..

I have a few fields I would like a member to be able to upload to it rather than link it..
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 02:51 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.08134 seconds
  • Memory Usage 2,294KB
  • Queries Executed 25 (?)
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
  • (5)bbcode_code
  • (3)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
  • (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
  • (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
  • 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