Posted by Florian

RS EVENT multiday

Description | Functions | Parameters | Installation | Comments

For the latest stable release (Version 1.2), please see the plugin directory at wordpress.org

Please, consider to make a donation to support this plugin.

“RS EVENT multiday” is a WordPress-Plugin to show events on your blog. It is based on RS EVENT by Robert Sargant. This new version can also deal with events, that last for several days. Furthermore, it offers four different output formats.

Latest version: 1.2


The WordPress-Plugin “RS EVENT multiday” can be downloaded at the Plugin Directory of wordpress.org:

RS EVENT multiday at wordpress.org



Webspace preiswert! - Alfahosting.de


Description

“RS EVENT multiday” is a modification of “RS EVENT” by Robert Sargant.

The plugin offers the possibility to add a “RS EVENT multiday” widget to the sidebar of your blog. It allows you to show a list of upcoming and/or past events.

“RS EVENT multiday” includes three different functions, which can be used in templates. rs_event_list(), rs_event_post(), rs_event_id()


FUNCTIONS

  1. rs_event_list()
    This is the function used for the widget. Of course, it can be used in templates as well. It prints an unordered list of events according to the parameters given to it (see below). Both, the ul-tag and the li-tag include class=”rsevent”, so you can costumize the output with stylesheets. Furthermore, the output can be customized with the parameters “html_list_v1″, “html_list_v2″, “html_list_v3″ and “html_list_v4″.
    For details see the parameters-section below.

  2. rs_event_post()
    This function should be used in the single-post-template (usually the file single.php of your theme) inside the Loop. It prints the date of the event. The output can be customized with the parameters “html_post_v1″, “html_post_v2″, “html_post_v3″ and “html_post_v4″.
    For details see the parameters-section below.

  3. rs_event_id()
    This function returns an array with IDs of posts, which include event-data. This array of IDs can then be used in other functions.

Each function can be customized by parameters.


PARAMETERS

title
(string) The widget-title in your sidebar. Not used, when the function is added to a template.
default value: ‘Upcoming Events’

timespan
(integer) The maximum distance into the future events will be retrieved for, in days.
default value: 365

history
(integer) The maximum distance into the past that events will be retrieved for, in days. This can also be set to a negative negative number, e.g. -2 to prevent events that are occuring in the next two days from appearing.
default value: 0

date_format_1
(string) The style in which the date is formatted. date_format_1 is Used for single-day events, for end date of multi-day events within the same year, for start date and end date of multi-day events not within the same year. Note: ‘second’ cannot be entered for event time and must not be used because of variable $fake_second (used to mark empty time value.
default value: ‘d.m.Y’

date_format_2
(string) The style in which the date is formatted. date_format_2 is used for start date of multi-day events within the same year.
Note: ‘second’ cannot be entered for event time and must not be used because of variable $fake_second (used to mark empty time value.
default value: ‘d.m.’

time_format
(string) The style in which the time is formatted.
default value: ‘H:i’

html_list_v1
(string) Used for rs_event_list(). Formats the output, if first date and time of an event is entered with “multi-day”-option off.

html_list_v2
(string) Used for rs_event_list(). Formats the output, if first date but no time is entered with “multi-day”-option off; if %TIME% is used here anyway (which usually does not make any sense), output of %TIME% equals “–:–”.

html_list_v3
(string) Used for rs_event_list(). Formats the output, if “multi-day”-option is on and first date and end date is entered.

html_list_v4
(string) Used for rs_event_list(). Formats the output, if “multi-day”-option is on but no end date is entered.

html_post_v1
(string) Used for rs_event_post(). Formats the output, if first date and time of an event is entered with “multi-day”-option off.

html_post_v2
(string) Used for rs_event_post(). Formats the output, if first date but no time is entered with “multi-day”-option off; if %TIME% is used here anyway

(which usually does not make any sense), output of %TIME% equals “–:–”.

html_post_v3
(string) Used for rs_event_post(). Formats the output, if “multi-day”-option is on and first date and end date is entered.

html_post_v4
(string) Used for rs_event_post(). Formats the output, if “multi-day”-option is on but no end date is entered.

max_events
(integer) The maximum number of events to show. If this is set to 0, then all events will be shown.
default value: 0 (i.e. show all)

group_by_date
(integer) If this is set to No (value: 0), then each event will be separated into individual list element. If this is set to Yes (value: 1), then the Date Formatting is checked for each post. Events with the same Date Formatting value are grouped together in a single li-element, with the date first and subsequent posts separated by break rules (br-tag). By setting the Date Formatting to different values, you can group by different date properties, e.g. use “Y” to group by year, or “W Y” to group by week.
default value: 0 (i.e. “no”)

no_events_msg
(string) The output when the are no events within the set timespan.
default value: ‘no upcoming events’

sort_order
(string) Whether to list the events in ascending (value: ‘ASC’) or descending (value: ‘DESC’) date order.
default value: ‘ASC’

category
(integer) Show only events listed against posts in the category with this ID number. If this is set to 0, then all events will be shown.
default value: 0 (i.e. show all)


Customizing the html-output

The values “html_list_vX” and “html_post_vX” can be styled both for the widget and within templates. Simply use html-code and the following parameters:

%URL% the URL of the post with the event

%DATE% the start-date of the event, formatted as date_format_1 in _v1, _v2 and _v4 and as date_format_2 in _v3.

%ENDDATE% the end-date of the event, formatted as date_format_2

%TIME% the event time, formatted as time_format.

%TITLE% the title of the post.

%LOCATION% the location of the event or any other information you might want to add

%FULLTEXT% the entire text of the post.

%EXCERPT% the post excerpt.



Installation

This section describes how to install the plugin and get it working.

  1. Download the zip-file and unpack it.
  2. Upload the folder rs-event-multiday to the /wp-content/plugins/ directory of your blog.
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Add the Widget “RS EVENT multiday” to your sidebar and customize it AND/OR
  5. Place the function rs_event_list(), rs-event-post() and/or rs-event-id() in your template(s) and customize it.

See “Description” for details.


**************************************************************
Copyright 2009  Florian Meier  (email : fm-web@dalking.de)


This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see http://www.gnu.org/licenses/.

**************************************************************

Subscribe to Comments

275 Responses to “RS EVENT multiday”

  1. Thanks so much for the fantastic plugin! I’ve been looking for something just like this for a long time.

    I am integrating it into a Thematic child theme, which means I can’t touch my template files. Therefore I need to wrap rs_event_post() into a function to get it to display on my on my single.php template. I have this working, but had to edit your files to return the output of this function, rather than echo it.

    I’d be happy to send you my edits if you’re interested. Thanks again for the great plugin!

     

    Michelle

  2. @Michelle
    Thanks for your edits. I think about incorporating them into the next version!

     

    Florian

  3. Hallo Florian,
    bin gerade auf Dein Plugin gestoßen und habe es installiert.
    Nur, wie kann ich Events darin eintragen?
    Ist es korrekt, dass das Plugin nicht unter “Einstellungen” oder an vergleichbarer Stelle angezeigt wird und ich entsprechende Einstellungen vornehmen kann?
    Herzliche Grüße,
    Jan

     

    Jan

  4. Hi.

    I’m not very good at this. Anyhow, I have installed and activated the plugin. But the event-list only shows when I’m logged in as my user (doesn’t show when logged out).

    What could be wrong? Suggestions? I want the events to be visible to anyone who enters the page :)

     

    Risington

  5. @Jan
    It is correct. The plugin does not show up under “Settings” (Einstellungen), since the plugin is much easier to handle :-)
    Just edit any post (or start “new post”) and you should find a RS Event meta box among all the other panels (e.g. custom fields, discussion, excerpt). Open it and enter any date. Save the post and that is it. The post should now show up in your list or your widget, if it fits the parameters.

     

    Florian

  6. @Risington
    Well, the reasons for that problem can be quite complex. However, I have just been at http://www.risington.no/ and I could see the upcoming events as a widget in your sidebar. Since I was not logged in, it seems the problem is solved. If you want to post any further information on the problem or on the solution on this site, I would be very grateful.

     

    Florian

  7. Super Plugin! I have tried many things before and that’s it!!!
    Where can I change the missing translations e.G. “no upcoming events” in a list or “read more” which I cannot find in the delivered *po-file. Please help. Should I mess with the *.php-file?

     

    Tim

  8. Hi,

    after Deleting Event of the Post it gives me following Error:

    Warning: gmdate() expects parameter 2 to be long, string given in /homepages/17/d34765588/htdocs/jusos/wp-content/plugins/rs-event-multiday/rs-event-multiday.php on line 568

    Vielen Dank für das Plugin
    Stefan

     

    Stefan

  9. Any ideas to kill the mistake?

    by the way,

    in your readme.txt is a mistake there is

    ‘date_format_1′ => ‘m|d|Y’,
    ‘date_format_2′ => ‘m|dd. m.

    ‘html_list_v1′ => ‘%DATE%, %TIME%%TITLE%‘,

    after:
    ‘date_format_2′ => ‘m|dd. m.

    we need a ‘,

    Greetings
    Stefan

     

    Stefan

  10. @Tim
    Hmm, I just had a look at the German .po-File again and I found a translation for “no upcoming events”. However, there is none for “read more”. This is, because “read more” is just part of a default value. You can change the values easily:
    1. If you use RS EVENT multiday as a widget, just go to the widget control panel and change the values there.
    2. If you use RS EVENT multiday in your template, just pass on some variables. Here is an example:

    < ?php
    $argsevent = array(
    'html_list_v1' => ‘%TITLE% < a href="%URL%">weiterlesen< /a>‘,
    ‘html_list_v2′ => ‘%TITLE% < a href="%URL%">weiterlesen< /a>‘,
    ‘html_list_v3′ => ‘%TITLE% < a href="%URL%">weiterlesen< /a>‘,
    ‘html_list_v4′ => ‘%TITLE% < a href="%URL%">weiterlesen< /a>‘,
    ‘no_event_msg’ => ‘hier gibt es zur Zeit nix’,
    ‘max_events’ => 4,
    );

    rs_event_list($argsevent);
    ?>

     

    Florian

  11. @Stefan
    First of all, thanks for showing me the mistakes at the readme-file. I see, that I messed up the whole line :-(
    I will correct them as soon as possible.

    Now, to your problem: I would need some further information. Can I have a look at your site? What is your URL?
    Do you use RS EVENT multiday as a widget or as part of your template? Do you pass on any user definied parameters to the plugin?

     

    Florian

  12. Hi Florian,

    thanks for the fast respondence.

    The Site is the developement of Jusos Nuernberg, it´s

    http://jusos-nuernberg.de/index.php?wptheme=entwicklung

    There is a switch in the url, that wptheme= thing. You see the correct Version if you see your Plugin on the right, first of the sidebar.

    Beginning with a “ZZZXX”, ending with “XX” (marks just for me…)

    if not, you´re browser gives your the “produktion”.

    I use it as part of the template, it´s something like

    $argsevent = array(
    ‘timespan’ => 60,
    ‘date_format_1′ => ‘m|d|Y’,
    ‘date_format_2′ => ‘m|dd. m.’,
    ‘no_events_msg’ => ‘Keine Termine eingetragen’,

    ‘html_list_v1′ => ‘%DATE% um %TIME% Uhr %TITLE%‘,
    ‘html_list_v2′ => ‘%DATE% %TITLE%‘,
    ‘html_list_v3′ => ‘%DATE% bis %ENDDATE% %TITLE%‘,
    ‘html_list_v4′ => ‘%DATE% (mehrtägig)%TITLE%‘,
    );

    rs_event_list($argsevent);

    this. But after your answer I tried out with rs_event_list(); only, but it didn´t work neither.

    In my opinion it hasn´t got anything to do with the kind of implementation on the site, because before i delete the time of event in some posts it works.

    Thank you
    Stefan

     

    Stefan

  13. It´s definitely about deleting of Event at post. I killed the Errormistake by edit post and reset that Event

     

    Stefan

  14. Thanks Stefan. Indeed, there has been a bug. I wonder if I have ever deleted an event myself?! Why didn’t I notice it myself?!
    Nevertheless, I think I have solved the problem and you (and all the others) can download the new latest version of RS EVENT multiday (1.0.1) above.

     

    admin

  15. Hi! Real good plugin, may be in next version will be a good calender, that could show multi-day events?

     

    Jerzy Stanislavski

  16. I would love to have a calendar in my plugin. However, I fear I have no idea how the code might look like for the calendar. If anyone can help me with that, I would be more than happy.

     

    admin

  17. Hi, I don’t know if you are aware but the original RS Event was heavily used in the themes created by Tim @ LivingOS. When it was clear that it was no longer being updated and didn’t work with recent versions of WP I took it upon myself to bring it up to date and also add a few minor enhancements. Tim kindly republished the plugin back on his site for the benefit of the community.

    The things I fixed were – 2.7 compatibility, preset current year, allow for no time set, a bug in the time zone code and keep todays events visible until the day is ended.

    The enhancements you have made look very interesting (I have not taken a close look yet) and, I suspect, more substantial than that. It would make sense if we merged the two versions., what do you think?

     

    Rick

  18. @Rick
    Thanks for your message. Please, have a close look at the code and especially at the changelog.txt. Then, you should see, that RS EVENT multiday bases on Version 0.9.7 as it is puplished on LvingOS.
    So I think, the two versions are merged already.
    If you have any new ideas for future versions of RS EVENT multiday, feel free to contact me. The only thing I want to avoid is the same mess we had with RS EVENT, when a number of developers worked on the plugin and just published it anywhere on the internet, most of the time not using a new name or even a new version-number (I found the RS EVENT Plugin on at least 4 different pages in 3 different versions). That is why it was very important to me to register RS EVENT multiday at the plugin database of wordpress.org.

     

    admin

  19. Hi Florian – I have had a chance to look at it and try it out and it is absolutely GREAT. The only thing that confused me was that you had changed the default formats. I will let Tim know to drop my version and point to yours on the WP download site. Then there won’t be quite some many competing ones to confuse people.

    A few small suggestions.

    The readme.txt needs cleaning up to remove leftover HTML.

    On the edit post page multi-day event could be a check box.

    It could be clearer that Time is not relevant for multiday events.

    The new-line before the year selector is not needed.

    The descriptions of the date and time formats are not clear. I think what they should say is

    **date_format_1**
    *(string)* The style in which the date is formatted. date_format_1 is Used for single-day events, for the end date of multi-day events and for the start date of multi-day events if the two dates are NOT within the same year.
    *default value: ‘d.m.Y’*

    **date_format_2**
    *(string)* The style in which the date is formatted. date_format_2 is used for the start date of multi-day events if the two dates are within the same year.
    *default value: ‘d.m.’*

    **time_format**
    *(string)* The style in which the time is formatted.
    Note: ‘second’ cannot be entered for event time and must not be used because of variable $fake_second (used to mark empty time value.
    *default value: ‘H:i’*

    In practice I would prefer single day events to use date_format_2 unless one or both dates are not THIS year, but that may just be my personal preference.

    Finally, an example of using rs_event_post would be helpful – I did get it to work but it took a couple of attempts.

    Thanks for a first class plugin and the work you have put into it. An extensive example of it in use can be seen at http://stmatthews-bristol.org.uk/ where it is used twice on the sidebar, two sections under What’s on and in the Resources ==> Event archives. It is the old version at the moment but I am working on putting in your improved version as soon as I have completed the testing.

     

    Rick

  20. It’s not so hard to find free calendar code… but i don’t know what data type using wordpress… and where calendar must search information… look for GNU code in ajax calendar (might be found in plugins directory)

     

    Jerzy Stanislavski

  21. Hallo Florian,

    ich vermute du sprichst deutsch, der TLD nach zu urteilen. Ich habe eine Erweiterungsbitte:

    1: Essentiell bei einem Date ist oft auch die Lokalität – ich administriere mehrere Seiten, bei allen mit Dates hab ich ein Meta Feld mit Namen “Location”, in das die Location eingegeben werden kann.
    Sowohl bei den alten Versionen als auch bei deiner füge ich dann einfach die Zeile:
    ‘%LOCATION%’ => get_post_meta($event->id, ‘Location’, True),
    im replacements Array ein – und ich kanns simpel ausgeben.
    Auch dieses andere große Event Plugin, dass ich aus anderen Gründen nicht verwende, nutzt die Syntax mit “Location”.
    Super wärs also, diesen Filter einzubauen – er sollte Leute nicht stören, die es nicht verwenden. Dann muss ich nicht bei Updates jedesmal die Zeile einfügen =)
    Aber vielleicht könnte man das dynamisch machen, dass das Plugin zb. bei allen unbekannten %VARIABLEN% automatisch nach einem passenden Metafield sucht – damit könnte man flexibel bleiben und noch viele andere Sachen ermöglichen.

    2. Ich habe eine “References”-Seite, auf der ich vergangen Events, zb. die letzten 10, auflisten will – nur geht das weder mit dem Original noch mit deiner Version.
    Wenn ich History auf 9999, timespan auf 0, Limit auf 10 stelle, dann gibt er mir die 10 ältesten, nicht die 10 letzten Events aus.
    Damit das geht, muss man die Zeile 506 nach Zeile 538 verschieben, und auf den querystring2 ändern, also:

    if($max_events != 0) { $query_string2 .= ” LIMIT {$max_events}”; }

    Bisher hab ich keine Fehler feststellen können, sollte man aber noch ausführlich testen.

    Würde mich sehr freuen, wenn die beiden Verbesserungen in der nächsten Version wären =)

    Danke für deine Aufmerksamkeit,
    lg,
    Thomas

     

    Pampfelimetten

  22. @Thomas (Pampfelimetten)
    (Tja, ich spreche tatsächlich deutsch, bevorzuge aber trotz aller sprachlichen Schwächen, meine comments hier auf Englisch zu verfassen, da sich das Plugin ja mittlerweile international großer Beliebtheit erfreut. Werde das nun auch in diesem Fall machen, aber ich denke, du kommst damit klar.)

    I like your idea with the new “location” option. I think I might add it in version 1.2. I am already working on it, but the release might still take another few weeks, since I am pretty busy at work at the moment.

    What you mention under number 2 of your comment might be right. I will have a close look at it and see what I can do.

     

    admin

  23. I am using your plugin on this page: http://www.richtig-rot.net. Everytime an event is the last post in the blog, it shows up a blank page. Only the “Prev Link” apears on the frontpage. What did I do wrong?

     

    Jörn Vanselow

  24. @Jörn Vanselow
    I am sorry, but I have no idea what might be wrong, here. Can you please post the code you use at your index.php to show the events. Or just send it to me via email. You can find the address at “Impressum”.

     

    admin

  25. Hi!

    ich hab dein plugin auf meinem lokalen testblog installiert, obwohl ich wp version 2.8 nutze. scheint alles zu funktionierten, bis auf die tatsache, dass er nur “no upcoming events” anzeigt, obwohl ich in einem artikel das meta feld ausgefüllt habe.

    Hast du irgendwelche Infos von Users die es schon mit WP 2.8 probiert haben? Wäre über Hinweise sehr dankbar, da ich zur Zeit noch Posts und Events getrennt verwalten muss (Plugin: EVENTS) und jedesmal quasi die doppelte Arbeit habe…

    LG
    Daniel

     

    Daniel

  26. edit:

    das “privat” attribut ist das problem…gibt es eine möglichkeit auch private gekennzeichnete posts als event anzuzeigen?

     

    Daniel

  27. @Daniel
    I just had a look at pokerfisch.info and it seems to me, that you have already solved the problem yourself. As I clicked on the links at the rs-event-widget, I could not get to any page.
    Now, just change the settings at the widget panel in the backend and remove the %URL% from the output settings.
    It would be great, if you can post the solution for your problem here.

     

    admin

  28. Hi, Florian.

    Congratulations on a useful plugin.

    Would you consider adding one line of code to make it compatible with Role Scoper?

     

    Kevin Behrens

  29. I have translate “read more” in the Sidebar Widget in my language. But on Multiday Events it still shows “read more”. where is that? In the “event-rs-multiday.php” i do not find!?

     

    Gabriel

  30. @Gabriel,

    as usual, I would need some more information. Can you please give me the URL of your homepage, where you use my plugin. And can you please send me all the settings you made at the sidebar widget panel.

     

    admin

  31. Hi Florian,

    ich habe viele, viele Termine.
    Ich würde gern eine Übersichtsseite machen, in welcher man künftige termine monatsweise anklicken kann:

    Termine im Januar
    Termine im Februar
    Termine im März
    usw.

    hast Du eine Idee für eine Lösung?

    Tschüß
    Nepf

     

    nepf

  32. Hi Florian,
    thanks for this plugin!
    I like it especially, because the data is saved in the postmeta table. I would try to combine your plugin with the TDO-Mini-Forms-Plugin, which allows to post directly from Homepage – not only from the admin-dashboard.
    Do you have a description; how to produce the meta_values for the _rs_event_start, _rs_event_array and _rs_event_ts in postmeta-table?
    Additionally to the event-location (Thomas / Pampfelimetten mentioned) it might be helpfull to have a field “event-webpage” to link to an external webpage of the event.
    Thanks
    Bernhard

     

    Bernhard

  33. I am sorry, that I did not answer immediately, but I was away for holidays.

     

    admin

  34. @nepf
    Irgendwie denke ich grad vermutlich wieder viel zu kompliziert, aber ich komm grad nur auf Lösung, die wahnsinnig aufwendig sind hinsichtlich Datenbank abfragen. Denn leider ist ja das Datum und somit das Monat nicht einfach so in der Datenbank hinterlegt. Aber hier mal ein erster Gedanke:
    Einfachste Lösung (wenn auch mit etwas Aufwand verbunden) wäre, wenn du (1.) zusätzlich zum Einstellen eines Termins noch ein Costum Field (=Benutzerdefiniertes Feld) eingibst. Beispiel für einen Termin im Oktober 2009 Name: eventmonth, Wert: 1009. Beispiel für Termin im im Februar 2010 Name: eventmonth, Wert: 0210.
    Wenn du immer nur Termine innerhalb der nächsten 12 Monate angeben willst, kannst du auf die Jahreszahl ja sogar ganz verzichten.
    (2.) Dann musst du dir für jedes Monat eine eigene Seite mit eigenem template oder eine Seite mit unterschiedlichen Abschnitten (HTML-Anker) mit ebenfalls eigenem template erstellen.
    (3.) Im template führst du dann erstmal die Funktion rs_event_id() aus und holst dir damit erstmal die ID’s der einzelnen Artikel mit Terminen. Dabei kannst du ganz normal alle Paramter benutzen. Die ID’s speicherst du dann am besten in einer Variablen.
    (4.) Dann kommt ein Loop oder eben ein ganz klassischer WP-Abruf von Aritkel aus der Datenbank. Hier benutzt du die Variable aus 3. und nennst dann als weitere Bedingung, dass eben da costom-field einen bestimmten Wert haben muss. Bin grad nicht voll im WP-Denken drin, so dass ich nicht ganz fit bin, was Datenbank-Abfragen im Loop oder auch außerhalb des Loop betrifft, aber unter codex. wordpress.org findest du sicher Antworten.

    Soweit nun mein erster, zugegeben etwas komplexer Vorschlag. Eine Alternative wäre, wenn du die DB-Abfrage mit dem von RS EVENT multiday erstellten Custom Field Wert _rs_event_array steuerst. Einfacher wird das aber sicher nicht, höchstens vielleicht eleganter.

    Wenn mir noch was einfällt, meld ich mich.

     

    admin

  35. @Bernhard
    Thanks for your good ideas. I think about adding options for a event-webpage with the next release of RS EVENT multiday.
    The meta-values of RS EVENT multiday are set in the function rs_event_save of the plugin (line 360 to 425).
    You get further information on setting meta-values with WordPress in the codex: http://codex.wordpress.org/Function_Reference/add_post_meta

    If the meta-value starts with _ (e.g.: _rs_event_start), the value is not visible at the edit panel of posts under custom fields.

     

    admin

  36. Hi Florian,
    Urlaub muss sein!
    Der letzte Absatz deiner Antwort @nepf berührt meine Frage, wie die Werte für die _rs_event-Schlüssel gebildet werden.
    Die _rs_event_start und_rs_event_ts sind kann man sich wahrscheinlich direkt aus dem Datum (und der Uhrzeit??) errechnen? Für mich schwierig wirds beim Array.Welche Funktion benutzt du dafür?
    Danke – Bernhard

     

    Bernhard

  37. @Bernhard
    Naja, dass mit dem Errechnen von Datum und Uhrzeit ist nicht so ganz einfach, da sie mit der PHP-Funktion gmdate (siehe v.a. Zeile 574ff.) bzw. gmmktime (z.B. Zeile 390f.) umgewandelt sind und daher immer erst rückgewandelt werden müssen (vgl. z.B. Zeile 142). Soviel zu den Werten von Uhrzeit und Datum.
    Was nun die einzelnen Werte betrifft, so sieht es wie folgt aus:

    (1.) _rs_event_start: Enthält den Wert für den Beginn von Datum und Uhrzeit des Events. Wird als einzelner Value benötigt, da die Events danach sortiert werden. Umgewandelt durch gmmktime (Zeile 391)

    (2.) _rs_event_ts: Enthält entweder Datum und Uhrzeit des Beginns des Events ODER Datum und Uhrzeit des Endes des Events, je nachdem, ob der Event mit Beginn oder mit Ende der Veranstaltung aus der Liste geworfen werden soll. Daher ist auch hier ein eigener value wichtig.

    (3.) _rs_event_array: Enthält, wie der Name schon sagt, einen Array mit ALLEN Werten, die irgendwie mit dem Event verbunden sind, also Start- und evtl. auch End-Datum/Zeit, ob mehrtägig oder nicht usw. Nur die Werte des Arrays werden für die weitere Ausgabe bzw. Verarbeitung verwendet. Der Array wird in Zeile 405 zusammen gesetzt und in der Variablen ts_values gespeichert, die dann in Zeile 414 als meta-value abgelegt wird.

    Ich hoffe, das hilft nun weiter. Falls nicht, einfach nochmal melden.

     

    admin

  38. Hi Florian,

    can you think of a way to get the event dates & time into the RSS feed.

    It has become common for our authors to create events and rely on the RS Event Multiday values to tell people when it is happening and not mention it in the text. But people who only get the RSS feed can’t find out when it starts because it is not there.

    P.S. the plugin works perfectly in WP 2.8.4

     

    Rick

  39. @Rick

    I have not really solved your problem, but at the codex on wordpress.org I have found a site, that might be interesting for you:

    http://codex.wordpress.org/Customizing_Feeds

    Please let me know, if this was helpful for you.

     

    admin

  40. Thanks Florian – I will read this up and do some experiments over the next week. One problem seems to be that the feed templates are not integrated into the theme system so it may involve some hacking of the WP core.

     

    Rick

  41. Right – I have done some research. First you have to persuade your theme to use a custom feed template – I have documented that on my blog here http://west-penwith.org.uk/blog/archives/892

    No you can insert the RS-Event stuff. The way I did it was to replace the section with

    ‘D j M Y’,
    ‘date_format_2′ => ‘D j M’,
    ‘time_format’ => ‘g:ia’,
    ‘html_post_v1′ => ‘ — %DATE% @ %TIME%’,
    ‘html_post_v2′ => ‘ — %DATE%’,
    ‘html_post_v3′ => ‘ — %DATE% to %ENDDATE%’,
    ‘html_post_v4′ => ‘ — %DATE% onwards’,
    );
    rs_event_post($rs_event_arg);
    } ?>

    You have to be careful because XML is very very fussy.

     

    Rick

  42. I will do that again with pseudo code!

    Now you can insert the RS-Event stuff. the way I did it was to replace the [title] section with

    [title][?php the_title_rss();
    if (function_exists(rs_event_post)) {
    $rs_event_arg = array
    (
    'date_format_1' => 'D j M Y',
    'date_format_2' => 'D j M',
    'time_format' => 'g:ia',
    'html_post_v1' => ' — %DATE% @ %TIME%',
    'html_post_v2' => ' — %DATE%',
    'html_post_v3' => ' — %DATE% to %ENDDATE%',
    'html_post_v4' => ' — %DATE% onwards',
    );
    rs_event_post($rs_event_arg);
    } ?>[/title]

    Let’s see if that is better.

     

    Rick

  43. I have made the swedish translation.
    On what email do you want the files?

    Thanks for a great plugin!

     

    Bengt Jönsson

  44. @Bengt

    Thanks for your support. I would love to include your translation into RS EVENT multiday Version 1.1, which should be published in November (hopefully).
    Please send it to the email-address, which is shown under “Impressum” (fm-web….)

     

    admin

  45. Hi,

    i really like this plugin because of the approach to handle events as posts what let me use several other post-related plugins.

    but one thing i’m wondering:
    do you know a way to list the events in the backend “edit posts”-list by the event date, not by the date of publishing?
    or even show the event date in an additional column of the table?
    would be much easier to handle a big number of events…

    grz
    -m

     

    Martin

  46. @Martin

    great to hear, that the RS EVENT multiday is helpful for you.
    Well, I am pretty sure there is a way to show the event date at the “edit posts”list in the backend, as there is always a way when working with PHP and wordpress. However, I fear, that you have to change and adapt some of the files in the wp-admin (and maybe even in the wp-includes) folder. Believe me, it did it in the past and it is no fun because with every WP update, you might have to do it again.
    At the moment, I do not see any other way and I do not think that there might be a plugin for that.

     

    admin

  47. Hey there, I’m the original developer of the RS Event plugin, three or so years ago. While a bit bored I searched google for what happened to some of my old projects, and came across this.

    I am very happy to see people like you have taken the the basic bare bones of the plugin, and developed it into something much better and being used by a great number of people. Things like this make me realize how great the GPL licence really is. Thank you!

     

    Robert Sargant

  48. Hi,

    Problem seit spätestens 2.8.5 – Das Plugin scheint verantwortlich zu sein, dass der WYSIWYG-Editor (beim feste Seiten Bearbeiten) nicht mehr funktioniert. Auch nach dem Update auf 2.8.6 besteht das Problem weiterhin.

    Vielen Dank,

    Sebastian

     

    Sebastian

  49. Hauptproblem war wohl PHP5, das von meinem 1&1-Hoster nur seltsam unterstützt wird. Nachdem ich die htaccess-Datei gefixt habe, läuft auch das Plugin wieder…

     

    Sebastian

  50. @Robert Sargant

    We really appreciate your work. Thanks.

     

    Rick

  51. @Robert Sargant

    Thanks for your message. I am really glad that you like what happened to your plugin.
    RS Event was exactly what I was looking for some months ago because it had a simple but great code. Thus, I am very happy that so many people helped to improve it and it is a honor for me, to offer this new multiday version to the wp-community.

     

    admin

  52. First: Thanks for the awsome plugin.

    Is there a chance to make a newline or break between the day and the month in the output of %DATE%?
    Or mabe get DIVs instead of LIs as output.

    Cheers,
    krs

     

    krs

  53. @krs
    As far as I can see, there is no chance to handle your problem with the %DATE% output (just by changing the code of the plugin).
    However, if you want to change the LIs into DIVs, you must not use the function rs_event_list() or the widget. Use the function rs_event_id() and then use the array within a loop. By doing so, you can configure all the stuff with wordpress template tags.

    If this does not work for you, feel free to change the code of the plugin. To reach your aim, it should only need minor changes.

     

    admin

  54. How can i set the event guide so that visitors can add their own event? Is that possible?

     

    Malin Fabbri

  55. @Balin Fabbri
    Well, visitors cannot add their own event. Adding an event is similar to adding a post, so only logged in persons, who can publish posts, can add an event

     

    admin

  56. is there a way to list the events in a post or page?

     

    Steven

  57. @Steven
    It is no problem to list the events on a page. Just create a template with the function rs_event_list() (and the parameters you want) in the code.

    It is a little bit more complicated to integrate it the events on a post. You have to create a certain category (e.g. catpost) and then you have to edit the single.php of your theme with the template tag is_category and the function rs_event_list()

    You should be familiar with php and the code, especially template tags, to do all these operations. If you are not, google might be helpful.

     

    admin

  58. Basic Question Where are you going to enter the events? Do I need to create a category named “events” and post my events in that category?

     

    Stone Deft

  59. Please, read all the other stuff here first and you will see, that it is pretty easy. So for the last time: There are no categories needed or anything else like that. Events are simple posts and you just have to edit the dates at the “edit post” page. That’s all.

     

    admin

  60. Hallo Florian,

    Welche Möglichkeiten gibt es die Ausgabe des Plugins mit in den RSS Feed einzubinden? mit der hier in den Kommentaren genannten Variante komm ich nicht voran.Es wird immer nur der letzte Event in dem letzten Post ausgegeben.

    Leider ist der RSS Output von WP immer noch auf den reinen Content beschränkt und schliesst nicht den kompletten Output einer z.B. single.php ein.

    Gruß Sven

     

    Sven

  61. Hi Sven,

    I am sorry, but I have to admit, that I do not use RSS quite a lot. Thus, I cannot tell you, how RSS really works and what it uses. So, this might be a general WordPress issue.
    All I can tell you about my plugin is as follows:
    It just uses custom fields (“Benutzerdefinierte Felder”) which are named: _rs_event_array , _rs_event_start , _rs_event_ts
    The _ prior to rs_event just says, that it does not show up at the edit post page as a visible custom field. However, you can find it in your database as a post-meta to your post.
    So you just have to find a way, that RSS accesses the meta data of your post.

     

    admin

  62. Hallo!

    Tolles Plugin, das genau das macht, was ich brauche. Nur eines nicht: Events können ausschließlich auf Basis von Posts erstellt werden – jedoch nicht auf Basis von Seiten :-( Gibt’s nen Fix, mit dem ich Events auf Seitenbasis steuern kann?

    Danke für eine kurze Info! :-)

     

    Andreas

  63. @Andreas
    All you have to do in oder to mark pages as events is to add the following code to the plugin-file rs-event-muliday.php inside the function rs_event_add_custom_box (line 108-111) :

    add_meta_box(‘rs_event_sectionid’, ‘RS EVENT multiday’, ‘rs_event_sidebar_controls’, ‘page’, ‘advanced’);

    Please, be aware that this change might get lost with a future automatic updates of the plugin.

     

    admin

  64. Hello,

    Congratulations for this great plugin, it’s the best event manager for wp I could find

    However I’ve got a little stuck since I’m new to php:
    I’m trying to display both the date and the tags associated to posts (on a category page).
    I’ve tried adding tags to rs_event_list (), to be displayed next to the date, but with no success. Is there a way to do this?
    Or to list the event’s date inside the regular category loop, since here displaying tags it’s pretty simple..

    Thanks in advance!

     

    Horia

  65. There are ways to display both the date and the tags, but the plugin is not able to do this.
    So you have to make yourself familiar with the loop (seems, you have already done this), template tags and templates itself. You will find all the information you need at codex.wordpress.org. It ist just too complex to explain it step by step here in the comments.
    I just want to remind you, that the plugin offers the functions rs_event_post and rs_event_id as well. These two functions might be helpful to you, if you want to create certain templates.

     

    admin

  66. Thanks for your fast reply. Yes, using rs_event_post lists the date inside the loop, it’s exactly what I needed! I thought it only works on single posts.

    I’m almost ready with the romanian .po, I’ll send it to you later if you’d like to include this too.

    Thanks

     

    Horia

  67. Fantastic — thanks for the fast reply! Is there a chance to have the page integration included in the next version/in updates? Or is there a particualr reason not to use pages as events?

     

    Andreas

  68. @Andreas
    Well, I liked your idea and I really think about integrating the page option in the next release. Maybe I split it up in two separate plugins, so everyone can choose on his/her own, if he/she needs it.
    At the moment, I cannot see any particular reason. It just might limit the performance of your wp installation.
    However, I appreciate, that I could help you.

     

    admin

  69. I have installed the plugin and it works well, thanks.

    Now I am going to look for a solution to show the events on a separate “event page” in my case called “wichtige Termine”.
    But up to now I did not found a template for that purpose. And I am looking for a short description how I have to code.

    Thanks in advance for any hint.
    herg37

     

    herb37

  70. @herb37
    Well, I guess there is no template that fits exactly to your purpose, since WP always works as a combinaton of the wordpress-installation itsself, the theme you choose and the plugins you choose. So you might have a very unique wordpress installation, which means, that you have to create your own templates that work with the plugins you need.
    First, you should see, if the theme you use supports templates. Usually it does.
    The easiest way is, to copy the page.php of your theme, rename it (e.g. tmpl_eventpage.php) and mark it as a template with the code right at the beginning of the file:
    < ?php
    /* Template Name: Eventpage */
    ?>
    . This might differ in the theme you use.
    Next step is to integrate the function rs_event_list() into the code of your template and pass some parameters, if you want to. You can find an example at the very bottom of this page: http://wordpress.org/extend/plugins/rs-event-multiday/
    If you want to learn more about templates in wordpress you should start at:
    http://codex.wordpress.org/Stepping_Into_Templates
    Some other helpful pages are:
    http://codex.wordpress.org/Pages especially the chapter “Page Templates” and “Creating Your Own Page Template”

    Some personal stuff:
    Ich finde deine Seite “Internetportal Würzburg” richtig gut und freue mich sehr, wenn mein Plugin für ein solches Projekt einen Beitrag leisten kann! Da ich selbst in der kirchlichen Jugendarbeit tätig bin, finde ich auch so etwas wie die Freiwiligenbörse eine super Sache. Echt klasse!!!
    Und in diesem Sinne nun ein herzliches “Würzburg Helau” aus Würzburg und nach Würzburg :-)

     

    admin

  71. I’ve just noticed that the category restriction is not available in the widget.. is there a simple way to add this option? Thanks

     

    Horia

  72. Florian:

    I’m just starting with WP and I am lost in the RS Events mutiday installation process

    Is there a place where I can find more detailed instructions for the installation and configurations of the Plug in? (Something like “RS Events multiday for Dummies”)
    Thanks for your help

    Edgar

     

    Edgar

  73. Can I write only the last n archived items?

     

    Joco1114

  74. @Horia
    Sorry, but I cannot see any simple way to manage that problem. The only way might be to edit your sidebar.php manually.

    @Egar
    How do you get along with other wp plugins? There is no simplier plugin than the RS EVENT mulitday widget. And the installation instructions here on this page are already for “dummies”.
    Please, make yourself familiar with codex.wordpess.org

    @Joco1114
    I guess no. But I cannot really see what you are aiming at. Sorry

     

    admin

  75. Ok, thanks. Anyway I would like to see the past items only.

     

    Joco1114

  76. @Joco1114
    Well, that should not be much of a problem. Try to work with the timespan parameter and history parameter (see above).
    Example:
    Set history to 365 (one year into the past) and timespan to 0.

     

    admin

  77. Thank you, meanwhile I did it, almost the same way.

     

    Joco1114

  78. 1.In which file should I inset the configurations?

    2.I have an Events page in my site, how can I get published all the events on that page?

     

    Edgar

  79. You can set configuration, when you call the event list:

    ‘%DATE% @ %TIME%%TITLE%%EXCERPT%» more    ’,
    ‘html_list_v2′ => ‘%DATE% (full day event)%TITLE%%EXCERPT%» more    ’,
    ‘html_list_v3′ => ‘%DATE% @ %TIME% – %ENDDATE%%TITLE%%EXCERPT%» more   ’,
    ‘html_list_v4′ => ‘%DATE% – %ENDDATE%%TITLE%%EXCERPT%» more   ’,
    ‘no_event_msg’ => ‘No events’,
    ‘max_events’ => 10,
    ‘sort_order’ => ‘ASC’,
    ‘max_events’ => 5
    );

    rs_event_list($argsevent);
    ?>

     

    Joco1114

  80. Oops… It seems I cant insert my code here. :)
    Can I send it to you to EXG contact?

     

    Joco1114

  81. @Joco1114
    Sorry for the difficulties with inserting the code in the comments.
    Just send them to fm-web@dalking.de and I will try to fix it.

     

    admin

  82. @Edgar
    You have to create a template file for your event-page.
    If you want to learn more about templates in wordpress you should start at:
    http://codex.wordpress.org/Stepping_Into_Templates
    Some other helpful pages are:
    http://codex.wordpress.org/Pages especially the chapter “Page Templates” and “Creating Your Own Page Template”

    Then you have to add the function rs_event_list() to the code of this template file.

     

    admin

  83. @admin: Sorry, it was my mistake. :)

    @Edgar: I installed Exec-PHP plugin in my WP. With this one, it is easy to use rs_event_list() function. You just have to create a page with content like this:

    ‘%DATE% @ %TIME%%TITLE%%EXCERPT%» more    ’,
    ‘html_list_v2′ => ‘%DATE% (full day event)%TITLE%%EXCERPT%» more    ’,
    ‘html_list_v3′ => ‘%DATE% @ %TIME% – %ENDDATE%%TITLE%%EXCERPT%» more   ’,
    ‘html_list_v4′ => ‘%DATE% – %ENDDATE%%TITLE%%EXCERPT%» more   ’,
    ‘no_event_msg’ => No events.’,
    ‘max_events’ => 10,
    ‘sort_order’ => ‘ASC’,
    ‘max_events’ => 5
    );

    rs_event_list($argsevent);
    ?*>

    Dont forget to delete the ‘*’ after and before the greater than and less than signs. I sent this code by mail too.

    Joc

     

    Joco1114

  84. Hi! Love the plugin!

    A quickie: I’m pretty new at this and don’t seem to be able so get the output month into swedish, I’ve tried to change it everywhere… eg. 23 May should be displayed as 23 maj. Could you please help me with where I need to edit the months in order to succeed in this task! :)

    /John

     

    John Thorsson

  85. Well, it is not so simple at all. I am sorry. You have to create a swedish version .po-file. In order to to this, the zip-folder of rs-event-multiday includes the file rs-event-multiday-defaults.mo.

    If you are really new to all of this, you should start at codex.wordpress.org. For internationalization of a plugin, please start at: http://codex.wordpress.org/I18n_for_WordPress_Developers

    I would be happy, if you can send me the file (fm-web@dalking.de) when you have finished translating, so I can include it to the zip-folder

     

    admin

  86. Hallo,

    ich habe mir gerade dein Plugin installiert und bin echt angetan.
    Einfach in der Handhabe und schnell intigriert.

    Ich habe nur ein Problem.

    Ich erstelle einen neuen Event. Diesen sehe in in meiner Sidebar klicke ihn an kann aber dann nicht das Datum und die Uhrzeit nicht. Gibt es eine Möglichkeit dies zu realisieren? zb. Mit [event...id...]oder mit der Formatieren der %%. Ich hoffe ich erkläre es nicht zu komplex.

     

    sven

  87. @sven
    All you have to do is to add the function rs_event_post() to the code of the post.php of your wordpress theme or you might create a new or further template file (to learn more about templates, please see the comments above) and include the function there

     

    admin

  88. I am using your plugin for a site http://www.lbisource.com. I’m using the widget. It works great except it is having troubles with multiday events.

    I have an event that is 3/13-3/21, it won’t show in the sidebar, unless I change the option: remove from list… to by start date. Or if I take the ending date out.

    I think it is using the second date to line up in the list (3/21) not the beginning date (3/13).

    Any suggestions or solutions?

     

    Pepper

  89. @Pepper
    I’m sorry, but I have never experienced this problem or heard of it. Thus, I can only guess:
    - If you have more than one event, please check the widget’s setting at “show up to”. It might depend on the setting “by start date” or “by end date” on which place the event shows up in the queue.
    - Pleace see the setting “Published on” at the edit post page. This must not be set to the future.

     

    admin

  90. hey there – i LOVE this plugin! Thank you!

    I’d like to second (or third) the suggestion of adding a “Location” option. I’m working on a WP site for a 5-branch library system, and that functionality would be fantastic!

    Is that still part of the plan? any ETA? Thanks again for all the great work!

     

    Shelly D

  91. Super… RS Event lebt also weiter. Vielen Dank! Ich finde es sehr praktisch und nutze es gerne, besonders weil die Handhabung im Admin-Bereich auch für ungeübte Autoren sehr einfach und selbsterklärend ist.

     

    liqui.do

  92. While we eagerly await a plugin update (eee!), i’m wondering if there’s a way to include Location information by using the custom field option when we write a post. E.g. If I add a custom field “Event Location” to an event post, is there a way to edit RS Event to display the value entered in that field in the list of upcoming events? My PHP skills are pretty basic at this point, so I think it _can_ be done, I’m just not sure how.

    Can anyone assist?

     

    Shelly D

  93. @ Shelly and all the other folks, who are awaiting the new release of RS EVENT multiday

    As you can see at the top of this page, I have just released a beta version of RS EVENT multiday (1.1 beta). It includes the possibility to add a location or any other information, i.e. it is a simple and ordinary text field. It is not tested yet very well, so please tell me, if you experience any problems.

    Please, consider to make a donation to support this plugin (see above).

     

    admin

  94. Yay! Just installed it, and tweaked one event, and it seems to be working. I’ll definitely report back when I have some more locations added, etc. I like that it’s a free text field – very nice! It can be used to display any sort of extra info beyond time/date info!

     

    Shelly D

  95. Hi Florian, and thanks for a great plugin. I’m using RS-event-multiday both as widget and directly through the function rs_event_list(). Works great! I’d like to do more with the other functions, but I am not that experienced with the programming part. It would be a great learning help if you or some of the other users could provide some working examples of how to implement the functions. BTW the location text field is VERY usefull! :-)

     

    Barbara

  96. @Barbara
    Thanks for your comment. Here are some short information on your question. You can use rs_event_id() completely similar to rs_event_list(). It just does not print the events, but it saves the events in an array and you can use this array for another query. This might be useful, e.g. if you just want to show the authors of the events. If you have not yet done anything with queries on your own, you just should ignore it. Or if your interested, just read the codex.wordpress.org.
    rs_event_post() just the event information on a single page. As you might know, an event with RS EVENT multiday is just an ordinary post. So if you have the single view of your post, the date and event information gets printed. In order to do this, you have to add the function rs_event_post() to the single.php file of your wp theme (inside the Loop!!!!) . The parameters you can use are quite similar to rs_event_list().

     

    admin

  97. Here is an example for rs_event_post() as I use it in the single.php (inside the Loop!!!) on one of my projects:

    < ?php
    $argseventpost = array(
    'time_format' => ‘ \< \i\>\(l\)\< \/\i\> | H:i’,
    ‘html_post_v1′ => ‘

    %DATE% %TIME% Uhr

    ‘,
    ‘html_post_v2′ => ‘

    %DATE%

    ‘,
    ‘html_post_v3′ => ‘

    %DATE% bis %ENDDATE%

    ‘,
    ‘html_post_v4′ => ‘

    Beginn: %DATE% (multiday)

    ‘,
    );
    rs_event_post($argseventpost)
    ?>

     

    admin

  98. Thanks, Florian, that helped a lot :-)

     

    Barbara

  99. Hi florian – after much use, the location field is fantastic! I did just get the error that Stefan mentioned above (the “gmdate() expects parameter 2 to be long…” error). It doesn’t look like the contributor deleted anything, and i kuldgily fixed the problem by changing the date on the event to the past and creating a new post for the upcoming event. Just thought you might be interested in knowing the problem was still lurking!

     

    shellyd

  100. Hi,

    I cant find the field to input the location of the event…

     

    Sergio

  101. @Sergio
    You have to download and use the Version 1.1beta on this site.

     

    admin

  102. Hi,

    For some reason, if I use my “one click install plugin” with the link above, I reinstall version 1.01. I try the old fashioned method – FTP – and all is ok now.

    Tks

    S

     

    Sergio

  103. New version (1.2) of the plugin is available at the WP Plugin Repository
    http://wordpress.org/extend/plugins/rs-event-multiday/

    Thanks to all you helped testing version 1.1 beta.

     

    admin

  104. A question to everybody!!!
    Due to the bad perfomance on pages with many events, I think about removing the possibilty to show the fulltext (i.e. entire text of a post) in an event list. Do you think any one might miss that?

    I am looking forward to your feedback. I need your opinion.

     

    admin

  105. ich benutze immer noch nicht dein multiday sondern das alte und nur angepasste rs-event.

    Ich denke, trotzdem passt meine Frage auch hierher.
    Meine datenbank wir dicker und dicker, lauter abgelaufene termine. Die würde ich gern irgendwie automatisch oder auf einen klick löschen … und zwar komplett mit allen Attachments, benutzerdefinierten Feldern …

    … hast Du dafür eine idee?

     

    nepf

  106. @nepf
    Meines Erachtens kommst du nicht an einem Besuch in deiner Datenbank über phpmyadmin. Dann ab in die Tabelle postmeta und dort alle Einträge mit einem rs-event im key löschen. Geht per Hand Stück für Stück oder für Experten (dazu gehöre ich allerdings nicht) über dementsprechende Datenbankbefehle. Und wenn du die Posts komplett löschen willst, musst du halt auch noch in die Post-Tabelle.
    Hier noch ein anderer Hinweis. Das automatische Erstellen von Revisions der einzelnen Posts lässt die Datenbank auch ziemlich anschwillen. Abhilfe schafft folgender Eintrag in der wp-config.php in der allerersten Zeile gleich nach dem

    define (‘WP_POST_REVISIONS’, 4);

    Ansonsten einfach mal google bemühen.

     

    admin

  107. Wonderful plugin! I have a question: Is it possible to sort the list by something other that the start date? I have a list of events that includes some 1-day events and others that may last several weeks, so that the 1-day events wind up far down the list.

    Thanks for any advice you can give me!

    -Mark

     

    Mark

  108. @Mark
    Well, you can change it, but the sort order is deep in the code of the plugin, so you have to change it manually, which won’t make it compatible to updates.
    If you want to do it, the relevant line is 538 for function rs_event_list() and 908 for rs_event_id()

    Please read the wordpress codex and make yourself familiar with php via google search for any further information.

     

    admin

  109. I am trying to use rs_event_id() to get the ids of returned posts and use them in a query_posts and using the post_in for the ids so I can use them in my loop, I have tried many ways but just cannot get this to work, are there any tutorials available for this.

    Thanks for bring this plugin uptodate much respect to you

     

    fb

  110. @fb
    I am sorry that I cannot offer you a great tutorial. I can just give you some advise. Please consider, that rs_event_id() returns an array, not a string and no ints. So you might have to create a loop or something similar in order to loop through the array.

     

    admin

  111. Thanks for the pointers I was looking for a way to be able to get
    something like this working

    $argsevent = array(
    ‘timespan’ => 30,
    ‘max_events’ => 4,
    );

    $postswanted = rs_event_id($argsevent);

    get_posts(array(
    ‘post_type’ => ‘events’,
    ‘post__in’ => array($postswanted) ));

    loop through the stuff….

    any ideas?

    Does the rs_event_id() return post_ids like 5,6,27,134 etc
    or something else.. Thanks

     

    fb

  112. @fb
    try to change the line
    ‘post__in’ => array($postswanted)
    in
    ‘post__in’ => $postswanted

    $postswanted is already an array, so you do not have to create a new one.
    If this information is helpful to you, please consider a donation.

     

    admin

  113. Thanks for the reply, yep afraid I already tried that, hence posting here. It doesn’t seem to work.

    I cannot get it too follow either

    ‘timespan’ => 30,

    or

    ‘max_events’ => 4,

    I will keep on trying different things, thanks again

     

    fb

  114. Hi,

    ich habe in das Plugin folgende Zeilen eingefügt, um die rs_event_list() funktion flexibler zu machen, und zwar um das ul-Element gegen das table-Element und das li-Element gegen das tr-Element tauschen zu können – bei Bedarf:


    ‘html_list_v4′ => ‘%DATE% (multi-day) | %LOCATION% %TITLE% » read more «’,
    ‘html_list_ul’ => ‘ul’, // html-element for the whole list
    ‘html_list_li’ => ‘li’, // html-element for the single list-entry
    ‘html_post_v1′ => ‘%LOCATION% | %DATE% @ %TIME%’,


    /*** Now output the array */
    echo ”.implode(”, $output_array).”;

    } // end rs_event_list

    Vielleicht kannst Du diese Idee übernehmen – ich benötigte jedenfalls die event-Liste in Tabellenform – möchte aber die Default-Funktionalität nicht einschränken.

    Gruß

    J.Y.

     

    J.Yossarian

  115. @J.Youssarian
    Danke für deinen Vorschlag. Allerdings denke ich nicht, dass ich ihn standardmäßig einbauen werde, denn es ist eigentlich keine große Sache, den default-Output anzupassen, jedenfalls nicht wesentlich schwieriger, als irgendwelche weiteren Parameter anzupassen. Sorry. Aber ich möchte das Plugin wirklich sehr, sehr einfach halten, und da sind mir zum Teil meine vier verschiedenen Möglichkeiten des HTML-Outputs schon zu viel (aber leider unvermeidbar, bis jetzt). Daher bitte ich dich einfach um dein Verständnis.

    @ALLE
    Abschließend noch die bitte, vielleicht doch auf Englisch hier zu posten. Vielleicht hat ja jemand genau das gleiche Problem und ist auf der Suche, wie man die ul und li durch table und tr ersetzen kann, und dann wäre dein/euer Post sicher hilfreich für denjenigen. Hab das ja selbst oft genug bei anderen Plugins gemacht mit denen ich Probleme hatte, dass ich eben über google irgendwelche Foren durchforstet habe.

     

    admin

  116. Hello,

    Let me first thank you for the RS-MULTIDAY-EVENT plugin. We love it and use on our WPMU site AfrobeatRadio.Net.

    Usually, after installation we modify the date format to month/day and it has worked for us for some time.
    However, of late we have been experiencing some issues relating to the plugin which has led us to uninstal and re-installations several times.

    The issue we think has to do with some php problem and we have confirmed the source as RS-MULTIDAY-EVENT plugin.

    The error is: when a user is logged into our wpmu platform any other user that tries to login gets a blank page. Meanwhile, logged in user gets a blank page when trying to log out.

    The solution has been to delete RS-MULTIDAY-EVENT folder and wpmu works well. Can you please comment on this?

    Secondly, We understand that RS-MULTIDAY-EVENT was developed for wp and not wpmu, however but we would like to ask you if you will be willing to upgrade/develop RS-MULTIDAY-EVENT for wpmu.

    Thank you.

     

    wuyi

  117. @wuyi
    I am sorry, but I am not experienced with wpmu at all. Have never tested it and have never used it.
    Since RS EVENT multiday is just something to keep me busy between 2 and 4 am in the morning, I cannot see any chance to really work on this problem. Sorry. At the moment, I am about to test the plugin with WP 3.0, which keeps me busy enough.

     

    admin

  118. hi, it’s possibile to SEARCH LOCATIONS ? i want to make a search for LOCATION Field .. ??

    THANKS A LOT

     

    marco

  119. @marco
    There might be a way, but it is definitely not an easy one and at the moment, I honestly do not have any idea, how you might realize this.
    Just some information, that might be helpful to you:
    The location is stored in a meta-key named “_rs_event_array”. This is an array and it includes the variable $location.

     

    admin

  120. Thanks for a graeat plugin.

    Have some problem with following code, where I have changed as in lines below.

    Events is only shown if they are within 2 month from today. Events in october is not shown, even if it’s the only one, so I have changed below rows as follows, and then it works, but I don’t think it’s the right way to go … or is it?

    $lower_time = current_time(‘timestamp’) – ($history * 24);
    $upper_time = current_time(‘timestamp’) + ($timespan * 24 * 60 * 60 * 60 * 60);

    Best Regards
    Bengt Jonsson
    Sweden

     

    Bengt Jonsson

  121. @Bengt Jonsson

    There is the parameter “timespan” in the plugin, which is set to 365 (days to the future) by default. So, if you have not changed anything at that parameter neither in the code nor in the widget, it should show all the events up to one year.
    So please check your settings of the event and of the plugin, before you change the code. If you still experience some problems, please let me know, since there might be an error within the code. However, I have not experienced this problem on any site, where I use the plugin myself.
    PS: I always love it to see, when the plugin is used for a christian church site, since I originally programmed it for my own site of the Regensburg Catholic Students Community (see http://www.khg-regensburg.de). So this is really, what it originally was meant for so it should meet best the requirements of such a site :-)

     

    admin

  122. Is this compatible with WP 3.0?

     

    Shanna Cramer

  123. @Shanna
    Yes, it is compatible with WP 3.0. I have tested it already, but I have not changed that information at the WP repository, yet. I will do this some day next week.

     

    admin

  124. Hi … It’s possible to insert in event list the featured images of post .. any idea ?

     

    shen

  125. @shen
    Use the function rs_event_id() to get the post-IDs for your list. And then create a simple loop in your template.

     

    admin

  126. In WP 3.0 events pages are not displayed in the widget while it worked in 2.9. Can you help me?

     

    Lorenzo

  127. @Lorenzo
    Thanks for your comment. You were right, there was a bug. I think, I could fix it, so it should work with version 1.2.1 of the “RS EVENT mutliday” plugin.
    You can download it at the Plugin directory of wordpress.org:
    http://wordpress.org/extend/plugins/rs-event-multiday/

     

    admin

  128. You have found the problem and updated the plugin in a flash, I appreciated the work, thanks.

     

    Lorenzo

  129. thanks for your plugin…

     

    bingjie

  130. Hallo,

    habe das Plugin installiert und die Funktion rs_event_post () eingefügt. Soweit klappt alles, aber die Reihenfolge der Posts bleibt unverändert. Trotz ‘sort_order’ => ‘ASC’ oder ‘DESC’ bekomme ich es nicht hin, dass die Posts nach Eventdatum sortiert werden. Wie kann ich das einstellen?

    365,
    ‘history’ => ’0′,
    ‘date_format_1′ => ‘d.m.Y’,
    ‘date_format_2′ => ‘d.m’,
    ‘sort_order’ => ‘ASC’,

    ‘html_post_v1′ => ‘%DATE% um %TIME% – %LOCATION%’,
    ‘html_post_v2′ => ‘%DATE% – %LOCATION%’,
    ‘html_post_v3′ => ‘%DATE% – %ENDDATE% – %LOCATION%’,
    ‘html_post_v4′ => ‘%DATE% (multi-day event) – %LOCATION%’,
    ‘max_events’ => ’0′,
    );

    rs_event_post($argsevent);
    ?>

    Vielen Dank und Grüße,
    Sandra

     

    Sandra

  131. @Sandra
    First of all: RS EVENT multiday sorts the posts by eventdate by default.
    Now, you neither have sent me a complete code nor have you sent me a link to the page, where you experience the problem.
    Please tell me, what sort order is used at your site (e.g. date published???)
    My advise to you is, first to use the function rs_event_post() in your template with the default values and than add one custom value after the other. Please start with the “html_post_vX”-values. Then, tell me, at which point you experience your problems.

     

    admin

  132. i’m germany but i try it in my verry bad english. :-)

    I’ve installed your plugin. then i go to widgets and put it in the content. then i make a new Post (Artikel) scroll to bottom and edit a new event. that all okay.
    Now i look in fronted. i can see the new event. But if i klick on read more if get these message:

    “Not Found
    Apologies, but the page you requested could not be found. Perhaps searching will help.”

    i dont know why. i do something wrong oder what is the problem?

    i hope you understand it.

    Now in German languages.
    Ich habe folgendes Problem.
    Ich habe Ihr plugin installiert und in den Witgets den Kalender in einen Content gelegt. Dann einen neuen Artikel erstellt und ganz unten einen Termin eingestellt. Im Fronted wird dieser auch super angezeit. Nur wenn ich auf mehr lesen klicke bekomme ich obige Meldung.

    Gruß
    Wolfgang

     

    Wolfgang

  133. @Wolfgang
    Well, your English is not bad at all. Maybe the first line, where you tell me, that your English is bad – this line is really bad ;-)
    However, my English is not very much better *smile*
    Anyway, thank you for posting your comment in English, so it might be helpful to all!!!!
    In order to help you, I would need to take a look at your homepage. I guess, that the problem has nothing to do with RS EVENT multiday, but with the post settings. Please check, if the post is really published (not only visible as preview) and not marked as private.
    If you still think, the plugin is the problem, please send me the URL.

     

    Florian

  134. Hello Florian
    First of,well done! the plugin is great and with a bit of css tweak it looks also good.
    Now i have two questions, I’d like to output the date as (i.e) Monday 16 of April (or so) but i can’t figured out how. I’m outputing a list in a page template and ‘html_list_v2′ option.
    My second question, I’m trying to implement the “featured image” of the post into the output arrat, but without success so far. I think it could be a MAJOR goal. Do you know if there are ppl outhere trying to achieve this? Is this something you are planning to include in future release? Got some hints?
    Thumbs up!
    best regards

     

    daniel

  135. @Daniel
    To your first question:
    For date formatting, please see:
    http://codex.wordpress.org/Formatting_Date_and_Time
    and
    http://php.net/manual/en/function.date.php
    That means, you might achieve your date with the following settings:
    ‘date_format_1′ => ‘l d \o\f m’,
    (not tested!!!)

    To your second question:
    - Use the function rs_event_id(), which returns an array
    - Then create a php-code with foreach using the array returned by rs_event_id()
    http://php.net/manual/de/control-structures.foreach.php
    - To include the post thumbs, have a look at:
    http://codex.wordpress.org/Function_Reference/get_children

     

    admin

  136. @Daniel
    Please, feel free to publish your code at my page, when it is finished.

     

    Florian

  137. I was wondering if you could limit the rs_event_list to multiple categories, instead of just one. I tried defining the category element as an array with no luck.

     

    Eric

  138. @Eric,
    Well, I assume, this will not work due to the query_string of the code (please see line 486 and lines 500 onward -> $where_category_clause)
    I guess Robert Sargant, who programmed this query_string originally, just wanted to define one event-category.
    What you can do is to grab the IDs via rs_event_id() and then filter the IDs according to your category settings in a next step.

     

    Florian

  139. Thanks for the great plugin. Exactly what I want but I can’t get the event list to work. The widget works fine and I’ve been able to customize the output but for the event list, I can’t get it to work.

    I created a custom category page and on it I put
    rs_event_list()

    This outputs the event list the way it was in the widget before I customized it.

    What I don’t understand is how to format the event list the same way I have the widget formatted.

    I know I want to use the html_list_v3 parameter. How do you customize the function rs_event_list() with the parameter html_list_v3.

    Sorry if this is a silly question but I don’t understand.

    Thanks

     

    Jeff Klein

  140. @Jeff Klein
    Please see the very bottom of the following page at the WordPress Plugin Directory to get an example on how to pass on parameters to one of the functions:
    http://wordpress.org/extend/plugins/rs-event-multiday/

    You cannot choose the parameter used by the plugin. It depends, what date and time information you enter for each event. Then, the plugin chooses one of the html_list_vX parameters.

     

    Florian

  141. Hi Florian,

    I would need to use the plugin as follow:

    Option 1 -
    - On the homepage, the visitors get to choose a County (Province), or a Group Age (Category), or a Date (Events running on 4 days only).

    - On the County page (for example) they get 3 drop down lists on top of the full list of event.
    The first one has the County selected, the second one has the Dates and the third one the Group Age.

    - This means they can filter with one, two, or three filters and the list updates or display “Sorry, no events for these criterias”

    Do you think it’s possible to customise this plugin?
    Would you do it against payment?

    It’s quite urgent and I don’t have the required development skills unfortunately.

    Thank you,

    Johanna

     

    Johanna

  142. Hi,

    Very nice plugin!

    I made a “rs-event-multiday-nl_NL. mo” file.

    Can you tell me where to call or activate this translated file.

    Thanks
    Mirjam

     

    Mirjam

  143. Sorry I mean the output language on the website.

    oktober instead of October
    januari instead of January
    etc.

    Not the admin translation.

    Is it possible to put some code in the PHP maybe for local date and time?

    Mirjam

     

    Mirjam

  144. @Johanna
    Sorry for the late answer, but I have been away on holidays. Anyway, is it still urgent or did you solve your problem already?
    The plugin RS EVENT multiday itself cannot solve your problem, but combined with some wordpress loops it might work. However, I cannot tell for sure, sorry.
    Payment?! Why not. But as I said, I cannot tell you, if I need 3 hours or 10 hours to develop the right code for you.

     

    Florian

  145. @Mirjam
    First of all, I would appreciate it, if you send me your translation so I can publish it with the next release of the plugin.
    email: admin@dalking.de
    The translation should be activated automatically as soon as it is copied to the folder “lang” of the RS EVENT multiday plugin on your webspace.
    Of course it is possible to put some code in the PHP because this is, what code and PHP is all about ;-) But I do not really get what you aim at.

     

    Florian

  146. @Florian

    Well, I haven’t decided yet what to do.

    I have a few quotes from people willing to create a new plugin and customize a plugin for me, but I am open to any new suggestions.

    Of course, I would need a fixed cost from you to be able to work with you. If you’re not interested, don’t worry about me!

    (Can you reply by mail?)

    Thanks!

     

    Johanna

  147. @Johanna
    you get my reply via email

     

    Florian

  148. Hi Florian,

    I will sent you the translation when really good and finished.
    Soon!

    I mean that I don’t need the translation for the wp-admin panel.
    rs-event-multiday-nl_NL. mo only translate the plugin options in wp-admin.

    I would like to have the MS Event in the sidebar on the website itself showing me:

    22 oktober 2010 instead of 22 October 2010

    So “oktober” in Dutch and lowercase.
    Can you help me with this?

    Thanks,
    Mirjam

     

    Mirjam

  149. @ Mirjam
    The translation of the widget has nothing to do with the plugin itself. Please check ALL the language settings of your blog, especially in the wp-config.php in the main folder of your blog. The following link might be helpful: http://codex.wordpress.org/Editing_wp-config.php

     

    Florian

  150. Hi Florain,

    Thank you for your fast replay.

    Sorry I think it is to complicated for me.

    In wp-config.php I have:
    define (‘WPLANG’, ‘nl_NL’);

    This works fine in the BACK-end of WordPress but not in the FRONT-end.

    Can you have a look to the screenshot to make sure if my question is clear?

    http://www.kleurpunt.nl/screenshot-MS-Event.jpg

    Thanks again,
    Mirjam

     

    Mirjam

  151. @Mirjam
    Your question is clear and I had the same problem myself. I can tell you it has nothing to do with the plugin, since the plugin only works with the php parameter “F” to output the name of the month (see: http://de.php.net/manual/de/function.date.php). Please make sure to have a dutch version of wordpress installed and all the other stuff. I cannot remember how I once solved the problem, but if you really have wordpress running in Dutch completely, it should work. Please see the chapter “Date Formatting strings” at http://codex.wordpress.org/Translating_WordPress

     

    Florian

  152. Thank you Florian,

    I have NOT installed the Dutch version of WordPress.
    This will be the sollution.

    Thank you very much for your great support!!

    Regards,
    Mirjam

     

    Mirjam

  153. Hi Florian,

    Sorry but I have a last question.

    Yesterday I set Start Date to 1 september (it is today) and Remove from list by start date. No other options I have set but it is not removed from the list.

    see screenshot: http://www.kleurpunt.nl/screenshot-MS-Event2.jpg

    I realy can’t figure out what I’m doing wrong.

    Thanks in advance,
    Mirjam

     

    Mirjam

  154. @Mirjam and everybody else
    Well, it is STILL September 1st and you have not entered any time, so it is still on. Remove by start date means, that the event gets removed as soon as it is gone. Remove by end date is only relevant for multiday events.
    Exemaple 1: You have a feast or celebration at your community for the whole weekend (Friday to Sunday) and it does not matter, when your guests arrive. In this case, you should use remove by end date, since the people can arrive any time they want, even if they read about it on Sunday morning. The event will be removed as soon as it is Monday.
    Example 2: You plan a trip and the event is obsolet as soon as the bus or train leaves your city. In this case you might use remove by start date, since it might not be important to the visitors of your homepage, that the bus has already left. If you have set the time, the event will be removed as soon as the time has passed. If you have not that a time, the event will be removed, as soon as the start date has PASSED and not as soon as the start date is reached.
    Conclusion: Your event will be removed on September 2nd, 00:00 o’clock

     

    Florian

  155. Hello,

    I wrote on July, 18th, that I didn’t get the post sorted into ASC. Unfortunetly I can’t show the link, because the site is still on my localhost. But maybe it’s because the template forces the post to sort the IDs?

    <div class="post3" id="post-”>

    <a href="” rel=”bookmark” title=”">
    365,
    ‘history’ => ’0′,
    ‘date_format_1′ => ‘d.m.Y’,
    ‘date_format_2′ => ‘d.m’,
    ‘sort_order’ => ‘ASC’,

    ‘html_post_v1′ => ‘%DATE% um %TIME% – %LOCATION%’,
    ‘html_post_v2′ => ‘%DATE% – %LOCATION%’,
    ‘html_post_v3′ => ‘%DATE% – %ENDDATE% – %LOCATION%’,
    ‘html_post_v4′ => ‘%DATE% (multi-day event) – %LOCATION%’,
    ‘max_events’ => ’0′,
    );

    rs_event_post($argsevent);
    ?>

    <?php link_pages('Pages: ‘, ”, ‘number’); ?>
    <?php edit_post_link('Edit this entry.', '’, ”); ?>

    <!–

    –>

    But deleting the part with: id=”post-” doesn’t solve the problem.

    Thank you for answering!
    Sandra

     

    Sandra

  156. Hi. Is there any way to hide the widget box when no upcoming events instead of showing the “no upcoming events” message? Looking to save sidebar room when possible.

    Thanks. Andy

     

    Andy

  157. @Sandra
    Sorry, I still have no clue, what the problem might be.

    @Andy
    There might be a way. However, I cannot tell you exactly, how it might work, but creating a special loop for the sidebar.php of your template might be a solution.

     

    Florian

  158. Thank you for answering all these questions and sorry if I couldn’t discribe my problem well. I will try again to solve it on my own or think about a better way.

     

    Sandra

  159. Re: your May 31 comment: I would definitely miss the ability to use the fulltext in lists.

    Thanks for a great plugin!

    Mark.

     

    Mark Ganem

  160. Hi Florian

    I’m a first time user of your plug in and it’s brilliant. I particularly appreciate the ability to customise the output and include full text. Any chance that you could add a seperate %THUMBNAIL% parameter to pick up the featured image?

     

    Jeff Meadows

  161. @Jeff Meadows
    I will definitely not include a %THUMBNAIL% parameter. There are several reasons to that, most important, it will have a bad effect on the performance of the plugin.
    However there is a solution: Please see my answer to Daniel at Juli 31st, 2010 at 09:30 AND (!!!) Juli 31st, 2010 at 09:40

     

    Florian

  162. Hi!
    I don´t get it.. how do i style the different things with css?? I don´t get it work..

     

    Petter

  163. @Petter
    Sorry, I do not have the time to explain it to you. Maybe somebody else can. Sorry.

     

    Florian

  164. Hallo Florian :-) Ich *liebe* RS Event Multiday und nutze es für diverse schöne Projekte. Danke für Deine Arbeit!

    Nun meine heutige Frage (i switch to english):

    I tried to use a shortcode to make an event-list appear whereever I want it in my post.

    I added to functions.php:
    function kalender () {
    // Standard-Eintellungen für alle Kalender-Funktionen vorab
    $rsconfig = array(
    … all I ever wanted ;-)
    );
    rs_event_list($rsconfig); // Ausgabe
    }

    add_shortcode(‘calcal’, ‘kalender’);

    This is what happens:

    Nothing at the place of the shortcode ;-) But the list is returned *before* the content starts and is *not* affected by the html_vX-formats I put in the array before. It seems to be the standard (english) output of rs_event…

    Any idea what happened and how to make it work?

    Thx in advance.
    liqui

     

    liqui.do

  165. Erstmal DANKE :-)

    I am not experienced in working with shortcodes, thus I cannot help you with that. I would ask you to test the function without using a shortcode. Maybe somebody else, who already worked with RS EVENT multiday in combination with shortcodes, can help you with your problem. I cannot give you any advices on shortcodes. sorry :-(

     

    Florian

  166. Hello, thanks for the great plugin! I’m using it for a few days now but I still have a question.

    Is it possible to list events per month? What I want to achieve is this:

    January:
    - 4th -> event name
    - 19th -> event name

    March:
    - 3th -> event name
    - 28 -> event name

    June
    etc
    etc

     

    Martin

  167. Hi Florian,
    wieder man was Spezielles:
    Ich mache einen Kalender mit verschiedenen Kategorien, die ich dann entsprechend filtern und darstellen kann – alles kein Problem.

    Nun möchte ich noch eine bunte Liste mit allen Terminen, chronologisch sortiert machen – auch kein Problem. Aber es wäre sehr geil, wenn ich in der bunten Liste bei den einzelnen Terminen außer Termin und Titel noch die kategorie anzeigen könnte (bzw. in einer class haben und dann mit einem farbigen Label markieren könnte).

    Also, gibt es die Möglichkeit, in der Event-Liste auch die Kategorie auszugeben?

     

    nepf

  168. @nepf
    Wieder mal die übliche Antwort (und wie üblich auf englisch):
    Just use the function rs_event_id() to get all the IDs of the posts you need for your calendar list. Then, create a foreach-loop and design the output the way you want it, including category and all the other stuff by using the wordpress template tags (see http://codex.wordpress.org/ )

     

    Florian

  169. @Martin
    Well, there might be one or two or more ways to achieve your goal.
    - The first one is to modify the code of the plugin. However, it will take several hours to find and test the right code, so I cannot do it right now, but I will think about it and maybe publish it with the next release of RS EVENT multiday.
    - There might be a way by using the function rs_event_id and then creating and modifying an ordinary wordpress loop. If you have a solution for your problem (http://codex.wordpress.org and google might be helpful) feel free to publish the code at this page.

     

    Florian

  170. I use the plug-RS-EVENT-Multiday.Ein very cool plugin.
    max_events’ => 0, but it displays only 10 events.
    I have to post 13 events. What do I do?

     

    Agneta

  171. Upps, sorry,

    I found the option where it could be changed.
    Now it is. Thank you.

     

    Agneta

  172. Hi Florian,
    very nice work! I was searching for a solution of Martin’s problem (some subheadings indicating the month of the events). I solved it now in the following way:

    %TITLE% am %DATE% ab %TIME% Uhr ‘,
    ‘html_list_v2′ => ‘%TITLE% am %DATE% ‘,
    ‘html_list_v3′ => ‘%TITLE% %DATE% – %ENDDATE% ‘,
    ‘html_list_v4′ => ‘%TITLE% %DATE% (multi-day)’,
    ‘no_event_msg’ => ‘No dates!’,
    ); //event_list style
    $output_array = rs_event_list_return($argsevent); //get output data (array) from rs_event
    $month_names = array (’01′ => ‘Januar’ , ’02′ => ‘Februar’ , ’03′ => ‘März’ , ’04′ => ‘April’ , ’05′ => ‘Mai’ , ’06′ => ‘Juni’ , ’07′ => ‘Juli’ , ’08′ => ‘August’ , ’09′ => ‘September’ , ’10′ => ‘Oktober’ , ’11′ => ‘November’ , ’12′ => ‘Dezember’); //conversions from month numbers to month names
    $cur_month = ”; //set current month
    foreach ($output_array as $value){ //loop over all output data sets
    preg_match(‘/[\d]{2}+[\.]+[\d]{2}+[\.]+[\d]{4}/’, $value, $date); //search date (dd.mm.yyyy style) in string
    $date = preg_split(‘/\./’, $date[0]); //split date to get day, month, year
    echo “”;
    if ($date[1] $cur_month){
    echo “”;
    echo “”.$month_names[$date[1]].’ ‘.$date[2].”"; //output “month year” headings
    $cur_month = $date[1]; //set current month
    echo “”;
    }
    echo “”.$value.”";
    }
    echo “”;
    ?>

    As it can be seen, I added an additional function ” rs_event_list_return” to the plugin, which just returns the output array ($output_array) originally produced in the function “rs_event_list”. My new function “rs_event_list” simply calls “rs_event_list_return” and performs the “echo” of the returned “$output_array”. So, it is only a very small modification of your (original) plugin (I think, you did something similar already for the “rs_event_post” function). Maybe, you can consider to include my modification in the next version of the plugin (I can send you also my plugin file but I think it is no great deal). It is maybe easier for the users to manipulated the strings in “$output_array” than rewrite the database access and the styling of the string.

    Best regards,
    Jens

     

    Jens

  173. @Jens
    Thanks :-)

     

    Florian

  174. I need one of those two options, is it possible? Please help..

    1. Include the post image or thumbnail in the rs event function.

    2. Is it possible to sort WordPress posts by RS Event date? Because in the WordPress loop I can call those images and other items from the post. The only think I want is not sort the items by post date, but by date from the event.

     

    GeniusR

  175. @GeniusR
    You can do all the stuff you want by using the function rs_event_id() and creating some worpdress templates for your theme. You have to know or learn a few things about template tags and loops. You should get all information you need at the wordpress codex: http://codex.wordpress.org
    I am sorry, but I cannot offer or build any special code for certain problems (not enough time, sorry). However, when your finished, feel free to publish your code at this page to help other people who might have the same problem.

     

    Florian

  176. Hi Florian, thanks for a great plugin. I’ve just installed it and I’m using the widget on my site (www.sonko.me), but it’s not sorting the events in date order. Changing the sort order field in the widget options doesn’t seem to make any difference. I’m using version 1.2.1 with WP v3.0.3.

     

    PJ

  177. @PJ
    Thanks for your comment. Well, a look at your page showed me, that the widget sorts the events in perfect order by start date:
    11 Feb 2010 – 19 Feb 2011
    26 Dec 2010 – 02 Jan 2011
    28 Jan 2011 – 30 Jan 2011
    11 Feb 2011 – 13 Feb 2011
    Changing the option “sort order” should make a difference, so the result should look like:
    11 Feb 2011 – 13 Feb 2011
    28 Jan 2011 – 30 Jan 2011
    26 Dec 2010 – 02 Jan 2011
    11 Feb 2010 – 19 Feb 2011

    One final question: May it be, that the Kafountine Carnival 2011 starts on 11 Feb 2011?!!!!

     

    Florian

  178. HI Florian, somehow I didn’t notice the wrong year for the Kafountine Carnival. Thanks again for a fantastic plugin and sorry for bothering you.

     

    PJ

  179. @PJ
    No worries. Your problem made me aware of a bug with the group by date option I have to fix. Thanks for unsing RS EVENT multiday

     

    Florian

  180. Hi,

    Nice work. I have one problem: using my native language I didn’t manage to change “read more” accordingly.
    You said to somebody to change in the widget control panel but somehow I do not know how to do it. Can you be more specific and to explain to me like to someone who do not know much about programming?

    Thank you in advance.

    Best regards,
    Iustin
    Romania

     

    Iustin

  181. @Iustin
    At the widget control panel (please see WordPress reference to learn more about that) of the RS EVENT multiday plugin, you see the lines Output HTML 1 to 4. Each line contains default settings for the output of your event dates. At the very end of each line (the text is longer than the visible part) you will find the “read more”. There, you can change this output to your native language.

     

    Florian

  182. thank you for your answer. it really helped me.

    keep up the good work.
    iustin

     

    Iustin

  183. Hi, many thanks for this great plugin.

    Is there any way to use Tag Slugs as parameters in “RS EVENT multiday” functions?

    If I can do something like this, that will be wonderful!

    $argsevent = array(
    ‘timespan’ => 60,
    ‘date_format_1′ => ‘m|d|Y’,
    ‘date_format_2′ => ‘m|d’,
    ‘category’ => 1,
    ‘tag’ => array(‘iphone’, ‘android’)
    );
    rs_event_list($argsevent);

     

    masa

  184. @masa
    Well, there is no way with the function rs_event_list() and I do not think there ever will be.
    A solution might be the function rs_event_id() (as it is for almost any problem!!!!). Just get the IDs for all events with this function and then create a simple loop with some template tags and you should get what you want. Search codex.wordpress.org for the loop and template tags.

     

    Florian

  185. Florian, thank you for your reply.
    OK, I’ll try template tags.
    Hopefully you add the future sometimes :)

     

    masa

  186. I am having a problem with the templating within the widget. I am using Date Formatting 2 to display multi-day events within the same year

    Date Formatting 2: (F j, Y)

    But the output is Date Formating 1 (l, F j, Y) for the end date and Date Formating 2 (F j, Y) for the start date.

    Here is the template for HTML-3: %TITLE%%DATE% – %ENDDATE%

    You can see it in action at jewishgeneticdiseases.org on the right hand sidebar.

    Any ideas?

     

    Dan

  187. I took a closer look at the settings and I notice that I have it set up exactly how you intended. I didn’t read it carefully.

    I would like to have the multi-day events Date Formatting to be different from the Single Day Date Formatting. I wanted Single day events to show the Day of the Week and the Multi-Day events NOT to show the Days of the Week.

    I guess this is not possible with the current plugin. Would you think about implementing this?

    Thanks for the great plugin.

     

    Dan

  188. @Dan
    I am always grateful about new ideas, However, creating different date formatting for start and end date results in a more complex usability of the plugin, and that is not what I intend. Above all, RS EVENT multiday should be simple.

     

    Florian

  189. RS Event Multiday is far and away the most useful event plugin I’ve come across.

    Is there any way to output the event category in the html lists?

    I tried adding ‘%CAT%’ => get_the_category($event->id), but I guess it’s a bit more complicated than that.

    I hope you can help, but in any case thanks for a great plugin.

     

    Jeff Meadows

  190. @Jeff Meadows
    You cannot show the category with the function rs_even_list()
    BUT
    Just use the function rs_event_id() to get all the IDs of the posts you need for your calendar list. Then, create a foreach-loop and design the output the way you want it, including category and all the other stuff by using the wordpress template tags (see http://codex.wordpress.org/ )

     

    Florian

  191. Thanks, Florian, for coming back to me so quickly. I hadn’t thought of doing that way, but I’m sure I can get the result I want.

     

    Jeff Meadows

  192. Sorry to be dumb, but can you show me how to put rs_event_id() in the foreach loop. Loops I’ve used in the past look something like this:

    Thanks for your help. I’ve sent you a small donation.

     

    Jeff Meadows

  193. Again with the php tags removed:

    global $post;
    $myposts = get_posts(‘posts_per_page=5&category=35&order=ASC’);
    foreach($myposts as $post) :
    setup_postdata($post);
    the_content();
    endforeach;

     

    Jeff Meadows

  194. @Jeff Meadows
    Thanks for your donation. I will work on the loop and try to find a solution until Monday. I cannot work on it any earlier. Sorry. I will come back to you, soon.

     

    Florian

  195. @Jeff Meadows
    I have to admit, I could not solve the problem with a foreach loop, since you cannot use the function rs_event_post() within such a loop. Thus, I had to create a secondary loop with WP-Query.
    See:
    http://codex.wordpress.org/The_Loop -> Multiple Loops
    (also helpful:
    http://codex.wordpress.org/Function_Reference/query_posts
    http://codex.wordpress.org/Template_Tags/How_to_Pass_Tag_Parameters )

    < ?php
    $rs_ids = array();
    $rs_ids = rs_event_id();
    foreach($rs_ids as $rs_id) {
    $args = array(
    'p' => $rs_id
    );
    $rs_id_query = new WP_Query($args);
    while ($rs_id_query->have_posts()) : $rs_id_query->the_post();
    $args = array(
    'html_post_v1' => '%LOCATION% | %DATE% @ %TIME%',
    'html_post_v2' => '%LOCATION% | %DATE%',
    'html_post_v3' => '%LOCATION% | %DATE% - %ENDDATE%',
    'html_post_v4' => '%LOCATION% | %DATE% (multi-day event)',
    );
    rs_event_post($args)
    the_title();
    foreach((get_the_category($rs_id)) as $category) {
    echo ' ' . $category->cat_name;
    }
    endwhile;
    }
    ?>

     

    Florian

  196. Hi Florian! Great plugin. Just a quick question (unfortunately I haven’t found the answer yet). How can I check if the category I want to display contains any events to show? Is there a way?
    Cheers, markus

     

    Markus

  197. @Markus
    I am not sure if I really understand what you mean. However, a solution might be to pass the category as an argument to the function rs_event_list().
    You might need a separate call of the function rs_event_list() for every category you want to check.
    If you want to learn more about how you can pass parameters to rs_event_list(), please the the very end of the following page:
    http://wordpress.org/extend/plugins/rs-event-multiday/

     

    Florian

  198. Thanks a lot for your support and quick reply!
    I’ll try to explain better: I actually want to check if the list contains something before I show it in order to do the following:
    if cat=xx and events to show then
    show header ‘cat-xx’
    show list for cat xx
    else if cat=xxxx and events to show then
    show header ‘cat-xxxx’
    show list for cat xxxx
    end if
    I hope this is clearer. In other words, can I test “if a category contains elements which will be showing up as event”.

     

    Markus

  199. @Markus
    I guess, I know what you mean.
    The function rs_event_id() returns an array, that holds all the IDs similar to the post-list of rs_event_list(). You can even pass the same arguments (e.g. category) to rs_event_id() that you can pass to rs_event_list().
    With the next step, you can check, if the array, which is returned by rs_event_id(), is filled or not. If it is filled, then start rs_event_list() or use the IDs of the array to create a Loop.

     

    Florian

  200. Hi Florian,

    Instead of the location I want to put in a link to a different website. But if I fill in a link into the text field for the location it stops at 50 letters. The url I want to put in is longer.

    How could I change this, I looked into the php file but couldn’t find anything about the text-field of location.

     

    Kaj Rietberg

  201. @Kaj Rietberg
    You can change it at line 353 of rs-event-multiday.php . You have to change the following setting:
    maxlength=”50″
    I think about changing it in one of the next versions.

     

    Florian

  202. How can I insert events?? I can’t find where and how to do that?

     

    Cornelis

  203. Ok i found out how, but can I add an event WITHOUT adding a post??

     

    Cornelis

  204. Thanks Florian,

    So you are still updating the plugin? That’s good to hear!

     

    Kaj Rietberg

  205. @Cornelis
    No, you can’t!
    (Sorry, but this question really bores me. Just read the stuff or use another plugin.)

     

    Florian

  206. @Kaj Rietberg
    Yes, I stil release updates once in a while, usually one per year. WordPress has not changed much in the last couple of month so there was no need for an update, just for a bugfix. The next release will remove the possibility to output the fulltext with the widget and rs_event_list(), since this request slows down the database and the whole process quite a lot. Then, a fulltext output will only be possible with rs_event_id(). I am still working on a good solution for that.

     

    Florian

  207. [...] favourite Events Manager for WordPress is RS Events Multiday. If you’re a template hacker like me you’ll find this plugin easy to use and very [...]

     
  208. @florian
    Thanks for this plugin. You say that the question bores you but it’s true that it took me ages to find the answer to it. Maybe you should make an easy-to-access faq more user friendly for those who are not interested in codelines but just want to use your plugin at best. Just a suggestion:)

     

    riccardo

  209. Florian

  210. Hi Florian, Thx so much for your work.

    I would like to add an END-TIME in a single and a multi day event. As i am a complete newbee in php where to put my hands on and either i do not know if this is possible…

    I am working with the widget events_list.

    thx for reply

    Corina

     

    Corina Patricia Grether

  211. Hi Florian, Thx so much for your work.

    I would like to add an END-TIME in a single and a multi day event. As i am a complete newbee in php where to put my hands on and either i do not know if this is possible…

    I am working with the widget events_list.

    thx for reply

     

    Corina Patricia Grether

  212. @Corina Patricia Grether
    I am sorry, but with RS EVENT mulitday and END-TIME can only be added to single day events and not to multiday events. Furthermore I cannot see any way or solution to make it possible with the RS EVENT multiday plugin.

     

    Florian

  213. Hi Florian thx for your fast reply!

    I would like to style the elements as titles, date, excerpt etc with css and jquery.

    But since hours i am searching the tags i wrote…Is there another page where the dinamic data is saved?

    I think i must search them in your plugin page…maybe you know better.

    Thx very much

     

    Corina Patricia Grether

  214. @Corinna Patricia Grether
    I am sorry, but I am not familiar with jquery, so I cannot help you with that. Maybe another user can and he/she presents his/her results on this page.
    In order to style the output with css, just put some tags yourself into the output-fields of the widget control panel. Since the fields hold simple html-code, you can easily add stuff like

    <p class="event"><h1 class="rseventtitle">%title%</h1>
    <br />%date%, %time%</p>

    To get the tags, which are set automatically, just look at or search the source code of your homepage with your browser (not the php-files!). Then, you see the tags and you can create your css.

     

    Florian

  215. Eine Reminder-Funktion für die Gäste wäre nicht übel. Ist sowas in Planung?

     

    Dr. Satori

  216. ich würde den Wert der Location falls vorhanden gern in der single.php ausgeben.
    Wie ist das möglich?

     

    nepf

  217. Hey, Leute, könnte wir es bitte auch weiterhin so halten, dass wir die Fragen und Antworten auf Englisch formulieren. Das Plugin erfreut sich internationaler Beliebtheit und es ist nur fair, wenn das Forum somit allen zugänglich ist. Danke.

    @Dr. Satori
    No, I do not think about creating a reminder for guest or anything like that. However, the plugin is licensed under GPL, so please feel free to build one and share it. Would be great!!!

    @nepf
    In order to output the location data in your single php, just use the function rs_event_post() and costumize it with the parameters.
    Example:

    <?php

    $argsevent = array(
    'html_post_v1' => '%LOCATION%',
    'html_post_v2' => '%LOCATION%',
    'html_post_v3' => '%LOCATION%',
    'html_post_v4' => '%LOCATION%',
    );

    rs_event_post($argsevent);
    ?>

     

    Florian

  218. Hi.
    Ich habe dein Plugin ebenfalls installiert. Leider konnte ich bisher nicht herausfinden, in welche Tabelle der mySQL-DB die Einträge geschrieben werden? Hintergrund ist, dass wir evtl auch noch mit einem selbstgeschriebenen Programm sozusagen extern noch einige Termine eintragen wollen. Ist das mit diesem Plugin machbar? Wo genau liegen die Informationen unter mySQL, die man dazu benötigt?
    Danke!

     

    Michael

  219. Hey, red ich hier gegen eine Wand. Entweder die Anfragen kommen auf Englisch oder ich beantworte Sie in Zukunft nicht mehr. Will mir ja nicht zweimal die Arbeit machen.

    @Michael
    All the data to an event is stored at the postmeta-table and connected to the post-table.

     

    Florian

  220. Sorry, will reply in English from now on :)

     

    Michael

  221. So again another question: We are not sure if RS Event Multiday is the correct solution for our problem: We want to add some Dates with an external (self-written) Program.
    So we have to use the WordPress-DB and the post/postmeta-tables and add own Dates. I dont think that this is the best solution? On the other hand we want to use just ONE Calendar for ALL Dates. Any idea or any hint? Maybe another plugin?
    Thanks again.

     

    Michael

  222. @Michael
    Thanks for posting in English. I know, my English definitely not the best. However, this is the best way to reach as many people as possible, who are interested in this plugin.
    I guess, RS EVENT multiday is not the best plugin for your solution, since it uses the php operator msql2date in order to store the event time and date at the database (e.g. line 582ff. of the code). This was already introduced my Robert Sargant, so I have to admit I am not so familiar with it. Consequently, you cannot transfer data from an external table to the mysql-tables directly. Sorry.

     

    Florian

  223. It’s possible only the events to automatically display only one day? from 18 May only of 18 mai etc.

     

    Jörg

  224. @Jörg
    I am sorry, but I cannot see any way to solve your problem. Maybe some else can and he/she posts the solution here. Maybe, it is helpful for you to try to change the timespan parameter of the plugin-functions and/or to change the publish-date of the event-posts at the edit-post-page in your wp-backend.

     

    Florian

  225. is it possible to give it an end TIME, too? not only an end DAY … because i need something like:
    “Meeting / 24.06.2011 / 15:30 – 16:30″ …

     

    hans

  226. @hans
    I am sorry, this is not possible

     

    Florian

  227. okay, i think i will use the optional “location” tag to add something like “duration: 2 hours”. anyway – thanks for the great plugin. most event-plugins are too overloaded for my project and i love to use normal articles for events.

     

    hans

  228. maybe someone needs something like this: i want the name of the location to appear before the link to the event but without adding the location in the admin interface. so i did it with CSS “content” and the “attribute-selector”:

    li.rsevent a[href*='termine/club-newyork']:before { content:”Club New York “; }

    or

    li.rsevent a[href*='termine/club-boston']:before { content:”Club Boston “; }

    so in my output on the website there always stands the name of the location without adding the name in the admin panel.

    in wordpress i added a function to appear every event in a templat-site of it’s own category, i did it with editing the “single.php” this way:

    maybe it helps someone …

     

    hans

  229. Hi
    I recently tested your plugin and I think it does exactly that I was looking for. In have created different sidebars (Custom Sidebars) for each category. Now when I want to configure them, your “RS Event Plugin” can only be placed once. How can I place more than one an each shows its related events?
    Kurt

     

    Kurt

  230. @Kurt
    You are right, the RS EVENT Widget can only be placed once at your sidebar via the Widget-Control panel of the WP-backend. The only way to place more than one instance at your sidebar is to edit manually the sidebar.php of your theme. Just include the rs_event_list() function there several times and costumize it with different arguments.
    However, I do not know exactly, how to edit the sidebar.php manually and still manage some other widgets at the WP-backend. It might be helpful, that you read some stuff about the sidebar.php at codex.wordpress.org.

     

    Florian

  231. OK, thank You for replaying. I will take a look into it.

     

    Kurt

  232. Thanx for the evolved plugin. I really appreciate your work! Is there a way to make no output appear at all, when there are no upcoming events? I can find at the source code, where the message is put into the list and can comment this out easily. But the widget still has a title then ;-)

     

    liqui.do

  233. Ach so, ich könnte natürlich auch auf deutsch schreiben ;-) Gibt es einen einfachen Weg, um gar keinen Output zu haben, wenn es keine Termine in der eingestellten Zeit gibt? Die no_event_msg könnte ich zwar auskommentieren im Plugin, aber das berührt das Erscheinen des Widgets selbst so gar nicht… Und es wäre auch nicht update-freundlich, womit ich leben könnte.

     

    liqui.do

  234. @liqhi.do
    First of all, thanks for writing in English (just see some posts above). These comments are the FAQ-section of the plugin, so I would love to have all the questions and answers in English.

    You cannot do it with the widget, but you can, when you use the functions rs_event_id() and rs_event_list() in a template:

    $eventids = rs_event_id($argsevent);
    if ($eventids) {
    rs_event_list($argsevent); }

     

    Florian

  235. I’m loving this widget, but I was wondering if there was a simple way to call this up on a regular page. I want it to be incorporated into a page about our events. For example, on the main nav of our site there is a “bear Bash parties” tab and I want all the events to be listed on this page. Is that possible?

     

    Kyle

  236. @Kyle
    Just add the function rs_event_list() to the index.php, page.php or any other template-file of your widget.

     

    Florian

  237. wont this add it to every page? I want to just to a simple add so it appears on one of the pages in full. It’s already listed with a widget in the right margin and that works great.

     

    Kyle

  238. @Kyle
    You have to create a certain page template, include the code there and assign your page to that template. If you use a WP Theme, that cannot cope with multiple templates (usually, all Themes do), you might have to try another Theme. Please see:
    http://codex.wordpress.org/Stepping_Into_Templates

     

    Florian

  239. fantastic plugin, but I have e problem similar @Pepper

    I think plugin is using the end date to line up in the list e not the beginning date in case of 2 days longer event .

    When i display “today event” all it’s OK with single day or multiday event (max 2 day long)
    The muliday event with more than 2 days are display correctly only in list with timespan greater than the distance from today end the end date event.

     

    ferdi

  240. @ferdi
    Thanks for your comment. I will have a look at the plugin. However, can you give me some examples to make it easier for me to understand the problems. Please, just list up a view dates, so I can see the problem myself.

     

    Florian

  241. @Florian

    widget setting:
    timespan=1
    history=0
    show up to=0

    Example post setting

    start date 15 July
    and date 17July
    Multiday Yes
    remove from list by end date

    Today 15 July with this setting the event does not appear.

    But I think I’ve solved with these changes:
    in rows 1073 and 1815 I replaced

    meta1.meta_value <= {$upper_time}

    with

    meta2.meta_value <= {$upper_time}

    seems to work..

     

    ferdi

  242. @ferdi
    I have never thought of using the plugin to show only the events, that take place on a specific day (like today) or right now. Great, that you have suggested a change to the code. I will have a look at it and maybe I publish a bugfix a.s.a.p.

     

    Florian

  243. Hi I also sent you an email

    I am totally a newbie at writing template codes. I understand where to put the template php at the top and I get the paramenters, etc. But, I just am not sure where to put the code within the template.

    I sent you an email with the template attached and a request, if you could, to help me write the code, with the function information, and assistance with where to put it.

    I’m so crazy lost and I really, really, want to use the plugin.

    I also saw above, after reading almost every single entry this code: Would this work for anyone and if so, where do I put it and do I need to add anything to it?

    Please help me.
    Thank you.

    $rs_id
    );
    $rs_id_query = new WP_Query($args);
    while ($rs_id_query->have_posts()) : $rs_id_query->the_post();
    $args = array(
    ‘html_post_v1′ => ‘%LOCATION% | %DATE% @ %TIME%’,
    ‘html_post_v2′ => ‘%LOCATION% | %DATE%’,
    ‘html_post_v3′ => ‘%LOCATION% | %DATE% – %ENDDATE%’,
    ‘html_post_v4′ => ‘%LOCATION% | %DATE% (multi-day event)’,
    );
    rs_event_post($args)
    the_title();
    foreach((get_the_category($rs_id)) as $category) {
    echo ‘ ‘ . $category->cat_name;
    }
    endwhile;
    }
    ?>

     

    Chelsea

  244. Oh I guess I should post my question here that I emailed to you:
    Hello

    I am hoping, praying you can help me.

    I’m not very good at writing php templates. Would you happen to have the ability to change this php template to exhibit the Event List on a page?

    I’ve attached a php file from my current theme. I desperately need your help.

    I looked up on google how to create a php template. My struggle is I’m not sure how to write a function and in the end what it all supposed to look like.

    I just want a normal page, with a right sidebar option, that outputs the events list.

    I would like for the page to display the following information concerning each event, if possible:

    Timespan-365
    date_format_1 – dmy
    html_list_v1 (as well as v2, v3, v4) I’m not sure which one is best
    max_events – 10
    group_by_date – 1
    sort_order (most upcoming event first and so on)
    category – all/0
    Customizing the html-output
    The values “html_list_vX” and “html_post_vX” can be styled both for the widget and within templates. Simply use html-code and the following parameters:
    %URL% the URL of the post with the event
    %DATE% the start-date of the event, formatted as date_format_1 in _v1, _v2 and _v4 and as date_format_2 in _v3.
    %ENDDATE% the end-date of the event, formatted as date_format_2
    %TIME% the event time, formatted as time_format.
    %TITLE% the title of the post.
    %LOCATION% the location of the event or any other information you might want to add
    %FULLTEXT% the entire text of the post.
    %EXCERPT% the post excerpt.

    Please please please help me!
    Chelsea Martin

     

    Chelsea

  245. @Chelsea
    In order to help you, please answer me the following questions:

    1. What is the name of the WordPress-Theme you use? Please tell me the name and send me the link. If I cannot get it for free, I am sorry, I will not be able to help you.

    2. Where do you want to show the RS EVENT multiday list?
    a) In the sidebar on every page where you show widgets (like the HNN Archives or Advanced Random Posts)
    b) On a certain “Events”-Page (like http://www.homeschoolnewsnetwork.com/category/homeschool-events/)

    3. If you want to show it on a certain events page, where should the list be placed?
    a) E.g. on the left among other stuff
    b) LIKE a sidebar on the right
    Comment: Please be aware, that “sidebar” means a designated area in WordPress themes, that uses the sidebar.php of your theme and usually gets costumized by Widgets. However, you can turn off the sidebar with page-templates and use the whole width of your site. Then an area might look like a sidebar when you place stuff as a column on the left or right (with CSS), but in fact it is not one.

     

    Florian

  246. Hi Florian
    You can’t get the theme for free but I could upload it to a 4shared account I have and email you the link to download it. It is from Themeforest.

    If you are willing to do that, then here are the answers to your questions:

    2. I want it on a page (b) as you stated.
    3. I don’t want to turn off the sidebar but I want the list to among other text and maybe images. So, I think option A is that I want for this one.

    Let me know if you are willing to download the theme from my 4shared account or if I should send you a specific page template etc. Thank you, thank you, thank you.

    Chelsea

     

    Chelsea

  247. @Chelsea
    Please send me the link via E-Mail. I think, I might need all theme-files!!! However, I will not be able to take a look at it until next Tuesday. Sorry about that.

     

    Florian

  248. I’ve sent the email with the link.
    Tuesday is fine.

     

    Chelsea

  249. @Chelsea
    I had a look at the theme you have sent me. “frailespatique” seems to be quite a complex theme, which works with a certain template structure and I think it might take me some time to understand it and to make changes to it. However, what you ask for is far beyond the support I offer here, since the plugin seems to work alright and I cannot offer tailored solutions to any theme. Maybe you find a way to work with the Widget in the sidebar. Sorry.

     

    Florian

  250. OH man, I’m so bummed. Is there a way to maybe just add the necessary code to a page template and let me see if it works?

    If not, we’ll move one. Thanks Florian. I’m disappointed.

    Chelsea

     

    Chelsea

  251. @Chelsea
    Well, the way you describe is exactly the way it is meant to work. Just create a page template, add the RS EVENT multiday code (see the example at http://wordpress.org/extend/plugins/rs-event-multiday/ at the very bottom of the page) and assign the template to the page (e.g. “Events”).
    For creating templates, please see:
    http://codex.wordpress.org/Stepping_Into_Templates
    and
    http://codex.wordpress.org/Templates

    However, I do not know, how “frailespatique” copes with user templates and how it integrates those. This is, what might take quite some time to figure out. Furthermore, I cannot install the theme on my webspace, since I do not have a license for it (sadly, it’s not freeware or cc).

     

    Florian

  252. [...] see/search/use the comments on http://dalking.de/rs-event-multiday/ A lot of questions are answered there already (including the one [...]

     
  253. I cannot add events that are in 2014. What am I doing wrong?

     

    Andreas Hartel

  254. @Andreas Hartel
    You do nothing wrong! You simply cannot add events that take place more than two years into the future. So, you have two possibilities to solve your problem:
    1. Wait until January 1st, 2012
    2. Make changes to the code of the plugin as follows:
    - Go to line 216 and line 339
    - Change the +2 into +3 (or +4 or whatever you want)

     

    Florian

  255. OK, thanks for the hint. But why haven’t you implemented the year form field as a text type? Maybe this would make it easier for some users?
    But thanks for the plugin! It’s great as it is, already!

     

    Andreas Hartel

  256. Hi, thanks for the great plugin. I’m loving its flexibility to create pages with lists of upcoming and/or archived events.

    I’m unable, however to display a page’s own informations (start date, end date, location)

    What I’d like to do is, after adding Startdate, Enddate and Location to a page (in the Write screen) being able to see these informations in the published page.

    Is there a way I can achieve this? Thanks in advance :)

     

    Nat Cornes

  257. Ok, solved. It was easy to do, the hard part was browsing through this not so practical post.

    For anyone else like me trying to print the information of the page itelf, the code is one and a half year ago lost in the comments.
    It helps A LOT! Thanks Florian!

    Here again:
    ‘ \\(l\)\ | H:i’,
    ‘html_post_v1′ => ‘

    %DATE% %TIME% Uhr
    ‘,
    ‘html_post_v2′ => ‘

    %DATE%
    ‘,
    ‘html_post_v3′ => ‘

    %DATE% bis %ENDDATE%
    ‘,
    ‘html_post_v4′ => ‘

    Beginn: %DATE% (multiday)
    ‘,
    );
    rs_event_post($argseventpost)
    ?>

     

    Nat Cornes

  258. Hi, since I answered my own question before, I hope it ain’t too bad me asking again.

    The same html formatting that works fine in the Widget doesn’t work in the pages (for me)
    %DATE% – %TITLE% displays “26.01 – The title goes here” when used in a widget but “26.01 – %TITLE%” when used in the Loop.
    What can be wrong?

    Thanks :)

     

    Nat Cornes

  259. @Nat Cornes
    Sorry for that sort of chaotic post. You know, it started small and everything was fine and than it grew and I did not have the time to work on it.
    Anyway, to your second (not answered yet) problem:
    For the function rs_event_page() which should be used in page templates, it is only possible to use the parameters %DATE%, %TIME%, %ENDDATE% and %LOCATION% (yes, I should have mentioned that above, well, sorry, I haven’t). Why? For all the other stuff like title and so on you can use the wordpress template tags. This results in a much faster RS EVENT plugin and your template works faster as well.

     

    Florian

  260. Thanks, Florian. In the meanwhile I already found my way to print that info using templates :)
    Now, I have a new one…
    I’m trying to build an “Events Front Page” with 3 areas:
    - Past Events (not including the current one)
    - Current Event
    - Upcoming Events (not including the current one)
    (all Events are multi-day)
    Now, my problem is the “not including” part..
    If I choose to make my events removable from list by “END DATE”, my Current Event will appear among the “Upcoming”.
    If I choose to make my events removable by “START DATE” the Current Event is always listed among the “Past” ones…

    (I tried looking at the code but I think the “key date” is rs_event_ts and didn’t found where to bend it)

    Please, I’d need some sort of logic to list past and future events, separately, and without including the current one.

    Any suggestion? Thanks in advance! :)

     

    Nat Cornes

  261. @Nat,
    Sorry, now I see the problem clearer. However, I cannot see a solution to your problem since an event is still considered as a “rather short” (i.e. maximum of one day) event, even if it is a multiday event. To sort, add and remove the event, the plugin just uses the start OR end date, so the plugin regards the event as a single day event. SORRY.
    B.t.w.: The start OR end date, which is used for sorting, is stored in the database with the key _rs_event_ts

     

    Florian

  262. Hi! Your widget is just what I was looking for!
    I have a few questions though:

    1. I am able to add all the default WP widgets multiple times but can’t add RS EVENT multiday more than once. I want the widget to appear on the homepage as well as the sidebar (when sidebar is enabled).
    Do you know if this is a problem with the widget or with my theme, and whether I can fix it? Or should I follow step 5 of the installation instructions?

    2. I’m not very familiar with php, but I want to am/pm to show in the time. Where do I place the “a” in the output?

    Thanks!

     

    Amy

  263. @Amy

    1. Via the sidebar widget control panel of the WP backend, the widget can only be placed once in a sidebar. Nevertheless, you can put the function rs_even_list() as many times as you want it in your template or sidebar.php. So yes, please follow step 5.

    2. You have to add the “a” at the time format of the widget or you have to pass it as a parameter, e.g.:
    ‘time_format’ => ‘g:i a’,

     

    Florian

  264. Hi Florian,
    ist there any way to use this plugin in relation with a csv-import file. I am eager to populate my blog with events like concerts and would love to put a date into a column which would fill the according custom field. But as the Custom Fields are hidden and I don´t think that the plain date can be used, I kindly asku your advice. rly hope I could explain my issue properly.
    Thx for your work,
    Michael

     

    Michael

  265. @Michael
    I guess, I know, what you want. Well, there might be ways to solve your problem. However, you have to be familiar with manipulating your database. Moreover you have to be familiar with the php function mysql2date.
    I think, there are better plugins, which might solve your problem in a better wetter.

     

    Florian

  266. THX for your answer Florian, could you name a plugin that enables what I want? Up to now, I´ve rly tried several ones to no avail…

     

    Michael

  267. @Michael
    Sorry, I can’t. I have no idea, what user plugins put into the database.
    However, it might work with RS EVENT multiday. But it will definetly be a lot of work and thinking. Thus, I am sorry I cannot offer you a solution.

     

    Florian

  268. Sometimes the %TITLE% ist too long in the sidebar. I whould like to limit the %TITLE% to a given number of letters. Any help?

     

    nepf

  269. @nepf
    I am sorry, but I cannot think of a change to the code, which shortens the title automatically. I am sure, there is one, but I have no idea, how to realize it.
    An easier way might be, to use the %location%-field for a second and shorter form for your titles. Of course, this is just possible, if you do not need the %location%-field for something else, well, let’s say for example for a location ;-)
    If you are not afraid of making changes to the code, just add a second location-field, which works similar to the one that already exists (just name it differently, e.g. %information% or %shorttitle%)

     

    Florian

  270. I would like to use group_by_date to group everything under month like this:

    January 2012
    02 – Event name
    12 – Event name
    19 – Event name

    March 2012
    14 – Event name
    22 – Event name

    So I used: ‘date_format_1′ => ‘F Y’, and ‘group_by_date’ => ’1′,

    That works so far. But when I use %DATE% for the HTML list output, it shows “F Y” again instead of only the DAY of the month. Is it possible to change %DATE% without changing ‘date_format_1′ => ‘F Y’? Because then it will break the group_by_date function :(

     

    Martin

  271. Hello. I am trying to use on http://www.harlemtrends.com. Everything works EXCEPT the following. I keep adding the widget in my admin panel but wordpress keeps removing it so I never see the events on my home page. Can you help? Herve’

     

    Herve Jean-Baptiste

  272. @Martin
    Please download and try to work with the following file:
    http://dalking.de/daten/rs-event-multiday1-2-1-2beta.zip

    Please, tell me if this works for you. Group by date was already used in the original RS EVENT, so I am not really familiar with this function and I am not sure that it works properly with multiday events.

    You find the changes to 1.2.1.2beta in lines 76, 598, 603 and 688 of the code of the new file.

     

    Florian

  273. @Herve Jean-Baptiste
    I have been to your homepage and it seems everythings works fine by now.

     

    Florian

  274. On this page: http://gloryhousechurch.com/main/events/
    The d.m.Y format for the dates is not what I want. I have changed the format in the widget to m.d.Y, and as far as those are concerned, they display as I want. How can I change it for the page template?

     

    Ogadi

  275. @Ogadi
    Please see the chapter “How to pass on parameters to one of the functions” at the very end of the following page:
    http://wordpress.org/extend/plugins/rs-event-multiday/

    The parametes you have to adjust are date_format_1 and date_format_2

     

    Florian

Leave a Reply

Message:



Webspace preiswert! - Alfahosting.de