So würde ich mit das vorstellen nur halt auf dem Index.
4seven wrote:du könntest im code zb gif ausschließen und dann das erste bild als gif einfügen...
4seven wrote:das wäre ein neuer mod für eine einzelne person. dafür habe ich unentgeltlich keine zeit.
Huchinotte wrote:könntest du mir dazu den code sagen
(.*?).png|(.*?).gif
(.*?).png
[phpBB Debug] PHP Notice: in file /includes/last_x_img_on_forum.php on line 153: preg_match_all() [function.preg-match-all]: Compilation failed: missing ) at offset 59
[phpBB Debug] PHP Notice: in file /includes/last_x_img_on_forum.php on line 155: Invalid argument supplied for foreach()
[phpBB Debug] PHP Notice: in file /includes/last_x_img_on_forum.php on line 153: preg_match_all() [function.preg-match-all]: Compilation failed: missing ) at offset 59
[phpBB Debug] PHP Notice: in file /includes/last_x_img_on_forum.php on line 155: Invalid argument supplied for foreach()
[phpBB Debug] PHP Notice: in file /includes/last_x_img_on_forum.php on line 153: preg_match_all() [function.preg-match-all]: Compilation failed: missing ) at offset 59
[phpBB Debug] PHP Notice: in file /includes/last_x_img_on_forum.php on line 155: Invalid argument supplied for foreach()
[phpBB Debug] PHP Notice: in file /includes/last_x_img_on_forum.php on line 153: preg_match_all() [function.preg-match-all]: Compilation failed: missing ) at offset 59
[phpBB Debug] PHP Notice: in file /includes/last_x_img_on_forum.php on line 155: Invalid argument supplied for foreach()
[phpBB Debug] PHP Notice: in file /includes/last_x_img_on_forum.php on line 153: preg_match_all() [function.preg-match-all]: Compilation failed: missing ) at offset 59
[phpBB Debug] PHP Notice: in file /includes/last_x_img_on_forum.php on line 155: Invalid argument supplied for foreach()
[phpBB Debug] PHP Notice: in file /includes/last_x_img_on_forum.php on line 153: preg_match_all() [function.preg-match-all]: Compilation failed: missing ) at offset 59
[phpBB Debug] PHP Notice: in file /includes/last_x_img_on_forum.php on line 155: Invalid argument supplied for foreach()
[phpBB Debug] PHP Notice: in file /includes/last_x_img_on_forum.php on line 153: preg_match_all() [function.preg-match-all]: Compilation failed: missing ) at offset 59
[phpBB Debug] PHP Notice: in file /includes/last_x_img_on_forum.php on line 155: Invalid argument supplied for foreach()
[phpBB Debug] PHP Notice: in file /includes/last_x_img_on_forum.php on line 153: preg_match_all() [function.preg-match-all]: Compilation failed: missing ) at offset 59
[phpBB Debug] PHP Notice: in file /includes/last_x_img_on_forum.php on line 155: Invalid argument supplied for foreach()
[phpBB Debug] PHP Notice: in file /includes/last_x_img_on_forum.php on line 153: preg_match_all() [function.preg-match-all]: Compilation failed: missing ) at offset 59
[phpBB Debug] PHP Notice: in file /includes/last_x_img_on_forum.php on line 155: Invalid argument supplied for foreach()
preg_match_all('#\[img:(.*?)\]((.*?).jpg|(.*?).jpeg|(.*?).png\[\/img:(.*?)\]#i', $row_img['post_text'], $current_posted_img);
Huchinotte wrote:Den Code habe ich in beiden Dateien abgeändert und sieht nun so aus:
- Code: Select all
preg_match_all('#\[img:(.*?)\]((.*?).jpg|(.*?).jpeg|(.*?).png\[\/img:(.*?)\]#i', $row_img['post_text'], $current_posted_img);
4seven wrote:ersetze in beiden dateien..
last_x_img_on_forum_orphan.php
last_x_img_on_forum.php
das
- Code: Select all
(.*?).png|(.*?).gif
mit dem
- Code: Select all
(.*?).png
4seven wrote:ich sagte nichts davon, die schließende klammer zu löschen
4seven wrote:diese frage
https://www.phpbb.de/community/viewtopi ... 3#p1175613
hättest du auch hier stellen können
// number of max pics to show
// (important if user have no javacript enabled or $detect_java_screen is set to 'no';)
$max_img_to_show = 11;
// enter as given 9 or 12 etc.
Users browsing this forum: No registered users and 0 guests