Home arrow Forum two conflicts post-bridging -- width and quoting
  Welcome, Guest. Please login or register.
Did you miss your activation email?
November 21, 2008, 09:37:44 PM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Hacks
| |-+  Joomla-SMF Forum Support
| | |-+  Joomla-SMF 2.0.x (Moderators: -Wolverine, kai920)
| | | |-+  two conflicts post-bridging -- width and quoting
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: two conflicts post-bridging -- width and quoting  (Read 1507 times)
gromf
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 21


View Profile
two conflicts post-bridging -- width and quoting
« on: July 12, 2007, 12:35:18 PM »

Hello.  I am new to SMF and very new to the Joomla-SMF bridge.  I hope this is the right place for these questions.  I bridged SMF and Joomla a few days ago.  Functionally, things (mostly) work well.  The bridging did introduce some CSS conflicts between Joomla and SMF, and I've been working through those slowly.  What follows is a couple conflicts I have not been able to resolve.  Any help is appreciated.  (And, yes, I have searched the forums already for solutions; none found for these particular problems.)

Version Information:
    * Joomla! 1.0.12 Stable
    * SMF 1.1.2
    * Joomla-SMF 2.0.2
    * I do not know the php version running on my server
    * I am not using a CB plugin
    * I am not using Joomla registration

(1) Forum does not always use full width of content pane.

In the unbridged version of my site, all content uses the full width of the div that is sits in.  In the bridged version, only some pages do.  The screen that shows the messages within a forum does not take up the full width of the content section, for example.  (Oddly, when I expand the quick reply box, the forum does expand to full width.)  Likewise, the page listing the threads does not take up the full width.)  I read a lot of other threads looking for 100% width.  To be clear, I am *not* trying to make the forum take up 100% of my page -- e.g., replacing the sidebar.  I just want the forum (and all of its subpages) to utilize the full width of the main content pane to the right of the sidebar.  Any ideas on how to force the various pages to use the full width of the content pane?

(2) Quote button/link opens SMF outside of Joomla.

Since I wrapped my forum, the quote button/link (for replying to a message) links to an unbridged version of the forum -- that is, without being integrated into Joomla.


There are a few other pesky problems, but these are the two that are driving me crazy.  Any suggestions appreciated.  Thanks!
Logged
gromf
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 21


View Profile
to partially answer my own question (on width)
« Reply #1 on: July 12, 2007, 01:59:29 PM »

To answer one of my own questions -- number (1) re width -- I solved this by setting a fixed width (680px) in the header div in index.template.php.

Here is the revised section of code:
Code:
<body>

';


   echo '
   <div class="tborder" ', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' style="width: 100%;"' : '', '>
      <table width="680" cellpadding="0" cellspacing="0" border="0">
         <tr>
            <td class="catbg" height="32">';

The key change is the following line:
Code:
<table width="680" cellpadding="0" cellspacing="0" border="0">

Now this may not be the most elegant fix, but it seems to have done the trick.  Thanks.
Logged
Daniel
Joomla Pro
**

Karma: +3/-1
Offline Offline

Posts: 50



View Profile WWW
Re: two conflicts post-bridging -- width and quoting
« Reply #2 on: July 12, 2007, 07:33:39 PM »

goto the smf-joomla bridge configuration and click on cache. disable the cache there and review the page again. This is a common issue. The only problem remaining after that will be link colors will match the joomla site (which in most cases just helps the site match) But in other cases I do not know how to fix that part yet. (working on it on spare time) My oppinion on that issue is that the browser cache is saving the css for joomla as "mysite.com" so when the site is reloaded it does not look for the second css... only by disabling the cache or including the second css somehow in the first can you fix this i think... but don't quote me on that lol.. 

As for the wrapped problem. I am not sure about that... It is beyond my ability to fix or understand in php...

This problem is likely going to take you a little while to get an answer to here since the help staff (volunteers) are also the developers and patchers and bug fixers, etc. They don't currently have time to monitor the forum because they are short handed. They are looking for help but such professional volunteers re hard to come by i am sure.

I am studying the scource of the wrapper to find out if it works via Iframe or include or some other means... then i may be able to find the problem. but as a basic php user I doubt I will have the skill to fix much myself.

 I am not the help (thank goodness) I am just lending a hand when I can untill I can get answers to my own questions... I hope this helped you somehow... goodluck
Logged

If all else fails. and all of mans technology has revealed no answer to your problem... poke it untill it gives up.
gromf
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 21


View Profile
Re: two conflicts post-bridging -- width and quoting
« Reply #3 on: July 12, 2007, 08:16:50 PM »

Hi, Daniel.  Thanks for the help and advice.  I disabled the caching and tried the site again.  The quote bug (bringing up a non-bridged version of the forum) persists, unfortunately.  I'm going to play around a bit more.  Thanks again for taking the time.  I very much appreciate it!
Logged
gromf
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 21


View Profile
Re: two conflicts post-bridging -- width and quoting
« Reply #4 on: July 13, 2007, 03:48:31 PM »

(2) Quote button/link opens unbridged version of SMF (i.e., unwrapped and outside of Joomla).

Since I wrapped my forum, the quote button/link (for replying to a message) links to an unbridged version of the forum -- that is, without being integrated into Joomla.

July 13 update:

After playing around a bit more, here's further background on the quoting problem.  It occurs only on plain left-click.  If I right-click and force the link to open in a new tab/window, the quote-reply appears bridged/wrapped, as it should.  Maybe this will help identify the problem?  Thanks!
Logged
Bertelli Francesco
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 2



View Profile WWW
Re: two conflicts post-bridging -- width and quoting
« Reply #5 on: August 01, 2007, 06:53:28 AM »

July 13 update:

After playing around a bit more, here's further background on the quoting problem.  It occurs only on plain left-click.  If I right-click and force the link to open in a new tab/window, the quote-reply appears bridged/wrapped, as it should.  Maybe this will help identify the problem?  Thanks!

I have same problem... someone can help us?

UPDATE
If Fast reply option is disabled, quote button returns wrapped page. It's right.
When Fast reply is enabled, quote button returns unwrapped page. It's wrong.
« Last Edit: August 01, 2007, 07:01:52 AM by Bertelli Francesco » Logged
gromf
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 21


View Profile
Re: two conflicts post-bridging -- width and quoting
« Reply #6 on: August 28, 2007, 05:36:54 PM »

*bump*

I know there's at least a few others experiencing this issue with quoting.  To summarize again:  Since I wrapped my forum, the quote button/link (for replying to a message) links to an unbridged version of the forum -- that is, without being integrated into the Joomla frame/window.

The bridged forum is located here.

Any help at all appreciated!  Thanks.
Logged
Superdaantje
Joomla Guru
*****

Karma: +266/-23
Offline Offline

Posts: 370


Aka Livebox


View Profile WWW
Re: two conflicts post-bridging -- width and quoting
« Reply #7 on: August 29, 2007, 12:50:07 AM »

*bump*

I know there's at least a few others experiencing this issue with quoting.  To summarize again:  Since I wrapped my forum, the quote button/link (for replying to a message) links to an unbridged version of the forum -- that is, without being integrated into the Joomla frame/window.

The bridged forum is located here.

Any help at all appreciated!  Thanks.

what did you treid?

In the user guide is an sollution Wink did you treid this ?
Logged

My Projects
Joomlabridge.org JSMF 2.0.2.1 Bridge Support and Downloads
Dutchjoomla.org Dutch Joomla Community (more then 60.000 members)
D.Wagner Webservices
gromf
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 21


View Profile
Re: two conflicts post-bridging -- width and quoting
« Reply #8 on: August 29, 2007, 04:24:19 PM »

In the user guide is an sollution Wink

Sure enough, there is a solution in the manual.  And sure enough, it works!  Thank you so much for drawing my attention to the manual!

For everyone else, I thought I should quote the solution from the manual:

Quote
When I quote a topic the site becomes unwrapped.
This occurs when quick reply is enabled but off by default or the quick reply field is collapsed. When this occurs there is core SMF functionality to redirect to a normal reply, but the redirect is done through javascript and because of that the site becomes unwrapped. To solve this problem, modify the following javascript file Themes/default/xml_topic.js. On line 7 you will find this code:
Code:
window.location.href = smf_scripturl +"?action=post;quote="…
Replace this code with this:
Code:
window.location.href = jsmf_quoteurl +"action=post;quote="…
Changing smf_scripturl to jsmf_quoteurl will change the url to be a joomla url and then the site will not come unwrapped. Don’t forget to remove the question mark before “action” as well. Those of you with SEF enabled sites will find that the resulting page is shown without SEF. This is unavoidable at this point.

Thanks again!
Logged
Superdaantje
Joomla Guru
*****

Karma: +266/-23
Offline Offline

Posts: 370


Aka Livebox


View Profile WWW
Re: two conflicts post-bridging -- width and quoting
« Reply #9 on: August 31, 2007, 01:40:52 PM »

Ok no thanks happy this has worked again Tongue
Logged

My Projects
Joomlabridge.org JSMF 2.0.2.1 Bridge Support and Downloads
Dutchjoomla.org Dutch Joomla Community (more then 60.000 members)
D.Wagner Webservices
Pages: [1] Go Up Print 
« previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use
Joomla Hacks



Joomla Hacks
German Lang French Lang Italian Lang Spanish Lang Japanese Lang Chinese Lang
Search Contact About Advertise Blogs Topsites Submit News Register Login