If you want to display the number of visitors in Profiles...
Go to:
module -> track -> template -> default -> block -> recent-views.html.php
and find:
<div class="block_listing_inline">
and below that, put this code:
<center><img width="100" src="YOUR-PIC-LINK" /></center><br /> <center><div style="font-size: 36px;">{$sChrist} {if $sChrist == 1}View {else}Views {/if} </div></center><br />
replace your pic link with "YOUR-PIC-LINK".
save it, and go:
module -> track -> include -> component -> block -> recent-views.class.php
$this->template()->assign(array( 'aLatestUsers' => $aRows, 'sHeader' => ($iTrackId === false ? Phpfox::getPhrase('track.recent_visitors') : Phpfox::getPhrase('track.recently_viewed_by')), 'sBlockJsId' => 'profile_track_user' ) );
replace following code:
$this->template()->assign(array( 'aLatestUsers' => $aRows, 'sHeader' => ($iTrackId === false ? Phpfox::getPhrase('track.recent_visitors') : Phpfox::getPhrase('track.recently_viewed_by')), 'sBlockJsId' => 'profile_track_user', 'sChrist' => count($aRows) ) );
Save it and clear your cache, then enjoy.
you can use this camera pic in the codes:
Log in to post a comment.
If you want to display the number of visitors in Profiles...
Go to:
and find:
and below that, put this code:
replace your pic link with "YOUR-PIC-LINK".
save it, and go:
and find:
replace following code:
Save it and clear your cache, then enjoy.
you can use this camera pic in the codes:
Last edit: amir Bassir 2015-01-19