i have joomla 1.5.7
and cb 1.2 rc4
and installed this plugin
i had 1 problem and that was
that if ppl choose from the gallery theyd showd up
as nophoto
so i changed the code a lil bit.
i attached the file
overwrite the file in
(joomlaroot)/com_comprofiler/plugin/user/plug_cblastviewstab-0_2_9/
for you other ppl out there that don't trust anything

i changed this
[code:1]
if ($lastview->avatar && $lastview->banned != '1' && $lastview->avatarapproved !='0') {
$testimage = "/images/comprofiler/tn$lastview->avatar";
if (file_exists($mosConfig_absolute_path.$testimage)) {
$image = $mosConfig_live_site.$testimage;
}
[/code:1]
into this
[code:1]
if ($lastview->avatar && $lastview->banned != '1' && $lastview->avatarapproved !='0') {
$testimage = "/images/comprofiler/tn$lastview->avatar";
$testimage2 = "/images/comprofiler/$lastview->avatar";
if (file_exists($mosConfig_absolute_path.$testimage)) {
$image = $mosConfig_live_site.$testimage;
}
elseif (file_exists($mosConfig_absolute_path.$testimage2)) {
$image = $mosConfig_live_site.$testimage2;
}
[/code:1]
i hope this helps some ppl

keep sharing your knowledge
Attachment lastviews.zip not found
Post edited by: ramonskie, at: 2008/12/09 21:14