vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Clickable custom User Profile field? Help! (https://vborg.vbsupport.ru/showthread.php?t=299122)

prospurring 06-14-2013 07:08 PM

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?

Lynne 06-15-2013 12:15 AM

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.

prospurring 06-15-2013 12:27 AM

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?)

midnz 06-15-2013 09:49 AM

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.

Lynne 06-15-2013 03:01 PM

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.

prospurring 06-16-2013 04:58 PM

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.

Lynne 06-16-2013 05:45 PM

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.

vBNinja 06-16-2013 10:48 PM

Take a look at this:
https://vborg.vbsupport.ru/showpost....7&postcount=10

prospurring 06-17-2013 12:05 PM

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?


All times are GMT. The time now is 08:59 AM.

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.04562 seconds
  • Memory Usage 1,724KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete