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.
PHPNuke Blocks
Most Popular Photo Block

Posted on Tuesday, July 22, 2003 @ 10:50:21 CDT
After a request for a block for the most popular image in your photo albums, we've created one. Read on for more...

Grab the zip file here. Unzip into your blocks directory and change the following two lines to reflect your installation:

$GALLERY_BASEDIR = "/home/httpd/htdocs/modules/gallery/";
define(SERVER_ADDR,"/");

Next, if the name (the directory that your Gallery is stored in) of your Gallery module is something other than "gallery", you will have to change the two following lines:

$albumURL .= "&op;=modload&name;=gallery&file;=index&include;=view_album.php";
$url .= "&op;=modload&name;=gallery&file;=index&include;=view_photo.php";

Change the "gallery" to whatever you called your Gallery. That's it. Activate the block and you're set.

Right now, this does a real-time check of the Gallery (no cache files are created). Also, it doesn't provide the capability for most popular in the last hour/day/month/year. If you'd like to see this capability, please vote in the survey.





[ Results | Polls ]

Votes 0

· More about Site Admin Stuff
· News by dari


Most read story about Site Admin Stuff:
Upcoming PHPNuke Blocks


Average Score: 3
Votes: 2


Please take a second and vote for this article:

Excellent
Very Good
Good
Regular
Bad



 Printer Friendly Printer Friendly

 Send to a Friend Send to a Friend





Sponsors: Dedicated ServersDomain NamesWeb HostingDomain Name RegistrationAustralian Web HostingNeckermannLook For GadgetsSwag Listings

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