Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's v7.0 Customized Distro
Author Message
Lateron
Worker
Worker


Joined: May 10, 2003
Posts: 119
Location: Katoomba, NSW, Australia.

PostPosted: Sat Jan 31, 2004 10:36 pm Reply with quote

As Coppermine is included in Raven's distribution you might find adding Coppermine to the Waiting Content block useful (I have also used this on phpNuke 6.5 sites).

1) PLEASE backup the two files mentioned here.

2) In mainfile.php about line 845 find

$title = ""._WAITINGCONT."";

Then add the following a few lines down immediately before themesidebox($title, $content); (about line 863):

$num = $db->sql_numrows($db->sql_query("SELECT `approved` FROM `cpg_pictures` WHERE `approved` = 'NO'"));
$content .= "<strong><big>&middot;</big></strong>&nbsp;<a href=\"modules.php?name=coppermine&file=editpics&mode=upload_approval&start=0&count=25\">"._WCOPPERMINE."</a>: $num";

3) Save mainfile.php

4) Open language/lang-english.php and add the following line:

define("_WCOPPERMINE","Coppermine");

5) Save lang-english.php

6) Upload both files

Naturally this only works if you have set admin approval req'd for uploads in your Coppermine configuration.

Ron....
 
View user's profile Send private message Visit poster's website
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's v7.0 Customized Distro

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 ©