Skip to:
Content
Pages
Categories
Search
Top
Bottom

  • About
  • News
  • Codex
  • Develop
  • Make
  • Forums
  • Download

BuddyPress.org


  • All Members
  • RSS
  • Profile picture of Round World Travels

    Round World Travels replied to the topic xprofile fields create link in the forum How-to & Troubleshooting 9 years, 1 month ago

    OK, I figured this out, I had to change the URL buddypress profile field to a text field instead of a URL field. It would be ideal to keep it a URL field but it works this way. Anyone know how I would keep it a URL field but fetch plain text for the URL.

  • Profile picture of Betty Littleton

    Betty Littleton's profile was updated 9 years, 1 month ago

    Betty Littleton

    @bettyflittleton

    View Profile
  • Profile picture of Terry Sanchez

    Terry Sanchez's profile was updated 9 years, 1 month ago

    Terry Sanchez

    @terryssanchez

    View Profile
  • Profile picture of Jeffery Swaim

    Jeffery Swaim's profile was updated 9 years, 1 month ago

    Jeffery Swaim

    @jefferyjswaim

    View Profile
  • Profile picture of Denise McIntosh

    Denise McIntosh's profile was updated 9 years, 1 month ago

    Denise McIntosh

    @denisedmcintosh

    View Profile
  • Profile picture of Round World Travels

    Round World Travels replied to the topic Display code from xprofile field in the forum How-to & Troubleshooting 9 years, 1 month ago

    Just tried a html only ad and it also just displays the text code of the ad.

  • Profile picture of Round World Travels

    Round World Travels replied to the topic Display code from xprofile field in the forum How-to & Troubleshooting 9 years, 1 month ago

    Any other suggestions? Right now the script actually shows up as text on the blog post with script tags and all that were pulled from the profile field.

  • Profile picture of Round World Travels

    Round World Travels started the topic xprofile fields create link in the forum How-to & Troubleshooting 9 years, 1 month ago

    I’m trying to create a link on a members blog posts by pulling two fields from their profile.
    1st Field: Website Name
    2nd Field: URL to website

    I was trying the following code but it don’t work.

    <a href="<?php echo xprofile_get_field_data( 'Your Website URL', get_the_author_meta( 'ID' ) ); ?>"><?php echo xprofile_get_field_data( 'Your Website…[Read more]

  • Profile picture of Dr. John Schinnerer

    Dr. John Schinnerer's profile was updated 9 years, 1 month ago

    Dr. John Schinnerer

    @johnschin

    View Profile
  • Profile picture of Henry Wright

    Henry Wright replied to the topic Is it possible to truncate long xprofile fields in member directory? in the forum Creating & Extending 9 years, 1 month ago

    wp_trim_words() can do that. See this article

    https://codex.wordpress.org/Function_Reference/wp_trim_words

  • Profile picture of Rory Moysey

    Rory Moysey's profile was updated 9 years, 1 month ago

    Rory Moysey

    @rorymoysey

    View Profile
  • Profile picture of Robert Cooper

    Robert Cooper's profile was updated 9 years, 1 month ago

    Robert Cooper

    @robertqcooper

    View Profile
  • Profile picture of George McClure

    George McClure's profile was updated 9 years, 1 month ago

    George McClure

    @georgetmcclure

    View Profile
  • Profile picture of Andrew Fitzgerald

    Andrew Fitzgerald replied to the topic How to create friendly links to profile and embed avatar into menu? in the forum How-to & Troubleshooting 9 years, 1 month ago

    🙂

  • Profile picture of Andrew Fitzgerald

    Andrew Fitzgerald replied to the topic How to create friendly links to profile and embed avatar into menu? in the forum How-to & Troubleshooting 9 years, 1 month ago

    Hi Piotr,

    If your trying to put your Facebook link on the About Me section, you can use this code:

    <a href="facebook.com/john-wick">John Wick</a>

    The above code will display just like this John Wick

    Just change the url and the name that you want to display.

    Hope this helps. 🙂

  • Profile picture of Andrew Fitzgerald

    Andrew Fitzgerald's profile was updated 9 years, 1 month ago

    Andrew Fitzgerald

    @newdawnfilmsnyc

    View Profile
  • Profile picture of metalhead

    metalhead started the topic Buddypress vs BBS in the forum Miscellaneous 9 years, 1 month ago

    What’s up Buddypress people?

    I’m a former BBS sysop. Are any of you former or current BBS people?

    I got into BBSign in the early 90s, and I’m still into it somewhat, but a couple years ago, a friend of mine recommended ditching the 80 column ascii scene for WordPress. I fought it for a while, but I eventually listened.

    So, I’m now a Buddypress…[Read more]

  • Profile picture of Round World Travels

    Round World Travels replied to the topic Display code from xprofile field in the forum How-to & Troubleshooting 9 years, 1 month ago

    Thanks again Henry, tried what you said like this but couldn’t get it to work.
    <script><?php echo xprofile_get_field_data('AD', get_the_author_meta( 'ID' ) ); ?></script>

    Do I need to take out the script tags from the profile field. However I notice there are two sets of them. The code on the buddypress profile field form looks like…[Read more]

  • Profile picture of Henry Wright

    Henry Wright replied to the topic BP CSS not loaded in header in the forum How-to & Troubleshooting 9 years, 1 month ago

    wp_add_inline_style() is likely used to add the inline styling. Try searching for instances of that in Twenty Fifteen.

    Ref https://codex.wordpress.org/Function_Reference/wp_add_inline_style

  • Profile picture of Henry Wright

    Henry Wright replied to the topic Display code from xprofile field in the forum How-to & Troubleshooting 9 years, 1 month ago

    What is the script language? If JavaScript then you will need to surround it with <script> tags.

  • Load More

WordPress.org bbPress.org BuddyPress.org Matt Blog RSS

GPL Contact Us Privacy Terms of Service X

Skip to toolbar
    • WordPress.org
      • About WordPress
      • Documentation
      • Support Forums
      • Feedback
      • Developer Trac
      • Developer Blog
    • bbPress.org
      • About bbPress
      • Documentation
      • Support Forums
      • Feedback
      • Developer Trac
      • Developer Blog
    • BuddyPress.org
      • About BuddyPress
      • Documentation
      • Support Forums
      • Feedback
      • Developer Trac
      • Developer Blog
  • Log in
  • Anonymous
    • AnonymousNot Logged In
    • Register
    • Log In