| Author |
Message |
dmortinsen
Beginner


Joined: Nov 09, 2004 Posts: 2
|
Posted: Tue Nov 09, 2004 2:52 pm Post subject: PostNuke Random Block |
|
|
I could not get the random block to work with PostNuke. Could anyone advise me how to accomplish this? Thanks.  |
|
| Back to top |
|
|
AdBot
|
| Post subject: PostNuke Random Block |
|
|
|
|
|
| Back to top |
|
 |
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Tue Nov 09, 2004 2:54 pm Post subject: Re: PostNuke Random Block |
|
|
| the random block offered here is not for postnuke use, it is for phpnuke only. |
|
| Back to top |
|
|
dmortinsen
Beginner


Joined: Nov 09, 2004 Posts: 2
|
Posted: Tue Nov 09, 2004 3:13 pm Post subject: Re: PostNuke Random Block |
|
|
| Is there a place I could find a block for PostNuke for this program. We absolutely love it and that would be the finishing touch of making it perfect. Thanks for the quick response by-the-way. |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Tue Nov 09, 2004 3:20 pm Post subject: Re: PostNuke Random Block |
|
|
| there is a random block file that gets distributed as part of the gallery code. i believe it is compatible w/ postnuke. |
|
| Back to top |
|
|
Omniver
Beginner


Joined: Nov 14, 2004 Posts: 2
|
Posted: Mon Nov 15, 2004 7:48 pm Post subject: Re: PostNuke Random Block |
|
|
The way I did it was:
From the blocks admin module, Add a block of Core/PHP Script type with the entry:
include("http://www.yoursite.org/modules.php?op=modload&name=gallery&file=index&include=block-random.php");
Thats it! (of course it took me about two hours of web searching to figure that out)
Enjoy,
-O |
|
| Back to top |
|
|
AnOldGirl
Beginner


Joined: Aug 03, 2004 Posts: 1
|
Posted: Sun Dec 19, 2004 1:26 pm Post subject: Re: PostNuke Random Block |
|
|
I have been using a nice little random image module called MultiImage available from http://noc.postnuke.com/projects/multiimage/ [postnuke.com] Of COURSE it could use more bells and whistles, but I like it and it works well.
Oops - forgot to mention - I am using it with postNuke's latest release (crs the number.75??? gold???) and have used it successfully with previous releases. If all modules installed and worked as troublefree as this one, I would still be a brunette.  |
|
| Back to top |
|
|
Xepha
Beginner


Joined: Jul 29, 2005 Posts: 2
|
Posted: Tue Oct 25, 2005 11:57 am Post subject: Re: PostNuke Random Block |
|
|
Omniver wrote: › From the blocks admin module, Add a block of Core/PHP Script type with the entry:
include("http://www.yoursite.org/modules.php?op=modload&name=gallery&file=index&include=block-random.php");
This worked great for me, thanks!
I only have one problem though. My Gallery (v. 1.5.1) is embedded into PostNuke (v. 0.75b). I have all albums except for one set so that only logged-in users can view the photos. My guest viewable album only has one picture in it. This guest viewable album/photo is the only one that ever shows up in the random block, even if I'm logged in as a normal user or an admin. Is there any way I can allow it to pull thumbnails from any album? I don't mind if non-logged-in guests can view thumbnails from restricted albums, as long as that somehow doesn't give them full viewing access to the album when they click on it, but it's ok if guests cannot view thumbnails from restricted albums as long as logged-in users can view them. |
|
| Back to top |
|
|
|
|
|
|
|