Totally Lost on installing Random Image Block

nksully

Joined: 2005-04-20
Posts: 1
Posted: Wed, 2005-04-20 22:34

Using PHP-Nuke 7.0; Gallery v1.4.4-pl6

I've poured through the forums here and have gone over and over the sticky for installing the random block into nukehttp://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=18881.

I keep reading the information to

Quote:
Create a Core/PHP block with the following
Code:
include("http://your.server/modules.php?op=modload&name=your-gallery-name&file=index&include=block-random.php");

Change the URL above to match the information for your server (your.server and your-gallery-name).

and fully understand how to update the "http://your.server..." information but I don't understand "Create a Core/PHP block".

What do I name this Core/PHP block and where do I install it?

Would this Core/PHP block file look like this

<?php
include("http://www.runinl8.us/modules.php?op=modload&name=gallery&file=index&include=block-random.php");
?>

Should I also be downloading and using the file "block-random.php" from http://gallery.menalto.com/modules.php?op=modload&name=Sections&file=index&req=viewarticle&artid=23?

I've also edited my index.php file inside Gallery and my themesidebox() function per the above instructions but using the "block-random.php" from the above link and edits doesn't get me a random image. All I get is the contents of the "block-random.php" file and then below that a box for the Random Image saying "There isn't content right now for this block."

Hope this post makes sense.

Thanks,

Nancy