Extension talk:Coppermine

From mediawiki.org
Latest comment: 13 years ago by Djbclark in topic Random is only random once

Questions by 87.139.115.75[edit]

Is there some Example? Maybe Screenshot?

And WHY IT MUST IN MY WIKIDATABASE?

Questions by 71.179.218.127[edit]

I just installed Coppermine and the extension for Media wiki. The code line sample does nothing. It might be that I am not sure about the album 'number. Any tips? Ditto for request of screenshot / examples. --71.179.218.127 05:25, 1 October 2008 (UTC)Reply

Answers by ClausVB[edit]

The problem are the following variables:

$fresMySQLConnection = @mysql_connect($GLOBALS['wgPHPBB_MySQL_Host'],    //<-
$GLOBALS['wgPHPBB_MySQL_Username'], //<-
$GLOBALS['wgPHPBB_MySQL_Password'], true);

It seems he uses a phpBB and has created variables in his "LocalSettings.php" you can use your own database if you set this variables. -- ClausVB 12:17, 5 October 2008 (UTC)Reply

Is there any way to list the thumbnails in order by postion as defined in the cpg album?[edit]

This extension works great on my wikisite. However, I do not allow commenting on my CPG, so listing by lastcom,topn,toprated,lasthits is not very suitable. Right not I list by lastup, but is there a way to list by position or title, so I could control the order by which the thumbnails appear?

Random is only random once[edit]

It seems like the "random" option chooses a random photo at wiki page save time, but this stays the same on each reload. Would it be possible to have the picture change randomly on each reload instead?
--Djbclark 07:37, 25 March 2011 (UTC)Reply