Advanced search  

News:

cpg1.5.46 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter recently discovered vulnerabilities. It is important that all users who run version cpg1.5.44 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Windows XP_Publisher stuff (renamed thread)  (Read 7577 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

TranzNDance

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Female
  • Posts: 6148
    • Take Thu! Gallery
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: 47844
  • 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.016 seconds with 20 queries.