-
eliasbr posted an update in the group BP Profile Privacy: 13 years, 9 months ago
I’ve also added a new privacy level: To show a field only for logged in members. Anybody interested?
-
eliasbr posted on the forum topic Refined tag stripping function in the group Custom Profile Filters for BuddyPress: 13 years, 9 months ago
OK, it’s impossible to have any backslashes in this forum.
-
eliasbr posted on the forum topic Refined tag stripping function in the group Custom Profile Filters for BuddyPress: 13 years, 9 months ago
This is just a test:
One backslash:
Two backslashes: \
Three backslashes: \
Same inside of backticks:One backslash:
Two backslashes: \
Three backslashes: \ -
eliasbr posted on the forum topic Refined tag stripping function in the group Custom Profile Filters for BuddyPress: 13 years, 9 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]
-
eliasbr posted on the forum topic Adding Custom Fields to members-loop.php doesnt work in the group Creating & Extending: 13 years, 9 months ago
It should be
echo bp_member_profile_data(‘field=province’);
-
eliasbr joined the group Creating & Extending 13 years, 9 months ago
-
eliasbr started the forum topic Refined tag stripping function in the group Custom Profile Filters for BuddyPress: 13 years, 9 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); $pattern…[Read more]
-
eliasbr joined the group Custom Profile Filters for BuddyPress 13 years, 9 months ago
-
eliasbr posted an update in the group BP Profile Privacy: 13 years, 9 months ago
Hello all. I’ve added i18n to this plugin and made Swedish translations. How can I submit the code changes?
-
eliasbr joined the group BP Profile Privacy 13 years, 9 months ago
@eliasbr
Not recently active