Inner workings of Profile Customiser

First of all, I have searched the forums.

I am trying to understand how the profile customiser functions.  I understand how it stores the CSS in the database but I have not been able to locate where the custom CSS gets applied from the database to the profile page.  My guess was that somewhere in the code for creating and displaying the profile page is a function that checks to see if a custom profile CSS is stored, then runs a MySQL query to pull out the CSS code from bx_profile_custom_main, translate it to standard CSS and then apply it to the page.  However, my guess could be wrong.

Geeks, making the world a better place
Quote · 2 Oct 2012

In profile.php , the CSS is read from the database and applied with this code snippet :

 

    $_page_cont[$_ni]['page_main_css'] = '<style type="text/css">' .
        BxDolService::call('profile_customize', 'get_profile_style', array($profileID)) . '</style>';

 

The snippet above is invoking the serviceGetProfileStyle function found in modules\boonex\profile_customize\classes\BxProfileCustomizeModule.php

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 5 Oct 2012

Thanks for this information. Smile

Geeks, making the world a better place
Quote · 6 Oct 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.