Bookmarks and email

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
gigicop
Forum Members
Forum Members
Posts: 56
Joined: Thu Jun 23, 2005 5:10 pm
Location: Parma - Italy

Bookmarks and email

Post by gigicop »

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
Gigi
Akrabat

Re: Bookmarks and email

Post by Akrabat »

Looks like there's a bug in the code :)

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";
to

Code: Select all

				$body .= "Title: {$parameters[$id.'title']}\n";
				$body .= "Url: {$parameters[$id.'url']}\n";
				$body .= "Summary: {$parameters[$id.'summary']}\n";
Of course, this is only from a code inspection, I haven't actually tested it !
gigicop
Forum Members
Forum Members
Posts: 56
Joined: Thu Jun 23, 2005 5:10 pm
Location: Parma - Italy

Re: Bookmarks and email

Post by gigicop »

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
Gigi
peugeot-304

Re: Bookmarks and email

Post by peugeot-304 »

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
Post Reply

Return to “Modules/Add-Ons”