Encerrado

Installation of plugin onto Dolphin

We require a plug in "who's viewed me" putting onto our site, (Dolphin) the plug in comes with instructions. We are not using the standard site template according to the instructions it will install but needs something altering on the template we are using.

## Deliverables

The site can be viewed at [url removed, login to view] and I have included the installation guide

Installation description for the Last Visitors Addon:

NOTE: if your are using not standard tmpl_uni template you should keep in mind what you need to replace in the installation description tmpl_uni on the your template folder (e.x. tmpl_mytemplate)

1)You should make backup of next files, because module consist of replaced versions of this standard files:

\path_to_root_dolphin\[url removed, login to view]

\path_to_root_dolphin\[url removed, login to view]

\path_to_root_dolphin\[url removed, login to view]

\path_to_root_dolphin\inc\classes\[url removed, login to view]

2) unpack archive to directory where Dolphin was installed

3) run script http://your-dolphin-site/[url removed, login to view]

4) remove script "\path_to_root_dolphin\[url removed, login to view]

5) insert the line "@import url([url removed, login to view]);" in file heading of the file "\path_to_root_dolphin\templates\tmpl_uni\css\[url removed, login to view]"

6) insert the line "@import url([url removed, login to view]);" in file heading of the file "\path_to_root_dolphin\templates\tmpl_uni\css\[url removed, login to view]"

7) insert the line "@import url([url removed, login to view]);" in file heading of the file "\path_to_root_dolphin\templates\tmpl_uni\css\[url removed, login to view]"

8) In the \path_to_root_dolphin\[url removed, login to view] should:

find this code

require( BX_DIRECTORY_PATH_ROOT . "templates/tmpl_{$tmpl}/scripts/[url removed, login to view]" );

and paste AFTER this code next lines:

//-------------------------------------- Last Visitors Manager Addon --------------------------------------[Start]

if(file_exists( BX_DIRECTORY_PATH_ROOT . '[url removed, login to view]' ))

require_once( BX_DIRECTORY_PATH_ROOT . '[url removed, login to view]' );

if(file_exists( BX_DIRECTORY_PATH_CLASSES . '[url removed, login to view]' ))

require_once( BX_DIRECTORY_PATH_CLASSES . '[url removed, login to view]' );

//-------------------------------------- Last Visitors Manager Addon --------------------------------------[End]

9) In the \path_to_root_dolphin\[url removed, login to view] should:

find this code

require_once( BX_DIRECTORY_PATH_CLASSES . '[url removed, login to view]' );

and paste AFTER this code next lines:

//-------------------------------------- Last Visitors Manager Addon --------------------------------------[Start]

if(file_exists( BX_DIRECTORY_PATH_ROOT . '[url removed, login to view]' ))

require_once( BX_DIRECTORY_PATH_ROOT . '[url removed, login to view]' );

if(file_exists( BX_DIRECTORY_PATH_CLASSES . '[url removed, login to view]' ))

require_once( BX_DIRECTORY_PATH_CLASSES . '[url removed, login to view]' );

//-------------------------------------- Last Visitors Manager Addon --------------------------------------[End]

10) In the \path_to_root_dolphin\[url removed, login to view] should:

find this code

require_once( BX_DIRECTORY_PATH_ROOT . "templates/tmpl_{$tmpl}/scripts/[url removed, login to view]" );

and paste AFTER this code next lines:

//-------------------------------------- Last Visitors Manager Addon --------------------------------------[Start]

if(file_exists( BX_DIRECTORY_PATH_ROOT . '[url removed, login to view]' ))

require_once( BX_DIRECTORY_PATH_ROOT . '[url removed, login to view]' );

if(file_exists( BX_DIRECTORY_PATH_CLASSES . '[url removed, login to view]' ))

require_once( BX_DIRECTORY_PATH_CLASSES . '[url removed, login to view]' );

//-------------------------------------- Last Visitors Manager Addon --------------------------------------[End]

find this code

if( $logged['member'] ) {

$memberID = (int)$_COOKIE['memberID'];

} else {

$memberID = 0;

}

and paste AFTER this code next lines:

//-------------------------------------- Last Visitors Manager Addon --------------------------------------[Start]

$oLastVisitorsManagerAddon = new BxDolLastVisitorsManagerAddon();

$oLastVisitorsManagerAddon->setLastVisit($memberID, $profileID);

if( !$profileID && isset($_COOKIE['profile_id_for_all_visitors']) && $_COOKIE['profile_id_for_all_visitors'])

$profileID = $_COOKIE['profile_id_for_all_visitors'];

//-------------------------------------- Last Visitors Manager Addon --------------------------------------[End]

11) In the \path_to_root_dolphin\inc\classes\[url removed, login to view] should:

find this code

$mBlockCode = '';

and paste AFTER this code next lines:

//-------------------------------------- Last Visitors Manager Addon --------------------------------------[Start]

$sAdditionalHeader = '';

//-------------------------------------- Last Visitors Manager Addon --------------------------------------[End]

find this code

$mBlockCode = $this -> $sBlockFunction( $iBlockID, $aBlock['Content'] );

and paste AFTER this code next lines:

//-------------------------------------- Last Visitors Manager Addon --------------------------------------[Start]

elseif (function_exists($sBlockFunction))

{

$mBlockCode = $sBlockFunction( $aBlock['Caption'], $aBlock['Content'] );

if(isset($mBlockCode[3]) && $mBlockCode[3])

$sAdditionalHeader .= $mBlockCode[3];

}

//-------------------------------------- Last Visitors Manager Addon --------------------------------------[End]

find this code

$sBlockCode = $mBlockCode[0];

and paste AFTER this code next lines:

//-------------------------------------- Last Visitors Manager Addon --------------------------------------[Start]

if(isset($mBlockCode[1]) && $mBlockCode[1])

//-------------------------------------- Last Visitors Manager Addon --------------------------------------[End]

replace next code

if( is_array( $mBlockCode[2] ) )

to

//-------------------------------------- Last Visitors Manager Addon --------------------------------------[Start]

if(isset($mBlockCode[2]) && is_array( $mBlockCode[2] ) )

//-------------------------------------- Last Visitors Manager Addon --------------------------------------[End]

replace next code

$this -> sCode .=

( $bAddWrapper ? '<div class="page_block_container" id="page_block_' . $iBlockID . '">' : '' ) .

DesignBoxContent( _t( $aBlock['Caption'] ), $sBlockCode . $sBottomCode, $aBlock['DesignBox'], $sCaptionCode ) .

( $bAddWrapper ? '</div>' : '' );

to

//-------------------------------------- Last Visitors Manager Addon --------------------------------------[Start]

$this -> sCode .=

( $bAddWrapper ? '<div class="page_block_container" id="page_block_' . $iBlockID . '">' : '' ) .

DesignBoxContent( _t( $aBlock['Caption'] ).$sAdditionalHeader, $sBlockCode . $sBottomCode, $aBlock['DesignBox'], $sCaptionCode ) .

( $bAddWrapper ? '</div>' : '' );

//-------------------------------------- Last Visitors Manager Addon --------------------------------------[End]

Uninstallation description for the Last Visitors:

1) copy script http://your-dolphin-site/[url removed, login to view] to "\path_to_root_dolphin\"

2) run script http://your-dolphin-site/[url removed, login to view]

3) replace installed files manually with backup files:

\path_to_root_dolphin\[url removed, login to view]

\path_to_root_dolphin\[url removed, login to view]

\path_to_root_dolphin\[url removed, login to view]

\path_to_root_dolphin\inc\classes\[url removed, login to view]

4) remove manually files:

\path_to_root_dolphin\[url removed, login to view]

\path_to_root_dolphin\[url removed, login to view]

\path_to_root_dolphin\[url removed, login to view]

\path_to_root_dolphin\[url removed, login to view]

\path_to_root_dolphin\admin\[url removed, login to view]

\path_to_root_dolphin\admin\styles\[url removed, login to view]

\path_to_root_dolphin\inc\classes\[url removed, login to view]

\path_to_root_dolphin\templates\tmpl_uni\css\[url removed, login to view]

5) delete the line "@import url([url removed, login to view]);" in file heading of the file "\path_to_root_dolphin\templates\tmpl_uni\css\[url removed, login to view]"

6) delete the line "@import url([url removed, login to view]);" in file heading of the file "\path_to_root_dolphin\templates\tmpl_uni\css\[url removed, login to view]"

7) delete the line "@import url([url removed, login to view]);" in file heading of the file "\path_to_root_dolphin\templates\tmpl_uni\css\[url removed, login to view]"

Habilidades: Engenharia, MySQL, PHP, Arquitetura de software, Teste de Software, Hospedagem Web, Gestão de Site , Teste de Website

Ver mais: module archive, where to find a manager, dolphin php code, find replace directory, script php file manager, heading css, import module script file, heading styles, copy profile url, div delete css, import files folder, php copy files directory, php elseif, php script copy files directory, copy paste engineering, plug manager, addon template, end admin template php, template addon, using plug manager, code keep logged, plugin manager, php css plugin, php script delete backup, viewed plugin

Acerca do Empregador:
( 6 comentários ) United Kingdom

ID do Projeto: #3535054

2 freelancers estão ofertando em média $60 para este trabalho

darkwind

See private message.

$85 USD in 7 dias
(225 Comentários)
7.0
mrpowless

See private message.

$34 USD in 7 dias
(3 Comentários)
4.0