Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)

Reply
 
Thread Tools Display Modes
  #11  
Old 03-07-2005, 12:02 PM
1shot1kill 1shot1kill is offline
 
Join Date: Sep 2004
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, didn't see this before, thanks, seems to work like a charm. :up:
Reply With Quote
  #12  
Old 03-15-2005, 05:13 PM
Chief Corn Chief Corn is offline
 
Join Date: Nov 2002
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

on my site all i did was rename all phrases for yahoo with xfire, made the links point to http://profile.xfire.com/$userinfo[yahoo], and uploaded an xfire image over the im_yahoo.gif. a bit tedious but xfire users don't use yahoo...
Reply With Quote
  #13  
Old 03-23-2005, 09:11 PM
1shot1kill 1shot1kill is offline
 
Join Date: Sep 2004
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Eh, xfire did an update and there are 4 different miniprofiles now with 4 sizes each, is there a way to edit this so people can at least choose the style they want?
Reply With Quote
  #14  
Old 03-24-2005, 02:59 AM
Creed's Avatar
Creed Creed is offline
 
Join Date: May 2002
Location: The Matrix
Posts: 281
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Gimmie a little bit and sure thing

In memberinfo template replace what you already have with this:
**NOTE** replace field14 with whatever field you have for your xFire username, and replace field18 with whatever field you have for your profile type!

Code:
<!-- [Xfire Hack ] -->
<if condition="$userinfo['field14']">
<fieldset class="fieldset">
				<legend>xFire Info</legend>
<div class="fieldset">
				<div style="padding:$stylevar[formspacer]px">
<if condition="$userinfo['field18'] == 'Classic'">
	<a href="http://profile.xfire.com/$userinfo[field14]"><img src=http://miniprofile.xfire.com/bg/bg/type/0/$userinfo[field14].png width=440 height=111 border="0"></a>
</if>
<if condition="$userinfo['field18'] == 'Fantasy'">
	<a href="http://profile.xfire.com/$userinfo[field14]"><img src=http://miniprofile.xfire.com/bg/os/type/0/$userinfo[field14].png width=440 height=111 border="0"></a>
</if>
<if condition="$userinfo['field18'] == 'Combat'">
	<a href="http://profile.xfire.com/$userinfo[field14]"><img src=http://miniprofile.xfire.com/bg/co/type/0/$userinfo[field14].png width=440 height=111 border="0"></a>
</if>
<if condition="$userinfo['field18'] == 'SciFi'">
	<a href="http://profile.xfire.com/$userinfo[field14]"><img src=http://miniprofile.xfire.com/bg/sf/type/0/$userinfo[field14].png width=440 height=111 border="0"></a>
</if>					
				</div>
			</div>
</fieldset>
</if>
<!-- [end Xfire Hack ] -->
Now create a new profile field:

Type: Single-Selection Menu
Title: xFire Profile Type
Description: Choose the type of profile you would like to display in your profile
Options:
Classic
Fantasy
Combat
SciFi

Set Default: Yes, but No First Blank Option
Field Required: No
Field Editable by User: Yes
Private Field: Yes
Field Searchable on Members List: No
Show on Members List: No

Allow User to input their own value for this option: No


Working fine for me

www.hdclan.org/forums/member.php?u=1
Reply With Quote
  #15  
Old 03-27-2005, 11:31 AM
1shot1kill 1shot1kill is offline
 
Join Date: Sep 2004
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, works great.
Reply With Quote
  #16  
Old 03-27-2005, 07:14 PM
Creed's Avatar
Creed Creed is offline
 
Join Date: May 2002
Location: The Matrix
Posts: 281
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 1shot1kill
Thanks, works great.

Glad to hear it!
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 11:21 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09689 seconds
  • Memory Usage 2,208KB
  • 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)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)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