how can i add smf into joomla main menu ?

Started by berginet, August 25, 2006, 04:39:26 PM

Previous topic - Next topic

berginet

Hi after Updating my

Joomla 1.0.10 with
smf 1.1 RC 3 (unwrapped) and the
Bridge 1.1.6

my menu entrys are not working anymore, so if i try to make a link as "component" i only can choose SMF Bridge or Simple Machines Forum Registration but both dont work....so how can i bring it back into main and top menu?

greets
bergi

Orstio

Quotemy menu entrys are not working anymore, so if i try to make a link as "component" i only can choose SMF Bridge or Simple Machines Forum Registration but both dont work....so how can i bring it back into main and top menu?

The bridge should have installed its own menu item link.  What did you do to that?

Why do your menu entries not work anymore?  Why does it not work to choose SMF Bridge from the component links?

berginet

Hi Orstio,

i dunno, i deleted all Menu Items and tried it today once again with the opion SMF_Bridge now it seems working, the only thing i have ist now the reply emails lookin a bit weird there is not written in the mail what is the reply and what is the unsubscribe link....may you have a tip? Here a testmail with the reply and unsubscribe link.

QuoteEine Antwort von Smotani2 wurde zu einem Thema geschrieben, welches Sie beobachten.

Lesen Sie die Antwort unter  http://www.berginet.de/berginet/component/option,com_smf/Itemid,65/topic,54.new/topicseen,topicseen http://www.berginet.de/berginet/component/option,com_smf/Itemid,65/action,notify/topic,54.0____Es k"

greets
bergi

Orstio

#3
Thank you for the detailed message.

In your components/com_smf folder is a file named smf.php.  In that file is a function named integrate_outgoing_email.

What happens if you replace that function with this:

function integrate_outgoing_email($subject, &$message, $headers)
{
global $boardurl, $mosConfig_live_site, $Itemid, $scripturl, $mosConfig_sef, $modSettings, $Itemid;

$message = str_replace ($scripturl, '"="' . $scripturl, $message);
$message = str_replace ('topicseen', 'topicseen"', $message);
$message .= '"';
$message = ob_mambofix($message);
$message = str_replace ('"="', ' ', $message);
             $message = str_replace ('"#new', '#new', $message);
$message = trim($message);
$message = un_htmlspecialchars($message);
$message = str_replace ('____', '
', $message );
return true;
}

berginet

Hi, super with your change of the code it works. Ty.
greets
Bergi

Advertisement: