Joined: May 10, 2003 Posts: 119 Location: Katoomba, NSW, Australia.
Posted:
Sat Jan 31, 2004 10:36 pm
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>·</big></strong> <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.
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