[Edit GauGau 2006-04-18]
Split unrelated replies to Koppermine - A KDE Client for Coppermine Picture Gallery (http://forum.coppermine-gallery.net/index.php?topic=29497.0) into this thread and renamed it accordingly.
[/edit]
Is there a Windows alternative to upload files to coppermine?
Quote from: rafynet on April 12, 2006, 01:27:41 AM
Is there a Windows alternative to upload files to coppermine?
The windows xp publisher.
Quote from: TranzNDance on April 12, 2006, 05:36:50 AM
The windows xp publisher.
I like the xp windows publisher ... only beef i have with it is no ablility to add descriptions to the albums.
don't clutter this thread with your remarks on XP Publisher - this is an announcement thread for something exclusively Linux-related. Don't make Linux users angry!
Quote from: TranzNDance on April 12, 2006, 05:36:50 AM
The windows xp publisher.
Hi !
I've made a little mod to the file xp_publish.php so it accepts album description in the XP publishing wizard...
Search for this:
<!-- BEGIN create_album -->
<form method="post" id="createAlb" action="{POST_ACTION}">
<tr>
<td colspan="2"><b>{CREATE_NEW}</b></td>
</tr>
<tr>
<td>{ALBUM}: </td>
<td><input type="text" id="newAlbName" name="new_alb_name" value="" maxlength="255" /></td>
</tr>
After that add:
<tr>
<td>Description: <br></td>
<td><textarea rows="8" cols="30" id="newAlbDesc" name="new_alb_desc" value="" minlength="55" /></textarea></td>
</tr>
Then search for this: $query = "INSERT INTO {$CONFIG['TABLE_ALBUMS']} (category, title, uploads, pos) VALUES ('$category', '" . addslashes($HTTP_POST_VARS['new_alb_name']) . "', 'NO', '0')";
db_query($query);
Replace with: $query = "INSERT INTO {$CONFIG['TABLE_ALBUMS']} (category, title,description, uploads, pos) VALUES ('$category', '" . addslashes($HTTP_POST_VARS['new_alb_name']) . "','" . addslashes($HTTP_POST_VARS['new_alb_desc']) ." ', 'NO', '0')";
db_query($query);
Hope it helps ya ! ;D
@wieland: If you have come up with a mod for xp wizard then please post it in respective thread. This thread is exclusive to KDE client. GauGau already suggested not to clutter this thread with stuff related to windows xp pulisher. Linux users are starting to get angry now......