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?
Automatic "PM inbox" link in profile box (1 viewing) (1) Guest
Go to bottom Favoured: 1
TOPIC: Automatic "PM inbox" link in profile box
#17820
Automatic "PM inbox" link in profile box 1 Year ago  
Hello

I developed this for my website and thought I'd share it.
This fix places a link to what ever Pm system you are using in the profile box, like in the image below.



To use this all you have to do is find

components/com_fireboard/template/default/plugin/profilebox/profilebox.php

and replace it with the file attached.

The code which makes this work is below
Code:


///Code for PM inbox link in profile box : By Dave E.////////////////////
switch ($fbConfig['pm_component'])                                    ///
{                                                                     ///
case jim : $pm_url = "index.php?option=com_jim"; break;               ///  
case pms : $pm_url = "index.php?option=com_mypms"; break;             ///
case uddeim : $pm_url = "index.php?option=com_uddeim"; break;         ///
case missus : $pm_url = "index.php?option=com_missus"; break;         ///
case clexuspm : $pm_url = "index.php?option=com_clexus"; break;       ///
case no : $pm_url = "";                                               ///
}                                                                     ///
/////////////////////////////////////////////////////////////////////////

File Attachment:
File Name: profilebox-426b2ec3e58fcb06f6000cb14f469ea6.zip
File Size: 2041
david4ie (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#17861
Re:Automatic "PM inbox" link in profile box 1 Year ago  
you should really try to add an Itemid to those URL's, because not adding them plays havoc with templates assigned to the site. not having an Itemid in the link reverts the template to the default and doesn't show the pathway correctly.
sebasvos (User)
Senior Boarder
Posts: 76
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Leiderdorp, Netherlands Birthdate: 1982-12-11
Logged Logged
 
The administrator has disabled public write access.  
#19206
Re:Automatic "PM inbox" link in profile box 1 Year ago  
so is this working with any Forum template ?
Do i need to have clexus for that
?
dany (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#19207
Re:Automatic "PM inbox" link in profile box 1 Year ago  
so is this working with any Forum template ?
Do i need to have clexus for that
?
dany (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
Go to top
Powered by FireBoard - Creditsget the latest posts directly to your desktop