Joomlatwork
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 21, 2013, 03:18:15 AM

Login with username, password and session length
Search:     Advanced search
16606 Posts in 5471 Topics by 11064 Members
Latest Member: CexVoleTheoxy
* Home Help Search Login Register
+  Joomlatwork
|-+  Joomla accelerate component
| |-+  Support questions
| | |-+  SMF-Bridge problem
« previous next »
Pages: [1] Print
Author Topic: SMF-Bridge problem  (Read 2674 times)
hiegl
Newbie
*
Posts: 18


View Profile
« on: February 27, 2007, 10:12:05 AM »

Hi Richard,

would like to ask a question maybe just to hear your opinion on this. We have joomla combined with SMF via the joomlahacks bridge. Joomla should use the caching component. Now we know that caching is not done when a user is logged in, so the page is slowed down. The problem is, that having the forum bridged it results in logging into the forum and joomla simultaneously. So logging into the forum has the effect of slowing down the whole site for the user. I asked over at joomlahacks if it is possible to use the bridge without logging in to joomla when logging in to the forum but the answer is "no".
My question is, do you see any possiblity to have the forum integrated (not via the joomla wrapper) while retaining the advantages of the caching?
Though this is not a problem of the caching component but the scenario is surely one that should be considered when using joomla+smf+caching.
Would be great to hear your opinion on this.

Thanks,

Bernhard
Logged
joomlatwork
Administrator
Hero Member
*****
Posts: 2817


View Profile Email
« Reply #1 on: February 27, 2007, 04:45:33 PM »

Bernhad,

Of course this is possible but what I would advise is to let the users login on a specific form that is dissallowed from being cached. The only indication that a user is loged in is to show this on the forum self.

If so please let me now if this can work for you so I can adjust the way the component handles the caching and skip the dissallow for users which are login in.

Regards,

Richard
Logged
hiegl
Newbie
*
Posts: 18


View Profile
« Reply #2 on: February 27, 2007, 07:26:37 PM »

Richard,

let me clarify what I want to have:

- SMF should be integrated in Joomla. This should not be done via the Joomla wrapper, because then the site-URL will always stay the same regardless of the position in the forum and a page reload would always load the frontpage of the forum (there might be more disadvantages).

-The Joomlahacks bridge does a nice integration (visually and concerning site-URL) but then logging into the forum would always log into Joomla as well.

- There is no way to tell the bridge to use another login form, only choice is between SMF or Joomla module. Both log into both systems!

So, do you have a specific login form in mind? Of course it is possible to make the SMF theme similar to the Joomla theme and use no bridging at all. But  this would be my last resort, if everything else fails.

Regards,

Bernhard
Logged
joomlatwork
Administrator
Hero Member
*****
Posts: 2817


View Profile Email
« Reply #3 on: February 27, 2007, 07:49:56 PM »

What is your site (so I can take a look).

What I have in mind is the following:

- Cache everything execpt the SMF forum and a seperate login form (no module on the side bar). So the user will only see the login status on the forum page. Option is then to display the login module only on the SMF menu link page....

Regards,

Richard
Logged
hiegl
Newbie
*
Posts: 18


View Profile
« Reply #4 on: March 11, 2007, 07:49:35 PM »

Richard, sorry for the delay (have been ill). Unfortunately I have the Forum wrapped right now in the live site unless I have a solution to my problem. So nothing interesting to show.
Could you explain your proposal. Donīt quite get what you have in mind.
What kind of login form are you talking about?

Thanks, Bernhard
Logged
joomlatwork
Administrator
Hero Member
*****
Posts: 2817


View Profile Email
« Reply #5 on: March 11, 2007, 09:22:45 PM »

The wrapper is the same kind of solution. What I had in mind was that you should display the forum on a seperate page also the login status. This since your forum is on a sub-domain....

Richard
Logged
hiegl
Newbie
*
Posts: 18


View Profile
« Reply #6 on: March 14, 2007, 01:00:42 AM »

Now I am confused. You mean having the forum completely separated from joomla? Of course this is possible but then I have to heavily modify the SMF-theme in order to not only show a header similar to joomla template but also insert at least some horizontal menu like in the joomla template. This is the solution one can see on www.joomla.org, isnīt it? One of the disadvantages is that I have a vertical menu on the left side of my site. This menu would not be visible on the forum site unless I would change it always manually when I changed it in joomla.
My thought was, that it should be easy to exclude this simultaneous login when using the bridge. Isnīt it just a question of cookie modification? Or could the bridge possibly be stripped down to just integrate SMF visually like it does now but without any syncing of the users and fusion of the login cookie?
   
Anyway, this is more of a bridging problem and not one of the Caching component. Therefore I should ask the bridge author instead of wasting your time here.

Bernhard
Logged
joomlatwork
Administrator
Hero Member
*****
Posts: 2817


View Profile Email
« Reply #7 on: March 14, 2007, 07:45:59 AM »

Bernhard,

Your are not wasting our time, just want to help you with a solution.

Quote
Or could the bridge possibly be stripped down to just integrate SMF visually like it does now but without any syncing of the users and fusion of the login cookie?
I think that this can solve your issue that the joomla pages can be retrieved from the cache and the forum pages not. In your case the only thing that you should do is:

1) don't show on every page that a user is loged in, only on the forum pages;
2) Exclude the "forum" url part from being cached within the cache config (for example /forum/)

Would this work?

Regards,

Richard
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.12 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!