vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Random Images(from 4image gallery) on FORUMHOME (https://vborg.vbsupport.ru/showthread.php?t=71267)

deathemperor 11-01-2004 10:00 PM

Random Images(from 4image gallery) on FORUMHOME
 
*UPDATE: 5/31/2005, change the number of pictures to be displayed, fix the instructions file.


I made this for my own need and since there're no working hacks to display random images from 4images gallery on forumhome, I think.


This hack is credited to Nicky(http://www.nicky.net) @ 4images.de
I made it to work with vbulletin3.0 in template.


Modifications:
- forums/index.php
- new template: random_pic



=============================================
Requirements:
=============================================

- vBulletin 3.0.x installed and working
- 4images 1.7 fresh installed and working
- 4images and vBulletin are installed to use the SAME database
- 4images Gallery 1.7 + vB 3.0.x hack

Johnny 11-02-2004 04:29 AM

dang, for a second i thought this was a mod for random image attachments from the forums on forumhome.

good mod though, this will come useful for people that use 4images and vb together.

templates911 11-02-2004 02:56 PM

Quote:

Originally Posted by Johnny
dang, for a second i thought this was a mod for random image attachments from the forums on forumhome.

Same here. I can't use this one. :(

deathemperor 11-03-2004 03:40 AM

that was my mistake on the name.

*thread edited*

NexVision 11-04-2004 02:49 PM

Quote:

Originally Posted by deathemperor
I made this for my own need and since there're no working hacks to display random images from 4images gallery on forumhome, I think.


This hack is credited to Nicky(http://www.nicky.net) @ 4images.de
I made it to work with vbulletin3.0 in template.


Modifications:
- forums/index.php
- new template: random_pic



=============================================
Requirements:
=============================================

- vBulletin 3.0.x installed and working
- 4images 1.7 fresh installed and working
- 4images and vBulletin are installed to use the SAME database
- 4images Gallery 1.7 + vB 3.0.x hack

doesnt work with 3.0.3

deathemperor 11-05-2004 09:41 AM

impossible since I'm running it on my vb3.0.3 board perfectly, and you know that screenshot was taken from there.

I wonder what the problem is.

*arie 11-14-2004 11:36 PM

edit: nevermind, i have it working now.

Skyline_GT 11-20-2004 11:50 PM

is it possible to show more than 1 picture?

deathemperor 11-24-2004 12:51 PM

Quote:

Originally Posted by Skyline_GT
is it possible to show more than 1 picture?

it is
personally I don't want it display only 1.
I'll extend it soon.

Pyxis 03-11-2005 11:38 AM

Thank you for the hack. I used the hack to display it in my vBadvanced homepage instead of forum home, it works the same so thank you! :)

cgarossi 04-09-2005 11:49 AM

How did you get it to appear on CMPS?

mtha 04-18-2005 06:35 PM

Quote:

Originally Posted by cgarossi
How did you get it to appear on CMPS?

Create a module for it. same script, make it modulized, add to module folder, add module, then you have it in CMPS

deathemperor. you didnt state the template name in your install file.

Allan 04-18-2005 07:30 PM

thank you for your hack, very well :)

On the other hand, which name gives your to new the template ??
it is a pity which it have there only one image which is posted, when to go to improve you the hack to post more than one picture ?

midnightwalker 04-27-2005 04:55 PM

Quote:

Originally Posted by Pyxis
Thank you for the hack. I used the hack to display it in my vBadvanced homepage instead of forum home, it works the same so thank you! :)

Hi Pyxis,

how can you get it? I having problem with the "require_once('./global.php');" :( even if I can specific the right location (../global)

Can you help?

ZGeek 05-12-2005 04:31 AM

Does anyone know how to exclude certain galleries from being displayed in the random image?

Clayton 05-17-2005 09:21 AM

is it possible to add 3 images instead of 1, please?

and I understand this can be adapted for use with vBadvanced gallery?

ps. thanks have sorted in vBadvanced gallery

deathemperor 05-31-2005 12:10 PM

I've updated so that you can have how many pictures as you want.

also fixed the instruction.

VViper 09-16-2006 05:16 AM

does this mod work with the current VB 3.5?


All times are GMT. The time now is 04:50 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
  • Page Generation 0.01054 seconds
  • Memory Usage 1,747KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (18)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete