Support > cpg1.5 email

Email users on new comments

<< < (2/10) > >>

Αndré:

--- Quote from: EC on March 02, 2011, 12:36:37 pm ---the title which gives null result.

--- End quote ---
Try to replace

--- Code: ---$title = $picture[0]['title'] ? $picture[0]['title'] : $picture[0]['filename'];
--- End code ---
with

--- Code: ---$title = $picture[0]['title'] != '' ? $picture[0]['title'] : $picture[0]['filename'];
--- End code ---

EC:
:-( It doesn't work

Αndré:
Please post some information if you expect help:
- Post the content of the received mail
- Post a link to the picture you tested
- Does the picture you're testing with has a title?

EC:
I'm sorry. I made a stupid mistake. The first picture I tested has a simple title "...".
I use a picture with a title and your code works, and it returns correctly a message

La tua foto 'Punti di vista' ha ricevuto un nuovo commento. Puoi leggerlo al link seguente http://www.fotonicamente.it/Gallery/displayimage.php?pid=5193


thanks again
elena

lurkalot:
Andre, thanks.  Tested and working. 

Shame about users not being able to turn them Off / On though..  I don't think I'll be able to use this mod without.  Some members won't want to get emails.

Believe me, if I had a clue about coding a plug then I would in a flash.  I'll see if one of my coder friends can sort this for me, and report back. ;)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version