Windows XP_Publisher stuff (renamed thread) Windows XP_Publisher stuff (renamed thread)
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Windows XP_Publisher stuff (renamed thread)

Started by rafynet, April 12, 2006, 01:27:41 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rafynet

[Edit GauGau 2006-04-18]
Split unrelated replies to Koppermine - A KDE Client for Coppermine Picture Gallery into this thread and renamed it accordingly.
[/edit]

Is there a Windows alternative to upload files to coppermine?

Tranz

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.

rafynet

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.

Joachim Müller

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!

wieland

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}: &nbsp;</td>
                <td><input type="text" id="newAlbName" name="new_alb_name" value="" maxlength="255" /></td>
        </tr>


After that add:

  <tr>
                <td>Description: &nbsp;<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

Abbas Ali

@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......
Chief Geek at Ranium Systems