Changes between Version 19 and Version 20 of GenDolFAQs


Ignore:
Timestamp:
Mar 11, 2008, 10:34:18 AM (16 years ago)
Author:
IgorL
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GenDolFAQs

    v19 v20  
    1         '''[http://www.boonex.net/dolphin/wiki/GenDolTShooter#Q:Iseethiserroronsomeofmysitespages:Calltoundefinedfunction:mb_ereg_replaceinpath_to_dolphinincutils.inc.phponline120 I see this error on some of my site's pages: "Call to undefined function: mb_ereg_replace() in /path_to_dolphin/inc/utils.inc.php on line 120"]''' 
    2  
    3         '''[http://www.boonex.net/dolphin/wiki/GenDolTShooter#Q:IgetUploadingfileerrorwhenuploadingaudiovideofilesinRayMediaandVideoPlayers I get "Uploading file error" when uploading audio/video files in Ray Media and Video Players]''' 
    4  
    5         '''[http://www.boonex.net/dolphin/wiki/GenDolTShooter#Q:WhenItrytoopensomebodysprofileIgetthispage:NotFound When I try to open somebody's profile, I get this page: "Not Found"]''' 
    6          
    7         '''[http://www.boonex.com/trac/dolphin/wiki/GenDolTShooter#Q:IseethiserrorwhenIopenmysite:Warning:Missingargument1forTopMenuDesigncalledin...templatestmpl_...scriptsBxTemplMenu.phponline45anddefinedin...incmenu.inc.phponline250 I see this error when I open my site: "Warning: Missing argument 1 for TopMenuDesign(), called in ...templates\tmpl_...\scripts\BxTemplMenu.php on line 45 and defined in ...inc\menu.inc.php on line 250"]''' 
    8          
    9         '''[http://www.boonex.com/trac/dolphin/wiki/GenDolTShooter#Mysecurityimagedoesntshowup.Sonoonecanjoinmysite My security image doesn't show up. So no one can join my site]''' 
    10          
    11         '''[http://www.boonex.com/trac/dolphin/wiki/GenDolTShooter#Igetthiserrormessagethroughoutmysite:Fatalerror:Calltoundefinedfunction:mb_internal_encoding I get this error message throughout my site: "Fatal error: Call to undefined function: mb_internal_encoding"]''' 
    12          
    13         '''[http://www.boonex.com/trac/dolphin/wiki/GenDolTShooter#Igetthiserrormessagethroughoutmysite:Fatalerror:Calltoundefinedfunction:mb_internal_encoding I get this error message throughout my site: Fatal error: Call to undefined function: mb_internal_encoding]''' 
    14  
    15         '''[http://www.boonex.com/trac/dolphin/wiki/GenDolTShooter#IreceivethiserrorwhenItrytoinstallDolphin:Theserverencounteredaninternalerrorormisconfigurationandwasunabletocompleteyourrequest I receive this error when I try to install Dolphin: "The server encountered an internal error or misconfiguration and was unable to complete your request"]''' 
    16  
    17  
    18  
    19  
    20         == I see this error on some of my site's pages: ''Call to undefined function: mb_ereg_replace() in /path_to_dolphin/inc/utils.inc.php on line 120'' == 
    21  
    22 This error and similar errors (yielding about functions starting with '''mb_''') refer to '''mbstring''' extension being absent from your PHP compilation. You should either re-compile it with '''--with-mbstring''' directive (under Linux) or uncomment '''extension=php_mbstring.dll''' in '''php.ini''' (under Windows). Then you should restart Apache web server. 
    23  
    24 ---- 
    25  
    26         == I get ''Uploading file error'' when uploading audio/video files in Ray Media and Video Players == 
    27  
    28 This is a common problem and most of the time it is caused by the following reasons: 
    29  
    30             1) You're trying to upload files bigger than 2 Megabytes which is the default value for PHP configuration. To fix it, edit '''php.ini''' file which is used as a configuration file by your PHP processor. You have to find two variables: '''upload_max_filesize''' and '''post_max_size''' and assign bigger values to them. 
    31  
    32             2) You don't have .htaccess or have it corrupted in the '''ray''' folder. Here's the code that this file must contain: 
    33                           
    34                          {{{ 
    35                          <IfModule mod_security.c> 
    36                                 SecFilterEngine off 
    37                          </IfModule> 
    38                          }}} 
    39                          
    40             3) You have the correct .htaccess file but it gets overridden by other Apache settings on your server. You should contact your hosting provider in this case. 
    41                          
    42             4) You don't have the proper '''ffmpeg.exe''' in '''ray/modules/global/app''' or it doesn't have '''777''' permissions (readable, writable, executable). In this case change the permissions and make sure the ffmpeg.exe file is applicable to your operating system: Linux (provided with Dolphin), [http://www.boonex.com/ffmpeg_win.zip Windows] or [http://www.boonex.com/ffmpeg_freebsd62.tgz FreeBSD]. 
    43                          
    44             5) You have incorrect permissions for the following folders: 
    45                                 '''ray/modules/mp3/files/''', '''ray/modules/movie/files''' and '''ray/modules/music/files''' 
    46                                 These folders must have '''777''' permissions. 
    47                                  
    48             6) You have PHP '''exec()''' function disabled on your server. Advise with your hosting provider in order to figure this out. 
    49  
    50 ---- 
    51  
    52         == When I try to open somebody's profile, I get this page: ''Not Found'' == 
    53  
    54 The problem is that your Apache server is not compiled with rewrite module or you don't have rewrite instructions in your Dolphin's root .htaccess file. These instructions should be as follows: 
    55         {{{ 
    56         <IfModule mod_rewrite.c> 
    57             RewriteEngine on 
    58             RewriteCond %{REQUEST_FILENAME} -f [OR] 
    59             RewriteCond %{REQUEST_FILENAME} -d 
    60             RewriteRule .+ - [L] 
    61             RewriteRule ^([A-Za-z0-9_-]+)$ profile.php?ID=$1 [QSA,L] 
    62         </IfModule> 
    63         }}} 
    64  
    65     If you can't solve these problems, you can disable '''Friendly profile permalinks''' in '''Settings -> Advanced Settings''' 
    66  
    67 ---- 
    68          
    69         == I see this error when I open my site: ''Warning: Missing argument 1 for !TopMenuDesign(), called in ...templates\tmpl_...\scripts\!BxTemplMenu.php on line 45 and defined in ...inc\menu.inc.php on line 250'' == 
    70  
    71 Templates created for versions under 6.0.0004 will generate this error. But it can be fixed the following way: 
    72          
    73     '''1)''' open '''templates/tmpl_TEMPLATE-NAME/scripts/BxTemplMenu.php''' 
    74                          
    75     '''2)''' replace 
     1== General Dolphin FAQ == 
     2 
     3[http://www.boonex.com/trac/dolphin/wiki/GenDolFAQs#HowdoIeditthewebpagesAboutUsContactUsPrivacyTermsFAQ How do I edit the web pages About Us, Contact Us, Privacy, Terms, FAQ?] 
     4 
     5[http://www.boonex.com/trac/dolphin/wiki/GenDolFAQs#HowdoIedittheCopyrightcopy2008YourCompanywordingatthebottom How do I edit the Copyright &copy; 2008 Your Company wording at the bottom?] 
     6 
     7[http://www.boonex.com/trac/dolphin/wiki/GenDolFAQs#Ineedtotransfermysitetoanotherfolderserver.WhatdoIneedtodo I need to transfer my site to another folder/server. What do I need to do? ] 
     8 
     9[http://www.boonex.com/trac/dolphin/wiki/GenDolFAQs#HowcanIreplaceFreeDolphinpackagewithAd-Freeoneandviceversawithoutlosingmycustomization How can I replace Free Dolphin package with Ad-Free one (and vice versa) without losing my customization?] 
     10 
     11[http://www.boonex.com/trac/dolphin/wiki/GenDolFAQs#HowcanImanageaffiliates How can I manage affiliates?] 
     12 
     13[http://www.boonex.com/trac/dolphin/wiki/GenDolFAQs#HowcanItranslatemysiteintoadifferentlanguage How can I translate my site into a different language?] 
     14 
     15[http://www.boonex.com/trac/dolphin/wiki/GenDolFAQs#HowcanImanagemybanners How can I manage my banners?] 
     16 
     17        == '''''How do I edit the web pages About Us, Contact Us, Privacy, Terms, FAQ?''''' == 
     18 
     19The titles and the contents of these pages can be edited in the language file: 
     20                '''Admin Panel -> Settings -> Language Settings -> Search for strings -> Look for''' 
     21                here you should search for the corresponding language '''key''' and change its value: 
     22                * '''About Us:''' [[BR]] 
     23                '''_ABOUT_US_H''': ''About Us Page Title'' [[BR]] 
     24                '''_ABOUT_US_H1''': ''About Us Box Title'' [[BR]] 
     25                '''_ABOUT_US''': ''About Us Box Contents'' [[BR]] 
     26                 
     27                * '''Contact Us:''' [[BR]] 
     28                '''_CONTACT_H''': ''Contact Us Page Title'' [[BR]] 
     29                '''_CONTACT_H1''': ''Contact Us Box Title'' [[BR]] 
     30                ''Note'': ''Contact Us Box Contents'' can be changed in the file ''contact.php'': 
     31                {{{ 
     32                function PageCompPageMainCodeWithForm() 
     33                }}} 
     34                 
     35                * '''Privacy:''' [[BR]] 
     36                '''_PRIVACY_H''': ''Privacy Page Title'' [[BR]] 
     37                '''_PRIVACY_H1''': ''Privacy Box Title'' [[BR]] 
     38                '''_PRIVACY''': ''Privacy Box Contents'' [[BR]] 
     39                 
     40                * '''Terms:''' [[BR]] 
     41                '''_TERMS_OF_USE_H''': ''Terms Page Title'' [[BR]] 
     42                '''_TERMS_OF_USE_H1''': ''Terms Box Title'' [[BR]] 
     43                '''_TERMS_OF_USE''': ''Terms Box Contents'' [[BR]] 
     44                 
     45                * '''FAQ:''' [[BR]] 
     46                '''_FAQ_H''': ''FAQ Page Title'' [[BR]] 
     47                '''_FAQ_H1''': ''FAQ Box Title'' [[BR]] 
     48                '''_FAQ_INFO''': ''FAQ Box COntents'' [[BR]] 
     49            
     50---- 
     51 
     52        == '''''How do I edit the Copyright &copy; 2008 Your Company wording at the bottom?''''' == 
     53         
     54This wording can be edited in the language file: 
     55        '''Admin Panel -> Settings -> Language Settings -> Search for strings -> Look for''' 
     56        here you should search for the corresponding language '''key''' ''_copyright'' and change its value 
     57         
     58---- 
     59 
     60    == '''''I need to transfer my site to another folder/server. What do I need to do?''''' == 
     61 
     62        1) First of all, you need to back up your folders and files and your database tables. It usually results in creation of two archives (.tgz or .zip) which you will have to unpack on your new server/folder; besides, the database tables will have to be imported in your new database. 
     63 
     64    2) Dolphin 6 has several files which must be changed after transferring to another folder or server: 
     65 
     66    * inc/header.inc.php  
     67    change the values of the following variables according to your current settings: 
     68                   
     69    '''{{{$site['url']}}}''' and '''{{{$dir['root']}}}''' 
     70                   
     71    and all the elements of '''{{{$db}}}''' array (it's not usually needed if you just move your site to another folder on the same server) 
     72 
     73    * '''cmd.php''', '''notifies.php''', '''tags.php''' files in '''periodic''' folder. All of them have  lines as follows: 
    7674    {{{ 
    77 $ret .= TopMenuDesign( ... ); 
     75require_once( '[path_to]/inc/header.inc.php' ); 
    7876    }}} 
    79     with 
     77 
     78    where '''[path_to]''' must be changed according to the current path to Dolphin folder 
     79 
     80    * '''ray/modules/global/inc/header.inc.php''' 
     81 
     82    edit the line 
    8083    {{{ 
    81 $ret .= TopMenuDesign( (int)getParam('topmenu_items_perline'), '</tr><tr>' ); 
     84include("[path_to]/inc/header.inc.php"); 
    8285    }}} 
    83                  
    84     This should solve the problem. 
    85                  
    86 ---- 
    87  
    88         == My security image doesn't show up. So no one can join my site == 
    89  
    90 This may be caused by a few reasons: 
    91          
    92 1) You either don't have '''GD library''' or '''!ImageMagick''' installed. 
    93  
    94 2) If you still have GD library installed it may be not compiled with !TrueType fonts. 
    95  
    96 3) Another reason for this problem may be unchecked '''Use GD library for image processing''' in '''Settings -> Advanced Settings'''. 
    97  
    98 4) And at last, if you're using !ImageMagick, not GD library, you may have incorrect paths to its applications in '''inc/header.inc.php'''. In this case you should check the paths to '''$MOGRIFY''', '''$CONVERT''' and '''$COMPOSITE'''. 
    99  
    100 If all this doesn't help, you can just disable security image in '''Settings -> Advanced Settings -> Enable security image on join page'''. 
    101  
    102 ---- 
    103  
    104         == I get this error message throughout my site: ''Fatal error: Call to undefined function: mb_internal_encoding'' == 
    105  
    106 The default PHP installation does not always have the mb_string extension enabled, but the program requires that you run the PHP multibyte-string extension which is not enabled by default. In brief, in order to do this you will need to (in Windows): 
    107    * uncomment out the line 
    108 {{{ 
    109 extension=php_mbstring.dll 
    110 }}} 
    111 in the '''php.ini''' file 
    112    * ensure that the path to this file is set correctly, again in php.ini, for example: 
    113 {{{ 
    114 extension_dir = "./ext" 
    115 }}} 
    116    * Note that you can ensure that this file is correctly loaded by setting in php.ini: 
    117 {{{ 
    118 display_errors = on 
    119 }}} 
    120    * Restart your webserver, e.g. restart Apache 
    121    * You can check via phpinfo() that '''mbstring''' appears within the information page 
    122    * Here's how to do it in UNIX-based systems: http://php.net/mb_string 
    123  
    124 ---- 
    125  
    126         == I receive this error when I try to install Dolphin: ''The server encountered an internal error or misconfiguration and was unable to complete your request'' == 
    127          
    128 This is most probably caused by some '''.htaccess''' instructions which your server refuses to handle. 
    129 These instructions usually are 
    130 {{{ 
    131 php_flag register_globals Off 
    132 }}} 
    133 in the .htaccess file of the main Dolphin folder 
    134  
    135 and  
    136 {{{ 
    137 Options -Indexes 
    138 }}} 
    139 in the .htaccess files of the subfolders 
    140  
    141 Comment out these statements, for example: 
    142 {{{ 
    143 # Options -Indexes 
    144 }}} 
    145 and try to run installation again 
     86    the same way as described above 
     87 
     88    * '''ray/modules/global/js/integration.js''' 
     89 
     90    change the value of the variable '''sRayUrl''' according to your current URL. 
     91 
     92---- 
     93 
     94    == '''''How can I replace Free Dolphin package with Ad-Free one (and vice versa) without losing my customization?''''' == 
     95 
     96    The only difference between Free and Ad-Free Dolphin packages are Ray widgets. So you can just replace the Free widgets with the Ad-Free ones. 
     97 
     98      You can do it this way: 
     99 
     100      1) replace the '''ray''' folder in the Free Dolphin package you currently have with that from the Ad-Free package 
     101 
     102      2) set the following permissions: 
     103           
     104      {{{ 
     105chmod 777 ./ray/modules/board/files/ ./ray/modules/im/files/ ./ray/modules/mp3/files/ ./ray/modules/movie/files ./ray/modules/music/files 
     106      }}} 
     107 
     108      {{{ 
     109chmod 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 
     110      }}} 
     111 
     112      {{{ 
     113chmod 666 ./ray/modules/desktop/xml/config.xml ./ray/modules/desktop/xml/langs.xml ./ray/modules/desktop/xml/main.xml ./ray/modules/desktop/xml/skins.xml 
     114      }}} 
     115 
     116      {{{ 
     117chmod 777 ray/modules/global/app/ffmpeg.exe 
     118      }}} 
     119 
     120      3) edit '''ray/modules/global/inc/header.inc.php''' and replace '''[path_to]''' with the full server path to your Dolphin directory with the trailing slash, for example: '''/home/dolphin/public_html/''' 
     121 
     122      4) edit '''ray/modules/global/js/integration.js''' and replace the '''[url_to_ray]''' with the full URL to Ray folder with the trailing slash, for example: '''http://mysite.com/ray/'''. 
     123 
     124      5) Enter your '''Admin Panel''' and register the Ad-Free widgets in '''Plugins -> Ray Suite'''. 
     125 
     126----       
     127           
     128    == '''''How can I manage affiliates?''''' == 
     129         
     130    The Affiliate support must first be enabled by navigating to '''Admin Panel -> Settings -> Advanced Settings -> Enable affiliate support''' 
     131         
     132    Now navigate to '''Admin Panel -> Users -> Affiliates''' 
     133 
     134    '''Manage Affiliates''' 
     135         
     136    On this page you can manage the list of your affiliates by adding and deleting them. 
     137 
     138    Affiliates can be added in two ways: 
     139         
     140    - The administrator can manually add all information about a new affiliate;  
     141    - A future affiliate can enter this information by creating affiliate profiles on http://www.yoursite.com/join_aff.php 
     142 
     143    After being added the affiliate will be assigned an ID. Then he/she should place a link to your site with this ID. Example: http://www.yoursite.com/index.php?idAff=25. 
     144 
     145    A visitor who has joined your site through this link is automatically assigned to this affiliate and the affiliate will receive a share of all transactions that the visitor initiates (specified in the '''Percent''' field). 
     146 
     147    An affiliate can view his/her statement (list of profiles that are assigned to this affiliate and financial information) by logging in through the following page http://www.yoursite.com/aff/ 
     148 
     149    The admin can also view financial statements of each affiliate by clicking the wording '''fin''' on the right side of the '''Manage Affiliates''' table. 
     150 
     151    The '''Affiliate -> My Link''' section inside an Affiliate Profile will display the link that an affiliate should place at his/her site. 
     152 
     153 
     154    '''Members as Affiliates''' 
     155 
     156    You can give incentives to people that are active members of your community site. This feature is based on '''Invite a friend''' module of our script. Members invite their friends using tellfriend.php window ('''Invite a friend''' link at the top of the pages). When the invited people registere at the site with the same e-mail they were invited at, they become referrals of the person who invited them. 
     157 
     158    Admin can set a certain number of invited and registered members ('''Number of Members''') that must be invited before the referrants get eligible to change their membership levels. 
     159 
     160    The Admin can choose what membership privileges to give to referrants ('''Memberhip Type''') and for how long this privilege should last ('''Number of Days'''). 
     161         
     162         
     163    '''AFF Approved banners''' 
     164         
     165    The Admin can insert images for affiliate banners. Affiliates will be able to view them and choose the suitable one for them. 
     166         
     167---- 
     168         
     169        == '''''How can I translate my site into a different language?''''' == 
     170         
     171        Follow these steps 
     172         
     173        1. Log into Dolphin's Admin Panel 
     174        2. Click '''Settings -> Language Settings''' 
     175        3. Fill in the name of your New language in the '''New Language''' field of the '''Language File''' 
     176        4. In the '''Copy from''' field choose an existing language to copy the language strings from, for example '''English''' 
     177        5. In the '''Flag''' field choose your desired flag for the language you're creating 
     178        6. Click '''Create''' 
     179         
     180This will result with the message '''*** language has been successfully created.'''[[BR]] 
     181         
     182Now you have to compile the language file (write it '''langs/lang-***.php''') 
     183         
     184        8. In the '''Language''' area click '''Compile''' next to the language name 
     185         
     186This will result with the message '''*** language has been successfully compiled.''' 
     187         
     188        9. Open your FTP program 
     189        10. Go to your Dolphin directory 
     190        11. FTP your new language file from the '''langs''' directory on your local computer. The name of the file will look like '''lang-***.php''' 
     191        12. Open it in a txt editor which supports UTF-8 encoding 
     192        13. Make the changes and save it in UTF-8 format. 
     193        14. FTP it back (upload) to the '''lang''' directory! 
     194         
     195Now you need to import your new language strings into the database. Here you can use the following tweak:[[BR]] 
     196         
     197http://www.expertzzz.com/Downloadz/view/2390[[BR]] 
     198         
     199Just download it and follow the instructions in the ''readme.txt'' file. 
     200 
     201---- 
     202 
     203        == '''''How can I manage my banners?''''' == 
     204 
     205Log into your '''Admin Panel''' and navigate to '''Tools -> Banners''' 
     206 
     207On the top of the Banners Panel there is a list of your banners. Each banner in the list has the following controling buttons: '''Preview''', '''Modify''', and '''Delete'''. 
     208 
     209'''''Preview''''' lets you see the banner as it will look on your site. 
     210'''''Modify''''' option lets you change the banner settings. They are stated further. 
     211'''''Delete''''' this deletes a banner. 
     212 
     213Besides this, every line displays banner statistics, such as number of impressions (views) and number of clicks. 
     214 
     215A new banner can be added by using a form at the bottom of the '''Banners''' panel. The settings are the same as when you're modifying a banner. Here they are: 
     216 
     217        1) '''''Banner title''''' - this can be any name you want to assign to your banner. This name won't be shown to members. 
     218         
     219        2) '''''Banner URL''''' - here you need to specify the link where your banner points to, for example '''!http://www.boonex.com'''. 
     220         
     221        3) '''''Banner Active''''' - this checkbox should be checked if you wish to display your banner and unchecked if you want to hide the banner. 
     222         
     223        4) '''''Banner Text (HTML Only)''''' - this must be the code generating your banner, should it be a picture, a text or an object. For example, the following code will show a BoonEx banner on your site: 
     224         
     225        {{{ 
     226<img src="http://www.boonex.com/img/boonex_cse2.gif" /> 
     227        }}} 
     228         
     229        5) '''''Start Date''''' and '''''End Date''''' are the starting and ending periods of your banner's impression. You can use the '''''Choose''''' and '''''Clear''''' buttons to insert a date and delete it respectively. 
     230         
     231        6) '''''Position on the page''''' has four checkboxes '''''Top''''', '''''Left''''', '''''Bottom''''' and '''''Right''''' to display the banner in the respective areas of your site. 
     232         
     233        7) '''''HShift''''' and '''''VShift''''' let you specify for what number of pixels you want to shift your Left or Right banners '''''Horizontally''''' or '''''Vertically''''' respectively. 
     234         
     235        8) '''''Submit''''' button allows you to submit your changes and the '''''Insert as new''''' checkbox lets you submit the modified banner as a new one. 
 
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