![]() |
Okay I have install this hack and it works fine, but I my problem is... I have a folder with some xxx pics and I dont want this pic from this folder to be display on the random pictures is there any way to fix this, or to tell the scrip not to look in some albums or to look only in some albums?
|
I believe if u change
Code:
Code:
if ($albumid!=12345) { Its a bit of a quick fix as it wont replace the xxx photos with anything else , so if theres 4 from that folder , you'll only end up with 1 being displayed. |
I installed Coppermine using Fantastico. So I don't know about the password. What can do about it?
|
I havent used fantastico , but im sure it asked you for some details when you were installing ?
If you FTP into the coppermine folder is there a config file you can check ?Its basically the same settings as the coppermine config login settings. |
If you install something using Fantastico, it never asks for mysql name, password and user name. It creates them automatically.
The user name and mysql name can be check by phpmyadmin. But you can't see the password. Even in the config.php, there's no such information. I have been looking for this Mod for so many months and now I got it, but this password problem will mar it. |
No remedy?
|
For anyone who had issues with the # sign messing up the images on the display just add the following to your coppermine.php page in the forum directory.
PHP Code:
|
You can make this a module.
Use this code for the template. The other code has his whole page on it, which was wrong. adv_portal_navbar_with_gallery Code:
<!-- / COPPERMINE GALLERY --> Edit this file i've attached and put in your path to the coppermine.php file in your forums root directory. Then upload the file to forums/modules directory. Remove the edit you made to the index.php file. That will cause a duplicate. Add a new php module module name - whatever you want templates used: adv_portal_navbar_with_gallery clean output : yes If it comes out all screwy looking edit the coppermine.php file and add Code:
<tr><td> Code:
</td></tr> Code:
$copphotos.='<tr><td><table border=0 cellpadding=20 cellspacing=0><tr>'; |
Hi,
I am very interested in using this mod for my system, with this is there any way I can target the coppermine album where the images are chosen from? Thanks Joey |
Yes Joey you can ... i have this done on my own site in the memebrs profile where it only shows photos from that member .... http://www.theotherzone.com/taz is an example.
you just need to edit the section in coppermine.php to : Code:
$MZresult = @mysql_query("SELECT * FROM ".$prefix."_pictures WHERE owner_id=".$userinfo[userid]." ORDER BY RAND() LIMIT 0,$amount"); |
All times are GMT. The time now is 10:37 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|