Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-21-2009, 04:52 PM
colochris colochris is offline
 
Join Date: May 2006
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Myspace and Facebook in profile like Yahoo, msn, and aol IM

Hello to all.

I have seen a few times where a forum will have additional blocks in a users profile where they can add their url to their myspace and facebook accounts.

Also not sure if it is possible to place a small logo for a myspace or facebook under a users member name like the IM logos, but I wanted to see how hard this would be and if it is even possible.

Chris

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

Here is an example https://vborg.vbsupport.ru/showthread.php?t=160232
Reply With Quote
  #2  
Old 06-21-2009, 05:11 PM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Something like this?

http://www.usmilitarylife.com/forum/member.php?u=1 (Click the "Contact Info" tab)
Reply With Quote
  #3  
Old 06-21-2009, 10:03 PM
colochris colochris is offline
 
Join Date: May 2006
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes something like that indeed.

I have seen a few sites that add these extra blocks so a member can add their link in it, yet I have not figured it out. Any help is appreciated.

Chris
Reply With Quote
  #4  
Old 06-21-2009, 10:14 PM
smartkidbk5 smartkidbk5 is offline
 
Join Date: May 2009
Location: NJ
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you try that link you gave?
Even though it is an old mod, it just has template edits, and may work. If it doesnt, I will try editing it for you. Just contact me on AIM- eXn GraViTY, or PM me
Reply With Quote
  #5  
Old 06-21-2009, 10:22 PM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Basically, to do like how I did it in mine in the link above, go to your AdminCP > User Profile Fields > Add New User Profile Field with the following:
Code:
Profile Field Type: Single-Line Text Box
Title: Myspace ID
Description: Enter your Myspace Profile ID if you have one
Field Required: No
Field Editable by User: Yes
Private Field: No
Field Searchable on Members List: No
Show on Members List: No
Then go to AdminCP > Styles & Templates > Style Manager > Edit Templates > memberinfo_block_contactinfo:

Find:
HTML Code:
<dd><a href="$prepared[profileurl]">$prepared[profileurl]</a></dd>
Underneath, add:
HTML Code:
<!-- Start U.S. Military Life Customization -->
    <if condition="$userinfo['fieldx']">
    <dt class="shade">Myspace</dt>
        <dd><a href="http://www.myspace.com/$userinfo[fieldx]">$userinfo[fieldx]</a></dd>
        <else />
    <dt class="shade">Myspace</dt>
        <dd>$userinfo[musername] has not entered their MySpace Friend ID</dd>
    </if>
<!-- End U.S. Military Life Customization -->
And change x to your profile field number
Reply With Quote
  #6  
Old 06-21-2009, 11:55 PM
colochris colochris is offline
 
Join Date: May 2006
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to add an icon under a user name? Like an IM

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

Quote:
Originally Posted by Redlinemotorsports View Post
Basically, to do like how I did it in mine in the link above, go to your AdminCP > User Profile Fields > Add New User Profile Field with the following:
Code:
Profile Field Type: Single-Line Text Box
Title: Myspace ID
Description: Enter your Myspace Profile ID if you have one
Field Required: No
Field Editable by User: Yes
Private Field: No
Field Searchable on Members List: No
Show on Members List: No
Then go to AdminCP > Styles & Templates > Style Manager > Edit Templates > memberinfo_block_contactinfo:

Find:
HTML Code:
<dd><a href="$prepared[profileurl]">$prepared[profileurl]</a></dd>
Underneath, add:
HTML Code:
<!-- Start U.S. Military Life Customization -->
    <if condition="$userinfo['fieldx']">
    <dt class="shade">Myspace</dt>
        <dd><a href="http://www.myspace.com/$userinfo[fieldx]">$userinfo[fieldx]</a></dd>
        <else />
    <dt class="shade">Myspace</dt>
        <dd>$userinfo[musername] has not entered their MySpace Friend ID</dd>
    </if>
<!-- End U.S. Military Life Customization -->
And change x to your profile field number

How did you get it on the contact us page? I can only do the about me page?
Reply With Quote
  #7  
Old 06-22-2009, 12:36 AM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Edit the template memberinfo_block_contactinfo
Reply With Quote
  #8  
Old 06-22-2009, 01:12 AM
colochris colochris is offline
 
Join Date: May 2006
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah ok. I also sent a pm, I am not sure how to make the field show a link? It is showing the whole html info I put in
Reply With Quote
  #9  
Old 06-22-2009, 01:14 AM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What code are you using in the memberinfo_block_contactinfo template?
Reply With Quote
  #10  
Old 06-22-2009, 12:20 PM
colochris colochris is offline
 
Join Date: May 2006
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am getting closer, yet I need additional help if anyone has had experience with this
Reply With Quote
Reply


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 07:41 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.04338 seconds
  • Memory Usage 2,261KB
  • Queries Executed 11 (?)
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
  • (2)bbcode_code
  • (4)bbcode_html
  • (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
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)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_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