Best of joomla gives you news, joomla templates, tutorials and websites about Joomla , FireBoard and FireMessage official page.
| No account yet?   |
The FireBoard forum component development is still going on. In order to get better, FireBoard will be moved from the Best of Joomla website.
During this transition period, the forum in Best of Joomla will be closed to new posts.
Welcome, Guest
Please Login or Register.    Lost Password?
FireBoard Manual Latest release discussions Download FireBoard
[SOLVED] FB redirects to the wrong profile with CB (1 viewing) (1) Guest
TOPIC: [SOLVED] FB redirects to the wrong profile with CB
#56994
Re:[SOLVED] FB redirects to the wrong profile with CB 4 Months, 2 Weeks ago  
line 198 in fb_layout.php for the default template in v1.04.
jmelton98 (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#57003
Re:[SOLVED] FB redirects to the wrong profile with CB 4 Months, 2 Weeks ago  
Thanks. I've compared v1.0.4 to v1.0.5 and as a novice I'm confused.

V1.0.4 has:
Code:

    if ($my_id != 0)
    {
        $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 .= '" >';
        $header .= $fbIcons['profile'] ? '<img src="' . JB_URLICONSPATH . '' . $fbIcons['profile'] . '" border="0" alt="' . _GEN_MYPROFILE . '" title="' . _GEN_MYPROFILE . '"/>' : _GEN_MYPROFILE;
        $header .= '</a>';
    }



Whereas v1.0.5 only has:

Code:

    if ($my_id != 0)
    {
        $header .= fb_link::GetMyProfileLink( $fbConfig, $cbitemid, $fbIcons['profile'] ? '<img src="' . JB_URLICONSPATH . '' . $fbIcons['profile'] . '" border="0" alt="' . _GEN_MYPROFILE . '" title="' . _GEN_MYPROFILE . '"/>' : _GEN_MYPROFILE);
    }



Sorry for my lack of understanding but can you point me in the right direction again please?
fordy12345 (User)
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#57007
Re:[SOLVED] FB redirects to the wrong profile with CB 4 Months, 2 Weeks ago  
Where did you get v1.0.5? Best of Joomla only have v1.0.4 available for download.
http://www.bestofjoomla.com/content/blogsection/3/9/
jmelton98 (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#57027
Re:[SOLVED] FB redirects to the wrong profile with CB 4 Months, 2 Weeks ago  
I didn't know it existed either but someone pointed me to www.bestofjoomla.com/component/option,co...w/id,55692/catid,78/

If you click on the link at the top of the post detailed above it takes you to the nightly builds which are still Beta. It's not released yet but is nearly there. I was having other problems with my install so I was advised to upgrade and see whether it resolved them. It did sort out most of my problems but the issue regarding linking to CB Edit profile still isn't resolved.

Again thanks for your interest and supoprt.
fordy12345 (User)
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#57041
Re:[SOLVED] FB redirects to the wrong profile with CB 4 Months, 2 Weeks ago  
fix for v1.05NB10_b610_2008-08-11

Try searching for
Code:

&amp;task=userDetails
in fb_link.class.php located in /com_fireboard/sources. Should be located on line 152.

Remove
Code:

.'&amp;task=userDetails'
from the link string

I have not tested this, so please post back if it works or not.
jmelton98 (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2008/08/26 20:33 By jmelton98.
 
 
#57050
Re:[SOLVED] FB redirects to the wrong profile with CB 4 Months, 2 Weeks ago  
You appear to be a genius my friend as I've tested your suggestion and it now takes me to the correct View profile in CB rather than Edit Profile exactly as I want it to. Thanks for your excellent support!
fordy12345 (User)
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#60762
Re:[SOLVED] FB redirects to the wrong profile with CB 2 Months, 1 Week ago  
I hope someone can help again here on the same subject. I've now set up a new site using Fireboard 1.0.5 RC2. I'm using the default_ex template and the my profile link still goes to the edit CB profile.

I've made the above change to the fb_link.class.php file which has resolved the problem with the My Profile tab at the top of the default_ex template but the my profile link in the profilebox still goes to the edit CB profile.

I can see from using Firebug that the userdetails part of the code is there somewhere but I don't know which file this needs changing in. Can anyone help please?
fordy12345 (User)
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
Go to top