![]() |
Thread Gallery
Here we go again for the second time this week :)
I have taken a different approach to building a gallery than others. The thread gallery basicly takes all images that have been posted to a single thread and display them in a gallery format. Only members are permitted to view the gallery. I understand that some owners might not be able to use other galleries due to the required extra stuff that needs to be installed on a server and some server admins may not want to make these additions. The Thread Gallery does not require any extra features. With that said, no the Thread Gallery does not have thumbnail ability however i have included the ability to admin select how each gallery is displayed. 1) Display by image - this will display the full image in the gallery 2) Display by link - this will replace the image with a link, click on the link and the image will be displayed in a new window, The other benifit to this is that it will save you bandwidth. You can set up unlimited categories with unlimited galleries (threads) in each via the admin cp. At this stage the admin is the only person who can add galleries and categories ADDITIONS TO COME 1) Automated system for members to add their threads to the gallery 2) Page navigation 3) Optional thumbnail feature DEMO:atmyparty.com SCREENSHOT: Next posts REQUIREMENTS: 1 X php file alteration 1 X database query 7 X new templates INSTALATION TIME: aprox. 15 - 20 min Tested on 2.3.0 but should work on all versions. UPDATE V 1.1 - 23/03/04 In this update you can now allow or disallow guests access to each gallery selectivly ~ This hack is Copyright ~ Please note that I reserve the right to code and release this hack for VB3, I have not and will not grant permission for anyone else to code this hack for VB3. |
admin
|
main
|
I am just seeing broken images when I view the hack:
http://www.atmyparty.com/network/gal...st&threadid=10 |
admin2
|
main2
|
main 3
|
Quote:
When i click on it, it looks link the previous screenshot |
oh damn I ment to put this in the beta section......mod please
|
Quote:
Sorry, yeah it requires membership |
Quote:
Here is what I see: |
Yep just as I thought, the hack id calling the images via the attachment.php file. Permissions do come into effect!
I will add the logged out code to the gallery.php file |
I see the same as Amy.
|
Zip updated, non members will get the "not logged in screen"
|
Worked ok for me when I tested it out, its a litlle like
an attachment gallery than a thread gallery, unless it can show images that use the [*img] tag also ? Quote:
|
What to do if you want guests to view your thread gallery!
1) Do a copy of attachment.php and call it attachment1.php find near line 1 PHP Code:
2) In gallery_list_bit and gallery_list_linkbit find "attachment.php" and replace it with "attachment1.php" DONE! This will allow guests to view the thread gallery :) I will add some more coding to the gallery files so that you can select guest access on a per gallery basis. This will be included in the next update. |
ooops...
also find in gallery.php PHP Code:
|
greate work simple integrated with vbulletin. no extra files and directories and templates and design to fit your custome theme.
this is what i was looking for. thanks again trafix. |
is there any way this could work for a whole forum instead of just a thread?
|
sabret00the,
No, not without extencive coding, the "post" table does not collect fromuid no's. |
-_-"
|
can members post reply's about the pics? this would work great w/ my site if they could
|
Could look at adding that for the next version :)
|
in gallery.php
pls change the "$templateused" is this thread hack get image upload used upload as attachment or link by [ img] tag? thanks trafix..for another great hack. |
All times are GMT. The time now is 04:46 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|