Home arrow Forum SMF and SEF Advance workaround
  Welcome, Guest. Please login or register.
Did you miss your activation email?
December 02, 2008, 01:04:48 AM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Hacks
| |-+  Joomla-SMF Forum Support
| | |-+  Joomla-SMF 1.0.x (Moderators: -Wolverine, kai920)
| | | |-+  SMF and SEF Advance workaround
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: SMF and SEF Advance workaround  (Read 4599 times)
Max
Joomla Newbie
*

Karma: +2/-0
Offline Offline

Posts: 2


View Profile
SMF and SEF Advance workaround
« on: November 10, 2005, 10:46:26 AM »

Just thought I would share a work around for the users of SEF Advance who are having problems with " Your session timed out while posting. Please try to re-submit your message." error.

Our environment:
  • SMF 1.1 RC1
  • Jooma 1.03
  • Sef Advance v4.2.2

Basically we noticed that turning off SEF in globals, resolved the SMF problem. Then we re-enabled SEF in globals and hacked SMF so it does not try to detect if site-wide SEF is used:

1. Edit fixMamboUrls function in functions.smf.php file.
2. $mosConfig_sefTEMP = 0; <-- Add a new variable (we used $mosConfig_sefTEMP)
3. Replace $mosConfig_sef var in fixMamboUrls function with $mosConfig_sefTEMP

So SMF will always think that SEF is turned off but SEF Advance will continue to do its magic for the rest of the site.

Big thanks to Pedro from www.globodigital.net for working this out.

PS: Would be nice for someone to do a sef_ext for the latest version of this bridge.

Cheers,
Max


« Last Edit: November 10, 2005, 10:58:43 AM by Max » Logged
Editor (cowboy)
Administrator
Joomla Guru
*****

Karma: +86/-23
Offline Offline

Posts: 1144



View Profile WWW
Re: SMF and SEF Advance workaround
« Reply #1 on: November 10, 2005, 10:55:52 AM »

SEFAdvanced support is on the plan.
And thanks for this tip.
Logged
afonic
Joomla Pro
**

Karma: +8/-1
Offline Offline

Posts: 84



View Profile WWW
Re: SMF and SEF Advance workaround
« Reply #2 on: November 10, 2005, 03:50:18 PM »

Nice tip, thanks!

Just to add, before someone gets confused, SMF works with Joomla's Search Engine Friendly settings, this post is about SEF Advance component.  Smiley
Logged

Charles Williams
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 31


View Profile
Re: SMF and SEF Advance workaround
« Reply #3 on: November 13, 2005, 09:42:42 PM »

What about OpenSEF, or Extensions?  Is this an issue there too?
Logged
Anthony Eskinazi
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 2


View Profile WWW
Re: SMF and SEF Advance workaround
« Reply #4 on: December 15, 2005, 09:13:04 PM »

I have purchased SEF Advance and am very frustrated that it doesn't work with Joomla Hacks version of the Joomla-SMF Bridge.

Any idea how to resolve this issue for a NOOB?

If not, any idea when a sef-ext.php file will be released to resolve the issue?
Great work guys so far, keep it up!

Anthony
Logged

guilliam
Developer
Joomla Pro
*****

Karma: +3/-0
Offline Offline

Posts: 85



View Profile WWW
Re: SMF and SEF Advance workaround
« Reply #5 on: December 16, 2005, 08:59:34 PM »

I have purchased SEF Advance and am very frustrated that it doesn't work with Joomla Hacks version of the Joomla-SMF Bridge.

Any idea how to resolve this issue for a NOOB?

If not, any idea when a sef-ext.php file will be released to resolve the issue?
Great work guys so far, keep it up!

Anthony

its laredy in the first post.. IT DOESNT work OUT OF THE BOX.

- g
Logged

"I was one of those who wondered why people would pay so much $$$$ to do something that was so much fun!" -R. Harkrider, Fortran Code Engr.
^If u read that in $GREEN, you clearly missed the HIGHLIGHTS!
www.joomlahacks.com | www.joomlaconsultancy.net
Anthony Eskinazi
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 2


View Profile WWW
Re: SMF and SEF Advance workaround
« Reply #6 on: December 17, 2005, 10:10:57 AM »

thats just my point though.... its largely in that post... but its not complete... I know my way around Joomla tc quite well now... designing components, tempaltes, modules etc... but don't fully understand how SEF works...

if someone knows how to do it (idiots guide) please post it here!
Logged

ryan
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 5


View Profile
Re: SMF and SEF Advance workaround
« Reply #7 on: December 19, 2005, 04:03:29 AM »

thats just my point though.... its largely in that post... but its not complete... I know my way around Joomla tc quite well now... designing components, tempaltes, modules etc... but don't fully understand how SEF works...

if someone knows how to do it (idiots guide) please post it here!

I just did this and it is pretty much exactly what he says above to do and it works too!  Thanks for this it is a lifesaver!!!!!

But I can see how you might be confused a bit.

In your administrator/components/com_smf directory open the functions.smf.php file.

Search for the fixMamboUrls function.

Directly under the function fixMamboUrls line under the { it will be like this

{
$mosConfig_sefTEMP = 0;

on its own line just like that, but dont put another {, that one is just for demonstration purposes.

Then search for $mosConfig_sef, there should be 3 of them, change them to say $mosConfig_sefTEMP

Then save this and upload it and it should be ok.

I could not have done this without you guys so thank you very much for posting this.  It is exactly what I have been looking for for days.   Grin
Logged
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