laalex98 Posted February 20, 2009 Share Posted February 20, 2009 Hi I'm new here, I need a lot of help with something I have been working on a whole day but can't fix! http://thetenderbox.com/release-party/ this is the code: if($result===false) { // In case we want our own image and not the default one lets tell it if ($placeholder != "") { $imagee = $placeholder; } else { // in the case we want the default image let's load it $imagee = get_option('siteurl')."/wp-content/plugins/twittar/default".$suffix.".png"; } // If we want to use gravatar we will handle a couple of things if ($usegravatar == 1) { if ($size == "") { // Size: Like gravatar default size is different from Twittar's one we will setup a new size when we // request the gravatar of the user $size = "48"; } // Lets build the gravatar url $image = get_option('siteurl') . '/wp-content/uploads/userphoto/' ; Whats wrong here? Link to comment https://forums.phpfreaks.com/topic/146063-php-wordpress-help/ Share on other sites More sharing options...
Q695 Posted February 20, 2009 Share Posted February 20, 2009 1st: if(!$result) 2nd: if ($placeholder) 3rd: if (!$size) 4th: $image = $_GET[siteurl] . '/wp-content/uploads/userphoto/' Link to comment https://forums.phpfreaks.com/topic/146063-php-wordpress-help/#findComment-766812 Share on other sites More sharing options...
laalex98 Posted February 20, 2009 Author Share Posted February 20, 2009 1st: if(!$result) 2nd: if ($placeholder) 3rd: if (!$size) 4th: $image = $_GET[siteurl] . '/wp-content/uploads/userphoto/' I knew it! Thanks! Link to comment https://forums.phpfreaks.com/topic/146063-php-wordpress-help/#findComment-767267 Share on other sites More sharing options...
Q695 Posted February 20, 2009 Share Posted February 20, 2009 Yep, it's that easy Link to comment https://forums.phpfreaks.com/topic/146063-php-wordpress-help/#findComment-767379 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.