Sorrry but could not find the line you mentioned here is the whole bp_profile_as_homepage_fork.php file `<?php
Plugin Name: BP Profile as Homepage Fork
Description: Sets the user BP Profile as homepage on the site for logged in users. This emulates Facebook.
/* Copyright 2013 Mort3n
Add this code yo your functions.php, i was add filter to embed_maybe_make_link wp function.
It work!! but mybe there is more good solution for auto-embeding image in bp (personaly, i was search since for long time for solution, but i dont find it :p).
* Check if url is image
* <a href='http://buddypress.org/community/members/param/'…
Since you asked it in another thread, here is what you need
Put this function in your functions.php or bp-custom.php
* Get Age from BuddyPress date of Birth
* <a href='http://buddypress.org/community/members/param/' rel='nofollow'>@param</a> string $dob_field_name :name of the DOB field in xprofile, like Dob or Date of Birth
The plugin is not 100% update friendly, if I disable buddypress the site crashes. Fatal error: Call to undefined function bp_core_load_template() in /data/wwwcust/sv3-132/html/wp-content/plugins/buddypress-links/bp-links-core.php on line 277 I fixed this bug for my version with if ( defined( ‘BP_VERSION’ ) ) ` /** * Use this only inside of screen…[Read more]
@param Not recently active