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?
FireBoard Manual Latest release discussions Download FireBoard Spread FireBoard!
Re:[SOLVED] FB redirects to the wrong profile with (1 viewing) (1) Guest
Go to bottom Favoured: 7
TOPIC: Re:[SOLVED] FB redirects to the wrong profile with
#49641
Re:FB redirects to the wrong profile when using CB 6 Months, 3 Weeks ago  
Urk. my bad - view.php is correct.

Thanks Arkanjo.

Changes made.

I hope you find this useful.
omin (User)
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#49644
Re:FB redirects to the wrong profile when using CB 6 Months, 3 Weeks ago  
omin:

First let me say THANK YOU for taking the time to work on this issue. I've been looking for a solution to this problem for almost 2 months and finally to have a fix is outstanding.

I do want to say that the fix for the favorite and subscribe works great for me. However I am still having an issue with the unfavorite/unsubscribe after applying your fix for that.

When I unfavorite a thread, I still get the FB profile screen and it stays there until I click on the link and then it will go to my CB profile. When I unsubscribe from the thread, again I still get the FB profile but this time it will automatically redirect to the CB profile after a few seconds.

Any suggestions for that? Again thank you very much for working on this issue.

Jaysen
emstalk (User)
Junior Boarder
Posts: 56
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#49684
Re:FB redirects to the wrong profile when using CB 6 Months, 3 Weeks ago  
What your telling us is still not correct!

1. What exactly are we looking for a line 1381? AND what should we be replacing it with?
Andy (User)
Junior Boarder
Posts: 59
graphgraph
User Offline Click here to see the profile of this user
Gender: Male JoomlaPlazza Location: SCOTLAND
Logged Logged
 
joomlaplazza.comSocial Networking Resource center
 
The administrator has disabled public write access.  
#49685
Re:FB redirects to the wrong profile when using CB 6 Months, 3 Weeks ago  
2.This line does not exist in view.php on line 1461? What exactly are you trying to tell us to do?


In the same file around line 1461 find the following bit of code:
Code:
<a href = "<?php echo sefRelToAbs(JB_LIVEURLREL.'&amp;func=myprofile&amp;do=unfavoriteitem&amp;thread='.$fb_thread);?>">
replace it with the following:
Code:
Andy (User)
Junior Boarder
Posts: 59
graphgraph
User Offline Click here to see the profile of this user
Gender: Male JoomlaPlazza Location: SCOTLAND
Logged Logged
 
joomlaplazza.comSocial Networking Resource center
 
The administrator has disabled public write access.  
#49691
Re:FB redirects to the wrong profile when using CB 6 Months, 3 Weeks ago  
oops sorry, I can't delete this. This fix works.
chardelle (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2008/04/30 05:35 By chardelle.
 
The administrator has disabled public write access.  
#49693
Re:FB redirects to the wrong profile when using CB 6 Months, 3 Weeks ago  
You are very welcome emstalk.
Cool. I'm glad you had some success with it chardelle.

Please note that while I was trying things to make this work I added quite a few lines of comments so my line numbers are a bit off the original - in any case they should be quite close. Andy, did you try searching? I'll try to be more clear...

In view.php:
To find the 2 places to change code for unsubscribing search the document for do=unsubscribeitem
Both of these lines can be replaced with:
Code:

<a href = "<?php echo $fbConfig['cb_profile'] ? sefRelToAbs('index.php?option=com_comprofiler&task=userProfile&Itemid=' . $cbitemid . '&tab=getforumtab&fbunsubthread='.$thread) : sefRelToAbs(JB_LIVEURLREL . '&amp;func=myprofile&amp;do=unsubscribeitem&amp;thread='.$thread);?>">


To find the 2 places to change code for removing favorites search the document for do=unfavoriteitem
Both of these lines can be replaced with:
Code:

<a href = "<?php echo $fbConfig['cb_profile'] ? sefRelToAbs('index.php?option=com_comprofiler&task=userProfile&Itemid=' . $cbitemid . '&tab=getforumtab&fbunfavthread='.$thread) : sefRelToAbs(JB_LIVEURLREL.'&amp;func=myprofile&amp;do=unfavoriteitem&amp;thread='.$fb_thread);?>">


In any case I have attached the version of view.php that I am currently using (it works for me). So if you are having trouble replacing the code then just try the attached file. If it still does not work then let me know and we'll go from there. The only code I have changed is what is talked about in this thread. To find the changes I made search the doc for omin.

File Attachment:
File Name: view-06b47a14330b306b155303a466e172c5.zip
File Size: 13602
omin (User)
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2008/04/30 06:01 By omin.
 
The administrator has disabled public write access.  
#49696
Re:FB redirects to the wrong profile when using CB 6 Months, 3 Weeks ago  
I just tried your attachment and the unsubscribe and unfavorite is still not fixed. subscribe and favorite are working great though.
emstalk (User)
Junior Boarder
Posts: 56
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#49698
Re:FB redirects to the wrong profile when using CB 6 Months, 3 Weeks ago  
emstalk wrote:
I just tried your attachment and the unsubscribe and unfavorite is still not fixed. subscribe and favorite are working great though.

That is the exact same file that I use and it works for me.

What versions of FB and CB are you using?
What plugin are you using to link them?
Have you made any other modifications?
omin (User)
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#49700
Re:FB redirects to the wrong profile when using CB 6 Months, 3 Weeks ago  
Using CB 1.1 and FB 1.0.4 Stable. I am also using the CB Fireboard plugin, it doesn't give any additional info on that. No modifications made except cosmetic changes to the template to fix colors and some width/height issues on some cells but that is all CSS.
emstalk (User)
Junior Boarder
Posts: 56
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#49701
Re:FB redirects to the wrong profile when using CB 6 Months, 3 Weeks ago  
As mentioned in the first post I also used an update to the simpleboard (also FB ) plugin for CB. This update can be found here.

Have you applied this?
omin (User)
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2008/04/30 08:19 By omin.
 
The administrator has disabled public write access.  
Go to top