форум vBSupport.ru > Форумные движки и CMS (Порталы) > CMS (Portals) > vBadvanced CMPS
Register Меню vBsupport Изображения Files Manager О рекламе Today's Posts Search
  • Родная гавань
  • Блок РКН снят
  • Premoderation
  • For English speaking users
  • Каталог Фрилансеров
  • If you want to buy some product or script
  • Администраторам
VBsupport перешел с домена .ORG на родной .RU Ура! Пожалуйста, обновите свои закладки - VBsupport.ru
Блок РКН снят, форум доступен на всей территории России, включая новые терртории, без VPN
На форуме введена премодерация ВСЕХ новых пользователей

Почта с временных сервисов, типа mailinator.com, gawab.com и/или прочих, которые предоставляют временный почтовый ящик без регистрации и/или почтовый ящик для рассылки спама, отслеживается и блокируется, а так же заносится в спам-блок форума, аккаунты удаляются
for English speaking users:
You may be surprised with restriction of access to the attachments of the forum. The reason is the recent change in vbsupport.org strategy:

- users with reputation < 10 belong to "simple_users" users' group
- if your reputation > 10 then administrator (kerk, Luvilla) can decide to move you into an "improved" group, but only manually

Main idea is to increase motivation of community members to share their ideas and willingness to support to each other. You may write an article for the subject where you are good enough, you may answer questions, you may share vbulletin.com/org content with vbsupport.org users, receiving "thanks" equal your reputation points. We should not only consume, we should produce something.

- you may:
* increase your reputation (doing something useful for another members of community) and being improved
* purchase temporary access to the improved category:
10 $ for 3 months. - this group can download attachments, reputation/posts do not matter.
20 $ for 3 months. - this group can download attachments, reputation/posts do not matter + adds eliminated + Inbox capacity increased + files manager increased permissions.

Please contact kerk or Luvilla regarding payments.

Important!:
- if your reputation will become less then 0, you will be moved into "simple_users" users' group automatically.*
*for temporary groups (pre-paid for 3 months) reputation/posts do not matter.
Уважаемые пользователи!

На форуме открыт новый раздел "Каталог фрилансеров"

и отдельный раздел для платных заказов "Куплю/Закажу"

Если вы хотите приобрести какой то скрипт/продукт/хак из каталогов перечисленных ниже:
Каталог модулей/хаков
Ещё раз обращаем Ваше внимание: всё, что Вы скачиваете и устанавливаете на свой форум, Вы устанавливаете исключительно на свой страх и риск.
Сообщество vBSupport'а физически не в состоянии проверять все стили, хаки и нули, выкладываемые пользователями.
Помните: безопасность Вашего проекта - Ваша забота.
Убедительная просьба: при обнаружении уязвимостей или сомнительных кодов обязательно отписывайтесь в теме хака/стиля
Спасибо за понимание
 
 
 
 
Plexx
Простоузер
Default Новости на главной vbadvanced
0

Подскажите великие гуру. Как на главной vba разместить фото, которое вложено в статью, слева от текста. Что бы текст фото огибал.
А так же где убрать это слово "вложение" .
Нужно что бы было вот так.
Пример.

Так сейчасClick image for larger version

Name:	вложение1.jpg
Views:	290
Size:	79.3 KB
ID:	7614
А нужно вот такClick image for larger version

Name:	вложение.jpg
Views:	237
Size:	72.9 KB
ID:	7615

Ковырял шаблон adv_portal_newsbits Убрал Рамку и слово Вложенные файлы..
Но все равно не так как надо.

Прилагаю код этого шаблона.

PHP Code:
<if condition="!$mod_options['portal_news_legacy']">
    <
tr>
        <
td class="thead"><if condition="$mod_options['portal_news_showicon']">$vba_style[portal_blockbullet]</if> <a href="$vboptions[bburl]/showthread.php?t=$news[threadid]">$news[title]</a></td>
    </
tr>
</if>
<
tr>
    <
td class="<if condition="$mod_options['portal_news_legacy']">thead<else />alt2</if>">
        <if 
condition="$mod_options['portal_news_showrating'] AND $news['votenum']">
            <
span style="float:$stylevar[right]"><img alt="" src="$stylevar[imgdir_rating]/rating_$news[rating].gif" title="<phrase 1="$news[votenum]" 2="$news[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" /></span>
        </if>
        
$news[dateposted] - <phrase 1="$vboptions[bburl]/member.php?$session[sessionurl]u=$news[postuserid]2="$news[postusername]">$vbphrase[by_x]</phrase>
    </
td>
</
tr>
<
tr>
    <
td align="$stylevar[left]class="alt1" valign="top">
        <if 
condition="$news['avatarpath']">
            <
img align="$stylevar[left]style="padding:6px" alt="" border="0" src="$news[avatarpath]title="$news[postusername]'s $vbphrase[avatar]/>
        </if>
        
$news[message]

        <if 
condition="$show['signature']">
        <
div>__________________<br />
        
$news[signature]</div>
        </if>

        </
td>
    </
tr>

    <if 
condition="$news['attachment']">
        <
tr class="alt1">
            <
td>
                <
fieldset class="fieldset">
                <
legend>Вложенные файлы</legend>
                <
div style="padding:$stylevar[formspacer]px">
                    
$news[attachment]
                </
div>
                </
fieldset>
            </
td>
        </
tr>
    </if>

    <
tr class="alt2" valign="middle">
    <
td valign="middle">
        <
span style="float:right">
        <if 
condition="$show['editbutton']">
            <
a href="$vboptions[bburl]/editpost.php?$session[sessionurl]do=editpost&amp;p=$news[postid]"><img alt="$vbphrase[edit_this_post]border="0" src="$stylevar[imgdir_button]/edit.gif" /></a>
        </if>

        <if 
condition="$show['replybutton']">
            <
a href="$vboptions[bburl]/newreply.php?$session[sessionurl]do=newreply&amp;t=$news[threadid]"><img alt="$vbphrase[reply_to_this_post]border="0" src="$stylevar[imgdir_button]/reply_small.gif" /></a>
        </if>

        <if 
condition="$mod_options['portal_news_showsendfriend']">
            <
a href="$vboptions[bburl]/sendmessage.php?$session[sessionurl]do=sendtofriend&amp;t=$news[threadid]"><img alt="" border="0" src="$stylevar[imgdir_button]/sendtofriend.gif" title="$vbphrase[send_to_friend]/></a>
        </if>

        <if 
condition="$mod_options['portal_news_showprintable']">
            <
a href="$vboptions[bburl]/printthread.php?$session[sessionurl]t=$news[threadid]"><img alt="" border="0" src="$stylevar[imgdir_button]/printer.gif" title="$vbphrase[show_printable_version]/></a>
        </if>
        </
span>

        <
span class="smallfont">
        <if 
condition="$mod_options['portal_news_allowreplies']">$news[replycount] <if condition="$news['reply_noformat'] == 1">$vbphrase[reply]<else />$vbphrase[replies]</if> | </if> $news[views$vbphrase[views]</span>
    </
td>
</
tr
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
 
 
nebesa
Знаток
 
nebesa's Avatar
Default
0

=))) рисунок не в аттач запихать а с хоста через ссылку вот те и небудет никаких вложений ну а как слева поссылке рисунок пихнуть думаю знаешь =)
 
 
Plexx
Простоузер
Default
0

у меня локальный сайт
 
 
Simbiat
Простоузер
Default
0

Quote:
Originally Posted by Plexx View Post
у меня локальный сайт
ну так к себе на хост залей и на картинку ссылку дай....
 
 
Woldemar
Простоузер
Default
0

Quote:
Originally Posted by nebesa View Post
=))) рисунок не в аттач запихать а с хоста через ссылку вот те и небудет никаких вложений ну а как слева поссылке рисунок пихнуть думаю знаешь =)
Дык текст будет не как у него щаз с верху картинки а с низу если бб кодом писать
 
 
Demion
Продвинутый
 
Demion's Avatar
Default
3

Убери вот этот кусок кода
PHP Code:
<if condition="$news['attachment']"
        <
tr class="alt1"
            <
td
                <
fieldset class="fieldset"
                <
legend>Вложенные файлы</legend
                <
div style="padding:$stylevar[formspacer]px"
                    
$news[attachment
                </
div
                </
fieldset
            </
td
        </
tr
    </if> 
и замени вот этот кусок
PHP Code:
<if condition="$news['avatarpath']"
            <
img align="$stylevar[left]style="padding:6px" alt="" border="0" src="$news[avatarpath]title="$news[postusername]'s $vbphrase[avatar]/> 
        </if> 
на вот этот. Пример смотри на моем форуме. Ссылка в подписи.
PHP Code:
<if condition="$news['attachment']">
<
span style="float: left; margin: 6px 6px 6px 0px">            
$news[attachment]
</
span>
        </if> 
 
 
Plexx
Простоузер
Default
0

Quote:
Originally Posted by Demion View Post
Убери вот этот кусок кода
PHP Code:
<if condition="$news['attachment']"
        <
tr class="alt1"
            <
td
                <
fieldset class="fieldset"
                <
legend>Вложенные файлы</legend
                <
div style="padding:$stylevar[formspacer]px"
                    
$news[attachment
                </
div
                </
fieldset
            </
td
        </
tr
    </if> 
и замени вот этот кусок
PHP Code:
<if condition="$news['avatarpath']"
            <
img align="$stylevar[left]style="padding:6px" alt="" border="0" src="$news[avatarpath]title="$news[postusername]'s $vbphrase[avatar]/> 
        </if> 
на вот этот. Пример смотри на моем форуме. Ссылка в подписи.
PHP Code:
<if condition="$news['attachment']">
<
span style="float: left; margin: 6px 6px 6px 0px">            
$news[attachment]
</
span>
        </if> 
Спасибо большое. Помогло
 
 
allkupono
Знаток
 
allkupono's Avatar
Default
0

Demion, а смог бы реализовать для этого модуля,
что бы все картинки, что в [имг] коде, чтоб ещё и в [центр] были?
ОЧЕНЬ нужно... А то нет сил уже редактировать вручную...
А сам не допетрю
 
 
FBI
Знаток
 
FBI's Avatar
Default
0

allkupono,

a kak ty sdelal vot eti stranici?


Страница 1 из 263 1 234511 > Последняя
 
 
allkupono
Знаток
 
allkupono's Avatar
Default
1

Quote:
a kak ty sdelal vot eti stranici?
Эта темка у нас тута:
http://www.vbsupport.ru/forum/showth...t=11534&page=4
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT +4. The time now is 04:22 AM.


Powered by vBulletin® Version 3.6.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.