while waiting for you i solved one of my problems. setting up custom css fields and modules to control layout a bit more
perhaps you should consider adding a more elegant solution to the backend..?
just use getApplication to get the id of the current application, then we can use that id to grab whatever value we want for that specific user, since im using this on a business directory kind of scheme, i use a custom field i made called biz_name. so then i can grab the business name and create div id or class for it at the head of the page by:
<?php
$cdb = JFactory::getDbo();
$query = $cdb->getQuery(true);
$query->select($cdb->quoteName('biz_name'));
$query->from($cdb->quoteName('#__jsn_users'));
$id = JFactory::getApplication()->input->getInt('id', 0);
$query->where($db->quoteName('id')." = ".$db->quote($id));
$db->setQuery($query);
$result = $db->loadResult();
echo '<div id="' . $result . '-head"><span>{modulepos ' . $result . '}</span></div>';
?>
also you will notice i inserted a modulepos aswell allowing me to insert a module of my choice inside the profile layout
so now i have a div id of business name allow me to style each individual profile page differently
ill probably endup using the tiers that i have created as well as a layout master, so basically i can use an if statement, if tier is blah blah then create this layout scheme. anyways this is a brute way of doing it, im a novice programmer, but im excellent at problem solving. yous guys have a cleaner solution to this? and also the image sizing problem?