Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PMS to author directly from JEM via UddeIM #1814

Open
jojo12 opened this issue Aug 22, 2024 · 3 comments
Open

PMS to author directly from JEM via UddeIM #1814

jojo12 opened this issue Aug 22, 2024 · 3 comments
Labels
3rd 3rd party hint

Comments

@jojo12
Copy link
Contributor

jojo12 commented Aug 22, 2024

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 jojo12 added enhancement New feature or request help wanted Extra attention is needed 3rd 3rd party labels Aug 22, 2024
@jojo12
Copy link
Contributor Author

jojo12 commented Aug 22, 2024

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

@jojo12
Copy link
Contributor Author

jojo12 commented Aug 22, 2024

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
Copy link
Contributor Author

jojo12 commented Aug 26, 2024

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 jojo12 added hint and removed enhancement New feature or request help wanted Extra attention is needed hint labels Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3rd 3rd party hint
Projects
None yet
Development

No branches or pull requests

1 participant