форум vBSupport.ru > vBulletin > Вопрос — Ответ > International vBulletin > English Forums
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'а физически не в состоянии проверять все стили, хаки и нули, выкладываемые пользователями.
Помните: безопасность Вашего проекта - Ваша забота.
Убедительная просьба: при обнаружении уязвимостей или сомнительных кодов обязательно отписывайтесь в теме хака/стиля
Спасибо за понимание
 
 
 
 
AJ20011
Простоузер
Lightbulb REQ: Thumbnail Of Attachment In Forum Display Hack
0

Please help me out, I am looking for the Thumbnail Of Attachments On Forum Display Hack:

Found here http://www.vbulletin.org/forum/showthread.php?t=73220.

Many Thanks, Any help will be greatly appreciated!

Frank.
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
 
 
danya
Продвинутый
 
danya's Avatar
Thumbs up
0

I use this hack for 3.5.4 and 3.6.x and good work

Demo here http://www.danya-mobile.com/vb/forumdisplay.php?f=142

Let'go.

Download attachment of this post, then Go to ACP

Plugins & Products -> Download / Upload Plugins -> see bottom of page

Import Plugin Definitions XML File

then import plug in.

after that click

Plugin Manager -> Find Thread Thumbnail

Edit which ID forum would you like to show Thumbnail Of Attachments

Code:
$tt_thumbsforums = array(19, 52, 54, 55, 56, 57, 58, 59, 60, 61, 63 ,129, 142, 143, 147, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 186, 189);
$tt_displaythumbs = false;
if (in_array($forumid, $tt_thumbsforums)) {
    $tt_displaythumbs = true;
    $hook_query_fields .= ", attachment.thumbnail_filesize AS thumbsize , MIN(attachment.attachmentid) AS attachmentid ";
    $hook_query_joins .= "LEFT JOIN " . TABLE_PREFIX . "attachment as attachment ON(attachment.postid = thread.firstpostid) ";
    $hook_query_where .= "GROUP BY thread.threadid ";
}
Edit Your forum ID here

Code:
$tt_thumbsforums = array(19, 52, 54, 55, 56, 57, 58, 59, 60, 61, 63 ,129, 142, 143, 147, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 186, 189);
Edit Template

In threadbit template
Find:
-----------------------------------------------------------------------------

<if condition="$show['threadicons']">
<td class="alt2">
<if condition="$show['threadicon']">
<img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" />
<else />
&nbsp;
</if>
</td>
</if>

-----------------------------------------------------------------------------

Replace With:
-----------------------------------------------------------------------------

<if condition="$show['threadicons']">
<td class="alt2" align="center" valign="middle">
<if condition="$tt_displaythumbs">
<if condition="($thread['attachmentid']) AND ($thread['thumbsize'])">
<a href="showthread.php?$session[sessionurl]t=$thread[threadid]">
<img src="attachment.php?attachmentid=$thread[attachmentid]&stc=1&thumb=1" alt="" border="0" />
</a>
<else />
<img src="$stylevar[imgdir_misc]/nothumb.jpg" alt="" border="0" />
</if>
<else />
<if condition="$show['threadicon']">
<img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" />
</if>
</if>
</td>
</if>
Attached Files
File Type: xml vbulletin-plugins.xml (809 Bytes, 11 views)
File Type: zip Thread Thumbnail.zip (8.8 KB, 19 views)

Last edited by danya : 11-22-2006 at 11:03 AM.
 
 
AJ20011
Простоузер
Default
0

Many thanks!!!
 
 
Romchik®
XenForo-Russia
 
Romchik®'s Avatar
Default
0

Quote:
Originally Posted by AJ20011
Please help me out, I am looking for the Thumbnail Of Attachments On Forum Display Hack.
Attached Files
File Type: zip Thumbnail-in-ForumDisplayMod.zip (94.3 KB, 21 views)
 
 
ZuqR
Простоузер
Default
0

Is it possible to get the fullsize image in thread, but also a thumbnail with this thing?
 


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 09:30 AM.


Powered by vBulletin® Version 3.5.9
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.