PHP Web Host - Quality Web Hosting For All PHP Applications Free RavenNuke(tm) Add Ons
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
washbucket
Hangin' Around


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

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

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: 318
Location: Los Angeles, USA

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

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
View user's profile Send private message Visit poster's website
washbucket
Hangin' Around


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

PostPosted: Wed Sep 30, 2009 12:16 pm Reply with quote Back to top

thanks I believe I have 1.4 installed, I got this one fron here. ok thanks
View user's profile Send private message Send e-mail Visit poster's website
washbucket
Hangin' Around


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

PostPosted: Wed Sep 30, 2009 12:20 pm Reply with quote Back to top

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
View user's profile Send private message Send e-mail Visit poster's website
nuken
RavenNuke(tm) Development Team


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

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

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 to the forums!
View user's profile Send private message Send e-mail Visit poster's website
washbucket
Hangin' Around


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

PostPosted: Wed Sep 30, 2009 2:07 pm Reply with quote Back to top

thank you very much for the help
View user's profile Send private message Send e-mail Visit poster's website
washbucket
Hangin' Around


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

PostPosted: Wed Sep 30, 2009 2:59 pm Reply with quote Back to top

Ah I see I have coppermine standalone and there is another called gallery 2 which I am downloading now to install thanks
View user's profile Send private message Send e-mail Visit poster's website
NeapolitanWorld
Involved
Involved


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

PostPosted: Wed Sep 30, 2009 5:58 pm Reply with quote Back to top

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 to the forums!
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum