Thread Rating:
  • 5 Vote(s) - 4.6 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Ver1.4] Latest Attachment Gallery - for MyBB 1.4 [UPDATED]
Is there a way I can use this in two forums at once?

I'm using it here but also want to use it here.
Reply
Not a lot of activity on this thread recently, but here goes:

I have your version 1.5 which I downloaded from this thread. I tweaked the PHP a bit so now I can see it only on index or only on portal, as well as the options you had or on all or just portal and index or specific forum.

Its really a great plug in, and I have been studying the code hard, as what I really would like is that only the FIRST attachment of any thread in a chosen forum showed on the gallery. That way my users can use the attachments functions in their posts without all of one uploaders attachments taking over the gallery. I use the gallery to show the pictures of the latest uploads, and I only want one picture per upload post to show in the gallery.

Here is a link to my forum where you can see the gallery in action:

http://www.leefish.nl/mybb/portal.php
Random Fish and Sims Maniac
MY PLUGINS
Help MyBBSupport help you - remember to mark your threads as solved


Reply
Hi,

Persian Language:

.zip   Persian_atchgallery1.4.zip (Size: 5.66 KB / Downloads: 224)

More Information (Persian):
http://community.mybbiran.com/thread-2149.html

Sample:
PIC1
PIC2

Thanks Heart
Reply
May be something that only shows pictures of some forums? ID that?
But all sides? Mybb 1.6?
Reply
(2010-11-15, 06:31 PM)zsulboy Wrote: May be something that only shows pictures of some forums? ID that?
But all sides? Mybb 1.6?

ya, this is very important. i deeply needs this.

forum id >> 1,2,3,4,5,6,7,8 << only selected Big Grin
Reply
this conflicts with ezgallery:

[Image: attachment.php?aid=25534]

anyone know a fix for it so the {atchgallery} text stops showing on my ezgallery pages Sad ?
Reply
Anyplugin which support uploaded files also?
Reply
anyone know how to fix the size of the images because I have images hosted in large size and therefore exceeds the header of my forum.
thank you in advance
Reply
(2013-03-12, 06:27 PM)mmlg620 Wrote: anyone know how to fix the size of the images because I have images hosted in large size and therefore exceeds the header of my forum.
thank you in advance

You can try in this way, I have fixed height in my forum but you can change also width obviously:

- open atchgallery.php
- find this code:
$thumbnails .= "\t<a href=\"" . $link . "\" target=\"_blank\"><img src=\"attachment.php?" . $image . "=" . $thumbs[aid] . "\" class=\"attachment\" alt=\"\"></a>\n";

- and add width, for example:
$thumbnails .= "\t<a href=\"" . $link . "\" target=\"_blank\"><img src=\"attachment.php?" . $image . "=" . $thumbs[aid] . "\" class=\"attachment\" width=\"200\" alt=\"\"></a>\n";

I have a problem with this plugin.

In my forum I have homepage forum in: site.com/forum/index.php

and homepage site in: site.com/index.php

In acp I have: "Show globally, only index, or only forum?
If you would like to make the gallery show globally, input 0. If you would like to limit it to the forum you pulled from, input -1. Or if you would like to make it show only on the forum index, input 1.
"

So I have put only "1", I want gallery only on site.com/forum/index.php

Attachment gallery works perfectly on homepage forum (site.com/forum/index.php) but also on homepage di site! (site.com/index.php)

How can I exclude gallery from homepage site?
Reply


Forum Jump:


Users browsing this thread: 10 Guest(s)