Guide:How to have a perfect bridging with SEF Advance!

Started by Chriss Cohn, January 18, 2007, 10:46:39 AM

Previous topic - Next topic

smylo

first of all, thanks a lot for this great instruction...

now i have very nice looking links in my smf forum, but my problem is that i don't know where i have to add the following lines

QuoteFor example in template 247 clean you need to add after
Code:

$menuclass = "mainlevel$class_sfx";
        if ($level > 0) {
                $menuclass = "sublevel$class_sfx";
        }
        $menuclass = "images";

in function cssSPLITGetMenuLink
the next code
Code:

        if ($_GET['dummy']==1)
        {
            if ((strncmp($mitem->link,"http://",7)!=0) && (strncmp($mitem->link,"https://",8)!=0))
            $mitem->link = '/'.$mitem->link;
        }


without these settings you can't get back to the normal content of my joomla page  :( , because all links from joomla looking like www.domain.com/forum/news/index.php... and i get an error 404! perhaps it's possible to keep sef joomla content links also when you are reading in forum?

Can anyone help me?
Thanks
Smylo

Chriss Cohn


smylo

Hallo g-c, i'm using SEF Advance 4.8.2 in combination with Seo 4 SMF 0.2.9.5

smylo

there is another think that draw my attention:
on your site it-info.org you have also when you are in the forum "normal" sef links in your joomlamenus - if i'm surfing in my forum i only have standard joomla links without any SEF optimization..., but if i'm navigating thru my normal joomla content i have wonderful sef links???

this must be a problem with this setting, i think so
Quote$dummy  = intval( intval( mosGetParam( $_REQUEST, 'dummy' ) ) );
if ($dummy==1){
$mosConfig_sef=0;
}

perhaps you can help me out - all i have done is this instruction -> http://www.webmasterstalks.com/joomla/joomla-installation-guide-advancedsef-version-t1025.0.html

Some infos about my configuration:
- Joomla 1.0.12
- SMF 1.1.2
- Bridge 1.1.7
- SEF Advance 4.8.2
- SEO4SMF 0.2.9.5

Thanks for your support
Smylo

Chriss Cohn

Hi, I have some special changes on my Site which comes with 0.3 probably the next week i think. So just wait till that point.
TheGodFahter has used my unopened Site for testing purposes.
But i also think its so kind related to this:$dummy  = intval( intval( mosGetParam( $_REQUEST, 'dummy' ) ) );
if ($dummy==1){
$mosConfig_sef=0;
}

Anyway, sonce the Upgrade of Sefadvance from 4.80 to 4.82 some tiny things are not working anymore - well only small things like the pathway of joomla and the tree-path of SMF... They had fully SEF-Beautiful URLs before upgrade.
I'll ask TheGodfahter about it when 0.3 or better 0.3.1 is out.
And, with the changes Thegodfather had made to my site via testing, it is now recommend to NOT disabling SefAdvance for the bridge-component anymore.

And the thing:For example in template 247 clean you need to add after
Code:

$menuclass = "mainlevel$class_sfx";
        if ($level > 0) {
                $menuclass = "sublevel$class_sfx";
        }
        $menuclass = "images";

in function cssSPLITGetMenuLink
the next code
Code:

        if ($_GET['dummy']==1)
        {
            if ((strncmp($mitem->link,"http://",7)!=0) && (strncmp($mitem->link,"https://",8)!=0))
            $mitem->link = '/'.$mitem->link;
        }

Come in the Splitmenu-php which my template uses for for the upper menu.

Regards, Christian

smylo

thanks for your info and sorry for my late answer...

in the meantime i tryed a lot off thinks with .htaccess and moving backwards some off the changes in php-files and now it seems to working great  :D , but two problems left:
1.) the avatar isn't visible in the joomla login modul for smf (Bridge 1.1.7) with activated sef.
2.) my meta-tags in forum are corrupt, they looking like that:
<meta name="description" content="meta name=&quot;description&quot; content=&quot; (dynamic content) &quot; /" />

perhaps you have an idea what the problem can be...
Thanks
Smylo

Chriss Cohn

I had the same issues!
Will be fixed in 0.3 or i can send you my files if you want.
Regards, Christian

smylo

hallo g-c,

first - this was one of the fastest answers i ever get, absolutly fantastic!  :D
Sending me your fixed files would be great. I sent you a pm with my email...

With kind regards
Smylo

basicus

Hey Christian: Could you please send me the files as well? It looks like hxxp:www.webmasterstalks.com [nonactive] are down by the way.

Advertisement: