Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [Andy] Changing Return Value for Profile Pic Global

Quote Reply
Re: [Andy] Changing Return Value for Profile Pic Global In reply to
Printing <%uiPhoto%> returns a URL string for the image, as it should - on comments with avatars.

For those without though, it prints nothing. Unsure

It seems that it returns the correct values when there is an image, but as soon as there isn't a profile picture attached it continues to return an empty (not null) value of some sort. In theory if it returned a true null value for that uiPhoto, we should be able to effectively use the if/else statements.

This is all happening within that loop, and my suspicion is that at some point when it finds there is no profile picture - it just skips all the data in that global, for that particular comment, until it loops to a comment with an avatar. At least that's my assumption.
Subject Author Views Date
Thread; hot thread Changing Return Value for Profile Pic Global meso 14701 May 27, 2014, 2:00 AM
Thread; hot thread Re: [meso] Changing Return Value for Profile Pic Global
Andy 14505 May 27, 2014, 3:01 AM
Thread; hot thread Re: [Andy] Changing Return Value for Profile Pic Global
meso 14412 May 27, 2014, 4:55 AM
Thread; hot thread Re: [meso] Changing Return Value for Profile Pic Global
Andy 14468 May 27, 2014, 4:56 AM
Thread; hot thread Re: [Andy] Changing Return Value for Profile Pic Global
meso 14428 May 27, 2014, 5:20 AM
Thread; hot thread Re: [meso] Changing Return Value for Profile Pic Global
Andy 14444 May 27, 2014, 5:25 AM
Thread; hot thread Re: [Andy] Changing Return Value for Profile Pic Global
eupos 14428 May 27, 2014, 5:32 AM
Post; hot thread Re: [eupos] Changing Return Value for Profile Pic Global
Andy 14449 May 27, 2014, 5:36 AM
Thread; hot thread Re: [Andy] Changing Return Value for Profile Pic Global
meso 14424 May 27, 2014, 5:44 AM
Post; hot thread Re: [meso] Changing Return Value for Profile Pic Global
Andy 14453 May 27, 2014, 5:46 AM
Thread; hot thread Re: [meso] Changing Return Value for Profile Pic Global
eupos 14393 May 27, 2014, 5:49 AM
Thread; hot thread Re: [eupos] Changing Return Value for Profile Pic Global
meso 14408 May 27, 2014, 6:19 AM
Thread; hot thread Re: [meso] Changing Return Value for Profile Pic Global
eupos 14412 May 27, 2014, 6:33 AM
Thread; hot thread Re: [eupos] Changing Return Value for Profile Pic Global
meso 14415 May 27, 2014, 6:37 AM
Post; hot thread Re: [meso] Changing Return Value for Profile Pic Global
eupos 14384 May 27, 2014, 6:43 AM
Post; hot thread Post deleted by el noe
el noe 14320 May 28, 2014, 4:37 AM