Hi Mighty.
Just one question.
in full_album_pack_1_4_0.txt you wrote:
- #
- #-----[ OPEN ]------------------------------------------------
- #
- includes/bbcode.php
- #
- #-----[ FIND ]------------------------------------------------
- #
- $bbcode_tpl['url4'] = str_replace('{DESCRIPTION}', '\3', $bbcode_tpl['url4']);
- #
- #-----[ AFTER, ADD ]------------------------------------------
- #
- // Mighty Gorgon - Full Album Pack - BEGIN
- // Get Album PIC based on ID
- $bbcode_tpl['fullalbumimg'] = str_replace('{IMG_NUM}', '\1', $bbcode_tpl['fullalbumimg']);
- $bbcode_tpl['albumimg'] = str_replace('{IMG_NUM}', '\1', $bbcode_tpl['albumimg']);
- $bbcode_tpl['albumimgl'] = str_replace('{IMG_NUM}', '\1', $bbcode_tpl['albumimgl']);
- $bbcode_tpl['albumimgr'] = str_replace('{IMG_NUM}', '\1', $bbcode_tpl['albumimgr']);
- $bbcode_tpl['albumimgc'] = str_replace('{IMG_NUM}', '\1', $bbcode_tpl['albumimgc']);
- // Mighty Gorgon - Full Album Pack - END
- #
- #-----[ FIND ]------------------------------------------------
- #
- $replacements[] = $bbcode_tpl['url4'];
- #
- #-----[ AFTER, ADD ]------------------------------------------
- #
- // Mighty Gorgon - Full Album Pack - BEGIN
- // [albumimg]image number here[/albumimg]
- $album_img_patterns[1] = "#[albumimg:$uid]([0-9]+)[/albumimg:$uid]#si";
- $album_img_replacements[1] = $bbcode_tpl['albumimg'];
-
- // [albumimgl]image number here[/albumimgl]
- $album_img_patterns[2] = "#[albumimgl:$uid]([0-9]+)[/albumimgl:$uid]#si";
- $album_img_replacements[2] = $bbcode_tpl['albumimgl'];
-
- // [albumimgr]image number here[/albumimgr]
- $album_img_patterns[3] = "#[albumimgr:$uid]([0-9]+)[/albumimgr:$uid]#si";
- $album_img_replacements[3] = $bbcode_tpl['albumimgr'];
-
- // [albumimgc]image number here[/albumimgc]
- $album_img_patterns[4] = "#[albumimgc:$uid]([0-9]+)[/albumimgc:$uid]#si";
- $album_img_replacements[4] = $bbcode_tpl['albumimgc'];
- // site image-end
-
- // [fullalbumimg]image number here[/fullalbumimg]
- $album_img_patterns[5] = "#[fullalbumimg:$uid]([0-9]+)[/fullalbumimg:$uid]#si";
- $album_img_replacements[5] = $bbcode_tpl['fullalbumimg'];
-
- $text = preg_replace($album_img_patterns, $album_img_replacements, $text);
- // Mighty Gorgon - Full Album Pack - END
- #
- #-----[ FIND ]------------------------------------------------
- #
- $text = preg_replace("#[img]((http|ftp|https|ftps)://)([^ ?&=#"nrt<]*?(.(jpg|jpeg|gif|png)))[/img]#sie", "'[img:$uid]\1' . str_replace(' ', '%20', '\3') . '[/img:$uid]'", $text);
- #
- #-----[ AFTER, ADD ]------------------------------------------
- #
- // Mighty Gorgon - Full Album Pack - BEGIN
- // [albumimg]album image id here[/albumimg]
- $text = preg_replace("#[fullalbumimg]([0-9]+)[/fullalbumimg]#sie", "'[fullalbumimg:$uid]\1[/fullalbumimg:$uid]'", $text);
- $text = preg_replace("#[albumimg]([0-9]+)[/albumimg]#sie", "'[albumimg:$uid]\1[/albumimg:$uid]'", $text);
- $text = preg_replace("#[albumimgl]([0-9]+)[/albumimgl]#sie", "'[albumimgl:$uid]\1[/albumimgl:$uid]'", $text);
- $text = preg_replace("#[albumimgr]([0-9]+)[/albumimgr]#sie", "'[albumimgr:$uid]\1[/albumimgr:$uid]'", $text);
- $text = preg_replace("#[albumimgc]([0-9]+)[/albumimgc]#sie", "'[albumimgc:$uid]\1[/albumimgc:$uid]'", $text);
- // Mighty Gorgon - Full Album Pack - END
-
My problem is that in includes/bbcode.php I don't have any of the lines I have to find.
I'm running
XS 058. What can I do?