Best of joomla gives you news, joomla templates, tutorials and websites about Joomla , FireBoard and FireMessage official page.
| No account yet?   |
Welcome, Guest
Please Login or Register.    Lost Password?
Latest Release
Go to bottom Post Reply Favoured: 0
TOPIC:
#30208
How to remove the "Profile Box" completely? 8 Months, 3 Weeks ago  
Was curious on how to remove the profile box from displaying on my forum, since I use CommBuilder to handle all my user registration, so don't want to create confusion for new visitors coming from a search engine link...

Can anyone help with this? I have looked around, but not sure where to find the correct place to edit, since mush of the design aspect of FB is quite fragmented...
domsmooth (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
 
The administrator has disabled public write access.  
#30213
Re:How to remove the "Profile Box" compl 8 Months, 3 Weeks ago  
There's this code in fireboard.php @ line 470

Code:

//BEGIN: PROFILEBOX
if (file_exists(JB_ABSTMPLTPATH . '/plugin/profilebox/profilebox.php')) {
include (JB_ABSTMPLTPATH . '/plugin/profilebox/profilebox.php');
}
else {
include (JB_ABSPATH . '/template/default/plugin/profilebox/profilebox.php');
}
//FINISH: PROFILEBOX


Possibly commenting them out might work. Don't listen to me though, I'm not a programmer.
grumblemarc (User)
Platinum Boarder
Posts: 3555
graph
User Offline Click here to see the profile of this user
Gender: Male
 
Last Edit: 2007/11/05 23:26 By grumblemarc.
 
Ironside/Ben Dover said I was supposed to be an expert!! That\'s funny! I don\'t remember getting certified to be a FireBoard expert.
 
The administrator has disabled public write access.  
#48651
Re:How to remove the "Profile Box" compl 3 Months, 2 Weeks ago  
No it would not help

instead do one thing, in template's Fblayout.php , comment out these lines

/* if ($my_id != 0)
{
$header .= ' <li ';
if (strtolower($func) == 'myprofile' ){ $header .= ' class="fireboard_item_active" '; }
$header .=' ><a href="';
$header .= $fbConfig['cb_profile'] ? sefRelToAbs('index.php?option=com_comprofiler&amp;Itemid=' . $cbitemid . '&amp;task=userDetails' : sefRelToAbs(JB_LIVEURLREL . '&amp;func=myprofile&amp;do=show';
$header .= '" ><span>';
$header .= $fbIcons['profile'] ? '<img src="' . JB_URLICONSPATH . '' . $fbIcons['profile'] . '" border="0" alt="' . _GEN_MYPROFILE . '" title="' . _GEN_MYPROFILE . '"/>' : _GEN_MYPROFILE;
$header .= '</span></a></li>';
}*/
pbengani (User)
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
 
The administrator has disabled public write access.  
#48652
Re:How to remove the "Profile Box" compl 3 Months, 2 Weeks ago  
Love the Smileys in the codes.
nanaya (User)
Gold Boarder
Posts: 215
graphgraph
User Offline Click here to see the profile of this user
Gender: Female This Is Kawaii Location: Aloha Land
 
Automatic Filter Message : Please follow the forum rules for forum signatures...Thanks
 
The administrator has disabled public write access.  
#51814
Re:How to remove the "Profile Box" completely? 1 Month, 2 Weeks ago  
hmmm,
I tried your way pbengani, and it didn't work for me.

I followed what grumblemarc posted and it worked fine.

anyway, thanks!
romas (User)
Junior Boarder
Posts: 24
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Oahu / Shenyang
 
 
The administrator has disabled public write access.  
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop