Download Manager

Creating and modifying plugins.
dma147
Regular
Posts: 132
Joined: Thu Sep 08, 2005 1:50 pm
Location: Berlin
Contact:

Post by dma147 »

Hi,

this is only possible through editing the plugins php-file.

change this line 898:

Code: Select all

			$table .= "		<td><a href=\"./index.php?serendipity[subpage]=".$this->get_config('pageurl')."&thiscat=".$id."&file=".$file['id']."\"><span style=\"font-size:12px\">".$file['realfilename']."</span></a></td>\n";
To something like this:

Code: Select all

			$table .= "		<td><a href=\"./index.php?serendipity[subpage]=".$this->get_config('pageurl')."&thiscat=".$id."&file=".$file['id']."\"><span style=\"font-size:12px\">".$file['description']."</span></a></td>\n";
Alexander Mieland, dma147
http://blog.linux-stats.org
Wizard
Regular
Posts: 103
Joined: Sat Aug 13, 2005 7:18 am
Location: Southern California
Contact:

Ah... something wrong..

Post by Wizard »

I just tried to import more files for my download manager, I am unable to import from the incoming directory. I FTP'd files to the incoming directory before one of your upgrades (since I have large files) and import them to the category via the plugin admin interface. Now I tried again since upgrading and noticed that the import feature doesn't seem to work. It shows the file, but when I click on import it just flashes and nothing happens. I can upload the file just fine directly, but the import from incoming directory doesn't work. The import from media library works fine to that category, just not from incoming.
Wizard
My WeBlog
melwood

Images

Post by melwood »

Great plugin, but I have a problem: The URL to thie pictures is wrong.

Instead of http://mydoamin.xx/plugins/serendipity_ ... /imagename
the plugin uses
http://mydoamin.xx/<serverpath_to_seren ... /imagename

Any idea where the problem could be?

melwood
Michael Sens

Post by Michael Sens »

Hey,

First I have to thank you for your great work. Second I’ll ask you to excuse me for my English. I’m not a native English speaker or writer.

Now I can describe my problem. It works very well, but since I installed the plug-in I miss a real utf-8 support. The admin interface (of the plug-in) are not utf-8 encoded, so every character from the extended charset (like the german characters ä ü) are replace by the replacing characters of the user agent. But okay – I can ignore it. ;-) The input I filled in the form, is encoded correctly. In the Front End, there is a Back-Link (german: zurück) generated by plug-in. As the encoding of the plug-in is wrong, the character ‘ü’ is replaced.

Are there any solutions?

Best regards
Michael Sens
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi Michael!

You are right, the german UTF-8 language file (UTF-8/lang_de.inc.php) was in ISO-8859-1 format. I justr committed the real UTF-8 version. If you have an editor thatn can convert ISO to UTF-8, you can recode the file yourself and save it properly. :)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Michael Sens

Post by Michael Sens »

Hi Garvin,

thanks, now it works very well!

Michael
Post Reply