Bräke
Mitglied
Dabei seit: 01.01.04
Beiträge: 8.189
|
|
Fehler in register.php. Es fehlt ein Code vom wysiwyg
Suche in register.php:
code: |
1:
|
$sthreadview = array(0 => '', 1 => ''); |
|
Füge dadrunter:
code: |
1:
|
$wysiwyg = array(0 => '', 1 => ''); |
|
|
|
20.06.09 14:48 |
Finden
Als Freund hinzufügen
|
|
Bräke
Mitglied
Dabei seit: 01.01.04
Beiträge: 8.189
|
|
Fehler in Funktion: Massenverschiebung mit Eingabe im Feld "Antworten weniger als".
Suche acp/threads.php:
code: |
1:
|
if (isset($_POST['replies_lessthan']) && $_POST['replies_lessthan'] != '') add2where("replycount < '".intval($_POST['replies_morethan'])."'"); |
|
Ersetze durch:
code: |
1:
|
if (isset($_POST['replies_lessthan']) && $_POST['replies_lessthan'] != '') add2where("replycount < '".intval($_POST['replies_lessthan'])."'"); |
|
(Der Fehler zieht sich von Version 2.1.0 Beta1 bis zur Version 2.3.6pl2 durch)
|
|
20.06.09 15:27 |
Finden
Als Freund hinzufügen
|
|
Bräke
Mitglied
Dabei seit: 01.01.04
Beiträge: 8.189
|
|
Im UserCP unter Favoriten werden die Ordnersymbole / Themenicons nicht korrekt gezeigt. Zur Verdeutlichung ein Screen:
Dateianhang: |
bug_a.jpg (53,32 KB, 64 mal heruntergeladen)
|
suche in usercp.php:
code: |
1:
2:
3:
4:
5:
|
if ($threads['pollid'] != 0) $foldericon = "poll";
else $foldericon = (($threads['userid']) ? ("dot") : ("")).(($threads['lastposttime'] > $threads['threadlastvisit']) ? ("new") : ("")).(($threads['replycount'] >= $board['hotthread_reply'] || $threads['views'] >= $board['hotthread_view']) ? ("hot") : ("")).(($threads['closed'] != 0) ? ("lock") : (""))."folder";
if ($threads['lastposttime'] > $threads['threadlastvisit']) $firstnew = 1;
if ($threads['iconid']) $threadicon = makeimgtag($threads['iconpath'], $threads['icontitle']);
else $threadicon = " "; |
|
ersetze mit:
code: |
1:
2:
3:
4:
5:
6:
7:
|
if ($threads['important'] == 2) $foldericon = "announce";
else $foldericon = (($threads['userid']) ? ("dot") : ("")).(($threads['lastposttime'] > $threads['threadlastvisit']) ? ("new") : ("")).(($threads['replycount'] >= $board['hotthread_reply'] || $threads['views'] >= $board['hotthread_view']) ? ("hot") : ("")).(($threads['closed'] != 0) ? ("lock") : (""))."folder";
if ($threads['lastposttime'] > $threads['threadlastvisit']) $firstnew = 1;
if ($threads['pollid'] != 0) $threadicon = makeimgtag($style['imagefolder']."/poll.gif", "");
elseif ($threads['iconid']) $threadicon = makeimgtag($threads['iconpath'], $threads['icontitle']);
else $threadicon = " "; |
|
|
|
17.08.09 13:39 |
Finden
Als Freund hinzufügen
|
|
Bräke
Mitglied
Dabei seit: 01.01.04
Beiträge: 8.189
|
|
Leider ist ein Bug in allen wBB2-Versionen (2.1 - 2.3) der es erlaubt eine PHP-Datei hochzuladen die einen "PHP.Shell"-Virus enthält.
Leider prüft das wBB2 nicht, das bei einem Style-Import, eine PHP-Datei nicht hoch geladen werden darf.
Es wird allen DRINGEND empfholen die folgende Änderung zu machen.
Editiere die Datei "acp/style.php".
Suche:
code: |
1:
2:
|
if (!isset($data['images'][$image]) || !$data['images'][$image]) continue; |
|
Füge darunter ein:
code: |
1:
2:
3:
|
if (wbb_strtolower(wbb_substr($image, - 4)) == ".php") continue;
|
|
Danke an Viktor, Original
|
|
23.06.10 14:09 |
Finden
Als Freund hinzufügen
|
|
|