Post by Jamesy on Sept 2, 2009 1:06:59 GMT -8
I assume you're adding images such as
by modifying their custom titles and using UBBC. I'll also assume the profiles that fail to show the icons all have this or another image in center tags and that is the root of the problem. The code assumes that the only center tag it encounters in the mini-profile would be the one containing avatar and personal text so when it encounters a center tag and checks if it contains the delimited data but finds none it moves on to the next profile...
If it's a code adding those images then move it below the social networks code. If it's there through custom title then edit and remove the center tags from around the image.
We have a full mini-profile rework, and don't use the center tags around those images, though you'd be right in thinking the ones I've noticed that don't work have one of those as a custom title thingy as well - I'll check that out, though I also have more than one and it works OK in my account.
You could change this line:
var c = td[x].getElementsByTagName("center")[0];
To this:
var c = td[x].getElementsByTagName("center")[td[x].getElementsByTagName("center").length-1];
I search for the center tag because I don't like re-parsing the entire cell like most codes do.
Thanks, I'll take a look and come back with results
EDIT: Yeah, Jordan's suggestion appears to have worked, thanks so much for your help