Hi ! 😊
I searched the forum for the mode for the progress bar for "Profile bar complete"
here is a snippet of the line of code in the account.php file:
Thank you for your help
I searched the forum for the mode for the progress bar for "Profile bar complete"
here is a snippet of the line of code in the account.php file:
//Profile bar complete
#if ($site_config['BARREPROFIL']){
$var = explode( ' ', 'avatar-20 gender-20 clients-20 signature-20 title-20' );
$data = array();
foreach ( $var as $k => $v )
{
$var = explode( '-', $v );
$data[$var[ 0 ]] = ( int ) $var[ 1 ];
}
$percentage = $text = null;
foreach ( $data as $k => $v )
{
if ( ! empty( $CURUSER[ $k ] ) )
{
$percentage += $v;
}
else
{
$text .= '<b>' . ucwords( $k ) . '</b> (+' . $v . '%) ';
}
}
////
begin_frame(T_('PRO_COMPLETE'));
if ( $text != null )
{
echo sprintf(T_('PRO_COMPLETE_INFO'), $text);
}
#}
?>
<?php echo sprintf(T_('PRO_PERCENT'), ( int ) $percentage ); ?>
<div class="profile_bar"><span style="width: <?php echo (int) $percentage; ?>%; "></span></div>
<?php
end_frame();
//Profile bar complete
Thank you for your help


