Comments Posted By Nemo
Displaying 1 To 6 Of 6 Comments
Lester Chan’s WordPress Plugins July 2008 Update
Ok 🙂
» Posted By Nemo On 21st July 2008 @ 22:45
Whoops, the second modification is not complete: it works only on MU.
This is the correct one:
if (isset($blog_id)) {
if(!is_dir(WP_CONTENT_DIR.’/blogs.dir/’ . $blog_id . ‘/files/downloads/’)) {
mkdir(WP_CONTENT_DIR.’/blogs.dir/’ . $blog_id . ‘/files/downloads/’, 0777, true);
}
}
else {
if(!is_dir(WP_CONTENT_DIR.’/files/downloads/’)) {
mkdir(WP_CONTENT_DIR.’/files/downloads/’, 0777, true);
}
}» Posted By Nemo On 21st July 2008 @ 19:03
That’s perfect 😉
» Posted By Nemo On 21st July 2008 @ 18:00
@Lester: good, I am glad of that. The 1.40 release will be the next one?
Regarding the slug, well, I guessed that! 😉Bye bye.
» Posted By Nemo On 21st July 2008 @ 16:19
Ah, one more thing: it would be nice (but not strictly necessary) to change the “nice urls” in wp-downloadmanager from “/download/” to “/download/slug-of-the-download-name”. What do you think about it?
» Posted By Nemo On 21st July 2008 @ 05:14
«« Back To Stats PageHello Lester,
first I wanna thank you for the great plugins you released so far. They are among the best ones.
Now, a couple of things.
I made a simple modification to the WP-DownloadManager 1.31 in order to make it WordPress MU ready. You build the default options for the “download path” and the “download path URL” keeping in mind a simple WordPress installation. The plugin as you released use so the same download path for each blog in the WPMU network.
I changed the file wp-downloadmanager, replacing the lines 1186-1187 with the following ones:
global $blog_id;
if (isset($blog_id)) {
add_option(‘download_path’, WP_CONTENT_DIR.’/blogs.dir/’ . $blog_id . ‘/files/downloads/’, ‘Download Path’);
add_option(‘download_path_url’, WP_CONTENT_URL.’/blogs.dir/’ . $blog_id . ‘/files/downloads/’, ‘Download Path URL’);
}
else {
add_option(‘download_path’, WP_CONTENT_DIR.’/files/downloads/’, ‘Download Path’);
add_option(‘download_path_url’, WP_CONTENT_URL.’/files/downloads/’, ‘Download Path URL’);
}By the way, I also added the dir “downloads” at the end of the path, because it seems cleaner to me.
Moreover, I modified the rows 1213-1214 in the same above file with the following ones:
if(!is_dir(WP_CONTENT_DIR.’/blogs.dir/’ . $blog_id . ‘/files/downloads/’)) {
mkdir(WP_CONTENT_DIR.’/blogs.dir/’ . $blog_id . ‘/files/downloads/’, 0777, true);I hope you will choose to integrate this modifications in the official version, so that I will not be compelled to port them in your next releases of the plugin.
» Posted By Nemo On 21st July 2008 @ 05:11
[…] WP-Stats 2.05 » Readme/Changelog » Demo » Download » Support Forum […]
[…] WP-Stats 2.5 September 23rd, 2006 Category: Search & Stats >> Statistics Plugins Author: Lester Chan Description: Demo: http://www.lesterchan.net/wordpress/stats/ Support: http://forums.lesterchan.net/viewforum.php?f=6 […]
[…] 简介: 显示blog的统计信æ?¯ï¼Œæ¼”示: […]
[…] Stats einbauen: http://www.lesterchan.net/wordpress/stats/ […]
Great statistics.
Perfect support XHTML templates!
thanks!
Благодарю ВаÑ? за напиÑ?ание Ñ?криптов !
[…] WP-Stats 2.06 » Readme/Changelog » Demo » Download » Support Forum […]
[…] 2.10 » Readme/Changelog » Demo » Download » Support […]
[…] uyumlu olup olmadığını bu adresten kontrol ettim ve uyumlu deÄŸildi yeni sürümünü Wp-Stats 2.0 ‘ı indirdim ve FTP ye eklentiler bölümüne upload ettim. ve […]
[…] :Buradan Orjinal Demo: Buradan TR Demosu: Buradan […]
[…] :Buradan Orjinal Demo: Buradan TR Demosu: Buradan […]
[…] :Buradan Orjinal Demo: Buradan TR Demosu: Buradan […]
[…] 简介: 显示blog的统计信æ¯ï¼Œæ¼”示: […]
[…] WordPress 2.1 Plugin: WP-Stats 2.10 » Descarga | demo | development | documentation Muestra las estadísticas de tu […]
[…] 2.11 » Readme/Changelog » Demo » Download Mirror #1 » Download Mirror #2 » Support […]
[…] 2.1 Plugin: WP-Stats 2.11 » download | demo | development | documentazione Mostra le statistiche del tuo […]
[…] ???GaMerZ.WordPress » Blog Statistics???????? […]
[…] 2.20 » Compatible With WordPress 2.3 » Readme/Changelog » Demo » Download Mirror #1 » Download Mirror #2 » Support […]
[…] Plugin: WP-Stats 2.20 » download | demo | development | […]
[…] 2.1 Plugin: WP-Stats 2.11 » download | demo | development | documentazioneWordPress 2.1 Plugin: WP-ServerInfo 1.00 » download | development | […]
[…] :Buradan Orjinal Demo: Buradan TR Demosu: […]