Hi all!
I'm using Bookmark 1.3.1 with CMSMS 0.10 and it really works fine.
The only problem that I have is that, when I receive a message concerning a new bookmark submitted by a visitor, all the fields of the form are empty. Here is what what the message contains:
A new bookmark has been submitted.
Title:
Url:
Summary:
Title, URL and summary are not displaied in the message.
It's not really a problem because I can see these details in the control panel, but I would like to find a solution.
I'm sure that I'm doing something wrong, but what?
Thanks.
Gigi
Bookmarks and email
Bookmarks and email
Gigi
Re: Bookmarks and email
Looks like there's a bug in the code 
Try editing lines 1341 to 1343 and changing from:
to
Of course, this is only from a code inspection, I haven't actually tested it !

Try editing lines 1341 to 1343 and changing from:
Code: Select all
$body .= "Title: {$parameters[$module_id.'title']}\n";
$body .= "Url: {$parameters[$module_id.'url']}\n";
$body .= "Summary: {$parameters[$module_id.'summary']}\n";
Code: Select all
$body .= "Title: {$parameters[$id.'title']}\n";
$body .= "Url: {$parameters[$id.'url']}\n";
$body .= "Summary: {$parameters[$id.'summary']}\n";
Re: Bookmarks and email
Thank you very much for your message!
I think I did everything correctly, but it didn't work. I'll check more carefully and try again with the original file. In fact I translated it into italian, and I could have damaged it. Anyway I had the same problem with the original file as well.
Thank you again.
Bye.
Gigi
I think I did everything correctly, but it didn't work. I'll check more carefully and try again with the original file. In fact I translated it into italian, and I could have damaged it. Anyway I had the same problem with the original file as well.
Thank you again.
Bye.
Gigi
Gigi
Re: Bookmarks and email
Ths solution does work on my site:
Just edit following lines:
1395 $body .= $this->Lang("title"). ": {$parameters[$module_id.'bookmark_title']}\n";
1396 $body .= $this->Lang("url").": {$parameters[$module_id.'bookmark_url']}\n";
1397 $body .= $this->Lang("summary").": {$parameters[$module_id.'bookmark_summary']}\n";
Kind regards
Dieter
Just edit following lines:
1395 $body .= $this->Lang("title"). ": {$parameters[$module_id.'bookmark_title']}\n";
1396 $body .= $this->Lang("url").": {$parameters[$module_id.'bookmark_url']}\n";
1397 $body .= $this->Lang("summary").": {$parameters[$module_id.'bookmark_summary']}\n";
Kind regards
Dieter