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-08-2011 10:00 PM

Attachment Gallery
 
1 Attachment(s)
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:
  1. Upload attachmentgallery.php to Forum Directory
  2. 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

Quote:

Originally Posted by Alfa1 (Post 2205618)
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

Quote:

Originally Posted by Alfa1 (Post 2205618)
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)

Quote:

Originally Posted by Adem GEN? (Post 2205732)
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

Quote:

Originally Posted by Sforums (Post 2205818)
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

Quote:

Originally Posted by hugh_ (Post 2205631)
I get a blank page when I try to access the page below, any suggestions?

http://www.mysite.com/forums/attachmentgallery.php

Thanks!

Quote:

Originally Posted by BadgerDog (Post 2205836)
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

Quote:

Originally Posted by Alfa1 (Post 2205874)
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

1 Attachment(s)
Quote:

Originally Posted by bananalive (Post 2205855)
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

Quote:

Originally Posted by bananalive (Post 2205855)
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/attachmen...1&d=1307655077

bananalive 06-11-2011 09:25 AM

Quote:

Originally Posted by Adem GEN? (Post 2206157)
Thanks, now more beautiful



They must be translated

All text will be phrased in next version.

Adem GEN? 06-11-2011 09:34 AM

Quote:

Originally Posted by bananalive (Post 2206172)
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

Quote:

Originally Posted by nacaruncr (Post 2206004)
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

Quote:

Originally Posted by Adem GEN? (Post 2206173)
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

Quote:

Originally Posted by Adem GEN? (Post 2206173)
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

Quote:

Originally Posted by setishock (Post 2206002)
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:

Quote:

<!-- Print No Permission Line XX -->

bananalive 06-11-2011 11:50 AM

Quote:

Originally Posted by BadgerDog (Post 2206182)
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

Quote:

Originally Posted by bananalive (Post 2206197)
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

Quote:

Originally Posted by BadgerDog (Post 2206204)
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
HTML Code:

<div id="albumtop" class="albumpicturelist floatcontainer toolsmenu">
Replace with
HTML Code:

<div id="albumtop" class="albumpicturelist floatcontainer toolsmenu" style="background: inherit; color: #000000;">

Adem GEN? 06-11-2011 02:25 PM

1 Attachment(s)
Now even more beautiful, thank you very much


But, some phrases do not
Attachment 129953
Image, Video, Audio, Documents, Other
AND "No attachments to display."
No phreases



Turkish Language File:

bananalive 06-11-2011 03:31 PM

1 Attachment(s)
Quote:

Originally Posted by Adem GEN? (Post 2206230)
Now even more beautiful, thank you very much


But, some phrases do not
Attachment 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

1 Attachment(s)
Quote:

Originally Posted by bananalive (Post 2206214)
Find in template attachmentgallery line 1
HTML Code:

<div id="albumtop" class="albumpicturelist floatcontainer toolsmenu">
Replace with
HTML Code:

<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

Quote:

Originally Posted by setishock (Post 2206272)
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

Quote:

Originally Posted by bananalive (Post 2206264)
Try attached version

Thank you very much ... :up:


All times are GMT. The time now is 04:01 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.01510 seconds
  • Memory Usage 1,838KB
  • 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
  • (23)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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