Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-14-2013, 07:08 PM
prospurring prospurring is offline
 
Join Date: Mar 2013
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Clickable custom User Profile field? Help!

I want to add some fields to the User Profile, where the user is asked to type in their link and those links become "clickable" when they are displayed on the User Profile.

For instance, they could type in the link for their blog, or Facebook page, or LinkedIn profile. Once it is saved, I'd like these to show up as clickable links in the profiles; right now it is cut-and-paste only. Adding HTML or BB code tags when the user enters the information doesn't work. (I realize there is one "home page" URL field that is clickable. I want to display more in the profiles.)

I searched and found only this thread on vBulletin.com which doesn't offer a solution, and suggests coming here for help instead.

I am not a programmer, but I can fake my way through some hacks with guidance. For instance, I have successfully removed the instant messaging stuff using the fine instructions found here. (Currently using v4.2.0 patch 3; yes, I know I need to upgrade. Working on it.)

Might anyone be able to provide me with similar instructions for making a single-text field on the User Profile turn into a clickable link?
Reply With Quote
  #2  
Old 06-15-2013, 12:15 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am pretty sure this has been brought up a few times in this thread - https://vborg.vbsupport.ru/showthread.php?t=250418 - so read through there and see.
Reply With Quote
  #3  
Old 06-15-2013, 12:27 AM
prospurring prospurring is offline
 
Join Date: Mar 2013
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, Lynne!

Thank you for your help! I will definitely dig into the link you sent.

But, since I am so new at this, I do have to ask what's a "postbit"? I guess, more specifically, I can see that there are several Postbit Templates, but how do I determine which one I'm looking for? (None of them immediately scream "user profile" or "about me" page.)

And the fields already show up on the desired page, I just want to make them clickable. (I may be confused, but the link you sent seems more about making fields show up someplace they didn't show up previously?)
Reply With Quote
  #4  
Old 06-15-2013, 09:49 AM
midnz's Avatar
midnz midnz is offline
 
Join Date: Jul 2010
Location: New Zealand
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Maybe try this ... ?

Parse BBCode for Custom User Profile Fields

This mod will parse BBCode in any and all customer user profile fields you may have created for display on the profile page.
Reply With Quote
  #5  
Old 06-15-2013, 03:01 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah, on the member page, not in the thread. You are going to have to remove it from that page (not have the software automatically put it there) and instead add it via a plugin if you want it to be a link and not just a value.
Reply With Quote
  #6  
Old 06-16-2013, 04:58 PM
prospurring prospurring is offline
 
Join Date: Mar 2013
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have to say I haven't tried a plugin before. Is there one available that will do this?

If not, I guess I will just have to write this off for now as a "nice to have", and not a "have to have." It seems to be above my level.
Reply With Quote
  #7  
Old 06-16-2013, 05:45 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have not done a search to see if their is a plugin/modification already that does what you want. You may want to try that.
Reply With Quote
  #8  
Old 06-16-2013, 10:48 PM
vBNinja's Avatar
vBNinja vBNinja is offline
 
Join Date: May 2011
Location: USA
Posts: 239
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Take a look at this:
https://vborg.vbsupport.ru/showpost....7&postcount=10
Reply With Quote
  #9  
Old 06-17-2013, 12:05 PM
prospurring prospurring is offline
 
Join Date: Mar 2013
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ooh! That's interesting. So, I wouldn't make the change in the HTML for the template, but I'd make the change in PHP somewhere? Where would the PHP change go?
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 11:26 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.07323 seconds
  • Memory Usage 2,238KB
  • 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)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete