| Autore |
Messaggio |
TheSteffen
Newbie
 Veteran


Registrato: Marzo 2006
Messaggi: 8
Età: 33
|
 Re: FAP 1.4.0 RC10
Is Demo available for this MOD ?
You can see how the album is working here:
http://www.mightygorgon.com/album.php
|
#61 Mer 22 Nov, 2006 14:21 |
|
 |
Master Sulu
Newbie
 Veteran


Registrato: Novembre 2006
Messaggi: 7
|
 Re: FAP 1.4.0 RC10
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?
|
#62 Ven 24 Nov, 2006 22:01 |
|
 |
Mighty Gorgon
Grand Master
 Veteran


Registrato: Aprile 2002
Messaggi: 7467
Età: 35 Residenza: Borgo San Michele
|
 Re: FAP 1.4.0 RC10
If you have phpBB XS, you don't need to edit that part.
____________ Luca
|
#63 Dom 26 Nov, 2006 14:22 |
|
 |
Master Sulu
Newbie
 Veteran


Registrato: Novembre 2006
Messaggi: 7
|
 Re: FAP 1.4.0 RC10
Thank you. I'll try.
EDIT: I tried... but:
in ACP
- Warning: main(../ALBUM_MOD_PATHalbum_hierarchy_debug.php) [function.main]: failed to open stream: No such file or directory in /xxx/adm/admin_album_config_extended.php on line 66
-
- Warning: main(../ALBUM_MOD_PATHalbum_common.php) [function.main]: failed to open stream: No such file or directory in /xxx/adm/admin_album_cat.php on line 46
-
- Warning: main(../ALBUM_MOD_PATHalbum_common.php) [function.main]: failed to open stream: No such file or directory in /xxx/adm/admin_album_cat.php on line 46
-
- Warning: main(../ALBUM_MOD_PATHalbum_common.php) [function.main]: failed to open stream: No such file or directory in /xxx/adm/admin_album_cat.php on line 46
-
- Template->make_filename(): Error - template file not found: ADM_TPLalbum_personal_body.tpl
I think I'm missing some "/" and the system doesn't recognize "ALBUM_MOD_PATH"
|
#64 Dom 26 Nov, 2006 16:36 |
|
 |
Master Sulu
Newbie
 Veteran


Registrato: Novembre 2006
Messaggi: 7
|
 Re: FAP 1.4.0 RC10
Ok, I fixed the four Warning, but I still have problem with:
Template->make_filename(): Error - template file not found: ADM_TPLalbum_personal_body.tpl
I guess that a "/" is still missing, and also the definition of ADM_TPL is not correct. Where can I find this?
|
#65 Dom 26 Nov, 2006 23:39 |
|
 |
Mighty Gorgon
Grand Master
 Veteran


Registrato: Aprile 2002
Messaggi: 7467
Età: 35 Residenza: Borgo San Michele
|
 Re: FAP 1.4.0 RC10
Try the final release...
I'm locking this topic because now it is out of date.
____________ Luca
|
#66 Lun 27 Nov, 2006 20:59 |
|
 |
|
|