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)

bananalive 06-28-2011 09:13 AM

Quote:

Originally Posted by GaryT (Post 2212911)
Is your site name "mysite.com"

Yes.

bananalive 06-28-2011 09:13 AM

Quote:

Originally Posted by Alfa1 (Post 2212847)
Are the tags integrated with thread tags?

No.

BadgerDog 06-28-2011 09:42 AM

1 Attachment(s)
Quote:

Originally Posted by bananalive (Post 2213949)
Have you edited any of the templates? If you have, you will need to revert them.

No.... simply imported and installed the XML and imported the PHP file to the root directory, overwriting the old one ... :confused:

Regards,
Doug

bananalive 06-28-2011 10:13 AM

Quote:

Originally Posted by BadgerDog (Post 2213970)
No.... simply imported and installed the XML and imported the PHP file to the root directory, overwriting the old one ... :confused:

Regards,
Doug

Try v1.6

bananalive 06-28-2011 10:14 AM

v1.6 pulls attachments from articles, and blogs as well as threads/posts.
v1.6 includes remove tag.

BadgerDog 06-28-2011 11:03 AM

1 Attachment(s)
Quote:

Originally Posted by bananalive (Post 2213985)
Try v1.6

I just tried that .. :)

I noticed that as it installed and overwrote, there were two lines that said something to the effect of "Conflict with mer...." and I didn't catch all of it. I tried to get a screen capture as it happened, but I wasn't fast enough.

I tried a re-install of 1.6 preparing to capture the screen, but this time there was no error messages showing at all. Is there someplace I can find those for you?

I still don't see the "More Information" screen (see attached pic) ...

Hope this helps track down any problems ... :)

Regards,
Doug

bananalive 06-28-2011 11:09 AM

Quote:

Originally Posted by BadgerDog (Post 2213999)
I just tried that .. :)

I noticed that as it installed and overwrote, there were two lines that said something to the effect of "Conflict with mer...." and I didn't catch all of it. I tried to get a screen capture as it happened, but I wasn't fast enough.

I tried a re-install of 1.6 preparing to capture the screen, but this time there was no error messages showing at all. Is there someplace I can find those for you?

I still don't see the "More Information" screen (see attached pic) ...

Hope this helps track down any problems ... :)

Regards,
Doug

Try removing product (uninstalling it) then re-upload it (re-install).

BadgerDog 06-28-2011 11:20 AM

Quote:

Originally Posted by bananalive (Post 2214002)
Try removing product (uninstalling it) then re-upload it (re-install).

Ok, did that ... no change and NO error messages at all on the re-install...

Regards,
Doug

BaanFarsang 06-28-2011 09:06 PM

Some images aren't resize after upgraded to 1.6beat!

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

ForceHSS 06-29-2011 12:57 AM

Quote:

Originally Posted by ForceHSS (Post 2212340)
does not show videos posted using the insert video link in 4.1.4 boards will tag this and wait for the fix also would be nice if we had the options to remove sections not being used and permissions for each user group

bump

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? :)

starman? 07-11-2011 02:54 PM

looks great - tagged.

hugh_ 07-12-2011 09:26 PM

Quote:

Originally Posted by hugh_ (Post 2219101)
How about including Calendar and Social Group attachements? :)

Correction, there are no calendar attachments. Do'h! :)

JAFRI 07-13-2011 05:02 AM

you do not have permission to access this page. ???

MonkYZ 08-26-2011 02:30 PM

I don't know what happened... but for me it started to display the Attachment Gallery page in over 2 minutes (some users reported the page is not finishing loading at all). I've tried displaying only latest 10 attachments per page... but the slow speed remains.

Is there any way to optimise this? Eventually setting the addon to only search for image attachments and ignore everything else?

Btw, you can see how slow it's loading in here: http://www.consolegames.ro/forum/attachmentgallery.php

P.S. I've also tried 1.60 beta... it's even slower (and some images are broken). So i got back to v1.40.

paulket 12-20-2011 06:31 PM

Quote:

Originally Posted by MonkYZ (Post 2208544)
P.S. Can you make it so it's centered:

Does anyone know how to do this?

It is a great mod, btw.

K4GAP 12-20-2011 07:17 PM

The Beta version works great on vb 4.1.8

K4GAP 12-20-2011 07:18 PM

Quote:

Originally Posted by paulket (Post 2279497)
Does anyone know how to do this?

It is a great mod, btw.

On a new install just now it is centered on my site.

Leica.Robbiani 12-20-2011 10:41 PM

So well, I got v1.6 working. But, this mod is for suite, using the standalone forum we get three database errors, when calling the attachment gallery.

I had to create the database table "TABLE_PREFIX"blog, then I had to create the fields title and blogid.

It will be a good idea when the code for creating the table and the fields if not exists will be included in the mod.

Best regards

L.R.

gezuvor 01-18-2012 03:05 AM

Installed, working perfectly and loving it! Great mod!

Will review in greater detail soon and make some suggestions, if I can find any areas that aren't already awesome!

14DH01 01-23-2012 10:12 AM

Hello,
Thank you.
very good Mod's

hugh_ 02-07-2012 10:19 PM

Does anyone know how to give this mod's different galleries page numbers in titles such as:

<vb:if condition="$pagenumber > 1">- {vb:rawphrase page_x, {vb:raw pagenumber}}</vb:if> - Attachments Gallery</title>

ttran 02-07-2012 11:40 PM

hi guys
this only works for attachment how about image from other website like photobucket with [img] code?

Alfa1 02-08-2012 03:41 PM

Quote:

Originally Posted by ttran (Post 2297350)
hi guys
this only works for attachment how about image from other website like photobucket with [img] code?

Good point. External images should be imported into the attachment system somehow.

Speedy131 02-16-2012 12:36 PM

nevermind, issue i was having was a problem on my end

Kraxell 02-16-2012 08:13 PM

Is it possible to inlcude images from CMS (attached)?

Speedy131 02-20-2012 01:56 PM

It's a nice mod for sure, but on our forum, witch over 350.000 attachments, it takes too much resources and navigating through pages is very slow.

Perhaps a "lite" version would be good for those with a lot of attachments?

gezuvor 03-02-2012 10:54 PM

Really love using this mod.

Some questions:
1. Can it be integrated into the stock Album system? Really like the features in this, but having Attachment Gallery and Album isn't as clean as I would like.
2. Can the attachments pull tags from the thread?
3. Can the width be based on the thumbnail value rather than be set independently? Having my thumbnail size overflow the div isn't too sexy.

Thanks!

xertox 04-09-2012 03:50 PM

Every time I try to access attachment.php I get the following message on the page... and an vbulleting database error email with the same message. It references vb_blog which i don't use. Is there a way to disable the vb_blog reference?

Code:

Database error in vBulletin 4.1.11:

Invalid SQL:

                SELECT
                        IF(a.votenum >= 1, a.votenum, 0) AS votenum,
                        IF(a.votenum >= 1 AND a.votenum > 0, a.votetotal / a.votenum, 0) AS voteavg,
                        a.*, fd.extension AS extension, IF(r.attachrateid >= 1, 1, 0) AS hasvoted,
                        p.title AS posttitle, p.postid, u.username, p.threadid, t.title AS threadtitle, b.title AS blogtitle, b.blogid
                FROM VB_attachment AS a
                LEFT JOIN VB_post AS p
                        ON (a.contenttypeid = 1 AND a.contentid = p.postid)
                LEFT JOIN VB_user AS u
                        ON (a.userid = u.userid)
                LEFT JOIN VB_thread AS t
                        ON (a.contenttypeid = 1 AND p.threadid = t.threadid)
                LEFT JOIN VB_blog AS b
                        ON (a.contenttypeid = 15 AND a.contentid = b.blogid)
                LEFT JOIN VB_filedata AS fd
                        ON (fd.filedataid = a.filedataid)
                LEFT JOIN VB_attachrate AS r
                        ON (a.attachmentid = r.attachid AND r.userid = '1')
                WHERE fd.extension IS NOT NULL
                       
                        AND (t.forumid IN (1,2,4,8,15,3,5,25,14,9,7,6) OR a.contenttypeid != 1)
                       
                ORDER BY a.attachmentid DESC
                LIMIT 0, 15;

MySQL Error  : Table 'fatwillie.VB_blog' doesn't exist
Error Number  : 1146
Request Date  : Monday, April 9th 2012 @ 09:45:25 AM
Error Date    : Monday, April 9th 2012 @ 09:45:25 AM
Script        : http://www.fatwillie.net/forum/attachmentgallery.php
Referrer      : http://www.fatwillie.net/
IP Address    : 74.214.136.151
Username      : xero
Classname    : vB_Database
MySQL Version : 5.0.92-log


ywwz 04-11-2012 01:08 PM

So good!

BadgerDog 04-27-2012 11:31 AM

Un-installed with thanks to author for how work ... :)

We could never get it working properly with our site ...

Regards,
Doug


All times are GMT. The time now is 07:28 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.01679 seconds
  • Memory Usage 1,857KB
  • 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
  • (1)bbcode_code_printable
  • (4)bbcode_html_printable
  • (22)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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