Changes between Version 10 and Version 11 of GenDolTShooter


Ignore:
Timestamp:
Feb 28, 2008, 11:19:03 AM (17 years ago)
Author:
IgorL
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GenDolTShooter

    v10 v11  
    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  
    10 == Q: 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'' == 
    11  
    12     '''A:''' 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. 
    13  
    14 ---- 
    15  
    16 == Q: I get ''Uploading file error'' when uploading audio/video files in Ray Media and Video Players == 
    17  
    18     '''A:''' This is a common problem and most of the time it is caused by the following reasons: 
    19  
    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. 
    21  
    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. 
    39  
    40 ---- 
    41  
    42 == Q: When I try to open somebody's profile, I get this page: ''Not Found'' == 
    43  
    44        '''A:''' 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: 
    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         }}} 
    54  
    55     If you can't solve these problems, you can disable '''Friendly profile permalinks''' in '''Settings -> Advanced Settings''' 
    56  
    57 ---- 
    58          
    59 == Q: 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'' == 
    60  
    61     '''A:''' Templates created for versions under 6.0.0004 will generate this error. But it can be fixed the following way: 
    62          
    63     '''1)''' open '''templates/tmpl_TEMPLATE-NAME/scripts/BxTemplMenu.php''' 
    64                          
    65     '''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#HowcanIreplaceFreepackagewithAd-Freepackageandviceversawithoutlosingmycustomization How can I replace Free package with Ad-Free package (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[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        == '''''How do I edit the web pages About Us, Contact Us, Privacy, Terms, FAQ?''''' == 
     20 
     21The titles and the contents of these pages can be edited in the language file: 
     22                '''Admin Panel -> Settings -> Language Settings -> Search for strings -> Look for''' 
     23                here you should search for the corresponding language '''key''' and change its value: 
     24                * '''About Us:''' [[BR]] 
     25                '''_ABOUT_US_H''': ''About Us Page Title'' [[BR]] 
     26                '''_ABOUT_US_H1''': ''About Us Box Title'' [[BR]] 
     27                '''_ABOUT_US''': ''About Us Box Contents'' [[BR]] 
     28                 
     29                * '''Contact Us:''' [[BR]] 
     30                '''_CONTACT_H''': ''Contact Us Page Title'' [[BR]] 
     31                '''_CONTACT_H1''': ''Contact Us Box Title'' [[BR]] 
     32                ''Note'': ''Contact Us Box Contents'' can be changed in the file ''contact.php'': 
     33                {{{ 
     34                function PageCompPageMainCodeWithForm() 
     35                }}} 
     36                 
     37                * '''Privacy:''' [[BR]] 
     38                '''_PRIVACY_H''': ''Privacy Page Title'' [[BR]] 
     39                '''_PRIVACY_H1''': ''Privacy Box Title'' [[BR]] 
     40                '''_PRIVACY''': ''Privacy Box Contents'' [[BR]] 
     41                 
     42                * '''Terms:''' [[BR]] 
     43                '''_TERMS_OF_USE_H''': ''Terms Page Title'' [[BR]] 
     44                '''_TERMS_OF_USE_H1''': ''Terms Box Title'' [[BR]] 
     45                '''_TERMS_OF_USE''': ''Terms Box Contents'' [[BR]] 
     46                 
     47                * '''FAQ:''' [[BR]] 
     48                '''_FAQ_H''': ''FAQ Page Title'' [[BR]] 
     49                '''_FAQ_H1''': ''FAQ Box Title'' [[BR]] 
     50                '''_FAQ_INFO''': ''FAQ Box COntents'' [[BR]] 
     51            
     52---- 
     53 
     54        == '''''How do I edit the Copyright &copy; 2008 Your Company wording at the bottom?''''' == 
     55         
     56This wording can be edited in the language file: 
     57        '''Admin Panel -> Settings -> Language Settings -> Search for strings -> Look for''' 
     58        here you should search for the corresponding language '''key''' ''_copyright'' and change its value 
     59         
     60---- 
     61 
     62    == '''''I need to transfer my site to another folder/server. What do I need to do?''''' == 
     63 
     64        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. 
     65 
     66    2) Dolphin 6 has several files which must be changed after transferring to another folder or server: 
     67 
     68    * inc/header.inc.php  
     69    change the values of the following variables according to your current settings: 
     70                   
     71    '''{{{$site['url']}}}''' and '''{{{$dir['root']}}}''' 
     72                   
     73    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) 
     74 
     75    * '''cmd.php''', '''notifies.php''', '''tags.php''' files in '''periodic''' folder. All of them have  lines as follows: 
    6676    {{{ 
    67 $ret .= TopMenuDesign( ... ); 
     77require_once( '[path_to]/inc/header.inc.php' ); 
    6878    }}} 
    69     with 
     79 
     80    where '''[path_to]''' must be changed according to the current path to Dolphin folder 
     81 
     82    * '''ray/modules/global/inc/header.inc.php''' 
     83 
     84    edit the line 
    7085    {{{ 
    71 $ret .= TopMenuDesign( (int)getParam('topmenu_items_perline'), '</tr><tr>' ); 
     86include("[path_to]/inc/header.inc.php"); 
    7287    }}} 
    73                  
    74     This should solve the problem. 
    75                  
    76 ---- 
     88    the same way as described above 
     89 
     90    * '''ray/modules/global/js/integration.js''' 
     91 
     92    change the value of the variable '''sRayUrl''' according to your current URL. 
     93 
     94---- 
     95 
     96    == '''''How can I replace Free package with Ad-Free package (and vice versa) without losing my customization?''''' == 
     97 
     98    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. 
     99 
     100      You can do it this way: 
     101 
     102      1) replace the '''ray''' folder in the Free package you currently have with that from the Ad-Free package 
     103 
     104      2) set the following permissions: 
     105           
     106      {{{ 
     107chmod 777 ./ray/modules/board/files/ ./ray/modules/im/files/ ./ray/modules/mp3/files/ ./ray/modules/movie/files ./ray/modules/music/files 
     108      }}} 
     109 
     110      {{{ 
     111chmod 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 
     112      }}} 
     113 
     114      {{{ 
     115chmod 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 
     116      }}} 
     117 
     118      {{{ 
     119chmod 777 ray/modules/global/app/ffmpeg.exe 
     120      }}} 
     121 
     122      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/''' 
     123 
     124      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/'''. 
     125 
     126      5) Enter your '''Admin Panel''' and register the Ad-Free widgets in '''Plugins -> Ray Suite'''. 
     127 
     128----       
     129           
     130    == '''''How can I manage affiliates?''''' == 
     131         
     132    The Affiliate support must first be enabled by navigating to '''Admin Panel -> Settings -> Advanced Settings -> Enable affiliate support''' 
     133         
     134    Now navigate to '''Admin Panel -> Users -> Affiliates''' 
     135 
     136    '''Manage Affiliates''' 
     137         
     138    On this page you can manage the list of your affiliates by adding and deleting them. 
     139 
     140    Affiliates can be added in two ways: 
     141         
     142    - The administrator can manually add all information about a new affiliate;  
     143    - A future affiliate can enter this information by creating affiliate profiles on http://www.yoursite.com/join_aff.php 
     144 
     145    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. 
     146 
     147    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). 
     148 
     149    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/ 
     150 
     151    The admin can also view financial statements of each affiliate by clicking the wording '''fin''' on the right side of the '''Manage Affiliates''' table. 
     152 
     153    The '''Affiliate -> My Link''' section inside an Affiliate Profile will display the link that an affiliate should place at his/her site. 
     154 
     155 
     156    '''Members as Affiliates''' 
     157 
     158    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. 
     159 
     160    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. 
     161 
     162    The Admin can choose what membership privileges to give to referrants ('''Memberhip Type''') and for how long this privilege should last ('''Number of Days'''). 
     163         
     164         
     165    '''AFF Approved banners''' 
     166         
     167    The Admin can insert images for affiliate banners. Affiliates will be able to view them and choose the suitable one for them. 
     168         
     169---- 
     170         
     171        == '''''How can I translate my site into a different language?''''' == 
     172         
     173        Follow these steps 
     174         
     175        1. Log into Dolphin's Admin Panel 
     176        2. Click '''Settings -> Language Settings''' 
     177        3. Fill in the name of your New language in the '''New Language''' field of the '''Language File''' 
     178        4. In the '''Copy from''' field choose an existing language to copy the language strings from, for example '''English''' 
     179        5. In the '''Flag''' field choose your desired flag for the language you're creating 
     180        6. Click '''Create''' 
     181         
     182This will result with the message '''*** language has been successfully created.'''[[BR]] 
     183         
     184Now you have to compile the language file (write it '''langs/lang-***.php''') 
     185         
     186        8. In the '''Language''' area click '''Compile''' next to the language name 
     187         
     188This will result with the message '''*** language has been successfully compiled.''' 
     189         
     190        9. Open your FTP program 
     191        10. Go to your Dolphin directory 
     192        11. FTP your new language file from the '''langs''' directory on your local computer. The name of the file will look like '''lang-***.php''' 
     193        12. Open it in a txt editor which supports UTF-8 encoding 
     194        13. Make the changes and save it in UTF-8 format. 
     195        14. FTP it back (upload) to the '''lang''' directory! 
     196         
     197Now you need to import your new language strings into the database. Here you can use the following tweak:[[BR]] 
     198         
     199http://www.expertzzz.com/Downloadz/view/2390[[BR]] 
     200         
     201Just download it and follow the instructions in the ''readme.txt'' file. 
     202 
     203---- 
     204 
     205        == '''''How can I manage my banners?''''' == 
     206 
     207Log into your '''Admin Panel''' and navigate to '''Tools -> Banners''' 
     208 
     209On 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'''. 
     210 
     211'''''Preview''''' lets you see the banner as it will look on your site. 
     212'''''Modify''''' option lets you change the banner settings. They are stated further. 
     213'''''Delete''''' this deletes a banner. 
     214 
     215Besides this, every line displays banner statistics, such as number of impressions (views) and number of clicks. 
     216 
     217A 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: 
     218 
     219        1) '''''Banner title''''' - this can be any name you want to assign to your banner. This name won't be shown to members. 
     220         
     221        2) '''''Banner URL''''' - here you need to specify the link where your banner points to, for example '''!http://www.boonex.com'''. 
     222         
     223        3) '''''Banner Active''''' - this checkbox should be checked if you wish to display your banner and unchecked if you want to hide the banner. 
     224         
     225        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: 
     226         
     227        {{{ 
     228<img src="http://www.boonex.com/img/boonex_cse2.gif" /> 
     229        }}} 
     230         
     231        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. 
     232         
     233        6) '''''Position on the page''''' has four checkboxes '''''Top''''', '''''Left''''', '''''Bottom''''' and '''''Right''''' to display the banner in the respective areas of your site. 
     234         
     235        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. 
     236         
     237        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. 
     238         
     239---- 
     240 
     241        == '''''My security image doesn't show up. So no one can join my site.''''' == 
     242 
     243This may be caused by a few reasons: 
     244         
     2451) You either don't have '''GD library''' or '''!ImageMagick''' installed. 
     246 
     2472) If you still have GD library installed it may be not compiled with !TrueType fonts. 
     248 
     2493) Another reason for this problem may be unchecked '''Use GD library for image processing''' in '''Settings -> Advanced Settings'''. 
     250 
     2514) 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'''. 
     252 
     253If all this doesn't help, you can just disable security image in '''Settings -> Advanced Settings -> Enable security image on join page'''. 
     254 
     255        == '''''I get this error message throughout my site: Fatal error: Call to undefined function: mb_internal_encoding''''' == 
     256 
     257The 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): 
     258   * uncomment out the line 
     259{{{ 
     260extension=php_mbstring.dll 
     261}}} 
     262in the '''php.ini''' file 
     263   * ensure that the path to this file is set correctly, again in php.ini, for example: 
     264{{{ 
     265extension_dir = "./ext" 
     266}}} 
     267   * Note that you can ensure that this file is correctly loaded by setting in php.ini: 
     268{{{ 
     269display_errors = on 
     270}}} 
     271   * Restart your webserver, e.g. restart Apache 
     272   * You can check via phpinfo() that '''mbstring''' appears within the information page 
     273   * Here's how to do it in UNIX-based systems: http://php.net/mb_string 
 
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