Skip to:
Content
Pages
Categories
Search
Top
Bottom

  • About
  • Plugins
  • Themes
  • Documentation
  • Blog
  • Support
  • Download

BuddyPress.org


  • Register
  • Lost Password
  • Log In

@eliasbr active 2 years, 2 months ago
  • Personal
  • Mentions
  • Favorites
  • Profile picture

    eliasbr posted an update in the group BP Profile Privacy: 2 years, 2 months ago

    I’ve also added a new privacy level: To show a field only for logged in members. Anybody interested?

  • Profile picture

    eliasbr posted on the forum topic Refined tag stripping function in the group Custom Profile Filters for BuddyPress: 2 years, 2 months ago

    OK, it’s impossible to have any backslashes in this forum.

  • Profile picture

    eliasbr posted on the forum topic Refined tag stripping function in the group Custom Profile Filters for BuddyPress: 2 years, 2 months ago

    This is just a test:
    One backslash:
    Two backslashes: \
    Three backslashes: \
    Same inside of backticks:One backslash:
    Two backslashes: \
    Three backslashes: \

  • Profile picture

    eliasbr posted on the forum topic Refined tag stripping function in the group Custom Profile Filters for BuddyPress: 2 years, 2 months ago

    The code was altered when I inserted it here. Some backslashes are missing. Anyhow, since I wrote that, I’ve improved the code because it didn’t handle links in the middle of texts: ` function strip_search_links($str) { // Remove outmost link. $pattern=’^ (.+)$’; $pattern=prepare_pattern($pattern); $str=preg_replace($pattern, ‘${2}’, $str); //…[Read more]

  • Profile picture

    eliasbr joined the group Creating & Extending 2 years, 2 months ago

  • Profile picture

    eliasbr posted on the forum topic Adding Custom Fields to members-loop.php doesnt work in the group Creating & Extending: 2 years, 2 months ago

    It should be
    echo bp_member_profile_data(‘field=province’);

  • Profile picture

    eliasbr started the forum topic Refined tag stripping function in the group Custom Profile Filters for BuddyPress: 2 years, 3 months ago

    Since I wanted to allow my users to write links and other tags in their profile fields, I exchanged the strip_tags function calls with calls to this function: ` function strip_search_links($str) { $pattern=’ (.+?)‘; $pattern = addslashes($pattern); $pattern = str_replace(‘/’, ‘/’, $pattern); $pattern = str_replace(‘?s’, ‘?s’, $pattern);…[Read more]

  • Profile picture

    eliasbr joined the group Custom Profile Filters for BuddyPress 2 years, 3 months ago

  • Profile picture

    eliasbr posted an update in the group BP Profile Privacy: 2 years, 3 months ago

    Hello all. I’ve added i18n to this plugin and made Swedish translations. How can I submit the code changes?

  • Profile picture

    eliasbr joined the group BP Profile Privacy 2 years, 3 months ago

Profile picture of eliasbr
  • Activity
    • Personal
    • Mentions
    • Favorites
  • Profile
    • View
  • Sites 0
    • My Sites
  • Forums
    • Topics Started
    • Replies Created
    • Favorites

See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS

Follow BuddyPress on Twitter • GPL • Contact Us • Terms of Service

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
  • BuddyPress.org
    • Log in
  • Anonymous
    • AnonymousNot Logged In
    • Register
    • Lost Password
    • Log In
Log Out