Advanced search  

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

Pages: [1]   Go Down

Author Topic: Windows XP_Publisher stuff (renamed thread)  (Read 10226 times)

0 Members and 1 Guest are viewing this topic.

rafynet

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Windows XP_Publisher stuff (renamed thread)
« on: April 12, 2006, 01:27:41 am »

[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?
« Last Edit: April 18, 2006, 09:34:43 am by GauGau »
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Koppermine - A KDE Client for Coppermine Picture Gallery
« Reply #1 on: April 12, 2006, 05:36:50 am »

Is there a Windows alternative to upload files to coppermine?
The windows xp publisher.
Logged

rafynet

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Koppermine - A KDE Client for Coppermine Picture Gallery
« Reply #2 on: April 13, 2006, 03:24:21 pm »

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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Koppermine - A KDE Client for Coppermine Picture Gallery
« Reply #3 on: April 13, 2006, 07:13:07 pm »

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!
Logged

wieland

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 7
  • -- Listen to the Wind
    • Kublun.com
Re: Koppermine - A KDE Client for Coppermine Picture Gallery
« Reply #4 on: April 17, 2006, 01:44:02 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:
Code: [Select]
<!-- 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:
Code: [Select]
  <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
Logged

Abbas Ali

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: Koppermine - A KDE Client for Coppermine Picture Gallery
« Reply #5 on: April 17, 2006, 07:09:21 am »

@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......
Logged
Chief Geek at Ranium Systems
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.