vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Make custom profile field clickable (https://vborg.vbsupport.ru/showthread.php?t=249373)

tattooz 08-26-2010 02:33 PM

Make custom profile field clickable
 
I made some custom profile fields and one of them contains a URL. How do I make that field clickable?

mmoore5553 08-26-2010 04:26 PM

Something like this . Modify what is in orange. this is very simple one .


<a href="http://www.amazon.com">{vb:raw post.field7} </a>

tattooz 08-26-2010 04:39 PM

I can't seem to find the profile field. What template would it be in, using vb4?

mmoore5553 08-26-2010 05:20 PM

go into your admincp and then go to user fields. Then go into user fields manager. You will see the field ID there. Then just edit that to your needs or put it where you want it to show up.

tattooz 08-26-2010 06:39 PM

I know the field number, it's 11, but I can not find it anywhere in the templates.

mmoore5553 08-26-2010 06:42 PM

you will not find it in templates unless you assign it. For better help it is easier to post a link and / or a picture on what you are wanting to do. As you could just add the above code where you want it and it be a link.

tattooz 08-26-2010 06:54 PM

1 Attachment(s)
Ok, here is what I have. I added these fields in the profile and I want to make the Shop URL clickable

I can not find that field in any template

mmoore5553 08-26-2010 07:09 PM

You are using the mod to add that extra tab correct ?

tattooz 08-26-2010 07:18 PM

No, is there a mod? In User Profile Fields in the AdminCP, there is an option for "User Profile Field Categories" That is where I did it


All times are GMT. The time now is 02:44 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.00934 seconds
  • Memory Usage 1,716KB
  • 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