JEM-Project icon indicating copy to clipboard operation
JEM-Project copied to clipboard

PMS to author directly from JEM via UddeIM

Open jojo12 opened this issue 1 year ago • 3 comments
trafficstars

Actually the author is a joomla contact where you can use a contactform to mail to the author, I found in FAQ_Uddeim.pdf the following:

13.16 Eventlist Is there a way that members can contact the author by clicking on an uddeIM link. Yes, add this to views/details/tmpl/default.php: echo '<a href="index.php?option=com_uddeim&task=new&recip='. (int)$this->item->created_by.'">PM</a>';

EDIT: in the PDF there is ->row->created_by. This gave me errors: I had to change ->item->created_by

Because uddeIM 5.6 is nearby actualized, I would like to add this. But how?

EDIT 2: there is possible to add predefined text like: now you may write this /index.php?option=com_uddeim&task=new&recip=63&pm=Frage zu deiner Veranstaltung you may also use bbcodes: eg. &pm=[b]Frage zu deiner Veranstaltung[/b]

so now the "Frage zu deiner Veranstaltung" should appear at beginning of the textarea input field`

jojo12 avatar Aug 22 '24 11:08 jojo12

Then it would be good, to add eventtitle, date and venue, before users text. How to add this?

jojo12 avatar Aug 22 '24 13:08 jojo12

additional: Open new message dialog to user with username XX (this is independent from realname/username setting): http://yoursite/index.php?option=com_uddeim&task=new&runame=XX [&nouserlist=Y] when a user with username XX does not exist, XX is used untranslated in the input field, so you can also use "name 1,name 2" or "#userlist" as parameter (note: multiple recipients feature do not work with SEF). nouserlist parameter (optional): 1 = suppress user list, 2 = suppress connection list, 3 = suppress both lists add +4 when the TO field should be disabled e.g. 4 = disable TO field only, 5 = suppress user list AND disable TO field, and so on

jojo12 avatar Aug 22 '24 14:08 jojo12

My solution now: echo '<a href="index.php?option=com_uddeim&task=new&recip='. (int)$this->item->created_by.'&nouserlist=7&pm=Frage zu '. $this->escape($this->item->title). " am ". $this->item->dates . " um " . $this->item->times. '"> PM</a>'; in my case I get a PM grafik and I can add my question to the author

jojo12 avatar Aug 26 '24 15:08 jojo12