Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => Mambo Bridge Support => Topic started by: gasg on June 10, 2006, 08:54:55 AM

Title: Notify Issue
Post by: gasg on June 10, 2006, 08:54:55 AM
Hello, I'm using OpenSEF with SEO core enabled in Joomla and set it OFF in SMF, Bridge 1.1.14 and Joomla 1.0.9 (upgraded), SMF 1.1 RC2, the problem is when arrived a Notify email when a user reply to posts. the link dont work, it arrived like this: http://www.lottosqueeze.org/forums/http://www.lottosqueeze.org/index.php?topic=81.new/topicseen#new#new
Anybody know how to fix that?
Thanks
Title: Re: Notify Issue
Post by: gasg on June 10, 2006, 09:25:33 AM
EDIT:
I've solved in part  this problem adding this query:

QuoteINSERT INTO smf_settings
   (variable, value)
VALUES ('disableQuotedPrintable', '1');

anyway the url appear as http://www.lottosqueeze.org/component/option,com_smf/Itemid,26/topic,81.new/topicseen,topicseen"http://www.lottosqueeze.org/component/option,com_smf/Itemid,26/action,notify/topic,81.0/

It showing the second link  For unsubscribe from Notify in the first link and not separate with a notice that advert to Unsubscribe, sorry my english
Any ideas how to fix?
Title: Re: Notify Issue
Post by: phil_roy on June 10, 2006, 07:21:33 PM
You've got the same problem I'm experiencing...
http://www.simplemachines.org/community/index.php?topic=91650.0

Phil
Title: Re: Notify Issue
Post by: Kindred on June 10, 2006, 07:43:27 PM
unless something has changed, the bridge will not work properly with OpenSEF or any other third party SEF utility...   it only works with the basic joomla SEF
Title: Re: Notify Issue
Post by: phil_roy on June 10, 2006, 07:45:14 PM
Sorry, I should point out that I have open-sef activated but the forum area excluded from the component....just using standard Joomla sef.

Phil
Title: Re: Notify Issue
Post by: Kindred on June 10, 2006, 07:46:55 PM
that does not matter.   Just having OpenSEF installed will cause problems.
Title: Re: Notify Issue
Post by: jocke4u on June 10, 2006, 07:52:10 PM
I have the same problem (doesn't have OpenSEF)
Title: Re: Notify Issue
Post by: phil_roy on June 10, 2006, 07:55:02 PM
Just disabled open-sef, tried and same error...so like jocke4u, I don't think open-sef is an issue.

Phil
Title: Re: Notify Issue
Post by: berginet on June 10, 2006, 08:16:56 PM
Same Problem look my Thread

http://www.simplemachines.org/community/index.php?topic=92015.new;topicseen#new

greets berginet
Title: Re: Notify Issue
Post by: Kindred on June 10, 2006, 09:58:29 PM
I repeat... just having OpenSEF installed will cause problems.

Try uninstalling OpenSEF completely... not disabling it... UNINSTALL it.
Title: Re: Notify Issue
Post by: phil_roy on June 10, 2006, 10:02:54 PM
Sorry but I don't understand the reason to do that. The bridge has been working with open-sef installed and smf exluded from it fine until the 1.0.9 joomla update and as you see, someone else who doesn't have open-sef installed at all, is reporting the same problem.

Phil
Title: Re: Notify Issue
Post by: phil_roy on June 10, 2006, 10:28:43 PM
OK, just completely uninstalled open-sef and changed the htaccess file back to what it should be for non 3rd party sef components. Ran a test and got exactly the same results...a badly formatted reply.

This is on top of (last night) completely deleting the Sources and default theme folders (to *really* make sure there were no hacked files in there) and uploading new ones...and also making the change to the main Joomla index.php file (with a text editor, not Dreamweaver) that Orstio asked me to make.

Not sure what else I can do?

I've now reinstalled and reactivated open-sef as (both on my uninstall and for jocke4u's non open-sef site) it doesn't appear to impact on the issue.

Phil
Title: Re: Notify Issue
Post by: Orstio on June 10, 2006, 10:36:50 PM
Can you give me FTP access to your site?
Title: Re: Notify Issue
Post by: phil_roy on June 11, 2006, 07:43:16 AM
I have to confess to have never done something like that before (I assume I can via cPanel) and wonder what I need to give you access to? The whole site or the forum folder? Please don't be offended as I know you are most certainly trying to help, but will it mean that you can see config files with site passwords or database passwords etc in them? That makes me slightly uneasy....as I say, never done something like that before.

Phil
Title: Re: Notify Issue
Post by: gasg on June 11, 2006, 01:50:13 PM
Hello, I have uninstall OpenSeF and disable totally SEF core by Joomla, run the query that I have write on the first post and works fine now...
Title: Re: Notify Issue
Post by: Orstio on June 11, 2006, 01:53:02 PM
QuoteHello, I have uninstall OpenSeF and disable totally SEF core by Joomla, run the query that I have write on the first post and works fine now...

Interesting.  :-\
Title: Re: Notify Issue
Post by: jocke4u on June 11, 2006, 02:47:57 PM
There is several topics about this right now and maybe the moderators should lock some threads and pointed to one thread?!

I don't have the OpenSEF installed but still have the same problem. Before I applied the fix:
INSERT INTO smf_settings
   (variable, value)
VALUES ('disableQuotedPrintable', '1');

I didn't get URLs that where pointed to my wrapped forum, only having the direct path and therefore the URL conversion wasn't applied in integrate_outgoing_email(...) method since the URLs was not the same. After the patch above the if statement was ok with "strpos(...)" but later on it probably fails. On the original URLs the first have an # in it (ends with smf_11rc2/index.php?topic=2.new;topicseen#new )
I am not very good at regular expressions but chould the # char mess things up??

If I change the method signature of:
function integrate_outgoing_email($subject, &$message, $headers)to
function integrate_outgoing_email($subject, $message, $headers) meaning that the message are not affected ($message are value by copy not value by reference). This gives a correct message but the URLs are not adjusted to a bridged/wrapped format but goes directly to the forum.

So I suspect that the regular expression are somehow wrong and have to learn a bit more about it.

Any other idea?

UPDATE: Since I had to make some food while writing, "Masiello" puts some wood on my fire. Since regular expressions are only used if you are in Joomla SEF mode.

Title: Re: Notify Issue
Post by: Orstio on June 11, 2006, 03:25:08 PM
I can fix this problem.  However, in order to fix this problem, I need to see it in action, at each and every step.  In order to do that, I need FTP access to an environment in which it is happening, so that I can modify the file to help monitor what is happening.

Because it has not happened on any site on which I do have access, I will need access to one of the sites where it is happening in order to see what is happening and fix it.
Title: Re: Notify Issue
Post by: jocke4u on June 11, 2006, 03:51:09 PM
Orstio, PM me your email and I can put you as administrator and you could use JoomlaXplorer (almost as FTP). Here you could change files and so. Would this be ok?

I have not set up any FTP server.
Title: Re: Notify Issue
Post by: Orstio on June 11, 2006, 07:32:36 PM
http://www.simplemachines.org/community/index.php?topic=83667.msg607859#msg607859

Thanks very much jocke4u!  8)
Title: Re: Notify Issue
Post by: phil_roy on June 11, 2006, 07:51:16 PM
Awesome!! Thank you soooooo much for this. Applied fix and can confirm everything is great again...thank you so much Orstio!

Phil
Title: Re: Notify Issue
Post by: Orstio on June 11, 2006, 07:57:53 PM
I still can't help but think that it is a symptom of a different problem, but as long as this works for now.   :-\
Title: Re: Notify Issue
Post by: jocke4u on June 12, 2006, 12:55:44 AM
Quote from: Orstio on June 11, 2006, 07:32:36 PM
http://www.simplemachines.org/community/index.php?topic=83667.msg607859#msg607859

Thanks very much jocke4u!  8)
Thank you!!  :D
Great that you found a solution.
Title: Re: Notify Issue
Post by: phil_roy on June 12, 2006, 01:40:24 AM
Hmm...just noticed that my notifications are topicseen twice with no "#new" on the end like before??Before the 1.0.9 update
Quotehttp://www.nzmac.com/component/option,com_smf/Itemid,178/topic,2005.new/topicseen,topicseen#new
After
Quotehttp://www.nzmac.com/component/option,com_smf/Itemid,178/topic,1958.new/topicseen,topicseen
Phil

Title: Re: Notify Issue
Post by: phil_roy on June 14, 2006, 04:38:10 AM
Anyone else with the same problem?

Phil
Title: Re: Notify Issue
Post by: Mongoose on June 14, 2006, 05:43:29 AM
I have the same problem on operafan.net (J 1.0.9, SMF 1.1RC2 (unwrapped), Bridge 1.1.4 with all patches). It`s an old problem, not only in 1.0.9.

There is the same problem in the "Unread topics"
All URLs are looking like this one: http://operafan.net/component/option,com_smf/Itemid,50/topic,1005.msg8995/topicseen,topicseen/,topicseen/#new
...but are working fine.
Title: Re: Notify Issue
Post by: jocke4u on June 14, 2006, 03:00:20 PM
Quote from: phil_roy on June 14, 2006, 04:38:10 AM
Anyone else with the same problem?

Phil
Yes, I have the same "problem"
Title: Re: Notify Issue
Post by: gasg on June 20, 2006, 05:41:43 PM
No news?
Title: Re: Notify Issue
Post by: gasg on June 29, 2006, 05:35:11 AM
I have fixed too with this: http://www.simplemachines.org/community/index.php?topic=83667.msg607859#msg607859

Quote from: jocke4u on June 14, 2006, 03:00:20 PM
Quote from: phil_roy on June 14, 2006, 04:38:10 AM
Anyone else with the same problem?

Phil
Yes, I have the same "problem"


Yes still here the same problem, and too on unread posts, no "#new" string is showing
Title: Re: Notify Issue
Post by: gasg on June 29, 2006, 05:37:59 AM
Quote from: Mongoose on June 14, 2006, 05:43:29 AM
I have the same problem on operafan.net (J 1.0.9, SMF 1.1RC2 (unwrapped), Bridge 1.1.4 with all patches). It`s an old problem, not only in 1.0.9.

There is the same problem in the "Unread topics"
All URLs are looking like this one: http://operafan.net/component/option,com_smf/Itemid,50/topic,1005.msg8995/topicseen,topicseen/,topicseen/#new
...but are working fine.

For you the URL looking good, what U doo for that? have you solved the problem in any way?
Title: Re: Notify Issue
Post by: Mongoose on June 29, 2006, 07:43:39 AM
Both problems have not solved yet - Orstio keeps silence. :(
Title: Re: Notify Issue
Post by: samyot on August 25, 2006, 12:56:42 PM
Quote from: Orstio on June 11, 2006, 07:32:36 PM
http://www.simplemachines.org/community/index.php?topic=83667.msg607859#msg607859

Thanks very much jocke4u!  8)
The post in this thread has been overwritten since the new bridge came out.

Does anybody have the solution that it use to contain?
Title: Re: Notify Issue
Post by: samyot on August 26, 2006, 07:15:51 PM
Where can I find this fix? The referred thread no longer has the info...
Title: Re: Notify Issue
Post by: Orstio on August 26, 2006, 07:17:43 PM
What are you getting in your notification email?  Can you copy one and paste it into a post so I can see?
Title: Re: Notify Issue
Post by: samyot on August 26, 2006, 08:07:54 PM
Problem with two sites, different versions.....

Site 1: SMF 1.1 RC2 using bridge 1.1.5 (Joomla! 1.0.10)
QuoteA new topic, 'Test', has been made on a board you are watching.

You can see it at
http://www.mytechsupport.ca/component/option,com_smf/Itemid,42/topic,11154.new"http://www.mytechsupport.ca/component/option,com_smf/Itemid,42/action,notifyboard/board,22.0/

Regards,
The MyTechSupport.ca Team.


Site 2: SMF 1.1 RC3 using bridge 1.1.6 (Joomla! 1.0.10)
QuoteA reply has been posted to a topic you are watching by admin.

View the reply at: http://www.mypcsecurity.ca/component/option,com_smf/Itemid,2/topic,20.new/topicseen,topicseen" http://www.mypcsecurity.ca/component/option,com_smf/Itemid,2/action,notify/topic,20.0"> http://www.mypcsecurity.ca/component/option,com_smf/Itemid,2/action,notify/topic,20.0
__

__
__More replies may be posted, but you won't receive any more notifications until you read the topic.
__
__
__Regards,
__The MyPCSecurity.ca Team.,>__The MyPCSecurity.ca Team."
Title: Re: Notify Issue
Post by: Orstio on August 26, 2006, 08:25:47 PM
Your first problem with SMF 1.1RC2 can be solved by performing this query in PhpMyAdmin:

INSERT INTO smf_settings
   (variable, value)
VALUES ('disableQuotedPrintable', '1');[/quote]
Title: Re: Notify Issue
Post by: samyot on August 26, 2006, 08:48:08 PM
Thank you, but I already ran it
Title: Re: Notify Issue
Post by: Orstio on August 26, 2006, 09:10:02 PM
I tried to register on your site, but this is all I got:

QuoteAn Error Has Occurred!

And, that recent posts module on your front page wouldn't happen to be from joomlahacks, would it?
Title: Re: Notify Issue
Post by: phil_roy on August 26, 2006, 10:59:17 PM
If samyot is using that module, could you see my plea here please...
http://www.simplemachines.org/community/index.php?topic=98134.msg677545#msg677545

I appreciate that for your sanity you are supporting only modules from here, but you had provided a solution for those of us choosing to use a diffrent module, but then deleted the fix. Is there a chance you could at least post the fix again as an "unsupported modfication" rather than forcing us to either use a module that doesn't display the way we want or else put up with an error......pleeeeease  :) :) :)

Phil
Title: Re: Notify Issue
Post by: samyot on August 27, 2006, 10:49:31 AM
Quote from: Orstio on August 26, 2006, 09:10:02 PM
I tried to register on your site, but this is all I got:

QuoteAn Error Has Occurred!

And, that recent posts module on your front page wouldn't happen to be from joomlahacks, would it?
I am having too many problems with the new bridge, so I went back to SMF 1.1 RC2 using bridge 1.1.5 (Joomla! 1.0.10) for Site 2 (mypcsecurity.ca). Now both sites are at the same level with the problem described for site 1. Both sites have the disableQuotedPrintable set to 1. I am using mod_smfRecentPostsv1.0.zip on my front page.

I also have the following problem with notification during registration (the activation link has ____Should at the end):
QuoteYou are now registered with an account at MyPCSecurity.ca, tester2!

Your account's username is tester2 and its password is xxxxx (which can be changed later.)

Before you can login, you first need to activate your account. To do so, please follow this link:

http://www.mypcsecurity.ca/component/option,com_smf/Itemid,2/action,activate/u,35/code,a4a7f5b42e____Should you have any problems with activation, please use the code "a4a7f5b42e".

Regards,
The MyPCSecurity.ca Team.
Title: Re: Notify Issue
Post by: Orstio on August 27, 2006, 01:52:53 PM
Try this?

http://www.simplemachines.org/community/index.php?topic=108743.msg701710#msg701710
Title: Re: Notify Issue
Post by: samyot on August 27, 2006, 02:10:16 PM
Looking good

QuoteA reply has been posted to a topic you are watching by admin.

View the reply at:
http://www.mypcsecurity.ca/component/option,com_smf/Itemid,2/topic,17.new/topicseen,topicseen"#new

Unsubscribe to this topic by clicking here:
http://www.mypcsecurity.ca/component/option,com_smf/Itemid,2/action,notify/topic,17.0
More replies may be posted, but you won't receive any more notifications until
you read the topic.
Regards,__The MyPCSecurity.ca Team."

Now the only thing left is the "#new" at the end, but I see others have this problem as well.

Is there a fix?

Thank you for all your help Orstio!  :D
Title: Re: Notify Issue
Post by: Orstio on August 27, 2006, 02:13:39 PM
I've updated the post.  Try it again?
Title: Re: Notify Issue
Post by: samyot on August 27, 2006, 02:18:17 PM
That did it! Thank you

What about the:
QuoteRegards,__The MyPCSecurity.ca Team."
Title: Re: Notify Issue
Post by: Orstio on August 27, 2006, 02:21:28 PM
I'll work on those yet.  Hopefully this is acceptable, for now?
Title: Re: Notify Issue
Post by: samyot on August 27, 2006, 02:27:52 PM
This seems to work for reply notifications but I will have to test post and registration notifications
Quotefunction 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 );
   $message = str_replace ('__', '
', $message );
   $message = str_replace ('"', ' ', $message);
   return true;
}

Thank you for all your help
Title: Re: Notify Issue
Post by: Orstio on August 27, 2006, 02:30:22 PM
   $message = str_replace ('"', ' ', $message);

See, that's one that I didn't really want to do, because it will cause problems if someone puts a double quote in their PM.
Title: Re: Notify Issue
Post by: samyot on August 27, 2006, 02:35:19 PM
Ok, I will remove for now and wait for a fix....

Thanks
Title: Re: Notify Issue
Post by: samyot on August 27, 2006, 02:43:39 PM
F.Y.I.

New Topic notifications look like this (Missing the "Unsubscribe to this..." part):
QuoteA new topic, 'test6', has been made on a board you are watching.

You can see it at
http://www.mypcsecurity.ca/component/option,com_smf/Itemid,2/topic,22.new http://www.mypcsecurity.ca/component/option,com_smf/Itemid,2/action,notifyboard/board,1.0

Regards,
The MyPCSecurity.ca Team."

Registration notification looks good and Topic Reply notifications have the quote at the end (but I can live with that)...
Title: Re: Notify Issue
Post by: Orstio on August 27, 2006, 02:48:44 PM
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 ('#new', '"#new', $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;
}
Title: Re: Notify Issue
Post by: samyot on August 27, 2006, 02:57:09 PM
Perfect! Thank you.

Topic Reply and New Topic are working fine!

My final code:
Quotefunction 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 ('#new', '"#new', $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 );
   $message = str_replace ('__', '
', $message );
   return true;
}
Title: Re: Notify Issue
Post by: phil_roy on August 27, 2006, 05:15:00 PM
Perfect for me too...thanks Orstio!

Phil
Title: Re: Notify Issue
Post by: alexasc on September 03, 2006, 08:12:56 AM
I had the same problem, but after changing the function, it works perfectly in Outlook. But in Gmail though, the link still don't work. Here is how it looks like:

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.entusiast.net%2Fmail.jpg&hash=4a82d95ecf36dc04c06a4f28860594ce6744a098)

You can see that a part of the header is included in the mail body, and that undercore (_) becomes =5F. Other special characters are also changed in this way.

I have seen this problem mentioned in other posts, but haven't really found a solution.

Any ideas?
Thanks
Title: Re: Notify Issue
Post by: skydig on September 03, 2006, 09:57:31 AM
Hello all,

If you find that notification emails show weird characters or if you see headers in the email like this:

QuoteMessage-ID: <[email protected]>

X-Mailer: SMF

Content-Type: text/plain; charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Vous venez tout juste de recevoir un message personnel de la part de admin sur Andraste .



IMPORTANT: Rappelez-vous que ceci n'est qu'une notification.  Ne r=C3=A9pondez pas =C3=A0 ce courriel.



Le message qui vous a =C3=A9t=C3=A9 envoy=C3=A9 est le suivant:



=C3=A0=C3=A0=C3=A9=C3=A0=C3=A9=C3=A0=C3=A9

=C3=A9=C3=A0=C3=A9=C3=A0



sdfsfs



R=C3=A9pondez =C3=A0 ce message personnel ici: http://www.andraste-guilde.com/forum/index.php=3Faction=3Dpm;sa=3Dsend;f=3Dinbox;pmsg=3D1917;quote;u=3D1

You can try to modify the following lines:

In Subs-Post.php file (located in SMF "Sources" folder):

Find:
Line 564
$headers = 'From: "' . $from_name . '" <' . (empty($modSettings['mail_from']) ? $webmaster_email : $modSettings['mail_from']) . ">\r\n";

Change to:
$headers = 'From: "' . $from_name . '" <' . (empty($modSettings['mail_from']) ? $webmaster_email : $modSettings['mail_from']) . ">\n";

Find:
Line 565
$headers .= $from !== null ? 'Reply-To: <' . $from . ">\r\n" : '';

Change to:
$headers .= $from !== null ? 'Reply-To: <' . $from . ">\n" : '';

Find:
Line 566
$headers .= 'Return-Path: ' . (empty($modSettings['mail_from']) ? $webmaster_email: $modSettings['mail_from']) . "\r\n";

Change to:
$headers .= 'Return-Path: ' . (empty($modSettings['mail_from']) ? $webmaster_email: $modSettings['mail_from']) . "\n";

Find:
Line 567
$headers .= 'Date: ' . gmdate('D, d M Y H:i:s') . ' +0000' . "\r\n";

Change to:
$headers .= 'Date: ' . gmdate('D, d M Y H:i:s') . ' +0000' . "\n";

Find:
Line 570
$headers .= 'Message-ID: <' . md5($scripturl . microtime()) . '-' . $message_id . strstr(empty($modSettings['mail_from']) ? $webmaster_email : $modSettings['mail_from'], '@') . ">\r\n";

Change to:
$headers .= 'Message-ID: <' . md5($scripturl . microtime()) . '-' . $message_id . strstr(empty($modSettings['mail_from']) ? $webmaster_email : $modSettings['mail_from'], '@') . ">\n";

Find:
Line 571
$headers .= "X-Mailer: SMF\r\n";

Change to:
$headers .= "X-Mailer: SMF\n";

Find:
Line 589
$headers .= 'Mime-Version: 1.0' . "\r\n";

Change to:
$headers .= 'Mime-Version: 1.0' . "\n";

Find:
Line 590
$headers .= 'Content-Type: multipart/alternative; boundary="' . $mime_boundary . '"' . "\r\n";

Change to:
$headers .= 'Content-Type: multipart/alternative; boundary="' . $mime_boundary . '"' . "\n";

Find:
Line 612
$headers .= 'Content-Type: text/plain; charset=' . $charset . "\r\n";

Change to:
$headers .= 'Content-Type: text/plain; charset=' . $charset . "\n";

Find:
Line 642
$mail_result = $mail_result && smtp_mail($to_array, $subject, $message, $send_html ? $headers : "Mime-Version: 1.0\r\n" . $headers);

Change to:
$mail_result = $mail_result && smtp_mail($to_array, $subject, $message, $send_html ? $headers : "Mime-Version: 1.0\n" . $headers);



This should work it out!
Title: Re: Notify Issue
Post by: alexasc on September 03, 2006, 10:55:05 AM
Great, now it works fine even in Gmail.

Thanks a lot  :D
Title: Re: Notify Issue
Post by: phil_roy on September 07, 2006, 07:02:31 PM
Orstio,

Does the code hack you posted also affect notification of account activation? I've just had a user send me a problem re registering and when I tried, I noticed a slight formatting issue with the email that came out. If you see below, the post notification is OK, with the exception of lack of line breaks...but the notification of account activation has a small issue.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.bluengrey.com%2Fnotification.jpg&hash=cc3352d72af3873ef0b8faa9cdbc8b439f8686af)

Phil
Title: Re: Notify Issue
Post by: Orstio on September 07, 2006, 07:29:39 PM
It will affect all outgoing emails, not just topic notifications.

It's odd that the line break is not cutting off the link...
Title: Re: Notify Issue
Post by: phil_roy on September 07, 2006, 07:44:50 PM
OK..yes very odd. Any suggestions?

Phil
Title: Re: Notify Issue
Post by: Orstio on September 07, 2006, 07:50:20 PM
In Login.english.php, find this:

$txt['register_activate_message'] = 'You are now registered with an account at ' . $context['forum_name'] . ', %1$s!' . "\n\n" . 'Your account\'s username is %2$s and its password is %3$s (which can be changed later.)' . "\n\n" . 'Before you can login, you first need to activate your account. To do so, please follow this link:' . "\n\n" . '%5$s' . "\n\n" . 'Should you have any problems with activation, please use the code "%4$s".' . "\n\n" . $txt[130];


Try this:

$txt['register_activate_message'] = 'You are now registered with an account at ' . $context['forum_name'] . ', %1$s!' . "\n\n" . 'Your account\'s username is %2$s and its password is %3$s (which can be changed later.)' . "\n\n" . 'Before you can login, you first need to activate your account. To do so, please follow this link:' . "\n\n" . '%5$s' . "\n\n" . '    Should you have any problems with activation, please use the code "%4$s".' . "\n\n" . $txt[130];
Title: Re: Notify Issue
Post by: phil_roy on September 07, 2006, 08:20:06 PM
Awesome! Works a treat! Thanks  ;)

Phil
Title: Re: Notify Issue
Post by: strati on November 02, 2006, 05:27:46 PM
There is another problem with email link!

In my email PM notification, there is link   www.site.com\pub\index.php?action=pm;sa=send;f=inbox;....

If I click on this link an error occure.

So I have changed that link with this www.site.com\pub\index.php?action=pm&sa=send&f=inbox&...

and all works correctly! I have changed ( ; ) with ( & )