How to Install
Open .htaccess and Add
# **** BUSINESS CARD WIDGET****
RewriteRule ^bcard(/?|)$ index.php?link1=bcard [QSA]
RewriteRule ^bcard/bcardwidget(/?|)$ index.php?link1=bcardwidget [NC,QSA]
Open index.php and add around page 892
case 'bcard':
include('sources/bcard.php');
break;
case 'bcardwidget':
include('sources/bcardwidget.php');
break;
open themes/yourtheme/layout/timeline/content.phtml and look for
<?php
foreach ($fields as $key => $wo['field']) {
$name = $wo['field']['fid'];
if (!empty($wo['user_profile']['fields'][$name])) {
echo Wo_LoadPage('timeline/custom-fields');
}
}
?>
</ul>
<?php } ?>
and after that add
<?php echo Wo_LoadPage('bcard/icard');?>
Open theme/youtheme/layout/header/loggedin-header.phtml and add the next code where you want to show in the menu
<li>
<a href="<?php echo $wo['config']['site_url'];?>/bcard/">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<rect x="2" y="3" width="20" height="18" rx="2" ry="2"></rect>
<line x1="16" y1="8" x2="16" y2="8"></line>
<line x1="8" y1="8" x2="12" y2="8"></line>
<line x1="8" y1="12" x2="16" y2="12"></line>
<line x1="8" y1="16" x2="16" y2="16"></line>
</svg>
My Business Card
</a>
</li>