Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks
Author Message
washbucket
Hangin' Around


Joined: Jul 17, 2007
Posts: 39
Location: colorado

PostPosted: Wed Sep 30, 2009 11:47 am Reply with quote

I have downloaded at least 10 block to try and see if I could get aleast one to work with out errors could you look at this code and tell me if it's any good thanks guys and ladies

<?php
/*
+--------------------------------------------------------------------------
| MkPortal Random Coppermine Image 1.0 01.01.2005
| for Coppermine Standalone v 1.3.2
| by visiblesoul <visiblesoul.net>
| adapted from MkPortal random_pic.php by Meo & Peter <mkportal.it>
+--------------------------------------------------------------------------
| > MKPortal 1.1 Final
| > Written By Amedeo de longis & Monica Vecchi & Peter Schrumpf
| > Date started: 9.2.2004
+--------------------------------------------------------------------------
*/

$content = "";

$query = $DB->query("SELECT pid, aid, title, filepath, filename FROM cpg132_pictures ORDER BY RAND() LIMIT 1");

$photo = $DB->fetch_row($query);
$aid = $photo['aid'];
$title = $photo['title'];
$filepath = $photo['filepath'];
$filename = $photo['filename'];
$thumb = "thumb_$filename";



$content = "<tr align=\"center\"><td><a href=\"http://www.ameliaauctions.com/photos/thumbnails.php?album={$aid}\"><img src=\"http://www.ameliaauctions.com/photos/albums/{$filepath}{$thumb}\" border=\"0\" alt=\"{$title}\"></a></td></tr>
<tr><td id=\"tdblock\" align=\"center\" style=\"text-align:center; text-decoration: none;\"><a href=\"http://www.ameliaauctions.com/photos/thumbnails.php?album={$aid}\">$title</a><br /></td></tr>";


unset($photo);
unset($aid);
unset($title);
unset($filepath);
unset($filename);
unset($thumb);



?>
 
View user's profile Send private message Send e-mail Visit poster's website
NeapolitanWorld
Involved
Involved


Joined: Nov 06, 2005
Posts: 337
Location: Los Angeles, USA

PostPosted: Wed Sep 30, 2009 12:09 pm Reply with quote

It says here "for Coppermine Standalone v 1.3.2" you need to install one for php nuke. Search coppermine here and you will find several threads with downloads. All my blocks were with the coppermine nuke packages.

jc

_________________
My Raven Site Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message
washbucket
PostPosted: Wed Sep 30, 2009 12:16 pm Reply with quote

thanks I believe I have 1.4 installed, I got this one fron here. ok thanks
 
washbucket
PostPosted: Wed Sep 30, 2009 12:20 pm Reply with quote

are you saying it was in the coppermine package after installation if so where was it located? and what was the name of the file
 
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina

PostPosted: Wed Sep 30, 2009 1:05 pm Reply with quote

That block appears to be for MKPortal and not RavenNuke. Someone has a Coppermine that works with RN. I believe it has blocks that do work also. You should be able to find something in the forums as NeapolitanWorld suggested. This one may help Only registered users can see links on this board! Get registered or login!

_________________
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Send e-mail Visit poster's website
washbucket
PostPosted: Wed Sep 30, 2009 2:07 pm Reply with quote

thank you very much for the help
 
washbucket
PostPosted: Wed Sep 30, 2009 2:59 pm Reply with quote

Ah I see I have coppermine standalone and there is another called gallery 2 which I am downloading now to install thanks
 
NeapolitanWorld
PostPosted: Wed Sep 30, 2009 5:58 pm Reply with quote

I installed G2 on a test site and it was not compatible with RN. You might want to stick with a php nuke coppermine version or if you only need a simple gallery try the CA gallery by Only registered users can see links on this board! Get registered or login!
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks

View next topic
View previous topic
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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©