webmark487
Forum Replies Created
-
Forum: Plugins
In reply to: [Events Made Easy] Email notification after an event is addedit works now
In the E-Mail settings I switched from SMTP to PHP mailfunction now …
And use the following code:
add_action(’eme_insert_event_action’,’eme_mail_event’); function eme_mail_event ($event) { $from_email = "[email protected]"; $from_name = "Markus1"; $to_email = "[email protected]"; $to_name = "Markus2"; $subject_format=”This is the new event called ‘ #_EVENTNAME ‘”; $body_format=”This is the new event called ‘ #_EVENTNAME ‘”; $subject=eme_replace_placeholders($subject_format, $event, “text”); $body=eme_replace_placeholders($body_format, $event, “text”); eme_send_mail($subject,$body, $to_email, $to_name, $from_email, $from_name); }
- This reply was modified 5 years, 5 months ago by webmark487.
Forum: Plugins
In reply to: [Events Made Easy] New events are not in draft statusOk, so this initial state configuration does only work for events created in the backend, not in the frontend (with shortcode [emefs_submit_event_form])?
Forum: Plugins
In reply to: [Events Made Easy Frontend Submit] Email notification after an event is addedHi,
I referred to https://www.e-dynamics.be/wordpress/category/documentation/12-hooks-and-filters/
and inserted into the themes functions.php the following code:
add_action('eme_insert_event_action','eme_mail_event'); function eme_mail_event ($event) { $contact = eme_get_event_contact ($event); $contact_email = $contact->user_email; $contact_name = $contact->display_name; $subject_format="This is the new event called ' #_EVENTNAME '"; $body_format="This is the new event called ' #_EVENTNAME '"; $subject=eme_replace_placeholders($subject_format, $event, "text"); $body=eme_replace_placeholders($body_format, $event, "text"); $blogusers = get_users(); foreach ( $blogusers as $user ) { eme_send_mail($subject,$body, $user->user_email, $user->display_name, $contact_email, $contact_name); } }
but unfortunately I don′t receive an email …
May the theme be the problem? Does the theme have to provide something?
Best regards and thank you,
MarkusForum: Plugins
In reply to: [Events Made Easy] Event links to open in new tabHere is the answer to my question:
Events Made Easy/Settings/Events/Default event list format:
<li>#_STARTDATE #_STARTTIME - #_ENDDATE #_ENDTIME<br /><a href="#_EXTERNALURL" target="_blank" rel="noopener noreferrer">#_EVENTNAME</a><br />#_TOWN</li>
instead of:
<li>#_STARTDATE #_STARTTIME - #_ENDDATE #_ENDTIME<br />#_LINKEDNAME<br />#_TOWN</li>
- This reply was modified 5 years, 5 months ago by webmark487.
Forum: Plugins
In reply to: [Widget Logic] filter subcategories does not work in “Category Sidebar”it is a problem, because it is wrong – and the first post cannot be edited – I cannot delete posts by myself, even if they are obsolete
so, this post should be deleted (archived), not the new one (https://www.ads-software.com/support/topic/filter-subcategories-does-not-work-in-single-post-sidebar/)
thx
- This reply was modified 5 years, 6 months ago by webmark487.
Forum: Plugins
In reply to: [Widget Logic] filter subcategories does not work in “Category Sidebar”Oh, I am sorry.
I meant, it doesn′t work in “Single Post Sidebar”
in_category( ‘2’ ) works, but I would have to list all the categories (inkl. child categories), this is not as elegant as the other conditional tag.
By the way, this is a conditional tag (like described here: https://codex.www.ads-software.com/Conditional_Tags) and it shows a widget, when a post with the category 2 or one of its child categories is displayed.
The Title is also wrong, I will mark this as solved but create a new forums entry (https://www.ads-software.com/support/topic/filter-subcategories-does-not-work-in-single-post-sidebar/).
Please feel free, to delete this post at all (if you are capable of doing so).
- This reply was modified 5 years, 6 months ago by webmark487.
Forum: Plugins
In reply to: [Better Search - Relevant search results for WordPress] language?I was able to do it with https://localise.biz/free/poeditor
Forum: Plugins
In reply to: [Better Search - Relevant search results for WordPress] language?i created a better-search-de_DE.mo and uploaded it to the language folder, but it didnt work ??
Within the better-search-de_DE.po file I substituted “Language: en_US\n” with “Language: de_DE\n”
- This reply was modified 5 years, 7 months ago by webmark487.
Oops, you′re right.
Forum: Plugins
In reply to: [Events Made Easy] Filter past events (> 5 days)ok, the reason is, that there is also an enddate for this event, which is in the future
thank you
Forum: Plugins
In reply to: [Events Made Easy] Filter past events (> 5 days)Hi Franky,
Thank you for your quick response.
Unfortunately scope-parameter doen′t seem to work for me, I also tried the following:
[eme_events scope=future]
Also didn′t work. There are still events from the past in the list.The limit parameter for example is working.
Is there any additional config I have to take?
Best, Markus
One trick that did it now for me (as described in https://www.ads-software.com/support/topic/known-compatibility-issues-common-questions-and-how-to-report-bugs/):
The editor area is very small.
Themes/plugins are encouraged to provide editor styles to better represent how the content will appear on the front end. The default width is just that, a default value that works well for readability in the majority of cases.If your theme does not provide styles, you can add them your self using a plugin, or by adding a simple code snippet to your functions.php file:
function wp436784723890_expand_gutenberg_edit_area() { ?> <style type="text/css"> .edit-post-visual-editor .editor-post-title__block, .edit-post-visual-editor .editor-block-list__block { max-width: 1024px; } </style> <?php } add_action( 'admin_head', 'wp436784723890_expand_gutenberg_edit_area' );
BTW, I put this into the functions.php of my child-theme!
This also affects the width of the plugin “Gutenberg Blocks – Ultimate Addons for Gutenberg”!
Hello,
Thank you very much for your response.
Unfortunately I don′t know where to place this CSS. It doesn′t work, when I put it into the theme child style.css.
Should I place it in some plugin css file?
Best regards, Markus
Forum: Plugins
In reply to: [Events Made Easy Frontend Submit] Language?cool, works perfect, thxalot!
Forum: Plugins
In reply to: [Max Mega Menu] Disable hover at second level menuwow. cool. that works! thanks a lot!!
- This reply was modified 7 years, 1 month ago by webmark487.
- This reply was modified 7 years, 1 month ago by webmark487.