The vB Geek

The vB Geek (http://www.thevbgeek.com/index.php)
-   Add-ons (http://www.thevbgeek.com/forumdisplay.php?f=16)
-   -   Photopost vba gallery module (http://www.thevbgeek.com/showthread.php?t=772)

acers 12-21-2005 06:38 AM

Photopost vba gallery module
 
1 Attachment(s)
Before i even give the code,
let me say that i made this module for my site based on what i wanted. It certainly is not the comprehensive module you see as "display images on forumhome" kind where you have the image info also being displayed (although doing this would be easy.. but i didn't cos i didn't need :) )and checks for permissions.

I just wanted a teaser of my gallery to be shown in the movie section and so i used this.

I am releasing the module code for you guys. Geek,, just have a look if i am not doing something atrocious :p i haven't got the hang of caching so i just saw one of your module code and added the caching part to mine


USAGE:
Put the vbgallery.php file to your mods folder
thats geek/gars/mods

go to modules, select register new module
add vbgallery.php
you don't need to cache template cos its anyway cached but enter
GARS_mod_container

give suitable title
save
go to module sets...
place the module anywhere you want
you have following options

Important: this assumes that your gallery is under gallery/ folder. If not edit the file

1) which cats to take image from
2) how many to take
3) vertical or horizontal

demo:
horizontal: http://www.techenclave.com/forums/king-kong-64183.html
vertical: http://www.techenclave.com/forums/movie-reviews/



if this goes ok i will release some more mods :)

The Geek 12-21-2005 07:28 AM

hey cool. Ill take a look at it a little later. THannks!

DerTobi75 12-21-2005 12:18 PM

Thanks for sharing acers!

Stachel 12-26-2005 05:06 PM

Acers,

The title links of the articles, as well as the "..." link, all go to dead pages.

http://www.techenclave.com/forums/movie-reviews/

Stachel

acers 12-27-2005 05:10 AM

umm u sure..
its ok for me

just checked.. all are going to the right places

zgeek 12-30-2005 01:06 AM

Is it possible to set it to show only images relating to review to the review? At the moment you can only specify a few gallerys which show random images for all reviews...

acers 12-30-2005 02:03 AM

would it help if i add a option when you edit the post to add the image ids of image?
and then it will show only those image ids.. randomizing between them

basically i added galleries as those are one time for all forums.. but if you want i can do it that way also.

btw have a look at this ... just in case this is what you need
http://www.vbulletin.org/forum/showt...t=geek+gallery

a mod by our very own geek :)

zgeek 12-30-2005 06:29 AM

Adding image ids would be great. Would this be able to be set for individual reviews?

acers 12-30-2005 07:35 AM

yep... can make that available at edit time or creation time..

you want randomization or all of them to be displayed?

zgeek 12-31-2005 02:48 AM

Having them show all at once would be best. Thanks heaps for doing this :)


All times are GMT. The time now is 02:09 PM.

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.

Release powered by GARS 2.1.9 ©2005-2006