View Full Version : Random Image VBA Module
paintballer.ie
10-06-2009, 01:12 PM
Hey,
Is there one of these, or would it be hard to create a random image module for use on sites with vbadvanced? I am finding that people are not finding the gallery easy enough.
Or even better, the slide show feature, can that be copied into a module so it can be used on other parts of a vb site out side of vbpic gallery?
It would not be hard, you need a php module file to pull image info and a template to stuff the data into for display in vBA.
paintballer.ie
10-11-2009, 07:07 PM
Php module as in take your vbpicgallery, strip it except for the part with the slideshow and make a module out of that?
No, a module for this purpose should just be a simple query. I think it's in the vBA module posted and should take little or no effort to install.. But I have to look if you're stuck.
paintballer.ie
10-12-2009, 09:31 AM
I see, which vba module posted would that be, something on vbulletin.org or one of these http://www.cpurigs.com/forums/tags.php?tag=vbadvanced ?
I think I should have a crack at it my self first, then perhaps I can come back to you when I fail miserably :)
You want a one random image module?
paintballer.ie
10-12-2009, 02:07 PM
Yes please one random image to be displayed on the home page on each page load. The random image would then link to the vbpic gallery that it came from.
This should be it. http://www.cpurigs.com/forums/showthread.php?t=2627&highlight=cmps
paintballer.ie
10-17-2009, 08:01 AM
Just tried this and it does not work. Was this coded for the latest version of vba though?
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.