Changes between Version 12 and Version 13 of GenDolTShooter


Ignore:
Timestamp:
Mar 4, 2008, 2:58:01 AM (16 years ago)
Author:
IgorL
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GenDolTShooter

    v12 v13  
    1 == General Dolphin FAQ == 
     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"]''' 
    22 
    3 [http://www.boonex.com/trac/dolphin/wiki/GenDolFAQs#HowdoIeditthewebpagesAboutUsContactUsPrivacyTermsFAQ How do I edit the web pages About Us, Contact Us, Privacy, Terms, FAQ?] 
     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]''' 
    44 
    5 [http://www.boonex.com/trac/dolphin/wiki/GenDolFAQs#HowdoIedittheCopyrightcopy2008YourCompanywordingatthebottom How do I edit the Copyright © 2008 Your Company wording at the bottom?] 
     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"]''' 
    68 
    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? ] 
    89 
    9 [http://www.boonex.com/trac/dolphin/wiki/GenDolFAQs#HowcanIreplaceFreepackagewithAd-Freepackageandviceversawithoutlosingmycustomization How can I replace Free package with Ad-Free package (and vice versa) without losing my customization?] 
     10        == 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'' == 
    1011 
    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 [http://www.boonex.com/trac/dolphin/wiki/GenDolFAQs#Mysecurityimagedoesntshowup.Sonoonecanjoinmysite. My security image doesn't show up. So no one can join my site.] 
    18  
    19 [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] 
    20  
    21         == '''''How do I edit the web pages About Us, Contact Us, Privacy, Terms, FAQ?''''' == 
    22  
    23 The titles and the contents of these pages can be edited in the language file: 
    24                 '''Admin Panel -> Settings -> Language Settings -> Search for strings -> Look for''' 
    25                 here you should search for the corresponding language '''key''' and change its value: 
    26                 * '''About Us:''' [[BR]] 
    27                 '''_ABOUT_US_H''': ''About Us Page Title'' [[BR]] 
    28                 '''_ABOUT_US_H1''': ''About Us Box Title'' [[BR]] 
    29                 '''_ABOUT_US''': ''About Us Box Contents'' [[BR]] 
    30                  
    31                 * '''Contact Us:''' [[BR]] 
    32                 '''_CONTACT_H''': ''Contact Us Page Title'' [[BR]] 
    33                 '''_CONTACT_H1''': ''Contact Us Box Title'' [[BR]] 
    34                 ''Note'': ''Contact Us Box Contents'' can be changed in the file ''contact.php'': 
    35                 {{{ 
    36                 function PageCompPageMainCodeWithForm() 
    37                 }}} 
    38                  
    39                 * '''Privacy:''' [[BR]] 
    40                 '''_PRIVACY_H''': ''Privacy Page Title'' [[BR]] 
    41                 '''_PRIVACY_H1''': ''Privacy Box Title'' [[BR]] 
    42                 '''_PRIVACY''': ''Privacy Box Contents'' [[BR]] 
    43                  
    44                 * '''Terms:''' [[BR]] 
    45                 '''_TERMS_OF_USE_H''': ''Terms Page Title'' [[BR]] 
    46                 '''_TERMS_OF_USE_H1''': ''Terms Box Title'' [[BR]] 
    47                 '''_TERMS_OF_USE''': ''Terms Box Contents'' [[BR]] 
    48                  
    49                 * '''FAQ:''' [[BR]] 
    50                 '''_FAQ_H''': ''FAQ Page Title'' [[BR]] 
    51                 '''_FAQ_H1''': ''FAQ Box Title'' [[BR]] 
    52                 '''_FAQ_INFO''': ''FAQ Box COntents'' [[BR]] 
    53             
    54 ---- 
    55  
    56         == '''''How do I edit the Copyright © 2008 Your Company wording at the bottom?''''' == 
    57          
    58 This wording can be edited in the language file: 
    59         '''Admin Panel -> Settings -> Language Settings -> Search for strings -> Look for''' 
    60         here you should search for the corresponding language '''key''' ''_copyright'' and change its value 
    61          
    62 ---- 
    63  
    64     == '''''I need to transfer my site to another folder/server. What do I need to do?''''' == 
    65  
    66         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. 
    67  
    68     2) Dolphin 6 has several files which must be changed after transferring to another folder or server: 
    69  
    70     * inc/header.inc.php  
    71     change the values of the following variables according to your current settings: 
    72                    
    73     '''{{{$site['url']}}}''' and '''{{{$dir['root']}}}''' 
    74                    
    75     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) 
    76  
    77     * '''cmd.php''', '''notifies.php''', '''tags.php''' files in '''periodic''' folder. All of them have  lines as follows: 
    78     {{{ 
    79 require_once( '[path_to]/inc/header.inc.php' ); 
    80     }}} 
    81  
    82     where '''[path_to]''' must be changed according to the current path to Dolphin folder 
    83  
    84     * '''ray/modules/global/inc/header.inc.php''' 
    85  
    86     edit the line 
    87     {{{ 
    88 include("[path_to]/inc/header.inc.php"); 
    89     }}} 
    90     the same way as described above 
    91  
    92     * '''ray/modules/global/js/integration.js''' 
    93  
    94     change the value of the variable '''sRayUrl''' according to your current URL. 
     12This 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. 
    9513 
    9614---- 
    9715 
    98     == '''''How can I replace Free package with Ad-Free package (and vice versa) without losing my customization?''''' == 
     16        == I get ''Uploading file error'' when uploading audio/video files in Ray Media and Video Players == 
    9917 
    100     The only difference between Free and Ad-Free packages are Ray widgets. So you can just replace the Free widgets with the Ad-Free ones. 
     18This is a common problem and most of the time it is caused by the following reasons: 
    10119 
    102       You can do it this way: 
     20            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. 
    10321 
    104       1) replace the '''ray''' folder in the Free package you currently have with that from the Ad-Free package 
    105  
    106       2) set the following permissions: 
    107            
    108       {{{ 
    109 chmod 777 ./ray/modules/board/files/ ./ray/modules/im/files/ ./ray/modules/mp3/files/ ./ray/modules/movie/files ./ray/modules/music/files 
    110       }}} 
    111  
    112       {{{ 
    113 chmod 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 
    114       }}} 
    115  
    116       {{{ 
    117 chmod 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 
    118       }}} 
    119  
    120       {{{ 
    121 chmod 777 ray/modules/global/app/ffmpeg.exe 
    122       }}} 
    123  
    124       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/''' 
    125  
    126       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/'''. 
    127  
    128       5) Enter your '''Admin Panel''' and register the Ad-Free widgets in '''Plugins -> Ray Suite'''. 
    129  
    130 ----       
    131            
    132     == '''''How can I manage affiliates?''''' == 
    133          
    134     The Affiliate support must first be enabled by navigating to '''Admin Panel -> Settings -> Advanced Settings -> Enable affiliate support''' 
    135          
    136     Now navigate to '''Admin Panel -> Users -> Affiliates''' 
    137  
    138     '''Manage Affiliates''' 
    139          
    140     On this page you can manage the list of your affiliates by adding and deleting them. 
    141  
    142     Affiliates can be added in two ways: 
    143          
    144     - The administrator can manually add all information about a new affiliate;  
    145     - A future affiliate can enter this information by creating affiliate profiles on http://www.yoursite.com/join_aff.php 
    146  
    147     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. 
    148  
    149     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). 
    150  
    151     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/ 
    152  
    153     The admin can also view financial statements of each affiliate by clicking the wording '''fin''' on the right side of the '''Manage Affiliates''' table. 
    154  
    155     The '''Affiliate -> My Link''' section inside an Affiliate Profile will display the link that an affiliate should place at his/her site. 
    156  
    157  
    158     '''Members as Affiliates''' 
    159  
    160     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. 
    161  
    162     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. 
    163  
    164     The Admin can choose what membership privileges to give to referrants ('''Memberhip Type''') and for how long this privilege should last ('''Number of Days'''). 
    165          
    166          
    167     '''AFF Approved banners''' 
    168          
    169     The Admin can insert images for affiliate banners. Affiliates will be able to view them and choose the suitable one for them. 
    170          
    171 ---- 
    172          
    173         == '''''How can I translate my site into a different language?''''' == 
    174          
    175         Follow these steps 
    176          
    177         1. Log into Dolphin's Admin Panel 
    178         2. Click '''Settings -> Language Settings''' 
    179         3. Fill in the name of your New language in the '''New Language''' field of the '''Language File''' 
    180         4. In the '''Copy from''' field choose an existing language to copy the language strings from, for example '''English''' 
    181         5. In the '''Flag''' field choose your desired flag for the language you're creating 
    182         6. Click '''Create''' 
    183          
    184 This will result with the message '''*** language has been successfully created.'''[[BR]] 
    185          
    186 Now you have to compile the language file (write it '''langs/lang-***.php''') 
    187          
    188         8. In the '''Language''' area click '''Compile''' next to the language name 
    189          
    190 This will result with the message '''*** language has been successfully compiled.''' 
    191          
    192         9. Open your FTP program 
    193         10. Go to your Dolphin directory 
    194         11. FTP your new language file from the '''langs''' directory on your local computer. The name of the file will look like '''lang-***.php''' 
    195         12. Open it in a txt editor which supports UTF-8 encoding 
    196         13. Make the changes and save it in UTF-8 format. 
    197         14. FTP it back (upload) to the '''lang''' directory! 
    198          
    199 Now you need to import your new language strings into the database. Here you can use the following tweak:[[BR]] 
    200          
    201 http://www.expertzzz.com/Downloadz/view/2390[[BR]] 
    202          
    203 Just download it and follow the instructions in the ''readme.txt'' file. 
     22            2) You don't have .htaccess or have it corrupted in the '''ray''' folder. Here's the code that this file must contain: 
     23                          
     24                         {{{ 
     25                         <IfModule mod_security.c> 
     26                                SecFilterEngine off 
     27                         </IfModule> 
     28                         }}} 
     29                         
     30            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. 
     31                         
     32            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]. 
     33                         
     34            5) You have incorrect permissions for the following folders: 
     35                                '''ray/modules/mp3/files/''', '''ray/modules/movie/files''' and '''ray/modules/music/files''' 
     36                                These folders must have '''777''' permissions. 
     37                                 
     38            6) You have PHP '''exec()''' function disabled on your server. Advise with your hosting provider in order to figure this out. 
    20439 
    20540---- 
    20641 
    207         == '''''How can I manage my banners?''''' == 
     42        == When I try to open somebody's profile, I get this page: ''Not Found'' == 
    20843 
    209 Log into your '''Admin Panel''' and navigate to '''Tools -> Banners''' 
     44The 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: 
     45        {{{ 
     46        <IfModule mod_rewrite.c> 
     47            RewriteEngine on 
     48            RewriteCond %{REQUEST_FILENAME} -f [OR] 
     49            RewriteCond %{REQUEST_FILENAME} -d 
     50            RewriteRule .+ - [L] 
     51            RewriteRule ^([A-Za-z0-9_-]+)$ profile.php?ID=$1 [QSA,L] 
     52        </IfModule> 
     53        }}} 
    21054 
    211 On 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'''. 
     55    If you can't solve these problems, you can disable '''Friendly profile permalinks''' in '''Settings -> Advanced Settings''' 
    21256 
    213 '''''Preview''''' lets you see the banner as it will look on your site. 
    214 '''''Modify''''' option lets you change the banner settings. They are stated further. 
    215 '''''Delete''''' this deletes a banner. 
     57---- 
     58         
     59        == 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'' == 
    21660 
    217 Besides this, every line displays banner statistics, such as number of impressions (views) and number of clicks. 
    218  
    219 A 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: 
    220  
    221         1) '''''Banner title''''' - this can be any name you want to assign to your banner. This name won't be shown to members. 
     61Templates created for versions under 6.0.0004 will generate this error. But it can be fixed the following way: 
    22262         
    223         2) '''''Banner URL''''' - here you need to specify the link where your banner points to, for example '''!http://www.boonex.com'''. 
    224          
    225         3) '''''Banner Active''''' - this checkbox should be checked if you wish to display your banner and unchecked if you want to hide the banner. 
    226          
    227         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: 
    228          
    229         {{{ 
    230 <img src="http://www.boonex.com/img/boonex_cse2.gif" /> 
    231         }}} 
    232          
    233         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. 
    234          
    235         6) '''''Position on the page''''' has four checkboxes '''''Top''''', '''''Left''''', '''''Bottom''''' and '''''Right''''' to display the banner in the respective areas of your site. 
    236          
    237         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. 
    238          
    239         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. 
    240          
     63    '''1)''' open '''templates/tmpl_TEMPLATE-NAME/scripts/BxTemplMenu.php''' 
     64                         
     65    '''2)''' replace 
     66    {{{ 
     67$ret .= TopMenuDesign( ... ); 
     68    }}} 
     69    with 
     70    {{{ 
     71$ret .= TopMenuDesign( (int)getParam('topmenu_items_perline'), '</tr><tr>' ); 
     72    }}} 
     73                 
     74    This should solve the problem. 
     75                 
    24176---- 
    24277 
    243         == '''''My security image doesn't show up. So no one can join my site.''''' == 
     78        == My security image doesn't show up. So no one can join my site == 
    24479 
    24580This may be caused by a few reasons: 
     
    25590If all this doesn't help, you can just disable security image in '''Settings -> Advanced Settings -> Enable security image on join page'''. 
    25691 
    257         == '''''I get this error message throughout my site: Fatal error: Call to undefined function: mb_internal_encoding''''' == 
     92---- 
     93 
     94        == I get this error message throughout my site: ''Fatal error: Call to undefined function: mb_internal_encoding'' == 
    25895 
    25996The 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): 
     
    274111   * You can check via phpinfo() that '''mbstring''' appears within the information page 
    275112   * Here's how to do it in UNIX-based systems: http://php.net/mb_string 
     113 
     114---- 
     115 
     116        == 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'' == 
     117         
     118This is most probably caused by some '''.htaccess''' instructions which your server refuses to handle. 
     119These instructions usually are 
     120{{{ 
     121php_flag register_globals Off 
     122}}} 
     123in the .htaccess file of the main Dolphin folder 
     124 
     125and  
     126{{{ 
     127Options -Indexes 
     128}}} 
     129in the .htaccess files of the subfolders 
     130 
     131Comment out these statements, for example: 
     132{{{ 
     133# Options -Indexes 
     134}}} 
     135and try to run installation again 
 
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