Results 1 to 16 of 16

Thread: Link to gallery

  1. #1

    Default Link to gallery

    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

  2. #2
    I ******* single moms. mholtum's Avatar
    Join Date
    May 2004
    Location
    Tempe, Arizona
    Posts
    1,938

    Default Re: Link to gallery

    I am looking for the same module.

  3. #3
    Junior Member
    Join Date
    Oct 2004
    Posts
    4

    Default Re: Link to gallery

    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!

  4. #4
    Senior Member ConqSoft's Avatar
    Join Date
    Jan 2004
    Location
    Raleigh, NC
    Posts
    1,614

    Default Re: Link to gallery

    KW802 will be updating his random image module to woirk with vB 3.5.
    My Blog
    GPS Discussion Forum

    *** Please do not contact me privately for help. Thanks. ***

  5. #5

    Default Re: Link to gallery

    I'm looking forward to get this hack too

  6. #6
    Junior Member
    Join Date
    Jul 2005
    Posts
    4

    Default Re: Link to gallery

    yep, so am I

  7. #7
    Senior Member ConqSoft's Avatar
    Join Date
    Jan 2004
    Location
    Raleigh, NC
    Posts
    1,614

    Default Re: Link to gallery

    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.
    My Blog
    GPS Discussion Forum

    *** Please do not contact me privately for help. Thanks. ***

  8. #8

    Default Re: Link to gallery

    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

  9. #9
    Senior Member ConqSoft's Avatar
    Join Date
    Jan 2004
    Location
    Raleigh, NC
    Posts
    1,614

    Default Re: Link to gallery

    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).
    My Blog
    GPS Discussion Forum

    *** Please do not contact me privately for help. Thanks. ***

  10. #10
    Junior Member
    Join Date
    Mar 2005
    Posts
    6

    Default Re: Link to gallery

    Is there a side block version of this? I dont want it in the center.

  11. #11
    Senior Member ConqSoft's Avatar
    Join Date
    Jan 2004
    Location
    Raleigh, NC
    Posts
    1,614

    Default Re: Link to gallery

    Put it anywhere you want. Look at my site. (Click Below)
    My Blog
    GPS Discussion Forum

    *** Please do not contact me privately for help. Thanks. ***

  12. #12
    Junior Member
    Join Date
    Mar 2005
    Posts
    6

    Default Re: Link to gallery

    ah, nice. Didnt know it could do that.

  13. #13

    Default Re: Link to gallery

    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?

  14. #14
    Senior Member ConqSoft's Avatar
    Join Date
    Jan 2004
    Location
    Raleigh, NC
    Posts
    1,614

    Default Re: Link to gallery

    See my reply to you in the other thread.
    My Blog
    GPS Discussion Forum

    *** Please do not contact me privately for help. Thanks. ***

  15. #15
    Junior Member
    Join Date
    Jul 2005
    Posts
    1

    Default Re: Link to gallery

    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?

  16. #16
    Junior Member
    Join Date
    Jul 2005
    Posts
    18

    Default Re: Link to gallery

    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?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •