Support Forums | Demo Gallery [1.x] [2.x] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

Nuke-evolution 2.01 random image block

 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Blocks View previous topicPrinter friendly versionView next topic
Author Message
goatherder

Beginner
Beginner


Joined: Dec 01, 2006
Posts: 2

PostPosted: Tue Dec 26, 2006 10:51 am    Post subject: Nuke-evolution 2.01 random image block Reply with quote

Hiya,

I'm trying to find/create a random image block for my site, which is running nuke-evolution 2.01. (www.nuke-evolution.com). I've got a block up and running but there are a couple of errors I can't seem to get round.

* The images in the block link to /modules/gallery2/main.php rather than modules.php?name=gallery2&
* If i try to set the block so it is visible only to a certain usergroup, the block comes up with "This block is restricted to the following usergroup" as an error message.

Can anyone help?

Thanks


Code: ›
/*=======================================================================
 Nuke-Evolution Basic: Enhanced PHP-Nuke Web Portal System
=======================================================================*/

if(!defined('NUKE_EVO')) exit;

if (is_user()) {
   
ob_start();
@readfile('http://xxx.org/modules/gallery2/main.php?g2_view=imageblock.External&g2_blocks=randomImage&g2_maxSize=130&g2_show=none');
print "<br><br>";
@readfile('http://xxx.org/modules/gallery2/main.php?g2_view=imageblock.External&g2_blocks=randomImage&g2_maxSize=130&g2_show=none');
$output = ob_get_contents();
ob_end_clean();
$content .= "<br><center>";
$content .= $output;
$content .= "</center>";

}
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: Nuke-evolution 2.01 random image block  

Back to top
gietl

Novice
Novice


Joined: Apr 28, 2003
Posts: 20
Location: Denver, CO

PostPosted: Tue Jan 30, 2007 10:08 pm    Post subject: Re: Nuke-evolution 2.01 random image block Reply with quote

Is the one provided with the G2 integration not sufficient? I use evo as well and the provided block works fine.
Back to top
Offline View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Blocks View previous topicPrinter friendly versionView next topic

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Web HostingDedicated ServersDomain NamesDomain Name RegistrationDedicated Web HostingSEO Search Engine OptimisationSEOWeb Design New YorkSEO Web DesignWeb hosting AustraliaCheap Web Design

6th year online! 2003-2009
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia