Changes between Version 38 and Version 39 of GenDolFAQs


Ignore:
Timestamp:
May 22, 2009, 11:33:38 AM (15 years ago)
Author:
IgorL
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GenDolFAQs

    v38 v39  
    2424 
    2525'''[wiki:GenDolFAQs#HowcanIcreatealanguagefilebasedHTMLblock How can I create a language file based HTML block?]''' 
     26 
     27'''[wiki:GenDolFAQs#HowcanIreplaceFreeRaywidgetswithAd-Freeonesandviceversa How can I replace Free Ray widgets with Ad-Free ones (and vice versa)?]''' 
     28 
     29'''[wiki:GenDolFAQs#HowcanItranslatemywidgets How can I translate my widgets?]''' 
     30 
     31'''[wiki:GenDolFAQs#HowdoIregisterRaywidgetswithdifferentlicenses How do I register Ray widgets with different licenses?]'' 
     32 
     33'''[wiki:GenDolFAQs#HowcanIre-registerOrcawithadifferentlicense How can I re-register Orca with a different license?]''' 
     34 
     35'''[wiki:GenDolFAQs#HowcanIaddotherlanguagesinOrca How can I add other languages in Orca]''' 
     36 
     37'''[wiki:GenDolFAQs#HowcanIrenamefolderorcaintoforum How can I rename folder "orca" into "forum"?]''' 
    2638 
    2739---- 
     
    425437 
    426438'''4)''' Recompile the block by simply moving it a bit and putting it in the original place ('''Admin Panel -> Builders -> Pages Builder'''). 
     439 
     440---- 
     441 
     442== '''''How can I replace Free Ray widgets with Ad-Free ones (and vice versa)?''''' == 
     443 
     444    You can do it this way: 
     445 
     446    1) replace the following folders and files: 
     447 
     448    '''ray/modules/WIDGET_NAME/app'''[[BR]] 
     449    '''ray/modules/WIDGET_NAME/inc/constants.inc.php'''[[BR]] 
     450    '''ray/modules/WIDGET_NAME/xml/main.xml'''[[BR]] 
     451 
     452    with those from the Dolphin [http://get.boonex.com/Dolphin-v.6.1-AdFree AdFree]/[http://get.boonex.com/Dolphin-v.6.1-Free Free] package ('''WIDGET_NAME''' stands for the real name of the widgets you wish to replace) overwriting the existing files; for example: 
     453   
     454    replace ''ray/modules/board/app'' in your Free package with ''ray/modules/board/app'' from the Ad-Free package 
     455 
     456    2) set the following permissions (via an FTP or SSH client): 
     457           
     458    {{{ 
     459chmod 777 ./ray/modules/board/files/ ./ray/modules/im/files/ ./ray/modules/mp3/files/ ./ray/modules/movie/files ./ray/modules/music/files ./ray/modules/global/app/ffmpeg.exe 
     460           
     461chmod 666 ./ray/modules/global/xml/config.xml ./ray/modules/global/xml/main.xml ./ray/modules/board/xml/config.xml ./ray/modules/board/xml/langs.xml ./ray/modules/board/xml/main.xml ./ray/modules/board/xml/skins.xml ./ray/modules/chat/xml/config.xml ./ray/modules/chat/xml/langs.xml ./ray/modules/chat/xml/main.xml ./ray/modules/chat/xml/skins.xml ./ray/modules/im/xml/config.xml ./ray/modules/im/xml/langs.xml ./ray/modules/im/xml/main.xml ./ray/modules/im/xml/skins.xml ./ray/modules/presence/xml/config.xml ./ray/modules/presence/xml/langs.xml ./ray/modules/presence/xml/main.xml ./ray/modules/presence/xml/skins.xml ./ray/modules/video/xml/config.xml ./ray/modules/video/xml/langs.xml ./ray/modules/video/xml/main.xml ./ray/modules/video/xml/skins.xml ./ray/modules/mp3/xml/config.xml ./ray/modules/mp3/xml/langs.xml ./ray/modules/mp3/xml/main.xml ./ray/modules/mp3/xml/skins.xml ./ray/modules/movie/xml/config.xml ./ray/modules/movie/xml/langs.xml ./ray/modules/movie/xml/main.xml ./ray/modules/movie/xml/skins.xml ./ray/modules/music/xml/config.xml ./ray/modules/music/xml/langs.xml ./ray/modules/music/xml/main.xml ./ray/modules/music/xml/skins.xml ./ray/modules/desktop/xml/config.xml ./ray/modules/desktop/xml/langs.xml ./ray/modules/desktop/xml/main.xml ./ray/modules/desktop/xml/skins.xml ./ray/modules/shoutbox/xml/config.xml ./ray/modules/shoutbox/xml/langs.xml ./ray/modules/shoutbox/xml/main.xml ./ray/modules/shoutbox/xml/skins.xml 
     462 
     463    }}} 
     464 
     465    3) Enter your '''Admin Panel''' and register the Ad-Free widgets in '''Plugins -> Ray Suite'''. 
     466           
     467    4) Please consider that if you replace Free Chat, IM, Boards and Video Recorder with their Ad-Free versions, you won't be able to use !BoonEx RMS anymore. You will have to install your own RMS. Here you can learn the [http://www.boonex.com/trac/ray/wiki/RayServerInstall RMS installation instructions]. 
     468           
     469    5) Clear the cache of your browser and test the widgets again. 
     470 
     471---- 
     472 
     473== '''''How can I translate my widgets?''''' == 
     474 
     475    There are language files in every of your widgets. They are located in the folders '''ray/modules/WIDGET_NAME/langs'''. The default language is English and its language file is called '''english.xml'''. 
     476 
     477    To create more languages, you need to translate the default language file and save it with a different name, for example, '''french.xml'''. You need to translate the words and expressions inside the '''CDATA''' elements, for example in '''[CDATA[Visit]]''' - you need to translate '''Visit'''. You need to use a UTF-8 supporting editor to translate the file, for example [http://notepad-plus.sourceforge.net Notepad++]. 
     478 
     479    Then you will have to log into '''Admin Panel -> Plugins -> Ray Suite -> WIDGET_NAME -> Languages''' and choose a new '''Default language'''. 
     480 
     481    Your members can now switch the language of the widget by clicking the '''Settings''' icon in the widget's window. 
     482 
     483---- 
     484 
     485== '''''How do I register Ray widgets with different licenses?''''' == 
     486 
     487    1) If you're not going to switch to Free/Ad-Free license when you already have Ad-Free/Free one respectively, you need to edit the file '''ray/modules/WIDGET_NAME/xml/main.xml''' and remove the '''LICENSE_NUMBER''' from the '''<item key="license"><![CDATA[LICENSE_NUMBER]]></item>''' statement. 
     488 
     489    Now navigate to '''Admin Panel -> Plugins -> Ray Suite''' and register all the widgets that show '''Register''' prompt. 
     490 
     491    2) If you're going to switch to Free/Ad-Free license when you already have Ad-Free/Free one, please follow the instructions [wiki:GenRayFAQs#HowcanIreplaceFreeRaywidgetswithAd-Freeonesandviceversa here]. 
     492 
     493---- 
     494 
     495== '''''How can I re-register Orca with a different license?''''' == 
     496 
     497    You can do it this way: 
     498 
     499    1) Delete the file: 
     500 
     501    '''orca/conf/params.conf'''[[BR]] 
     502 
     503    2) Register Orca by navigating to '''Admin Panel -> Plugins -> Orca -> Manage Forum''' and specifying your new license number in the red area. 
     504 
     505---- 
     506 
     507== '''''How can I add other languages in Orca''''' == 
     508 
     509    To add other languages, you need to open the file '''orca/xml/langs/en.php''' and translate the values of the '''$GLOBALS''' array, for example: 
     510 
     511    the English version looks like this: 
     512 
     513    {{{ 
     514'Search' => 'Search', 
     515    }}} 
     516 
     517    the French version would be 
     518 
     519    {{{ 
     520'Search' => 'Chercher', 
     521    }}} 
     522 
     523    Then you need to save this file with a different name consisting of the two-lettered code of the language, e.g. '''fr''' and the '''php''' extension: '''fr.php''' and place it in the same directory where '''en.php''' is located. 
     524 
     525    Now you only need to recompile your languages the way it is described [http://www.boonex.com/trac/orca/wiki/OrcaBeta2PostInstall#OrcaBeta2Post-InstallationInstructions here]. 
     526 
     527---- 
     528 
     529== How can I rename folder ''orca'' into ''forum'' == 
     530 
     531    1) Do not rename the folder itself. Just make this change in '''Builders -> Navigation Menu Builder'''. Click on '''Forums''' and in the '''URL''' field replace '''orca/''' with '''forum/'''. 
     532 
     533    2) Run this query in phpMyAdmin: 
     534    {{{ 
     535update `TopMenu` set `Link` = replace( `Link` , 'orca', 'forum' ) where `Link`='orca/#action=goto&my_flags=1' OR `Link`='orca/#action=goto&my_threads=1' OR `Link`='orca/#action=goto&search=1' 
     536 
     537    }}} 
     538 
     539    3) Recompile Navigation Menu by moving one of its elements. 
     540 
     541    4) Then you need to add the following lines to the '''.htaccess''' file which is located in Dolphin installation directory (you can add them at the bottom of the file before the '''</IfModule>''' line): 
     542    {{{ 
     543RewriteRule ^forum$ orca/ [QSA,L] 
     544RewriteRule ^forum/$ orca/ [QSA,L] 
     545 
     546    }}} 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.
Fork me on GitHub