Best of joomla gives you news, joomla templates, extensions, tutorials and websites about Joomla , FireBoard and FireMessage official page.
| No account yet?   |
Dear FireBoard users,
In order to further develope the need of Joomla for a robust forum, FireBoard component has been moved to its own new home and new name. You can find more information regarding the Kunena, the successor of FireBoard, at kunena.com. The current forum here will stay for some time more for referencing needs. You can find the FireBoard files under joomlacode.org.
Upgrading to Kunena is highly recommended!

Kunena! - To Speak!

A revolution is coming... Kunena - Swahili for: To Speak! THE Next generation of native Joomla based Forum ultra component. Forget what you know about Joomla based forums...
Amazingly Simple Lean and Clean Easier Customization
Kunena is about to redefine the world of Joomla! with the most simplistic ultra component out there. For ultimate performance based on state of the art development techniques, Kunena! is about to bring you... With an integrated plugin system that will allow you to extend Kunena beyond your wildest imaginations...
Welcome, Guest
Please Login or Register.    Lost Password?
Redirect to FB profile after topic subscription (1 viewing) (1) Guest
TOPIC: Redirect to FB profile after topic subscription
#48568
Re:Redirect to FB profile after topic subscription 1 Year, 2 Months ago  
no its not working all it does is simply redirect me to the firebord profile!
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
 
 
#48570
Re:Redirect to FB profile after topic subscription 1 Year, 2 Months ago  
well, that seems to be another bug we've found, though its not a fireboard issue, but the cb plugin issue.
tdog09 (User)
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#48572
Re:Redirect to FB profile after topic subscription 1 Year, 2 Months ago  
its a good job my site isn't live yet of id have to disable the subscribe functions altogether!
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
 
 
#48576
Re:Redirect to FB profile after topic subscription 1 Year, 2 Months ago  
tdog09 wrote:
can someone tell me when you try to unsubscribe from all in the CB Forum Tab if it actually unsubscribes from them all?

Mine doesnt seem to be working, even before my changes.

Thanks.


I'm not sure- mine doesn't work, but I thought it was becasue I hacked at it. I read somewhere others had trouble with that, so it might not have worked anyway. My favorites works.

You might be interested that I modified the plugin so that it will reflect subscribed categories, too. Here's the link to the thread where I posted my code. It works for me; YMMV.

www.bestofjoomla.com/component/option,co...view/id,46705/#46705
phleum (User)
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#48631
Re:Redirect to FB profile after topic subscription 1 Year, 2 Months ago  
thanks phleum.

I decided to remove the Unsubscribe From All & Remove All Favorites from the CB Forums Tab as it was not working at all for me and I can do without it. If a new release comes out with it working then i'll pick it up then.

I've made other changes to the tab as well. Now, the Unsubscribe and Rempve Favorites links in the Tab work the same way as it does when doing so from the Forum Thread itself.

To fix the issue of whether to go the CB Profile or not, I just added a link to give the user the choice of going to thier profile, back to the thread, or the forum.

To check it out or to do a quick test, go to my test site. I gave all the info in a prev post. Let me know what you find.
tdog09 (User)
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#51129
Re:Redirect to FB profile after topic subscription 1 Year, 1 Month ago  
Ok so this is the second time im writing this little bit seeing as there was some issues posting it...?

Using CB on my site i dont want users to ever really see that there is a FB profile page as well as a CB page... so this fixes some of the things mentioned in this thread, but honestly there are probably more cases where this could be an issue.. the templates really need an overhauling.. The modifications I made however are designed to still be usable if you dont use CB integration. ie. if you use CB, then the FB user profile page will be hidden, but if you dont use CB, then it will be displayed. That way, i hope at least, that these changes can be used in the default templates..


I describe the changes i have made below but i have also attached the files in a zip file so all you have to do is replace the myprofile.php file and the post.php file mentioned about in this post and you have all the mods

The only thing i havent looked at is the unsubscribe from all/remove all favourites options from the CB profile tab,its late and im tired so im going to bed.. hope you guys enjoy this and that it works for you ..

on a side note.. i do find it odd that there is so much code in the templates.. must make templating a real bother..


=====================================
The issues fixed here are with Fireboard 1.0.4's integration with CB. There are 3 different things that I have changed.

-----------------------------------------
PART 1
The user is not returned to their CB profile after removing a favourite or a subscription from their CB profile tab.
To fix this, in the templatedefaultpluginmyprofilemyprofile.php template file replace line 561 and line 598 which look like

Code:


setTimeout("location='index.php?option=com_comprofiler".FB_CB_ITEMID_SUFFIX."&tab=getForumTab'", 3500);



with this code instead
Code:


    setTimeout("location='index.php?option=com_comprofiler<?php echo FB_CB_ITEMID_SUFFIX; ?>&tab=getForumTab'", 3500);



-----------------------------------------
PART 2
Also, if you want to have FB use the CB profile, then you dont want the user to see the FB user profile menu options, which displays for 3.5 seconds while it shows the user that they have been unsubscribed/unfavourited from a thread. To fix this, make the following modifications to templatedefaultpluginmyprofilemyprofile.php.

First lets remove the left user panel on the fireboard user profile if the user has enabled CB.

at Line 99 add
Code:


    <?php if (!$fbConfig['cb_profile']) { ?>


so that it looks like
Code:


   <tr>
    <?php if (!$fbConfig['cb_profile']) { ?>
    <td class = "fb_myprofile_left" valign = "top"  width="20%">



and at line 113 add
Code:

    
    <?php } ?>



so that it looks like
Code:

    
    <!-- F:My Profile Left --></td>
    <?php } ?>
    <td class = "fb_myprofile_mid" valign = "top" width="5">




Now lets remove the fireboard user profile summary if the user has enbled CB
right after "// B: Summary" (around line 123) add
Code:


    if (!$fbConfig['cb_profile']) {


so that it looks like
Code:


     // B: Summary
      if (!$fbConfig['cb_profile']) {
        if (file_exists(JB_ABSTMPLTPATH . '/plugin/myprofile/myprofile_summary.php'))



and then right before "// F: Summary" (around line 135) add
Code:


      else { 
        echo '<script type="text/javascript">set Timeout("history.go(-1);",3500);</script>';
      }                   


so that it looks like
Code:


      }
      else { 
        echo '<script type="text/javascript">set Timeout("history.go(-1);",3500);</script>';
      }                   
      // F: Summary



-----------------------------------------
PART 3
To set FB to return to the previous post after adding a favourite/subscription instead of fireboards user profile, make the following changes in templatedefaultpost.php at line 1092 (for subscribe) and shortly after at line 1117 (for favourite)

Replace
Code:


    ?>
        <script language = "javascript">
        setTimeout("location='<?php echo sefRelToAbs(JB_LIVEURLREL.'&func=userprofile&do=show'); ?>'", 3500);
        </script>
    <?php



with
Code:


    echo '<script type="text/javascript">setTimeout("history.go(-1);",3500);</script>';

File Attachment:
File Name: CB_template_mods.zip
File Size: 17793
malexs (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2008/05/24 04:43 By malexs.
 
 
Go to top