View Full Version : Mini Mods - Attachment Gallery
bananalive
06-08-2011, 10:00 PM
Page showing attachments from across your forum.
Additional Features
Allows users to rate each attachment.
Follows usergroup/forum attachment permissions already setup in your forum
Sort by
Most recent first/ Oldest first
Attachment rating (highest/lowest first)
Search by
Attachment type(Image, Document, Audio, Video, Other)
User name
Forum
File name
Integration
Link to page in Community Drop Down menu of Navbar
http://www.yoursite.com/forums/attachmentgallery.php
Installation:
Upload attachmentgallery.php to Forum Directory
Import product-attachmentgallery.xml in admincp
Support this Modification
Click 'Marked as Installed'
Rate it 'Excellent'
Consider a donation
bananalive
06-09-2011, 08:46 PM
Reserved post
Alfa1
06-09-2011, 10:43 PM
This is truly awesome!
A functionality request:
Please consider to add functionality to categorize attachments by file type:
- images (jpg, jpeg, png, gif, etc)
- videos (flv, mpeg, etc)
- audio (mp3, etc)
- documents (pdf, doc, docx, ppt, excel, etc)
hugh_
06-09-2011, 11:19 PM
I get a blank page when I try to access the page below, any suggestions?
http://www.mysite.com/forums/attachmentgallery.php
Thanks!
Adem GEN?
06-10-2011, 08:19 AM
This is truly awesome!
A functionality request:
Please consider to add functionality to categorize attachments by file type:
- images (jpg, jpeg, png, gif, etc)
- videos (flv, mpeg, etc)
- audio (mp3, etc)
- documents (pdf, doc, docx, ppt, excel, etc)
The same request,
Suggestion:
Tab:
Attachment
--Images
--Videos
--Audios
--Documents
--Files(.zip, .rar, etc)
Thanks,
installed
Bozza
06-10-2011, 09:13 AM
You absolute star for starting this project! I look forward to installing later.
Sforums
06-10-2011, 12:44 PM
where are the settings for attachment gallery?
how to place it in community link?
BadgerDog
06-10-2011, 01:23 PM
Installed with thanks for testing on 4.1.3 ... :up:
Regards,
Doug
BadgerDog
06-10-2011, 01:31 PM
Update: Nothing but a blank white page on 4.1.3? :confused:
No AdminCP options for this mod anywhere, or the ability to add a link to Navbar etc.?
Am I missing something? :D
Regards,
Doug
RobbieZ
06-10-2011, 02:34 PM
Tagged
Simplicity in itself, utilizing an already integral part of vbulletin, can you imagine if it had a scrolling slideshow of sorts :o
bananalive
06-10-2011, 02:42 PM
This is truly awesome!
A functionality request:
Please consider to add functionality to categorize attachments by file type:
- images (jpg, jpeg, png, gif, etc)
- videos (flv, mpeg, etc)
- audio (mp3, etc)
- documents (pdf, doc, docx, ppt, excel, etc)
The same request,
Suggestion:
Tab:
Attachment
--Images
--Videos
--Audios
--Documents
--Files(.zip, .rar, etc)
Thanks,
installed
Added in v1.1
bananalive
06-10-2011, 02:44 PM
where are the settings for attachment gallery?
how to place it in community link?
Added setting in v1.1, to add link to community dropdown in navbar.
bananalive
06-10-2011, 02:55 PM
I get a blank page when I try to access the page below, any suggestions?
http://www.mysite.com/forums/attachmentgallery.php
Thanks!
Update: Nothing but a blank white page on 4.1.3? :confused:
I'm not sure why you are getting blank page.
If you view page source, is it still completely blank?
Are you sure that you uploaded attachmentgallery.php to your forum directory (where showthread.php, forumdisplay.php, etc. are).
Alfa1
06-10-2011, 03:26 PM
Feature request:
Categorize attachments by forum topic. If an attachment is in a forum about Aquariums, then the attachment is accessible under a 'Aquariums' category.
bananalive
06-10-2011, 04:51 PM
Feature request:
Categorize attachments by forum topic. If an attachment is in a forum about Aquariums, then the attachment is accessible under a 'Aquariums' category.
I'll add this into the next version.
Alfa1
06-10-2011, 07:13 PM
amazing...
Leo Brazil
06-10-2011, 07:51 PM
This one is really amazing !!!
I wish I had something like this for album pictures as Abe's mod was still not ported to vB4.
BadgerDog
06-10-2011, 09:39 PM
I'm not sure why you are getting blank page.
If you view page source, is it still completely blank?
Are you sure that you uploaded attachmentgallery.php to your forum directory (where showthread.php, forumdisplay.php, etc. are).
I installed 1.1 and now it seems to be functioning ... very nice work ... :up:
Have a bit of a cosmetic problem .... seems like top bar is all white on our site.... (see pic)
The text Image "Attachment Gallery" and beside it in the center "Most Recent First" is hardly visible....
Is there a way of setting this to be our default text (black) on our default background?
Thanks .. :)
Regards,
Doug
setishock
06-10-2011, 10:12 PM
VB 4.1.2
It toss up the no permission error box. I own the place. I am the #1 user/admin. Why in the world would I get > you don't have permission blah blah. The only controls for this is how many on a page and where to park the link to it.
nacaruncr
06-10-2011, 10:16 PM
Q: guests can download the attachment in the gallery?
edit....
Forget it ... XD I checked and can not
Bozza
06-10-2011, 10:27 PM
Installed, 5 *ed and nominated for MOTM.
Going back to my original request for this, I'd still love to have the ability to tag attachments with key word(s) and be able to search on them.
And, using the mod as it is in anger, when in the 'all' view, it would be good if the username, date posted and maybe a link to the thread containing the attachment were included.
I will donate to you but will hold off for a wee while to see how far you get with this which will determine my 'generosity'!
av8or1
06-11-2011, 03:03 AM
Marked as installed/MOTM - thanks!
hugh_
06-11-2011, 06:26 AM
I'm not sure why you are getting blank page.
If you view page source, is it still completely blank?
Are you sure that you uploaded attachmentgallery.php to your forum directory (where showthread.php, forumdisplay.php, etc. are).
Yes and yes... any further suggestions? :)
Adem GEN?
06-11-2011, 08:34 AM
Thanks, now more beautiful
They must be translated
https://vborg.vbsupport.ru/attachment.php?attachmentid=129911&d=1307655077
bananalive
06-11-2011, 09:25 AM
Thanks, now more beautiful
They must be translated
All text will be phrased in next version.
Adem GEN?
06-11-2011, 09:34 AM
All text will be phrased in next version.
OK, Thanks
It return to all categories, again when we pass to next page in another category.
bananalive
06-11-2011, 10:11 AM
Q: guests can download the attachment in the gallery?
edit....
Forget it ... XD I checked and can not
It should follow attachment permissions within each forum.
bananalive
06-11-2011, 10:13 AM
It return to all categories, again when we pass to next page in another category.
Ahh ok, I'll fix that in next version.
BadgerDog
06-11-2011, 10:36 AM
It return to all categories, again when we pass to next page in another category.
Hi bananalive .. :)
I can confirm this bug on 4.1.3. It loses it's place and returns to ALL categories after the first page when selecting type or user.
Sent you a PayPal donation for your efforts ... thanks ... :up:
Regards,
Doug
setishock
06-11-2011, 11:37 AM
Sorry about popping off in my last post. This trying to quit smoking is getting on my last nerve.
I've never had any problems making any of your other mods work but this one has got me stumped. I can make you a full power admin if you want and let you have a look if you so desire. Just PM me here or at the forum and I'll get you set up.
bananalive
06-11-2011, 11:47 AM
VB 4.1.2
It toss up the no permission error box. I own the place. I am the #1 user/admin. Why in the world would I get > you don't have permission blah blah. The only controls for this is how many on a page and where to park the link to it.
Upgrade to v1.2 and if you view page source, what is the first line. It'll help me find out why you are getting the no permission error.
It should be something like:
<!-- Print No Permission Line XX -->
bananalive
06-11-2011, 11:50 AM
Hi bananalive .. :)
I can confirm this bug on 4.1.3. It loses it's place and returns to ALL categories after the first page when selecting type or user.
Sent you a PayPal donation for your efforts ... thanks ... :up:
Regards,
Doug
Cheers, fixed in v1.2
BadgerDog
06-11-2011, 12:39 PM
Cheers, fixed in v1.2
Thanks... :)
Did 1.2 address the color issue I had shown pic of in a previuos post?
If not, is ere someplace I can alter CSS code to do that?
Regards
Doug
bananalive
06-11-2011, 01:17 PM
Thanks... :)
Did 1.2 address the color issue I had shown pic of in a previuos post?
If not, is ere someplace I can alter CSS code to do that?
Regards
Doug
Find in template attachmentgallery line 1
<div id="albumtop" class="albumpicturelist floatcontainer toolsmenu">
Replace with
<div id="albumtop" class="albumpicturelist floatcontainer toolsmenu" style="background: inherit; color: #000000;">
Adem GEN?
06-11-2011, 02:25 PM
Now even more beautiful, thank you very much
But, some phrases do not
129953
Image, Video, Audio, Documents, Other
AND "No attachments to display."
No phreases
Turkish Language File:
bananalive
06-11-2011, 03:31 PM
Now even more beautiful, thank you very much
But, some phrases do not
129953
Image, Video, Audio, Documents, Other
AND "No attachments to display."
No phreases
Turkish Language File:
Try attached version
setishock
06-11-2011, 03:45 PM
I have the php file in the same root directory as the forum is in. Along with all the rest of the vb php files. Is that the right location for that?
BadgerDog
06-11-2011, 05:42 PM
Find in template attachmentgallery line 1
<div id="albumtop" class="albumpicturelist floatcontainer toolsmenu">
Replace with
<div id="albumtop" class="albumpicturelist floatcontainer toolsmenu" style="background: inherit; color: #000000;">
Thanks ... :up:
I also had to do album_picturelist (same phrase) and it seems better now...
Drop down boxes under pics are a little understated and hard to see in our style, plus have a small "_underscore" character in front of the drop down box for some reason, but it's functional.
I also had to add font color statements around phrases "Sort by" and "Search by" in order to get them to appear black as opposed to a dull grey which was hard to read.
Regards,
Doug
bananalive
06-11-2011, 05:54 PM
I have the php file in the same root directory as the forum is in. Along with all the rest of the vb php files. Is that the right location for that?
PM me your forum url, and i'll have a look
Adem GEN?
06-11-2011, 06:23 PM
Try attached version
Thank you very much ... :up:
troyuncucom
06-11-2011, 08:18 PM
is it work 3.8.x?
seyfihoca
06-11-2011, 09:49 PM
thanks for the great mod :)
just one thing...how can I solve this?https://vborg.vbsupport.ru/external/2011/06/61.jpg
nacaruncr
06-11-2011, 10:26 PM
It would be a good idea to also search out the file name :D, not only by the username :D.
hugh_
06-12-2011, 04:29 AM
Might be interesting to add a random sort... :)
bananalive
06-12-2011, 11:39 AM
It would be a good idea to also search out the file name :D, not only by the username :D.
I'll add in advanced search options to next version.
bananalive
06-12-2011, 11:41 AM
Might be interesting to add a random sort... :)
I could add it, but it wouldn't be effective across pages. So an attachment that you saw on page 1, you might see again when you click page 2.
bananalive
06-12-2011, 11:45 AM
thanks for the great mod :)
just one thing...how can I solve this?https://vborg.vbsupport.ru/external/2011/06/61.jpg
Hmm, weird. Have you disabled attachment thumbnails? I'll have a look into this.
Edit: should be fixed in v1.3 +
bananalive
06-12-2011, 11:45 AM
is it work 3.8.x?
Sorry, no. Attachment table is different in vBulletin v4+ to v3.8
Alfa1
06-12-2011, 01:09 PM
Please integrate the attachment gallery with one of the following jquery image gallery applications:
http://www.yoxigen.com/yoxview/
http://galleria.aino.se/themes/folio/
http://www.twospy.com/galleriffic/index.html
http://pupunzi.open-lab.com/mb-jquery-components/mb-gallery/
This would add an amazing user experience.
hugh_
06-12-2011, 09:41 PM
I could add it, but it wouldn't be effective across pages. So an attachment that you saw on page 1, you might see again when you click page 2.
Shame, thanks for having given it some thought... :)
BadgerDog
06-12-2011, 10:33 PM
Just updated to 1.3 ...
The "Search" function appears to have gone wonky ...
Click on "Search" and drop down box appears with option for "Advanced Search", which graphically bleeds of right side of screen outside web site limits. Click on "Advanced Search" and nothing else appears. :confused:
What happened to the "Search by user" capability?
Functionality worked fin in previous version 1.2 ...
Regards,
Doug
bananalive
06-13-2011, 08:10 AM
Just updated to 1.3 ...
The "Search" function appears to have gone wonky ...
Click on "Search" and drop down box appears with option for "Advanced Search", which graphically bleeds of right side of screen outside web site limits. Click on "Advanced Search" and nothing else appears. :confused:
What happened to the "Search by user" capability?
Functionality worked fin in previous version 1.2 ...
Regards,
Doug
Have you uploaded the latest attachmentgallery.php file to your server?
On clicking the advanced search, you should see this page:
https://vborg.vbsupport.ru/external/2011/06/59.jpg
Search by username has been moved to this page, so that javascript/ajax username suggestion can be added. So when you start typing a username it will suggest user names for you.
Adem GEN?
06-13-2011, 08:51 AM
Thanks,
For Search
Next Page http://www.xxxxx.com/attachmentgallery.php?&userid=1&filter=Image&page=2
No forum ID,
:)))
bananalive
06-13-2011, 09:32 AM
Thanks,
For Search
Next Page http://www.xxxxx.com/attachmentgallery.php?&userid=1&filter=Image&page=2
No forum ID,
:)))
Fixed in v1.4 (attached in first post).
Adem GEN?
06-13-2011, 10:43 AM
OK now, Thanks... :up:
BadgerDog
06-13-2011, 10:49 AM
Have you uploaded the latest attachmentgallery.php file to your server?
On clicking the advanced search, you should see this page:
https://vborg.vbsupport.ru/attachment.php?attachmentid=129987&d=1307897189
Search by username has been moved to this page, so that javascript/ajax username suggestion can be added. So when you start typing a username it will suggest user names for you.
Thanks ... :)
My fault ... :o
I think the cache is holding data and I need to remember to clear it and history, before testing newer version after an install. I did that and it seems fine now, except the "Advanced Search" field still bleeds over off the web site page, as shown in the pic originally posted ...
Sorry for the confusion .. :)
Regards,
Doug
bananalive
06-13-2011, 04:34 PM
Thanks ... :)
My fault ... :o
I think the cache is holding data and I need to remember to clear it and history, before testing newer version after an install. I did that and it seems fine now, except the "Advanced Search" field still bleeds over off the web site page, as shown in the pic originally posted ...
Sorry for the confusion .. :)
Regards,
Doug
What browser are you using?
BadgerDog
06-14-2011, 10:01 AM
What browser are you using?
I'm using FireFox 4.01 running on a MacBook Pro using OSX 10.6.7, but I think the cache issue may be due to the fact I'm running vbOtimize which uses Memcache.
It's working now and I just updated to 1.4, except I still get the "Search" box overflow graphics error with the box spilling outside the boundaries of the web site. (see earlier pic).
Also, I can't seem to find in phrases the words "Search" or "Advanced Search" so I can change them to appear in black as opposed to the grey we see now?
Regards,
Doug
MonkYZ
06-16-2011, 03:09 PM
Unbelievable great mod! I was looking for something like this... forever :)
Keep up the good work... this is a must have for every vB forum!
P.S. Can you make it so it's centered: http://www.consolegames.ro/forum/attachmentgallery.php ? And also have a search before Advanced search? Thanks! Rated 5 stars!
erosolmi
06-16-2011, 07:05 PM
Great. I too was searching this for months!!!!
Thank you thank you thank you!
MonkYZ
06-16-2011, 08:44 PM
We really need a quick search :)
Nominated for MOTM! I love it!
P.S. It would also be great if there would be an option to go to the thread/post where the thumbnail belongs to. Also, some admin functions, like delete, upload in the same post would be superb...
delmarva
06-16-2011, 10:15 PM
I have a blank (white) page when trying to access attachmentgallery.php. It is in my forum root directory. Please advise.
bananalive
06-18-2011, 06:39 PM
I have a blank (white) page when trying to access attachmentgallery.php. It is in my forum root directory. Please advise.
Have you imported product file in admincp?
If you view page source of attachmentgallery.php what do you see?
bananalive
06-18-2011, 06:40 PM
We really need a quick search :)
Nominated for MOTM! I love it!
P.S. It would also be great if there would be an option to go to the thread/post where the thumbnail belongs to. Also, some admin functions, like delete, upload in the same post would be superb...
To view attachment post -> click the dropdown arrow in the bottom right of the box (see screenshot)
https://vborg.vbsupport.ru/attachment.php?attachmentid=129990&d=1307897189
bananalive
06-18-2011, 06:52 PM
Also, I can't seem to find in phrases the words "Search" or "Advanced Search" so I can change them to appear in black as opposed to the grey we see now?
Find in template attachmentgallery
<a href="attachmentgallery.php?do=advancedsearch" rel="nofollow">{vb:rawphrase advanced_search}</a>
Replace with
<a href="attachmentgallery.php?do=advancedsearch" rel="nofollow" style="color: #000000;">{vb:rawphrase advanced_search}</a>
bananalive
06-18-2011, 06:56 PM
i installed it but very big border. please help me
http://032.img98.net/out.php/i400514_RegionCapture.png
That will be due to Album CSS or #thumbnails li
MonkYZ
06-18-2011, 11:19 PM
To view attachment post -> click the dropdown arrow in the bottom right of the box (see screenshot)
Great! Thank you! Haven't noticed that :)
Basit
06-19-2011, 05:35 PM
Great work! I installed it but it is showing a blank page, however show attachments when searched by username etcs., Is it possible by default it show all attachments ?
Many thanks
bananalive
06-20-2011, 05:31 PM
Great work! I installed it but it is showing a blank page, however show attachments when searched by username etcs., Is it possible by default it show all attachments ?
Many thanks
There may be another modification which is using the variable u=X ($_REQUEST['u']) in the url.
For example yoursite.com/attachmentgallery.php is being replaced by yoursite.com/attachmentgallery.php?u=7329
Hence not all attachments are showing...
Raeven
06-23-2011, 11:51 PM
Also getting a blank page. There is no code at all, except for a few CSS files in the <head> (when I open the site and its blank)
Using vBulletin 4.1.4 - also happens on standard vBulletin Style.
Gecuba
06-24-2011, 11:41 AM
Installed, 5 *ed and nominated for MOTM.+1!:up: Very useful mod!
Going back to my original request for this, I'd still love to have the ability to tag attachments with key word(s) and be able to search on them.+100! Tagging for attachments would be so great!:rolleyes:
ForceHSS
06-24-2011, 08:13 PM
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
Raeven
06-25-2011, 12:51 AM
For some reason, it works now. Haven't done anything after it showed a white page (no coding, and only admin work was to activated a few members).
bananalive
06-25-2011, 06:27 PM
v1.5 beta
- Attachment tagging
Alfa1
06-26-2011, 01:06 AM
Are the tags integrated with thread tags?
K4GAP
06-26-2011, 05:33 AM
I get a blank page when I try to access the page below, any suggestions?
http://www.mysite.com/forums/attachmentgallery.php
Thanks!
Is your site name "mysite.com"
Gecuba
06-27-2011, 01:43 PM
v1.5 beta
- Attachment taggingI have only 1 change comparing to 1.4 version, no tagging
https://vborg.vbsupport.ru/external/2011/06/11.jpg (http://radikal.ru/F/s54.radikal.ru/i145/1106/b8/bc978448741d.png.html)
And what about album-blog-article attachments? Is there any possibility to integrate them in this mod?
BadgerDog
06-27-2011, 01:56 PM
I have only 1 change comparing to 1.4 version, no tagging
https://vborg.vbsupport.ru/external/2011/06/11.jpg (http://radikal.ru/F/s54.radikal.ru/i145/1106/b8/bc978448741d.png.html)
Hmmm... I don't even see that "More Information" link in 1.5? :confused:
Regards,
Doug
bananalive
06-28-2011, 07:21 AM
Hmmm... I don't even see that "More Information" link in 1.5? :confused:
Regards,
Doug
Have you edited any of the templates? If you have, you will need to revert them.
bananalive
06-28-2011, 09:12 AM
I have only 1 change comparing to 1.4 version, no tagging
https://vborg.vbsupport.ru/external/2011/06/11.jpg (http://radikal.ru/F/s54.radikal.ru/i145/1106/b8/bc978448741d.png.html)
And what about album-blog-article attachments? Is there any possibility to integrate them in this mod?
Currently tags are allowed to be added by user uploading attachment. More permissions will follow.
Article/blog attachments will be included in v1.6+
bananalive
06-28-2011, 09:13 AM
Is your site name "mysite.com"
Yes.
bananalive
06-28-2011, 09:13 AM
Are the tags integrated with thread tags?
No.
BadgerDog
06-28-2011, 09:42 AM
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
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
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
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
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
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
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
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
Try importing attached file
Doesn't work too!
Gecuba
06-29-2011, 11:30 AM
Try importing attached fileDB error #1060 received
https://vborg.vbsupport.ru/external/2011/06/7.jpg (http://keep4u.ru/full/3c9487e8cda12fcd784c3f5fa6487b26.html)
bananalive
06-29-2011, 12:00 PM
DB error #1060 received
https://vborg.vbsupport.ru/external/2011/06/7.jpg (http://keep4u.ru/full/3c9487e8cda12fcd784c3f5fa6487b26.html)
Try attached file instead.
bananalive
06-29-2011, 12:02 PM
Doesn't work too!
Find in template attachmentgallery
<vb:if condition="$att['image'] && $vboptions['attachthumbs'] > 0">
<a class="picture" href="attachment.php?attachmentid={vb:raw att.attachmentid}&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}&stc=1&thumb=1&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
<vb:if condition="$att['image'] && $vboptions['attachthumbs'] > 0">
<a class="picture" href="attachment.php?attachmentid={vb:raw att.attachmentid}&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}&stc=1&thumb=1&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
Find in template attachmentgallery
<vb:if condition="$att['image'] && $vboptions['attachthumbs'] > 0">
<a class="picture" href="attachment.php?attachmentid={vb:raw att.attachmentid}&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}&stc=1&thumb=1&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
<vb:if condition="$att['image'] && $vboptions['attachthumbs'] > 0">
<a class="picture" href="attachment.php?attachmentid={vb:raw att.attachmentid}&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}&stc=1&thumb=1&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
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 (http://ib1.keep4u.ru/b/2011/06/29/f4/f400349327cc754910589e4e7fa40b40.png)
https://vborg.vbsupport.ru/external/2011/06/6.jpg (http://ib1.keep4u.ru/b/2011/06/29/37/37c0b7bc0ace44a2d945c05aa34142b2.png)
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
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
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
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
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
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
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?
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
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
RichieBoy67
04-28-2012, 09:55 AM
Does anyone have this working on the latest version of VB? This is an amazing idea!
Front Range 4x4
05-13-2012, 12:27 AM
Love the concept bananalive! One obvious issue as shown, any ideas appreciated. This is my 3rd install/uninstall and keep getting the same result. :(
Using 4.1.12 Patch Level 1
Gamelobby
06-13-2012, 09:48 PM
Does this use images & files already uploaded.? (not attachments)
Also any way to attach the "media" mod for videos.?
Also what version is 1.6 good up to.? (vB4.2)
MonkYZ
07-16-2012, 08:00 PM
Is this mod dead too? Too bad... it was so damn impressive!
Is there any alternative to this?
lafsunlmtd
07-31-2012, 06:25 PM
Getting issues as well with the blog reference causing db errors. Any help on updating this to work without the blog being installed would be greatly appreciated.
keyla31
09-20-2012, 04:01 AM
im running in 4.2 and get only a single row downward of the thumbs? Anyone know a fix for this?
ahobilam
09-20-2012, 02:30 PM
Installed and Nominated.
Really very nice.
Suggestion:
Can you include to give a bbcode copy paste option
for users who want to use the same image in their post again.
I mean, in a text area url of the image
can be copied to reuse in some other places.
thanks in advance
sergiomc
03-06-2013, 02:40 AM
No work in 4.2?
I have installed but do not see the menu tab.
Draffi
04-16-2013, 07:53 AM
Great Idea!!!
Work this on vB 4.2 ?
Suggestion: Maybe a CMS and a vBa-Widget with the last "x" Attachments (X = Settings thru ACP)
Great Idea!!!
Work this on vB 4.2 ?
Suggestion: Maybe a CMS and a vBa-Widget with the last "x" Attachments (X = Settings thru ACP)
It's working on my 4.2.1.
I need to change the thumbnails background color, please help!
I need it to be dark...
No.... simply imported and installed the XML and imported the PHP file to the root directory, overwriting the old one ... :confused:
Regards,
Doug
Hi, Doug, how did you change the thumbnails background color?
MonkYZ
06-17-2013, 02:00 PM
Any chance for an update?
MissKalunji
07-10-2013, 02:18 AM
Nice it works! After few days of use i'll report back ^_^ so far I'de love to be able to rename it tho (attachement...to something like gallery).
Perfectly works on 4.2.1!
DemOnstar
10-04-2013, 12:32 PM
Works for me too except for the link is not created in community dropdown...or anywhere else for that matter..
Looks good though..
DemOnstar
10-05-2013, 04:07 PM
Correction: Works for me on localhost but trying to upload to a live site just locks the system.
I.E. I can't upload it to a live site..
DemOnstar
10-06-2013, 03:44 PM
Something else that may be of interest..
Why not create a link form each attachment that takes one to the original post containing the attachment?
We look/listen/see the attachment in the lightbox but we can't click on it to go to another place...
Handy for me anyway.......
DemOnstar
10-14-2013, 02:12 PM
And another thing..
After creating a link, the link works and the attachments are visible but clicking the link also logs me out...and then clicking on another tab in the navbar, I am back in again..Odd.
DemOnstar
10-17-2013, 09:33 AM
Uninstalled until I can figure it out..
DemOnstar
10-17-2013, 01:40 PM
[05-Oct-2013 10:58:14 America/Denver] PHP Fatal error: require_once(): Failed opening required '/xxxxxxxxx/xxxxxxxx/public_html/includes/cron/sc_gallery_build_stats.php' (include_path='.:/usr/php/53/usr/lib64:/usr/php/53/usr/share/pear') in /home5/mightyn0/public_html/includes/adminfunctions_plugin.php(1199) : eval()'d code on line 22
addamroy
06-11-2014, 09:20 PM
How can I make this mod show Images by default, instead of all?
Also, members who do not have permission to view certain forums should not be seeing attachments from them! ie - attachments in private forums should not be displayed in the gallery to members who do not have access to the private forums!
addamroy
06-11-2014, 09:30 PM
Too buggy. Uninstalled. Some images don't display when clicked on if the 'images' tab is selected.
This mod needs alot of work.
conradk
03-22-2017, 01:30 AM
Works for me in 4.2.4
IggyP
01-05-2018, 01:01 PM
+1 for 4.2.5 here....nice thank you, i nearly forgotten about this one....
it seem to load a bit slow for some reason?
works tho
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.