vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - Attachment Gallery (https://vborg.vbsupport.ru/showthread.php?t=264966)

Mark.B 06-29-2011 05:49 AM

Quote:

Originally Posted by ForceHSS (Post 2212340)
does not show videos posted using the insert video link

Why would it do that? This is for attachments. Embedded videos are not attachments.

bananalive 06-29-2011 07:59 AM

1 Attachment(s)
Quote:

Originally Posted by BaanFarsang (Post 2214260)
Some images aren't resize after upgraded to 1.6beat!

http://www.baanfarsang.com/attachmentgallery.php

Try importing attached file

BaanFarsang 06-29-2011 08:22 AM

Quote:

Originally Posted by bananalive (Post 2214414)
Try importing attached file

Doesn't work too!

Gecuba 06-29-2011 11:30 AM

Quote:

Originally Posted by bananalive (Post 2214414)
Try importing attached file

DB error #1060 received
https://vborg.vbsupport.ru/external/2011/06/7.jpg

bananalive 06-29-2011 12:00 PM

1 Attachment(s)
Quote:

Originally Posted by Gecuba (Post 2214464)

Try attached file instead.

bananalive 06-29-2011 12:02 PM

Quote:

Originally Posted by BaanFarsang (Post 2214421)
Doesn't work too!

Find in template attachmentgallery

HTML Code:

<vb:if condition="$att['image'] && $vboptions['attachthumbs'] > 0">
                        <a class="picture" href="attachment.php?attachmentid={vb:raw att.attachmentid}&amp;d={vb:raw att.dateline}" rel="Lightbox_1" id="attachment{vb:raw att.attachmentid}">
                                <img class="thumbnail<vb:if condition="$att['contenttypeid'] == 18"> cms_article_preview_image</vb:if>" src="attachment.php?attachmentid={vb:raw att.attachmentid}&amp;stc=1&amp;thumb=1&amp;d={vb:raw att.dateline}" alt="{vb:rawphrase ag_thumbinfo, {vb:raw att.filename}, {vb:raw att.username}, {vb:raw att.date}}" />
                        </a>

Replace with

HTML Code:

<vb:if condition="$att['image'] && $vboptions['attachthumbs'] > 0">
                        <a class="picture" href="attachment.php?attachmentid={vb:raw att.attachmentid}&amp;d={vb:raw att.dateline}" rel="Lightbox_1" id="attachment{vb:raw att.attachmentid}">
                                <img class="thumbnail<vb:if condition="$att['contenttypeid'] == 18"> cms_article_preview_image</vb:if>" src="attachment.php?attachmentid={vb:raw att.attachmentid}&amp;stc=1&amp;thumb=1&amp;d={vb:raw att.dateline}" alt="{vb:rawphrase ag_thumbinfo, {vb:raw att.filename}, {vb:raw att.username}, {vb:raw att.date}}" style="max-width: 80px; max-height: 80px;" />
                        </a>

(end of line 3 has been edited)

BaanFarsang 06-29-2011 12:35 PM

Quote:

Originally Posted by bananalive (Post 2214475)
Find in template attachmentgallery

HTML Code:

<vb:if condition="$att['image'] && $vboptions['attachthumbs'] > 0">
                        <a class="picture" href="attachment.php?attachmentid={vb:raw att.attachmentid}&amp;d={vb:raw att.dateline}" rel="Lightbox_1" id="attachment{vb:raw att.attachmentid}">
                                <img class="thumbnail<vb:if condition="$att['contenttypeid'] == 18"> cms_article_preview_image</vb:if>" src="attachment.php?attachmentid={vb:raw att.attachmentid}&amp;stc=1&amp;thumb=1&amp;d={vb:raw att.dateline}" alt="{vb:rawphrase ag_thumbinfo, {vb:raw att.filename}, {vb:raw att.username}, {vb:raw att.date}}" />
                        </a>

Replace with

HTML Code:

<vb:if condition="$att['image'] && $vboptions['attachthumbs'] > 0">
                        <a class="picture" href="attachment.php?attachmentid={vb:raw att.attachmentid}&amp;d={vb:raw att.dateline}" rel="Lightbox_1" id="attachment{vb:raw att.attachmentid}">
                                <img class="thumbnail<vb:if condition="$att['contenttypeid'] == 18"> cms_article_preview_image</vb:if>" src="attachment.php?attachmentid={vb:raw att.attachmentid}&amp;stc=1&amp;thumb=1&amp;d={vb:raw att.dateline}" alt="{vb:rawphrase ag_thumbinfo, {vb:raw att.filename}, {vb:raw att.username}, {vb:raw att.date}}" style="max-width: 80px; max-height: 80px;" />
                        </a>

(end of line 3 has been edited)

I have been replaced and edited size of style="max-width: 180px; max-height: 180px;",

after using Maintenance -> Update Counters -> Rebuild Attachment Thumbnails.

Is it OK? http://www.baanfarsang.com/attachmentgallery.php

Gecuba 06-29-2011 02:31 PM

Quote:

Originally Posted by bananalive (Post 2214473)
Try attached file instead.

Installed!
Blog, article and album attachments added!
There are some issues
Duplicating some (not all) blog attachments - the first one is ok, the second is just like link and I couldn't view it
https://vborg.vbsupport.ru/external/2011/06/5.jpg
https://vborg.vbsupport.ru/external/2011/06/6.jpg

Search menu has a tag option, but how could I add the tag? Didn't find any possibility - neither in more infomation page, nor during uploding process. :confused:

Could you make additional sorting (or type-sections) for forum-blog-article-album attachments?:rolleyes:

ForceHSS 07-08-2011 02:38 AM

Quote:

Originally Posted by Mark.B (Post 2214390)
Why would it do that? This is for attachments. Embedded videos are not attachments.

then why does it have a video section as i said in another post needs the option to remove sections not needed

hugh_ 07-10-2011 10:53 PM

Quote:

Originally Posted by bananalive (Post 2213986)
v1.6 pulls attachments from articles, and blogs as well as threads/posts.
v1.6 includes remove tag.

How about including Calendar and Social Group attachements? :)


All times are GMT. The time now is 10:37 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01394 seconds
  • Memory Usage 1,759KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_html_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete