[ Pobierz całość w formacie PDF ]
############################################################### MOD Title: Widok profilu u¿ytkownika w temacie## MOD Author: xlesiu## MOD Description: Modyfikacja zamienia standardowy wygl¹d widoku danych na "wyœrodkowany".## MOD Version: 1.0#### Installation Level: Easy## Installation Time: 3 Minutes## Files To Edit: viewtopic.php## templates/NazwaStylu/viewtopic_body.tpl## templates/NazwaStylu/NazwaStylu.css#################################################################-----[ OPEN ]------------------------------------------#viewtopic.php##-----[ FIND ]------------------------------------------#$poster_age = $lang['Age'] . ': ' . $poster_age .' ';##-----[ REPLACE WITH ]------------------------------------------#$poster_age = '<div class="lewa">'.$lang['Age'].': </div><div class="prawa">'.$poster_age.'</div>';##-----[ FIND ]------------------------------------------#$poster_post = ($poster_id != ANONYMOUS && $board_config['cposts']) ? $lang['Posts'] . ': ' . $poster_posts : '';##-----[ REPLACE WITH ]------------------------------------------#$poster_post = ($poster_id != ANONYMOUS && $board_config['cposts']) ? '<div class="lewa">'.$lang['Posts'].': </div><div class="prawa">'.$poster_posts.'</div>':'';##-----[ FIND ]------------------------------------------#$poster_from = ($postrow[$i]['user_from'] && $board_config['cfrom'] && $poster_id != ANONYMOUS ) ? $lang['Location'] . ': ' . $postrow[$i]['user_from'] : '';##-----[ REPLACE WITH ]------------------------------------------#$poster_from = ($postrow[$i]['user_from'] && $board_config['cfrom'] && $poster_id != ANONYMOUS ) ? '<div class="lewa">'.$lang['Location'].': </div><div class="prawa">'.$postrow[$i]['user_from'].'</div>':'';##-----[ FIND ]------------------------------------------#$poster_joined = ($poster_id != ANONYMOUS && $board_config['cjoin']) ? (($postrow[$i]['user_gender'] == 2) ? $lang['Joined_she'] : $lang['Joined']) . ': ' . create_date($lang['DATE_FORMAT'], $postrow[$i]['user_regdate'], $board_config['board_timezone']) : '';##-----[ REPLACE WITH ]------------------------------------------#$poster_joined = ($poster_id != ANONYMOUS && $board_config['cjoin']) ? '<div class="lewa">'.(($postrow[$i]['user_gender'] == 2) ? $lang['Joined_she']:$lang['Joined']).': </div><div class="prawa">'.create_date($lang['DATE_FORMAT'], $postrow[$i]['user_regdate'], $board_config['board_timezone']).'</div>':'';##-----[ FIND ]------------------------------------------#$special_rank = ($rank > 0 && $poster_id != ANONYMOUS && $postrow[$i]['user_allow_helped']) ? (($postrow[$i]['user_gender'] == 2) ? $lang['postrow_help_she'] : $lang['postrow_help']) . $rank . $helped_how_much . '<br />' : '';##-----[ REPLACE WITH ]------------------------------------------#$special_rank = ($rank > 0 && $poster_id != ANONYMOUS && $postrow[$i]['user_allow_helped']) ? '<div class="lewa">'.(($postrow[$i]['user_gender'] == 2) ? $lang['postrow_help_she'] : $lang['postrow_help']).'</div><div class="prawa">'.$rank.$helped_how_much.'</div><br />' : '';##-----[ OPEN ]------------------------------------------#templates/NazwaStylu/viewtopic_body.tpl##-----[ FIND ]------------------------------------------#<!-- BEGIN custom_fields_avatar -->{postrow.custom_fields_avatar.DESC}{postrow.custom_fields_avatar.FIELD}<br><!-- END custom_fields_avatar -->##-----[ REPLACE WITH ]------------------------------------------#<!-- BEGIN custom_fields_avatar --><div class="lewa">{postrow.custom_fields_avatar.DESC}</div><div class="prawa">{postrow.custom_fields_avatar.FIELD}</div><br><!-- END custom_fields_avatar -->##-----[ OPEN ]------------------------------------------#templates/NazwaStylu/NazwaStylu.css##-----[ FIND ]------------------------------------------#/* General font families for common tags */##-----[ BEFORE, ADD ]------------------------------------------#.lewa {width: 75px; color: #4F4F4F; float: left; text-align: right; margin-right: 5px;}.prawa { width: 70px; color: #00939F; float: left; text-align: left; font-weight: bold;}[/code]##-----[ END ]------------------------------------------#Je¿eli macie stworzone jakieœ w³asne pola i maj¹ one d³u¿sze nazwy to mo¿ecie w pliku viewtopic_body.tpl zwiêkszyæ szerokoœæ komórki <td> gdzie s¹ dane u¿ytkownika. W subSilver szerokoœæ wynosi[code]width="150"[/code]Wartoœæ ta wystêpuje dwa razy. Gdy zwiêkszycie j¹ np. o 10px czyli do 160px to wtedy pamiêtajcie o zwiêkszeniu szerokoœci diva w klasie .lewa w pliku NazwaStylu.css równie¿ o 10px (czyli z 75px na 85px).
[ Pobierz całość w formacie PDF ]
© 2009 Po zniszczeniu przeszłości przyszedł czas na budowanie przyszłości. - Ceske - Sjezdovky .cz. Design downloaded from free website templates