16
Mods & Plugins (Releases & Support) / Re: [MOD] Alternate directory for download files.
« on: January 12, 2006, 09:53:20 PM »
@wobei ich dir das mehr als einmal in mehreren postings gesagt habe
Matthias
Matthias
4images code on GitHub Click here to visit GitHub.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
On top.php file,
find :Quote
$user_profile_link = (!empty($url_show_profile)) ? preg_replace("/{user_id}/", $top_list[$i]['user_id'], $url_show_profile) : ROOT_PATH."member.php?action=showprofile&".URL_USER_ID."=".$top_list[$i]['user_id'];
replace with :Code: [Select]
$user_profile_link = (!empty($url_show_profile)) ? str_replace("{user_id}", $top_list[$i]['user_id'], $url_show_profile) : $site_sess->url(ROOT_PATH."member.php?action=showprofile&".URL_USER_ID."=".$top_list[$i]['user_id']);
Merry Christmas.
Oder wartest noch vielleicht 2 wochen, dann habe ich vielleicht was nettes für dich...
Sorry, aber wo sind jeweils die drei Seiten?
Das ist doch alles ein Thread mit drei Seiten?!
Fireball22
Ok, ich habe jetzt folgendes eingebaut:
http://www.4homepages.de/forum/index.php?topic=7499.msg33712#msg33712
+
http://www.4homepages.de/forum/index.php?topic=7499.msg34056#msg34056
+
http://www.4homepages.de/forum/index.php?topic=7499.msg34466#msg34466
Aber es geht nicht mehr außer dem download des Leuchtkastens in original-größe!
Was muss ich denn noch einbauen?
Und wo finde ich das mit dem Download-Button und zip-Button, dass dort die Original-Files gedownloadet werden, genauso wie bei dem Leuchtkasten.
Ich habe leider nicht unter deinem Link gefunden.
what does it mean "ascending, descending"?
by date?
by name?
I cant fugure out, in which order the pictures are shown.
// CTN download file block insert BEGIN
if( file_exists(MEDIA_PATH."/".$image_row['cat_id']."/download/".$image_row['image_media_file']) )
$download_file_size = @filesize(MEDIA_PATH."/".$image_row['cat_id']."/download/".$image_row['image_media_file']);
elseif( file_exists(MEDIA_PATH."/".$image_row['cat_id']."/big/".$image_row['image_media_file']) )
$download_file_size = @filesize(MEDIA_PATH."/".$image_row['cat_id']."/big/".$image_row['image_media_file']);
$download_file_size = format_file_size($download_file_size);
// CTN download file block insert END
Warning: preg_match() expects parameter 2 to be string, resource given in /www/htdocs/v030672/bildergalerie/includes/functions.php on line 1437
Warning: preg_match() expects parameter 2 to be string, resource given in /www/htdocs/v030672/bildergalerie/includes/functions.php on line 1441
Warning: preg_match() expects parameter 2 to be string, resource given in /www/htdocs/v030672/bildergalerie/includes/functions.php on line 1445
function multilang($text, $show_first = 0, $remove = 0){
global $config;
preg_match("#\[".$config['language_dir']."\](.*)(\[\/?".$config['language_list']."\]|$)#iDUs", $text, $match);
if (!empty($match[1])) {
return $match[1];
}
preg_match("#^(.*)\[".$config['language_list']."\]#iDUs", $text, $match);
if (!empty($match[1])) {
return $match[1];
}
preg_match("#\[".$config['language_dir_default']."\](.*)(\[\/?".$config['language_list']."\]|$)#iDUs", $text, $match);
if (!empty($match[1])) {
return $match[1];
}