Das Problem, das mich eben mal wieder eine ganze Nacht gekostet hat, liegt hier:
Admincp > Texte: Anhänge > Angehängte Grafiken vollständig im Beitrag anzeigen
Ich will alles zeigen und wähle Ja, damit haben wir den Wert 1
Die Abfrage aber in /includes/class_postbit.php lautet in Zeile 491 (round about!)
Auf deutsch also: wenn Wert = 2 oder wenn Wert = 1 und nur ein Bild angehängt.
Abhilfe schafft also eine Änderung des Formulars (wobei ich (noch) nicht weiß, wo dieser Wert noch abgefragt wird) oder aber Änderung in
vb sollte sich mal was einfallen lassen wie man unsere eingesetzte Zeit belohnt.
If someone wants to translate my german text take the one above; else read this:
If you want to show every grafix in forum you select inside the admincp "show all pics"; with this you set the value to 1.
But inside /includes/class_postbit.php at 491, it asks
value =1 or value = 2 and only one attachment.
To solve this change /includes/class_postbit.php (491)
from
to
Admincp > Texte: Anhänge > Angehängte Grafiken vollständig im Beitrag anzeigen
PHP Code:
<select name="setting[viewattachedimages]" id="sel_setting[viewattachedimages]_9" tabindex="1" class="bginput">
<option value="0">Nein</option>
<option value="1" selected="selected">Ja</option>
<option value="2">Ja, wenn der Beitrag nur einen Anhang hat</option>
</select>
Die Abfrage aber in /includes/class_postbit.php lautet in Zeile 491 (round about!)
PHP Code:
else if (!in_array($attachment['attachmentextension'], array('tiff', 'tif', 'psd', 'pdf')) AND ($this->registry->options['viewattachedimages'] == 2 OR ($this->registry->options['viewattachedimages'] == 1 AND $attachcount == 1)))
Abhilfe schafft also eine Änderung des Formulars (wobei ich (noch) nicht weiß, wo dieser Wert noch abgefragt wird) oder aber Änderung in
PHP Code:
== 1 OR ($this->registry->options['viewattachedimages'] == 2 AND $attachcount == 1
If someone wants to translate my german text take the one above; else read this:
If you want to show every grafix in forum you select inside the admincp "show all pics"; with this you set the value to 1.
But inside /includes/class_postbit.php at 491, it asks
value =1 or value = 2 and only one attachment.
To solve this change /includes/class_postbit.php (491)
from
PHP Code:
== 2 OR ($this->registry->options['viewattachedimages'] == 1 AND $attachcount == 1
PHP Code:
== 1 OR ($this->registry->options['viewattachedimages'] == 2 AND $attachcount == 1
Comment