https://www.icyphoenix.com/viewtopic.php?f=26&t=2332&p=16943#p16943 ----------------------------------- Mighty Gorgon Wed 27 Jun, 2007 03:01 Re: Aiuto Col FAP E Il CH: Problema LANG ----------------------------------- Are you having this problem just with one template or with all of them? Are you sure that the language vars are included properly just like CH instructions says? Did you properly follow the CH installations instructions for FAP? [codeblock]############################################################## ## ## Instructions for installing FAP on Categories Hierarchy 2.1.6 ## Complete all Edits as normally described EXCEPT those changes described after seeing this: ---[ CH 2.1.6 ]--- ## Bugs and other suggestions can be included at Mighty Gorgon here: http://www.mightygorgon.com/viewtopic.php?t=3576 ## ## MOD Version: 1.4.0 ## ## Installation Level: Easy ## Installation Time: 30 minutes ## Files To Edit: (1) ## includes/class_stats_online.php ## ## Included Files: (1) ## language/lang_english/lang_extend_album_main.php ## ## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2 ############################################################## ## For security purposes, please check: http://www.phpbb.com/mods/ ## for the latest version of this MOD. Although MODs are checked ## before being allowed in the MODs Database there is no guarantee ## that there are no security problems within the MOD. No support ## will be given for MODs not found within the MODs Database which ## can be found at http://www.phpbb.com/mods/ ############################################################## ## Author Notes: ## Author Link Discussion: http://www.mightygorgon.com/forum.php?c=8 ## Author Link Discussion @ Smartor Site: http://smartor.is-root.com/viewtopic.php?t=14094 ## Author Link Download: http://www.mightygorgon.com/viewforum.php?f=682 ## Author Link Demo: http://www.mightygorgon.com/album.php ## ## Copyrights are of each MODS authors. ## Each MOD author reserve the opportunity for supporting only its own MOD, and not this full package. ## ############################################################## ## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD ############################################################## # #-----[ COPY ]------------------------------------------------ # # These following instructions mean... # Upload all files in directory "phpbb_root" with their structure to your phpBB root directory # # Remember to upload all the language files and template files to all your # language packs and template directories # # If you use FTP please remember to use ASCII mode for text files (*.php, *.tpl) # and BINARY mode for image files (*.jpg, *.gif) # Fortunately good FTP clients today can auto-detect the mode for your files copy phpbb_root/language/lang_english/*.php to language/lang_english/*.php #*/ # #---[ CH 2.1.6 ]--- IGNORE the language/lang_english/lang_main.php edit as the Include file lang_extend_album_main will replace it #---[ CH 2.1.6 ]--- IGNORE profile.php edit as Full Album Pack does not currently work with CH 2.1.6 Profile. #---[ CH 2.1.6 ]--- IGNORE ALL includes/usercp_viewprofile.php edits as Full Album Pack does not currently work with CH 2.1.6 Profile. #---[ CH 2.1.6 ]--- IGNORE ALL templates/subsilver/profile_view_body.tpl edits as Full Album Pack does not currently work with CH 2.1.6 Profile. #---[ CH 2.1.6 ]--- Do NOT do viewonline.php OR admin/index.php edits. Both edits are now rewritten and combined in a new CH file. Code is found following admin/index.php is the NEW code placed in a CH file. # #-----[ OPEN ]------------------------------------------------ # includes/class_stats_online.php # #-----[ FIND ]------------------------------------------------ # PAGE_FAQ => array('txt' => 'Viewing_FAQ', 'url' => $this->mode == 'in_admin' ? 'admin/index' : 'faq', 'parms' => $this->mode == 'in_admin' ? array('pane' => 'right') : array()), # #-----[ AFTER, ADD ]------------------------------------------ # // Mighty Gorgon - Full Album Pack - BEGIN PAGE_ALBUM => array('txt' => 'Viewing_Album_Index', 'url' => $this->mode == 'in_admin' ? 'admin/index' : 'view_album_index', 'parms' => $this->mode == 'in_admin' ? array('pane' => 'right') : array()), PAGE_ALBUM_PERSONAL => array('txt' => 'Viewing_Album_Personal', 'url' => $this->mode == 'in_admin' ? 'admin/index' : 'view_album_personal', 'parms' => $this->mode == 'in_admin' ? array('pane' => 'right') : array()), PAGE_ALBUM_PICTURE => array('txt' => 'Viewing_Album_Picture', 'url' => $this->mode == 'in_admin' ? 'admin/index' : 'view_album_picture', 'parms' => $this->mode == 'in_admin' ? array('pane' => 'right') : array()), PAGE_ALBUM_SEARCH => array('txt' => 'Viewing_Album_Search', 'url' => $this->mode == 'in_admin' ? 'admin/index' : 'view_album_search', 'parms' => $this->mode == 'in_admin' ? array('pane' => 'right') : array()), // Mighty Gorgon - Full Album Pack - END # #-----[ SAVE/CLOSE ALL FILES ]-------------------------------- # # EoM [/codeblock] [code filename="lang_extend_album_main.php"]Click on the Upload New Pic link on this page to post one.'; $lang['Upload_New_Pic'] = 'Upload New Pic.'; $lang['Pic_Title'] = 'Pic Title'; $lang['Pic_Title_Explain'] = 'It is very important to give your pic a good title. It could be a name, a subject to make others know what it is without see it.'; $lang['Pic_Upload'] = 'Pic Upload'; $lang['Pic_Upload_Explain'] = 'Allowed types are JPG, GIF and PNG. Maximum file size is %s bytes. Maximum image dimensions are %sx%s pixels.'; $lang['Album_full'] = 'Sorry, the album has reached the maximum number of uploaded pics. Please contact the album administrator for more information.'; $lang['Album_upload_successful'] = 'Thank you, your pic has been uploaded successfully.'; $lang['Click_return_album'] = 'Click %shere%s to return to the Album.'; $lang['Invalid_upload'] = 'Invalid Upload

Your pic is too big or its type is not allowed.'; $lang['Image_too_big'] = 'Sorry, your image dimensions is too large.'; $lang['Uploaded_by'] = 'Uploaded by'; $lang['Category_locked'] = 'Sorry, you cannot upload because this category was locked by an admin. Please contact the album administrator for more information.'; $lang['View_Album_Index'] = 'Album Index'; $lang['View_Album_Personal'] = 'Viewing Personal Album of a user'; $lang['View_Pictures'] = 'Viewing Pictures or Posting/Reading comments in the Album'; $lang['Album_Search'] = 'Searching the Album'; $lang['Pic_Name'] = 'Picture Name'; $lang['Description'] = 'Description'; $lang['Search_Contents'] = ' that contains: '; $lang['Search_Found'] = 'Search found '; $lang['Search_Matches'] = 'Matches:'; // Mighty Gorgon - Full Album Pack - END ?>[/code]