If no Buddypress avatar redirect to upload avatar page


I need a WordPress plugin or custom-function that checks if logged in user has a Buddypress avatar and redirects to upload avatar page if false.

This function also needs to play nice with the plugin "s2member".

I have attempted to use the code :

global $bp;

if ( !bp_get_user_has_avatar()) { add_action( 'wp', 'custom_redirect', 3 ); }

function custom_redirect(){

global $wp;




I'm sure my code just needs a little tweak so this should be an easy job.

Requirement #1. Freelancer must have own DEV environment. I WILL NOT SET UP A HOST FOR YOU!

Requirement #2. MUST HAVE READ INSTRUCTIONS ( auto response bids will go into my "never hire freelancer" folder)

Evner: PHP, WordPress

Se mere: wordpress plugin dev, wordpress freelancer hire, wordpress dev freelancer, php freelancer id, hire wordpress freelancer, hire freelancer wordpress, hire a wordpress custom plugin, global response, freelancer wp plugin, freelancer user id, freelancer job global, freelancer folder, freelancer dev wordpress, freelancer dev c, custom wordpress freelancer job, change freelancer id, s2member plugin, freelancer go id, dev freelancer, wordpress plugin tweak, s2member, php buddypress, no bids, freelancer global, freelancer dev

Om arbejdsgiveren:
( 6 bedømmelser ) North Miami, United States

Projekt ID: #4038652

Tildelt til:


Quality work assured. Ready to get started. Thanks.

$150 USD på 1 dag
(375 bedømmelser)

4 freelancere byder i gennemsnit $140 på dette job


That's what I can do .

$100 USD in 2 dage
(119 bedømmelser)

I am interested to work on this [url removed, login to view] start now :) Thanks!,Instantsolutions

$89 USD in 3 dage
(64 bedømmelser)

Hi, Please see your private msg TY

$120 USD in 2 dage
(70 bedømmelser)

***********************************************BuddyPress PRO* Gladly at your service************************************** Personal interest to play & work on BuddyPress plugins. Past experience of working on BuddyPre Flere

$199 USD in 3 dage
(30 bedømmelser)