Show Posts

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.


Messages - Sebas Bonito

Pages: 1 ... 3 4 5 6 [7] 8 9 10 11 ... 19
91
Also bei mir läuft die MOD super. Danke!

Meine Vorschläge:

- Die Anzahl pro User limitieren. Ähnlich wie bei der [MOD] Picture Upload Limit for User fände ich es nicht verkehrt, wenn die User nicht unendlich viele Kategorien erstellen können. Noch eher Sinn würde eine Zeitsperre machen... so z.B. nur alle 10 Minuten. So besteht keine (große) Möglichkeit eines Doppel-Posts.

- Anstelle der "Msg" bei erfolgreicher Erstellung einer Kategorie UNTER dem Formular würde ich es bevorzugen, eine "weiße" Seite mit Extra-Infos zu erstellen. Bei Reload der Seite wird die Kategorie erneut erstellt! Passiert selten, aber Usern sollte man es einfach machen.

- Wie kann ich die Kategorie-ID (bei erfolgreicher Erstellung) in die $msg ausgeben? Dann würde ich einen angepassten Link (/member.php?action=uploadform&cat_id=XX) für das Upload-Formular ausgeben, oder vielleicht direkt (nach 10sek) zum Upload-Formular weiterleiten...

92
Another oversite on my part,

on line 2796 change it to read...
Code: [Select]
if (!function_exists('check_big_type')) {
I forgot the quotes  :oops:

I am about to post an update to the MOD in the next couple days, will add this to the list...


Thx, that has fixed it  8)


I've found another server-error
Code: [Select]
[Fri Jul 24 22:57:42 2009] [error] [client x] PHP Notice: Undefined index: download_width in /srv/www/vhosts/de/httpdocs/daeof/includes/functions.php on line 726, referer: /member.php?action=showprofile&user_id=19
in my functions.php in line 726 it says
Code: [Select]
$max_width = $site_template->val_cache['download_width'];
if (ISSET($max_width)){
$max_height = $site_template->val_cache['download_height'];
}
else {
$max_width = $site_template->val_cache['width'];
$max_height = $site_template->val_cache['height'];
}


Update: Already fixed here. Thx budduke!

93
Plugins / Re: [Plugin] Batch Import
« on: July 23, 2009, 08:32:14 PM »
Hi!
...
Ne andere Geschichte: Die Fotos werden nicht verkleinert; besser gesagt, die MOD Auto image resizer wird nicht verwendet. Kann man das irgendwie integrieren? Denn so werden die Fotos in voller Auflösung angezeigt, und das sprengt nicht nur den Rahmen, sondern auch den Bildschirm.
ich verwende den big mod, ist aber etwas kompliziert weil die einbauanleitung und das debugging über mehrere seite geht.

du ladest ein großes bild hoch, das automatisch in einen extra ordner kommt, das verkleinerte z.b. 800x600 wird auf der detail angezeigt,
und zum download steht wieder das originale zur verfügung.
http://www.4homepages.de/forum/index.php?topic=7499.msg33712#msg33712

mfg Andi

Hi Andi,

also es läuft doch (MOD Auto image resizer UND [Plugin] Batch Import)... aber danke für den Tipp!

Bei der ersten MOD gibt es im ACP unter "Bilder verwalten" den Punkt "Auto-Image-Resizer". Wenn man nun das (zu große) Foto (nach dem Batch Import) verkleinert, wird automatisch die Original-Datei in den Unterordner "big" kopiert. GENAU SO wollte ich das.



Vielleicht noch ein Tipp für alle, die dieses Plugin nutzen: Meist ist es ja so, dass man nach dem Upload/Batchen die Kategorie noch bearbeiten will. Wenn man nun den Users auf der Seite zunächst nicht den Zugang gewähren will, muss man die "auth_viewcat" dementsprechend anpassen. Ich habe das gleich in die batch_import.php gepackt, damit ich die Kategorie erstmal in Ruhe bearbeiten kann (ohne das nochmal manuell einzustellen). Suche

Code: [Select]
($cat, '".addslashes($cat_name)."', '".addslashes($default_cat_description)."', $cat_parent_id, ".($cat_order['cat_order'] + 10).", $auth_viewcat, $auth_viewimage, $auth_download, $auth_upload, $auth_directupload, $auth_vote, $auth_sendpostcard, $auth_readcomment, $auth_postcomment)";
und ersetze es mit

Code: [Select]
($cat, '".addslashes($cat_name)."', '".addslashes($default_cat_description)."', $cat_parent_id, ".($cat_order['cat_order'] + 10).", 9, $auth_viewimage, $auth_download, $auth_upload, $auth_directupload, $auth_vote, $auth_sendpostcard, $auth_readcomment, $auth_postcomment)";
...die 9 ist in meinem Fall der Admin (ggf. anpassen!).

94
Plugins / Re: [Plugin] Batch Import
« on: July 23, 2009, 06:49:47 PM »
Hi!
...
Quote
[...open_basedir restriction in effect. File(/) is not within the allowed path(s):...
....

ob das nicht eine PHP restriction ist.
mfg Andi

Hi Andi, irgendwie läuft das... hab ein bissl rumgespielt.. hängt es vielleicht damit zusammen, dass die Fotos noch mal in einem Extra-Ordner sein müssen? *grübel*

Ne andere Geschichte: Die Fotos werden nicht verkleinert; besser gesagt, die MOD Auto image resizer wird nicht verwendet. Kann man das irgendwie integrieren? Denn so werden die Fotos in voller Auflösung angezeigt, und das sprengt nicht nur den Rahmen, sondern auch den Bildschirm.

95
It should still work, your uploaded files still go into the categories folder so if my mod does not see the file in the big folder then it uses the file in the normal category folder instead.

Okay the prob was caused of the safe_mode on settings. In "off" the original images will be saved also in the "big" folder.

NOW I'll take a look to this MOD  8)

The MOD works, but I get a server-error-log
Code: [Select]
[Fri Jul 24 00:29:03 2009] [error] [client x] PHP Notice: Use of undefined constant check_big_type - assumed 'check_big_type' in /srv/www/vhosts/rockbaer.de/httpdocs/daeof/includes/functions.php on line 2796, referer: http://www.4homepages.de/forum/index.php?topic=22741.90
On line 2796 my function it says
Code: [Select]
if (!function_exists(check_big_type)) { 
function check_big_type($file_name) {
global $config;
return (in_array(get_file_extension($file_name), $config['allowed_mediatypes_array'])) ? 1 : 0;
}
function check_remote_big($remote_media_file) {
global $config;
return (preg_match("#^(https?:\/\/[a-z0-9\-]+?\.([a-z0-9\-]+\.)*[a-z]+(:[0-9]+)*\/.*?\.(".$config['allowed_mediatypes_match'].")$)#is", $remote_media_file)) ? 1 : 0;
}
function check_local_big($local_media_file) {
global $config;
return (preg_match("#^((\.)*\/.*?\.(".$config['allowed_mediatypes_match'].")$)#is", $local_media_file)) ? 1 : 0;
}
}

...so nothing special. Anybody knows where the problem is?

96
Plugins / Re: [Plugin] Batch Import
« on: July 23, 2009, 04:07:12 PM »
:flag-en: I get the same message like TechnoRocker (post above), additional to that, here is my server-error log to his.
:flag-de: Ich kriege die selbe Fehlermeldung wie TechnoRocker (Post drüber). Ergänzend dazu mein server-error log zu diesem Problem.

Quote
[Thu Jul 23 16:01:31 2009] [error] [client x] PHP Warning: opendir() [<a href='function.opendir'>function.opendir</a>]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/srv/www/vhosts/de/httpdocs:/tmp) in /srv/www/vhosts/de/httpdocs/daeof/admin/plugins/batch_import.php on line 314, referer: /admin/plugins/batch_import.php

[Thu Jul 23 16:01:31 2009] [error] [client x] PHP Warning: opendir(/) [<a href='function.opendir'>function.opendir</a>]: failed to open dir: Operation not permitted in /srv/www/vhosts/de/httpdocs/daeof/admin/plugins/batch_import.php on line 314, referer: /admin/plugins/batch_import.php

:flag-en: As "$data_src_path"  I've chosen the sub-folder "tmp" in admin/plugins (CHMOD 777)
:flag-de: Als "$data_src_path" habe ich den Unterordner "tmp" in Plugins ausgewählt (CHMOD 777).

:flag-en: Anyone an idea what this means, and how to fix it?
:flag-de: Hat jemand ne Idee, was das zu bedeuten hat, und wie man das Problem lösen kann?

97
I've found a bug for 1.7.7

If you've changed the cat_master to 1 (on), save the category and you'll come back to edit something in the category, it says "no" in the cat_master field (even if its "yes" in database).

So search:
Code: [Select]
show_radio_row("cat_master", "cat_master", $result['cat_master']);
and replace it with:
Code: [Select]
show_radio_row("cat_master", "cat_master", $cat_row['cat_master']);
For me it helps!  8)

98
Now moved out from mods section.

Good, thx!

99
Mods & Plugins (Releases & Support) / Re: [MOD] Category Image v1.0.2
« on: July 23, 2009, 01:22:16 AM »
Thx, v@no for this fantastic mod. Everything works fine... no probs with 1.7.7  :D

101
Discussion & Troubleshooting / Re: 1 User with 2 IPs?
« on: July 22, 2009, 06:13:38 PM »
are these IPs always the same?
Don't know exactly.. cause the IP won't be logged. Today they are the same (but this can change via dynamic IPs).

did you try trace/"whois" them?
Yes, the provider is (both) bluewin.ch: "BLUEWIN-3PLAY-NET"

Some ISP use proxies (AOL) and each client's request can come from different IP...
This could be the problem. I know the user, but he doesn't know anything about it. Maybe Bluewin offers 2 IPs its user.

102
May this MOD needs SMTP?

103
Discussion & Troubleshooting / 1 User with 2 IPs?
« on: July 22, 2009, 04:55:37 PM »
Since a few weeks I see in the admin panel an user with 2 IP addresses...



How is this possible? It's always the same user and for the whole session, he's online with both IPs.

104
After making the registration it will only show "0" on the page.
I've used a email adress like "...@web.de" and I still added the code from JensF.

105
ja, so eine Art habe ich auch schon bei mir eingebaut und das ohne iframe:

Ich habe hier mal eine [TUT] verfasst als Einbindung eines Mini-Calenders in die linke Spalte.

Pages: 1 ... 3 4 5 6 [7] 8 9 10 11 ... 19