Бормотухи.НЕТ

Вернуться   Бормотухи.НЕТ > Web-мастеру > vBulletin 3.х > Инструкции по vBulletin
Расширенный поиск

Инструкции по vBulletin Всевозможные мануалы, FAQ и инструкции по vBulletin

Ответ
 
Опции темы Поиск в этой теме
Старый 25.02.2010, 19:53 Вверх   #1
Знаток
 
Аватар для Marconi
Marconi вне форума
Доп. информация
По умолчанию Аватар по центру + заключаем в красивую рамку

Аватар по центру + заключаем в красивую рамку.
Картинки с моего бывшего сайта, который скоро будет уничтожен, поэтому я не перезаливаю, а тем, кто захочет использовать эту опцию, советую сохранить к себе в отдельную папку и проставить соответствующий путь.
-----------------------------

Код:
<div align="center"><table border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
<td width="17" background="http://seawave.at.ua/Diz/3bd0bff61a01.png" height="17">
</td>
<td background="http://seawave.at.ua/Diz/290b6ff174f7.png" height="17">
</td>
<td width="17" background="http://seawave.at.ua/Diz/94af9881da39.png" height="17">
</td>
</tr>
<tr>
<td width="17" background="http://seawave.at.ua/Diz/326a55f011dc.png">
</td>
<td>
<a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>

Код:
</td>
<td width="17" background="http://seawave.at.ua/Diz/a4e3e0816fe3.png">
</td>
</tr>
<tr>
<td width="17" background="http://seawave.at.ua/Diz/8cb928874182.png" height="17">
</td>
<td background="http://seawave.at.ua/Diz/8f85b050c329.png" height="17">
</td>

<td width="17" background="http://seawave.at.ua/Diz/ce48d6da8a98.png" height="17">
</td>
</tr>
</tbody></table></div>
Жирным выделено то, что уже есть.
Код ставим сверху и снизу.
Сохраняем и все.
Картинки записываем себе и сохраняем в отдельную папку.
Прописываем путь.
  Ответить с цитированием
7 пользователя(ей) сказали cпасибо:
Старый 25.02.2010, 21:18 Вверх   #2
Коварный тип
 
Аватар для Serberg
Serberg вне форума
Доп. информация
Хорошо

Marconi, я думаю что инструкцию стоило бы расписать для простых смертных в таком породе.

Вот скриншот:



Инструкция:
1. Скачиваем файлы с изображениями avatar.rar и распаковываем папку avatar в папку images.
2. Открываем шаблон Postbit_Legacy и находим там:

PHP код:
<a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]$post[avwidth$post[avheightalt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a
Выше этого кода вставляем:

PHP код:
<div align="center"><table border="0" cellpadding="0" cellspacing="0">
<
tbody><tr>
<
td width="17" background="/images/avatar/1.png" height="17">
</
td>
<
td background="/images/avatar/2.png" height="17">
</
td>
<
td width="17" background="/images/avatar/3.png" height="17">
</
td>
</
tr>
<
tr>
<
td width="17" background="/images/avatar/4.png">
</
td>
<
td
А ниже кода:

PHP код:
<a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]$post[avwidth$post[avheightalt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a
Вставляем:

PHP код:
</td>
<
td width="17" background="/images/avatar/5.png">
</
td>
</
tr>
<
tr>
<
td width="17" background="/images/avatar/6.png" height="17">
</
td>
<
td background="/images/avatar/7.png" height="17">
</
td>

<
td width="17" background="/images/avatar/8.png" height="17">
</
td>
</
tr>
</
tbody></table></div
Все. Сохраняем.

Слегка переделал и оптимизировал код, но сути не изменилось.

Последний раз редактировалось Serberg; 23.02.2015 в 11:53..
  Ответить с цитированием
20 пользователя(ей) сказали cпасибо:
Старый 24.08.2010, 10:45 Вверх   #3
Уважаемая личность
 
Аватар для Vasich
Vasich вне форума
Доп. информация
По умолчанию

Подскажите, как убрать лишнюю полоску (она на всех аватарах)

  Ответить с цитированием
Старый 24.08.2010, 11:08 Вверх   #4
Модератор
 
Аватар для Slavok47
Slavok47 вне форума
Доп. информация
По умолчанию

Vasich, убрать из шаблона, что именно без кода не скажу
  Ответить с цитированием
Старый 24.08.2010, 11:25 Вверх   #5
Уважаемая личность
 
Аватар для Vasich
Vasich вне форума
Доп. информация
По умолчанию

Вот код:
Нажми для просмотра
$template_hook[postbit_start]
<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr>
<if condition="$show['announcement']">
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]" colspan="2">
<img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" />
<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
</td>
<else />
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[right]: 0px" $post[scrolltothis]>
<!-- status icon and date -->
<a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
$post[firstnewinsert]
<!-- / status icon and date -->
</td>
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[left]: 0px" align="$stylevar[right]">
&nbsp;
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if>
<if condition="$show['inlinemod']">
<input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" />
</if>
</td>
</if>
</tr>
<tr valign="top">
<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">

<div id="postmenu_$post[postid]">
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
</div>

<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
$template_hook[postbit_userinfo_left]

<if condition="$show['avatar']">

<div class="smallfont">
<div align="center"><table border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
<td width="17" background="/images/avatar/1.png" height="17">
</td>
<td background="/images/avatar/2.png" height="17">
</td>
<td width="17" background="/images/avatar/3.png" height="17">
</td>
</tr>
<tr>
<td width="17" background="/images/avatar/4.png">
</td>
<td>
&nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
</td>
<td width="17" background="/images/avatar/5.png"">
</td>
</tr>
<tr>
<td width="17" background="/images/avatar/6.png" height="17">
</td>
<td background="/images/avatar/7.png" height="17">
</td>

<td width="17" background="/images/avatar/8.png" height="17">
</td>
</tr>
</tbody></table></div>
</div>
</if>

<div class="smallfont">
&nbsp;<br />
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
<div>
$vbphrase[posts]: $post[posts]
</div>
$template_hook[postbit_userinfo_right_after_posts]
<if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
<if condition="$show['reputation']"><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><div><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
<if condition="$post[field6] != ''"><div>
Страна: <img src="images/flags/$post[field6].gif" title="$post[field6]" align="center">
</div></if>
$template_hook[postbit_userinfo_right]
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
</div>

</td>
<if condition="$show['moderated']">
<td class="alt2" id="td_post_$post[postid]" style="border-$stylevar[right]: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
<else />
<td class="alt1" id="td_post_$post[postid]" style="border-$stylevar[right]: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
</if>
$template_hook[postbit_messagearea_start]
<if condition="$show['messageicon'] OR $post['title']">
<!-- icon and title -->
<div class="smallfont">
<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
<if condition="$post['title']"><strong>$post[title]</strong></if>
</div>
<hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
<!-- / icon and title -->
</if>

<!-- message -->
<div id="post_message_$post[postid]">
$ad_location[ad_showthread_firstpost_start]
$post[message]
</div>
<!-- / message -->

<if condition="$show['attachments']">
<!-- attachments -->
<div style="padding:$stylevar[cellpadding]px">

<if condition="$show['thumbnailattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_thumbnails]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[thumbnailattachments]
</div>
</fieldset>
</if>

<if condition="$show['imageattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[imageattachments]
</div>
</fieldset>
</if>

<if condition="$show['imageattachmentlink']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[imageattachmentlinks]
</table>
</fieldset>
</if>

<if condition="$show['otherattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_files]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[otherattachments]
</table>
</fieldset>
</if>

<if condition="$show['moderatedattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attachments_pending_approval]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[moderatedattachments]
</table>
</fieldset>
</if>

</div>
<!-- / attachments -->
</if>

$template_hook[postbit_signature_start]
$ad_location[ad_showthread_firstpost_sig]

<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>

$template_hook[postbit_signature_end]

<if condition="$show['postedited']">
<!-- edit note -->
<div class="smallfont">
<hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
<em>
<if condition="$show['postedithistory']">
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]" 4="posthistory.php?$session[sessionurl]p=$post[postid]">$vbphrase[last_edited_link_by_x_on_y_at_z_postid]</phrase>
<else />
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>
</if>
<if condition="$post['edit_reason']">
$vbphrase[reason]: $post[edit_reason]
</if>
</em>
</div>
<!-- / edit note -->
</if>

</td>
</tr>
<tr>
<td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px">
$post[onlinestatus]
<if condition="$show['reputationlink']">
<span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
<if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>
</if>
<if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&amp;p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a></if>
<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a></if>
$post[iplogged]
&nbsp;
</td>
<if condition="$show['moderated']">
<td class="alt2" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[left]: 0px; border-top: 0px">
<else />
<td class="alt1" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[left]: 0px; border-top: 0px">
</if>
<!-- controls -->
<if condition="$post['editlink']">
<img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
<a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
</if>
<if condition="$post['forwardlink']">
<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
</if>
<if condition="$post['replylink']">
<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
</if>
<if condition="$show['multiquote_post']">
<a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>
</if>
<if condition="$show['quickreply'] AND !$show['threadedmode']">
<a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
</if>
<if condition="$show['moderated']">
<img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
</if>
<if condition="$show['spam']">
<img src="$stylevar[imgdir_misc]/spam_detected.png" alt="$vbphrase[spam_post]" border="0" />
</if>
<if condition="$show['deletedpost']">
<if condition="$show['managepost']">
<a href="postings.php?$session[sessionurl]do=managepost&amp;p=$post[postid]"><img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[manage]" border="0" /></a>
<else />
<img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
</if>
</if>
<if condition="$show['redcard']">
<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
<else />
<if condition="$show['yellowcard']">
<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
</if>
</if>
$template_hook[postbit_controls]
<!-- / controls -->
</td>
</tr>
</table>
$template_hook[postbit_end]

<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$post[username]</td>
</tr>
<if condition="$show['profile']">
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
</if>
<if condition="$show['pmlink']">
<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['emaillink']">
<tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['homepage']">
<tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
</if>
<if condition="$show['search']">
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_more_posts_by_x]</phrase></a></td></tr>
</if>
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_contacts]</phrase></a></td></tr>
</if>
$template_hook[postbit_user_popup]
</table>
</div>
<!-- / post $post[postid] popup menu -->

Последний раз редактировалось Vasich; 24.08.2010 в 14:57..
  Ответить с цитированием
Старый 24.08.2010, 14:19 Вверх   #6
Модератор
 
Аватар для Slavok47
Slavok47 вне форума
Доп. информация
По умолчанию

Vasich,
Нажми для просмотра
PHP код:
$template_hook[postbit_start]
<
table id="post$post[postid]class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="0" border="0" width="100%" align="center">
<
tr>
<if 
condition="$show['announcement']">
<
td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]colspan="2">
<
img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]border="0" />
<
phrase 1="$post[startdate]2="$post[enddate]">$vbphrase[x_until_y]</phrase>
</
td>
<else />
<
td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[right]: 0px" $post[scrolltothis]>
<!-- 
status icon and date -->
<
a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]border="0" /></a>
$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
$post[firstnewinsert]
<!-- / 
status icon and date -->
</
td>
<
td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[left]: 0px" align="$stylevar[right]">
&
nbsp;
<if 
condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if>
<if condition="$show['inlinemod']">
<
input type="checkbox" name="plist[$postid]" id="plist_$postidstyle="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]/>
</if>
</
td>
</if>
</
tr>
<
tr valign="top">
<
td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">

<
div id="postmenu_$post[postid]">
<if 
condition="$show['profile']">
<
class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
<
script type="text/javascript"vbmenu_register("postmenu_$post[postid]"true); </script>
<else />
$post[musername]
</if>
</div>

<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
$template_hook[postbit_userinfo_left]

<if condition="$show['avatar']">

<div class="smallfont">
<div align="center"><table border="0" cellpadding="0" cellspacing="0"> 
<tbody><tr> 
<td width="17" background="http://Сайт/forums/images/avatar/1.png" height="17"> 
</td> 
<td background="http://Сайт/forums/images/avatar/2.png" height="17"> 
</td> 
<td width="17" background="http://Сайт/forums/images/avatar/3.png" height="17"> 
</td> 
</tr> 
<tr> 
<td width="17" background="http://Сайт/forums/images/avatar/4.png"> 
</td> 
<td> 
<a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
</td> 
<td width="17" background="http://Сайт/forums/images/avatar/5.png""> 
</td> 
</tr> 
<tr> 
<td width="17" background="http://Сайт/forums/images/avatar/6.png" height="17"> 
</td> 
<td background="http://Сайт/forums/images/avatar/7.png" height="17"> 
</td> 

<td width="17" background="http://Сайт/forums/images/avatar/8.png" height="17"> 
</td> 
</tr> 
</tbody></table></div> 
</div>
</if>

<div class="smallfont">
&nbsp;<br />
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
<div>
$vbphrase[posts]: $post[posts]
</div>
$template_hook[postbit_userinfo_right_after_posts]
<if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
<if condition="$show['reputation']"><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><div><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
<if condition="$post[field6] != ''"><div>
Страна: <img src="images/flags/$post[field6].gif" title="$post[field6]" align="center">
</div></if>
$template_hook[postbit_userinfo_right]
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
</div>

</td>
<if condition="$show['moderated']">
<td class="alt2" id="td_post_$post[postid]" style="border-$stylevar[right]: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
<else />
<td class="alt1" id="td_post_$post[postid]" style="border-$stylevar[right]: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
</if>
$template_hook[postbit_messagearea_start]
<if condition="$show['messageicon'] OR $post['title']">
<!-- icon and title -->
<div class="smallfont">
<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
<if condition="$post['title']"><strong>$post[title]</strong></if>
</div>
<hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
<!-- / icon and title -->
</if>

<!-- message -->
<div id="post_message_$post[postid]">
$ad_location[ad_showthread_firstpost_start]
$post[message]
</div>
<!-- / message -->

<if condition="$show['attachments']">
<!-- attachments -->
<div style="padding:$stylevar[cellpadding]px">

<if condition="$show['thumbnailattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_thumbnails]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[thumbnailattachments]
</div>
</fieldset>
</if>

<if condition="$show['imageattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[imageattachments]
</div>
</fieldset>
</if>

<if condition="$show['imageattachmentlink']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[imageattachmentlinks]
</table>
</fieldset>
</if>

<if condition="$show['otherattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_files]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[otherattachments]
</table>
</fieldset>
</if>

<if condition="$show['moderatedattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attachments_pending_approval]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[moderatedattachments]
</table>
</fieldset>
</if>

</div>
<!-- / attachments -->
</if>

$template_hook[postbit_signature_start]
$ad_location[ad_showthread_firstpost_sig]

<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>

$template_hook[postbit_signature_end]

<if condition="$show['postedited']">
<!-- edit note -->
<div class="smallfont">
<hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
<em>
<if condition="$show['postedithistory']">
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]" 4="posthistory.php?$session[sessionurl]p=$post[postid]">$vbphrase[last_edited_link_by_x_on_y_at_z_postid]</phrase>
<else />
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>
</if>
<if condition="$post['edit_reason']">
$vbphrase[reason]: $post[edit_reason]
</if>
</em>
</div>
<!-- / edit note -->
</if>

</td>
</tr>
<tr>
<td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px">
$post[onlinestatus]
<if condition="$show['reputationlink']">
<span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
<if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>
</if>
<if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&amp;p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a></if>
<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a></if>
$post[iplogged]
&nbsp;
</td>
<if condition="$show['moderated']">
<td class="alt2" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[left]: 0px; border-top: 0px">
<else />
<td class="alt1" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[left]: 0px; border-top: 0px">
</if>
<!-- controls -->
<if condition="$post['editlink']">
<img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
<a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
</if>
<if condition="$post['forwardlink']">
<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
</if>
<if condition="$post['replylink']">
<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
</if>
<if condition="$show['multiquote_post']">
<a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>
</if>
<if condition="$show['quickreply'] AND !$show['threadedmode']">
<a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
</if>
<if condition="$show['moderated']">
<img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
</if>
<if condition="$show['spam']">
<img src="$stylevar[imgdir_misc]/spam_detected.png" alt="$vbphrase[spam_post]" border="0" />
</if>
<if condition="$show['deletedpost']">
<if condition="$show['managepost']">
<a href="postings.php?$session[sessionurl]do=managepost&amp;p=$post[postid]"><img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[manage]" border="0" /></a>
<else />
<img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
</if>
</if>
<if condition="$show['redcard']">
<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
<else />
<if condition="$show['yellowcard']">
<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
</if>
</if>
$template_hook[postbit_controls]
<!-- / controls -->
</td>
</tr>
</table>
$template_hook[postbit_end]

<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$post[username]</td>
</tr>
<if condition="$show['profile']">
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
</if>
<if condition="$show['pmlink']">
<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['emaillink']">
<tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['homepage']">
<tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
</if>
<if condition="$show['search']">
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_more_posts_by_x]</phrase></a></td></tr>
</if>
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_contacts]</phrase></a></td></tr>
</if>
$template_hook[postbit_user_popup]
</table>
</div>
<!-- / post $post[postid] popup menu --> 

Пробуй

Последний раз редактировалось Slavok47; 24.08.2010 в 18:38..
  Ответить с цитированием
Cказали cпасибо:
Старый 24.08.2010, 18:20 Вверх   #7
Уважаемая личность
 
Аватар для Vasich
Vasich вне форума
Доп. информация
По умолчанию

Помогло...
Спасибо, я сам попытался разобраться и выяснил, что проблема в этом &nbsp;<br />
Интересно за что это отвечает?
  Ответить с цитированием
Старый 24.08.2010, 18:23 Вверх   #8
Модератор
 
Аватар для Slavok47
Slavok47 вне форума
Доп. информация
По умолчанию

Vasich, Молодец))
&nbsp; - пробел (ни чего важного)
<br /> - перенос но следующую строку, предыдущая остается пустой, (трабла была именно из за этого тега)
  Ответить с цитированием
Старый 01.09.2010, 03:13 Вверх   #9
Пользователь
 
Аватар для madsb
madsb вне форума
Доп. информация
По умолчанию

всем привет, а для 4 ветки движков как сделать подобное? или хотя бы просто все по центру без рамок
  Ответить с цитированием
Старый 01.09.2010, 04:02 Вверх   #10
Пользователь
 
Аватар для madsb
madsb вне форума
Доп. информация
По умолчанию

Выложу пока такой способ тестировал на версии 4.0.6
В шаблон additional.css,добавляем такой код:
PHP код:
/* center avatar, username, title, rank, userinfo_extra, postbit_reputation, imlinks */
.postbitlegacy .userinfo .username_container, .postbitlegacy .userinfo .rank, .postbitlegacy .userinfo .usertitle .imlinks {text-align:center;}
.
postbitlegacy .userinfo .postuseravatar, .postbitlegacy .userinfo .postuseravatar img  {float:nonetext-align:center;}
.
postbitlegacy .userinfo .usertitle {displayblockfloat:nonetext-align:centerclearboth;}
.
postbitlegacy .userinfo .userinfo_extra {text-align:center; }
.
postbit_reputation {float:nonetext-align:center;}
.
postbitlegacy .imlinks  {float:nonetext-align:center;}
.
postbitlegacy .userinfo .userinfo_extra dd{text-align:right;}


/* change username font size */
.postcontainer .username_container .popupmenu a.popupctrl {font-size:20px;} 
  Ответить с цитированием
Старый 09.11.2010, 11:22 Вверх   #11
Знаток
 
Аватар для Samir-05
Samir-05 вне форума
Доп. информация
По умолчанию

всё сработало без проблем

Оффтоп
  Ответить с цитированием
Старый 09.11.2010, 11:47 Вверх   #12
Модератор
 
Аватар для Slavok47
Slavok47 вне форума
Доп. информация
По умолчанию

Samir-05,
Оффтоп
  Ответить с цитированием
Cказали cпасибо:
Старый 08.01.2012, 09:19 Вверх   #13
Опытный пользователь
 
Аватар для Hermein
Hermein вне форума
Доп. информация
По умолчанию


Вот так получилось

Как сделать чтобы левый край подстроился под аву, размеры аватарок 100Х100 и 150х150?
  Ответить с цитированием
Старый 11.01.2012, 09:36 Вверх   #14
Модератор
 
Аватар для HotBeer
HotBeer вне форума
Доп. информация
По умолчанию

Вообщем подскажите плиз в какую сторону копать. Оцентровал ник, статус, аватар через представленный див.

PHP код:
<div align="center"><table border="0" cellpadding="0" cellspacing="0"
<
tbody><tr>

</
tr
</
tbody></table></div
Проверил вчера опера 11 **, ослик 7 и лиса (версию не помню уже удалил)
Все работает, после жалобы, что во всех трех браузерах в зависимости от версии, у кого то аватар полез в тело поста, у кого то только после обновления страницы оцентровка происходила. Пришел домой проверяю в опере у меня тоже ник оцентрован, а статус и аватар когда как.
Какой был шаблон сейчас привести не могу, так как в скором порядке вернул всё в первоначальное состояние, которое сейчас выглядит так
Нажми для просмотра
PHP код:
$template_hook[postbit_start]
<
table id="post$post[postid]class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="0" border="0" width="100%" align="center">
<
tr>
    <if 
condition="$show['announcement']">
        <
td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]colspan="2">
            <
img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]border="0" />
            <
phrase 1="$post[startdate]2="$post[enddate]">$vbphrase[x_until_y]</phrase>
        </
td>
    <else />
        <
td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[right]: 0px" $post[scrolltothis]>        
            <!-- 
status icon and date -->
            <
a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]border="0" /></a>
            
$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
            
$post[firstnewinsert]
            <!-- / 
status icon and date -->                
        </
td>
        <
td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[left]: 0px" align="$stylevar[right]">
            &
nbsp;
            <if 
condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if>
            
<if condition="$show['inlinemod']">
                <
input type="checkbox" name="plist[$postid]" id="plist_$postidstyle="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]/>
            </if>
        </
td>
    </if>
</
tr>
<
tr valign="top">
    <
td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
        <if 
condition="$show['quickreply']">
            <
class="bigusername" href="javascript:insertnick('$post[usernamequick]', '$post[postid]');" title="$vbphrase[nick_in_quickreply]">$post[musername]</a>
                <else />
            <
class="bigusername">$post[musername]</a>
                </if>
        <
a id="postmenu_$post[postid]">
        <
img src="$stylevar[imgdir_misc]/menu_open.gif" alt="<phrase 1="$post[username]">$vbphrase[usermenu]</phrase>" border=/>
        <
script type="text/javascript"vbmenu_register("postmenu_$post[postid]"true); </script></a>
            </div>
            <if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
            <if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
            $template_hook[postbit_userinfo_left]
        
            <if condition="$show['avatar']">
                <div class="smallfont">
                    &nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a> 
                </div>
            </if>
            <div style="padding:2px 0px 2px 0px;"></div>
<table class="tborder" cellspacing="0" border="0" width="100%">
<tbody>    
 <tr>
<if condition="$post['userid'] == 51142"> 
<else />
   <td class="thead" colspan="2"><a style="float:$stylevar[left]" href="#" onclick="return toggle_collapse('userinfo$post[postid]')"><img id="collapseimg_userinfo$post[postid]" src="$stylevar[imgdir_button]/collapse_thead{$collapseimg_userinfo}.gif" alt="" border="0" /></a>
<font class="smallfont">&nbsp;&nbsp;<i><i></font>
        </td>
    </tr>
</tbody>
<tbody id="collapseobj_userinfo$post[postid]" style="display:none;">
    <tr>
        <td class="alt2">
            <div class="smallfont">
                &nbsp;<br />

                <if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
                <if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
                <if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
                <div>
                    $vbphrase[posts]: $post[posts]
                </div>
                $template_hook[postbit_userinfo_right_after_posts]
                <if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
                <if condition="$show['reputation']"><div><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
                $template_hook[postbit_userinfo_right]
                <div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>

</if> 
           </td>
            </tr>
        </tbody>
     </table>
<if condition="$show['quickreply']">
<a href="javascript:insertQuote('$post[usernamequick]', selection, '$post[postid]')" onMouseOver="catchSelection()" title="$vbphrase[select_and_click]" class="smallfont"><b>$vbphrase[select_quote]</b></a>
</if>
            </div>                    
        
    </td>
и т.д 


Позже попробую как Тайфун советовал сделать тут
http://www.bormotuhi.net/showthread.php?t=3287

Последний раз редактировалось HotBeer; 11.01.2012 в 09:50..
  Ответить с цитированием
Старый 14.01.2012, 07:23 Вверх   #15
Модератор
 
Аватар для Slavok47
Slavok47 вне форума
Доп. информация
По умолчанию

HotBeer, что за таблица в диве?


Цитата Сообщение от Hermein Посмотреть сообщение
Как сделать чтобы левый край подстроился под аву
увеличь немного ширину левого блока
  Ответить с цитированием
Старый 26.01.2012, 16:59 Вверх   #16
Новичок
 
Аватар для Revi
Revi вне форума
Доп. информация
По умолчанию

Сделал все по манулу.
Но картинок нет.
Только он стал по середине.
Что делать?
  Ответить с цитированием
Старый 31.01.2012, 04:32 Вверх   #17
Грамотный форумчанин
 
Аватар для kadet
kadet вне форума
Доп. информация
По умолчанию

Цитата Сообщение от Revi Посмотреть сообщение
Сделал все по манулу.
Но картинок нет.
Только он стал по середине.
Что делать?
Если смотрите браузером firefox, и картинки лежат не совсем по тому пути - их просто не будет. Попробуйте открыть например IE или Opera - и сверьтесь с путем до картинок.

А то что аватар стал по центру - это и с названия темы было видно. А вообще за это отвечает начало кода:
PHP код:
<div align="center"> ... 
  Ответить с цитированием
Старый 04.02.2012, 12:46 Вверх   #18
Грамотный форумчанин
 
Аватар для mirex0123
mirex0123 вне форума
Доп. информация
По умолчанию

Цитата Сообщение от Hermein Посмотреть сообщение

Вот так получилось

Как сделать чтобы левый край подстроился под аву, размеры аватарок 100Х100 и 150х150?
Размер постбита меньше размера аватара. Уменьши сам аватар или же увеличь постбит!
  Ответить с цитированием
Старый 04.10.2012, 16:38 Вверх   #19
Коварный тип
 
Аватар для Serberg
Serberg вне форума
Доп. информация
По умолчанию

Файл потерялся. Есть тут: _http://cyber-systems.org/topic/13366-аватар-по-центру-заключаем-в-красивую-рамку/ но зарегиться там не могу.
  Ответить с цитированием
Старый 09.06.2014, 13:54 Вверх   #20
Коренной житель
 
Аватар для Arhangel
Arhangel вне форума
Доп. информация
По умолчанию

Цитата Сообщение от Serberg Посмотреть сообщение
Marconi, я думаю что инструкцию стоило бы расписать для простых смертных в таком породе.

Вот скриншот:



Инструкция:
1. Скачиваем файлы с изображениями avatar.zip и распаковываем папку avatar в папку images.
2. Открываем шаблон Postbit_Legacy и находим там:

PHP код:
<a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]$post[avwidth$post[avheightalt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a
Выше этого кода вставляем:

PHP код:
<div align="center"><table border="0" cellpadding="0" cellspacing="0">
<
tbody><tr>
<
td width="17" background="/images/avatar/1.png" height="17">
</
td>
<
td background="/images/avatar/2.png" height="17">
</
td>
<
td width="17" background="/images/avatar/3.png" height="17">
</
td>
</
tr>
<
tr>
<
td width="17" background="/images/avatar/4.png">
</
td>
<
td
А ниже кода:

PHP код:
<a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]$post[avwidth$post[avheightalt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a
Вставляем:

PHP код:
</td>
<
td width="17" background="/images/avatar/5.png">
</
td>
</
tr>
<
tr>
<
td width="17" background="/images/avatar/6.png" height="17">
</
td>
<
td background="/images/avatar/7.png" height="17">
</
td>

<
td width="17" background="/images/avatar/8.png" height="17">
</
td>
</
tr>
</
tbody></table></div
Все. Сохраняем.

Слегка переделал и оптимизировал код, но сути не изменилось.
а зачем аватар качать? это обрамление?
  Ответить с цитированием
Старый 23.02.2015, 08:32 Вверх   #21
Коренной житель
 
Аватар для PRofimc
PRofimc вне форума
Доп. информация
По умолчанию

Цитата Сообщение от Arhangel Посмотреть сообщение
а зачем аватар качать? это обрамление?
Мне тоже интересно? Зачем авы?
  Ответить с цитированием
Старый 23.02.2015, 08:38 Вверх   #22
Коварный тип
 
Аватар для Serberg
Serberg вне форума
Доп. информация
По умолчанию

Цитата Сообщение от PRofimc Посмотреть сообщение
Мне тоже интересно? Зачем авы?
В папке аватар были картинки обрамления вокруг аватарки.
При желании их можно вытащить с самого форума тут: http://sea-wave.ru/forum/showthread....9452#post29452

Последний раз редактировалось Serberg; 23.02.2015 в 08:44..
  Ответить с цитированием
Старый 23.02.2015, 08:47 Вверх   #23
Коренной житель
 
Аватар для PRofimc
PRofimc вне форума
Доп. информация
По умолчанию

я так понял, рамка это и есть набор картинок
  Ответить с цитированием
Старый 23.02.2015, 08:48 Вверх   #24
Коварный тип
 
Аватар для Serberg
Serberg вне форума
Доп. информация
По умолчанию

Цитата Сообщение от PRofimc Посмотреть сообщение
я так понял, рамка это и есть набор картинок
Совершенно верно. Картинок всего 8 штук. Это четыре полосы вокруг аватара + 4 скругления по углам.
  Ответить с цитированием
Старый 23.02.2015, 08:55 Вверх   #25
Коренной житель
 
Аватар для PRofimc
PRofimc вне форума
Доп. информация
По умолчанию

Скрытый текст (вы должны зарегистрироваться или войти под своим логином):
У вас нет прав чтобы видеть скрытый текст, содержащейся здесь.
- вот они, только я не уверен, что правильно прономеровал
234
1-5
876

Последний раз редактировалось PRofimc; 23.02.2015 в 09:25..
  Ответить с цитированием
Cказали cпасибо:
Ответ

Метки
аватар в рамку, аватар по центру

Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.

Быстрый переход

Похожие темы
Тема Автор Раздел Ответов Последнее сообщение
Как выровнть логотип форума по центру ? KaZaX vBulletin 3.х 9 11.08.2015 17:01
[Вопрос] Как сделать Аватар, статус и ник по центру? 4.1.3 двиг) dhonchik vBulletin 4.x 22 20.04.2014 23:43
Выравниваем ник, статус и аватар по центру. TAIFUN Инструкции по vBulletin 31 24.01.2013 09:37
Немогу поставить счетчик по центру??? sertaras vBulletin 3.х 13 14.07.2010 23:25
[Вопрос] Как сделать аватар по центру ? PaSaD vBulletin 3.х 1 31.03.2010 00:22


Текущее время: 08:30. Часовой пояс GMT +3.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc. Перевод: zCarot
 

Время генерации страницы 0.56008 секунды с 13 запросами