View Full Version : Link to gallery
Fuzzy Orange
07-19-2005, 07:21 AM
Could anyone write a module which shows a random image from the vbgallery and shows some stats like number of images in the gallery etc..
Or tell me how to do it?
Im on latest version of gallery (1.0.1?) and vb 3.5 beta 3
Thanks :)
mholtum
07-27-2005, 12:31 AM
I am looking for the same module.
gldtn
07-27-2005, 02:41 AM
Me too, I tried making a new module and paste the Newest 3 Images code onto the module, but nothing came up. I guess I need do globalize some stuff but I have no idea how.
Help to guide on how to do this would be much appreciated!
ConqSoft
07-27-2005, 07:44 AM
KW802 will be updating his random image module to woirk with vB 3.5.
civicowners.com
08-04-2005, 09:56 PM
I'm looking forward to get this hack too
dsurban
08-05-2005, 03:46 PM
yep, so am I :)
ConqSoft
08-05-2005, 03:48 PM
I patched his old one to work with 3.5:
http://www.vbadvanced.com/forum/showthread.php?t=8303
Install it as normal, then just use the gallery_random.php that I attached later in the thread.
civicowners.com
08-07-2005, 12:09 AM
Anyone tried to install this?
I get the following errors:
Warning: Invalid argument supplied for foreach() in /modules/gallery_random.php on line 49
Warning: array_keys(): The first argument should be an array in /includes/functions_gallery.php on line 427
Warning: Invalid argument supplied for foreach() in /includes/functions_gallery.php on line 427
Warning: Division by zero in /includes/functions_gallery.php on line 1134
ConqSoft
08-07-2005, 12:10 AM
If you're on vB 3.5, you need to use the gallery_random.php that I attached later in that thread (as noted above in my post).
nixors
08-07-2005, 12:30 AM
Is there a side block version of this? I dont want it in the center.
ConqSoft
08-07-2005, 12:31 AM
Put it anywhere you want. Look at my site. (Click Below)
nixors
08-07-2005, 12:59 AM
ah, nice. Didnt know it could do that.
civicowners.com
08-07-2005, 12:18 PM
The problem that I have is that I can't put any more blocks after random gallery.
And it shoing up like this:
» Random Gallery
Random Gallery
Any ideas why?
ConqSoft
08-07-2005, 12:25 PM
See my reply to you in the other thread.
caffeine23
08-13-2005, 11:22 PM
i think i may be having a similar problem as above but my errors are slightly different.
Warning: Invalid argument supplied for foreach() in /modules/gallery_random.php on line 49
Warning: main(./includes/class_bbcode.php): failed to open stream: No such file or directory in /modules/gallery_random.php on line 85
Fatal error: main(): Failed opening required './includes/class_bbcode.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/digital/public_html/forums/modules/gallery_random.php on line 85
i am running vbulletin 3.0.8 with vBadvanced CMPS v2.0 RC2 and vBadvanced Gallery v1.0.1
i followed the instructions just fine as far as i can tell.
Any ideas?
TbChampions
08-14-2005, 01:56 PM
I tried adding this and now have been locked out of my admin account. Every time I sign in, I'm redirected back to the sign in page.
So, how do I fix that?
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.