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 - faux

Pages: [1] 2
1
Installation, Update & Configuration / Re: Bilder zu groß
« on: August 29, 2006, 11:36:06 PM »
Naja, dass es so lange dauert, da kann 4images nichts dafür. Das liegt am HTTP. Ist auch nicht für sowas gedacht.

2
Hab grad nen kleinen Bug behoben:

Code: [Select]
  // Lightbox count MOD BEGIN
  if (!empty($user_info['lightbox_image_ids']))  {
    $image_id_sql = str_replace(" ", ", ", trim($user_info['lightbox_image_ids']));
    $sql = "SELECT COUNT(image_id) AS images
            FROM ".IMAGES_TABLE."
            WHERE image_active = 1 AND image_id IN ($image_id_sql) AND cat_id NOT IN (".get_auth_cat_sql("auth_viewcat", "NOTIN").")";
    $result = $site_db->query_firstrow($sql);
    $lightbox_rows = $result['images'];
  } else {
    $lightbox_rows = 0;
  }
 
  $site_template->register_vars(array(
    "lightbox_count" => $lightbox_rows
  ));
  // Lightbox count MOD END
Der Bug war: Wenn der User ein Bild im Leuchtkasten hatte, das nichtmehr existierte oder für das er mittlerweile keine Berechtigungen mehr hatte, wurde es trotzdem mitgezählt.

Grüße
Faux

3
Feedback & Suggestions / Re: Easter egg in 4images ?
« on: August 29, 2006, 11:44:55 AM »
btw: Which string would generate 6111426fcb0b0a76558f9058c331a3a6 as md5 result?

Regards.
Exactly! nobody knows that, so what others are you talking about? :roll:
if one can crack this MD5 hash, then trust me, they can get access to the server without it anyway...
You're right. First i thought it's simple combination i can find in the docs or so on. ;)

4
Bist du als Administrator eingelogt? Denn an der Stelle, an der die db_mysql.php diese Zeile ausgibt, sollte nämlich der SQL-Fehler stehen, wenn man dmin ist.

5
wow it is great! I will try it when i have free time  :wink:

thankx!!! :D

Hope it will work. It should work at nearly every phpBB-Version. The only thing which could make problems is that the install-instructions are made for phpBB 2.0.19. But if anyone has troubles with a newer (or older) verson, i can make instructions for other versions.

6
Keiner eine Idee?

7
Kannst du andere MySQL-Befehle ausführen?
Versuche mal
Code: [Select]
SHOW TABLES; oder so. Wenn das auch nicht geht, tippe ich auf einen MySQL-Fehler.

8
Vorschlag für neue Version:
In der 4images_images Tabelle ein zusätzliches Feld: image_annotated. Wenn Annotation gesetzt wurde, steht hier 1 drinnen, so dass man nicht versehentlich ein Bild zweimal mit ner Annotation versehen kann.

Grüße
Faux

9
Hast du die Installation ausschließlich händisch durch Ändern der config.php durchgeführt oder mit der install.php?

10
Feedback & Suggestions / Re: Easter egg in 4images ?
« on: August 28, 2006, 08:11:35 PM »
PRINT_STATS has nothing to do with that  :evil:
huh?
if you dont like it, dont enable it...simple as that...
Don't enable it? The line with phpinfo() is enabled for default! You have to comment that line, to prevent from reading others your phpinfo...
btw: Which string would generate 6111426fcb0b0a76558f9058c331a3a6 as md5 result?

Regards.

11
Installation, Update & Configuration / Re: Bilder zu groß
« on: August 28, 2006, 07:55:07 PM »
Hallo!

Im ACP (Admin Control Panel) gibts links einen Menüpunkt "Auto-Image-Resizer". Damit kannst du die Bilder verkleinern. Jedoch sind dann die Originale kleiner und nicht eine Kopie davon.

Und wenn du große Dateien hochladen willst, würde ich das nicht über HTTP sondern über FTP machen. Suche dir dazu die Kategorie-ID der Kategorie, in der du die Datei hochladen willst (das sieht man im Link, wenn du die Kategorie öffnest oder auch im ACP unter "Kategrorien bearbeiten") und lade die Datei dann nach /data/<id>. Dann gehst du im ACP auf "Neue Bilder checked" und fügst die Dateien so der Datenbank hinzu. Das ist viel konfortabler, als wenn du die Dateien über den Browser hochlädst. Wenn du das öfters so machst, kann ich dir einen guten MOD empfehlen: http://www.4homepages.de/forum/index.php?topic=4754.0

Grüße
Faux

12
Was genau hast du denn in den Standardfiles verändert?

13
Installation, Update & Configuration / Re: error after installation
« on: August 28, 2006, 07:43:19 PM »
Hello!

This looks like a CHMOD error in the directory in which PHP wants to save the session-data.

Regards,
Faux

14
ENGLISH:
I coded this little MOD for phpBB which adds a new BBCode-Tag [gallery] to your phpBB forum. It is required to have the 4images and the phpBB tables in the same database.
Usage: [gallery]<image id[/gallery]
Please report any bugs to me by posting to this thread.
Have fun!

DEUTSCH:
Ich habe diesen MOD für phpBB geschrieben, welcher das BBCode Tag [gallery] zu einem phpBB forum hinzufügt. Voraussetzung für diesen MOD ist, dass sich die 4images und die phpBB Tabellen in der selben Datenbank befinden.
Benutzung: [gallery]<image id>[/gallery]
Bitte meldet alle Bugs in diesem Thread.
Viel Spass!

Grüße
Faux

15
wenn du den "Cornjob" nicht lustig findest
Bevor du andere Leute kritisierst, solltest du mal selbst an deiner Rechtschreibung arbeiten. Es heißt "Standard" nicht "Standart"...

Grüße
Faux

Pages: [1] 2