Tutorial

Sometimes when people create a Dolphin 7 template they forget or neglect to include files to make Orca work properly.

After installing a new Dolphin 7 template, and you visit your forum you might see an error like this or similar warning:

Warning: require_once(/home/account/public_html/modules/boonex/forum/layout/template_name/params.php) [function.require-once]: failed to open stream: No such file or directory in /home/account/public_html/modules/boonex/forum/integrations/base/config.php on line 99

Fatal error: require_once() [function.require]: Failed opening required '/home/account/public_html/modules/boonex/forum/layout/template_name/params.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/account/public_html/modules/boonex/forum/integrations/base/config.php on line 99

In the above warning or error account would be the name of your actual hosting account, and template_name would be the name of the template you are installing. So these will vary slightly, but you get the idea.

To solve this, you can usually apply the following:


Download and copy the entire contents of /modules/boonex/forum/layout/uni from your hosting account to your local pc.
uni
-css
-xsl
-params.php


Once downloaded rename uni (directory/folder) to correspond with your template name which can be found in:

/templates/tmpl_name/scripts/BxTemplName.php

Where tmpl_name = the actual name of your template


Open BxTemplName.php to find the name of your template. If it says UNI you will need to change it to something unique


$sTemplName = 'blue';

In this example it is called blue. So now you can rename the uni directory/folder you downloaded to blue.


Now, open params.php you downloaded to your local pc:
/modules/boonex/forum/layout/uni/params.php

Which you just renamed blue:
/modules/boonex/forum/layout/blue/params.php

Find:
require_once ($gConf['dir']['layouts'] . 'base/params.php');

$gConf['dir']['xsl'] = $gConf['dir']['layouts'] . 'uni/xsl/';    // xsl dir

$gConf['url']['css'] = $gConf['url']['layouts'] . 'uni/css/';    // css url
$gConf['url']['xsl'] = $gConf['url']['layouts'] . 'uni/xsl/';    // xsl url

Change all the referrences containing uni in the uni/xsl/ areas above to reflect the name of your template:

require_once ($gConf['dir']['layouts'] . 'base/params.php');

$gConf['dir']['xsl'] = $gConf['dir']['layouts'] . 'blue/xsl/';    // xsl dir

$gConf['url']['css'] = $gConf['url']['layouts'] . 'blue/css/';    // css url
$gConf['url']['xsl'] = $gConf['url']['layouts'] . 'blue/xsl/';    // xsl url

Then save the changes.

Now we want to upload the changes back to our host. Be sure you have renamed the uni directory/folder to correspond with your template above. Otherwise, you will overwrite the uni directory/folder in your hosting account and you don't want to do that.

After uploading we will end up with something like:

/modules/boonex/forum/layout/blue/
-css
-xsl
-parmas.php (with the changes we made above)

Then you will need to login to your Dolphin 7 Administration.

Navigate to:
Modules
-Orca Forum

Find Manage Forum in the navigation menu.

Then, find and click on the: Compile Language: en



Additional:

You may need to switch templates to the default UNI template and compile Orca Forum for it first if you haven't already.

Then, switch to your new template and compile orca again with your new template for the changes to take effect.

You may also want to clear the cache in your Dolphin 7 Administration area.

 
Written By
Tutorial by: Jeremy LeSarge (AKA Ray)

I am the owner and administrator of DialMe.com. I write Tutorials for Boonex Dolphin as well as tips and resources surrounding website programming and development. I enjoy working with WordPress, SEO, and Web Hosting / Servers. I also maintain a WordPress Blog here on this site where you will find a variety of technology and webmaster resources.

Actions
Recommend
Sponsored Links