-
Search Results
-
Topic: Conditional not Working
All my other conditional statements are working, but #_EVENTDETAILS ( / #_NOTES). Am I coding my sub-conditions wrong?
Here is my code for “Default single event format”:
[eme_if tag="#_EVENTCATEGORIES" notvalue=Work]
<section class=”column column-1 grid-left-0 grid-width-12″>
<div class=”single-event-text-wrapper”>
<h1>#_EVENTNAME</h1>
<h2 id=”date”>#_{F jS}
[eme_if2 tag="#_{F j Y}" notvalue="#@_{F j Y}"]
[eme_if3 tag="#Y" notvalue="#@Y"], #Y[/eme_if3] –
[eme_if4 tag="#F" notvalue="#@F"]#@_{F }[/eme_if4]
#@_{jS}[/eme_if2], #@_{Y}</h2>
#_{l}[eme_if2 tag="#_{F j Y}" notvalue="#@_{F j Y}"] – #@_{l}[/eme_if2]
[eme_if3 tag="#_{F j Y}" value="#@_{F j Y}"] only[/eme_if3]
[eme_if2 tag="#ESC_ATT{Leader}" is_empty=0]<h2>Leader</h2>#_ATT{Leader}[/eme_if2]
[eme_if2 tag="#ESC_TOWN" is_empty=0]<h2>Location</h2>#_ADDRESS<br>#_TOWN[/eme_if2]
[eme_if2 tag="#_EVENTDETAILS" is_empty=0]<h2>Additional Information</h2>#_EVENTDETAILS[/eme_if2]
</div>
</section><section class=”column column-2 grid-left-0 grid-width-12″><div class=”single-event-map-wrapper”>#_MAP</div><div class=”event-return-button”>View Full Itinerary</div></section>
[/eme_if][eme_if tag="#_EVENTCATEGORIES" value=Work]
[eme_if2 tag="#_AVAILABLESPACES" ge=1]
<div class=”eventpage-work-day”>#l</div>
<div class=”eventpage-work-date”>#_{F jS}</div>
[eme_if3 tag="#_AVAILABLESPACES" ge=1]<div class=”eventpage-work-available”>Available</div>[/eme_if3]
[eme_if4 tag="#_AVAILABLESPACES" value=0]<div class=”eventpage-work-booked”>Booked</div>[/eme_if4]
<div class=”eventpage-work-text”>Please enter your information below to submit your reservation.</div>
<div class=”eventpage-work-form-wrapper”>#_ADDBOOKINGFORM</div>
[/eme_if2]
[/eme_if]I know this may be a little far fetched and may require sponsoring or something. Howbeit, this feature could add many possibilities.
The idea here is the ability to make a conditional statement for one event and reference another event’s attributes.
One scenario that I have encountered where this would be useful is when I have two events on the same day. It would be great to be able to have the second event display a certain way if found on the same day as the other event(s).
Any thoughts?
(The only way that I have been able to get close to this is by using conditions based on an event’s categories. It works, but it sure is limited. Especially, when trying to run the events through an RSS based mailing.)
My form submitted even though there was a required field blank. The req ToC was not checked and it submitted as well. Here is the RSVP template code.
<table class=’eme-rsvp-form’>
<tr><th scope=’row’ width=”200″>Parent or Guardian Name*:</th><td>#_NAME</td></tr>
<tr><th scope=’row’>E-Mail*:</th><td>#_EMAIL</td></tr>
<tr><th scope=’row’>Select Number One*:</th><td>#_SPACES</td></tr>
<tr><th scope=’row’>Student’s First Name*:</th><td>#REQ_FIELD{1}</td></tr>
<tr><th scope=’row’>Student’s Last Name*:</th><td>#REQ_FIELD{2}</td></tr>
<tr><th scope=’row’>Grade for 2014-2015*:</th><td>#REQ_FIELD{3}</td></tr>
<tr><th scope=’row’>Birth Date*:</th><td>#REQ_FIELD{4}</td></tr>
<tr><th scope=’row’>Gender*:</th><td>#REQ_FIELD{5}</td></tr>
<tr><th scope=’row’>Home Address*:</th><td>#REQ_FIELD{7}</td></tr>
<tr><th scope=‘row’>City*:</th><td>#REQ_FIELD{8}</td></tr>
<tr><th scope=‘row’>State*:</th><td>#REQ_FIELD{9}</td></tr>
<tr><th scope=’row’>Zip Code*:</th><td>#REQ_FIELD{10}</td></tr>
<tr><th scope=’row’>Mom’s primary phone number*:</th><td>#REQ_PHONE</td></tr>
<tr><th scope=’row’>Dad’s primary phone number*:</th><td>#REQ_FIELD{11}</td></tr>
<tr><th scope=’row’>Emergency contact number*:</th><td>#REQ_FIELD{13}</td></tr>
<tr><th scope=’row’>Name and relationship*:</th><td>#REQ_FIELD{14}</td></tr>
<tr><th scope=’row’>Home Church/Branch*:</th><td>#REQ_FIELD{15}</td></tr>
<tr><th scope=’row’>Allergies &/or medical conditions*:</th><td>#REQ_FIELD{16}</td></tr>
<tr><th scope=’row’>Agree to Guidelines*</th><td>#REQ_FIELD{17}</td></tr>
<tr><th scope=’row’>Comment:</th><td>#_COMMENT</td></tr>
#_CAPTCHAHTML{<tr><th scope=’row’>Please fill in the code displayed here:</th><td>#_CAPTCHA</td></tr>}
</table>
#_SUBMITHi there,
I was having issues with v1.34 and the eme_get_events_list function. The function would return events outside of the scope. For instance, I would set a scope of “this_week” and the plugin would return items from the beginning of the month. I check a few different areas of the function and found that I got the expected functionality if at line 1376 of eme_events.php I removed
OR (event_start_date <= '$limit_start' AND event_end_date >= '$limit_end')I believe this makes the SQL statement too loose and allows false positives. Removing that line gets me the correct dates for the week, and nothing further. I see that you have added that logic throughout the plugin, perhaps it only needs to be there in certain spots? Let me know if there is some other troubleshooting I should try.
Thanks!
ArisI am trying to write some code for an if statement about a custom field I created in my booking form. I was able to find this code sample to use as a starting point:
add_action('eme_insert_rsvp_action', 'my_eme_discount_function',20,1); function my_eme_discount_function($booking) { global $wpdb; $bookings_table = $wpdb->prefix.BOOKINGS_TBNAME; $where = array(); $fields = array(); $event_id = $booking['event_id']; //$discount_code = $booking['event_id']; //print 'EVENT ID='.$event_id .' Booking_id = '.$booking['booking_id']; //print_r ($booking); if ($event_id == 12) { /* put in the event_id that needs processing */ $seats=$booking['booking_seats']; $price=$booking['booking_price']; // more than 2 seats, then the price is 25 per seat if ($seats> 1) $price = 25; $fields['booking_price'] = $price; $where['booking_id'] = $booking['booking_id']; $wpdb->update($bookings_table, $fields, $where); } return; }But instead of calling
if ($event_id == 12)I want to say
if ($my_new_field) == "valueOfField"How would I reference the value of my new field?
Hopefully that make sense. Thanks!!
Franky,
Several months ago, under an older version of the plugin, I had successfully created a select menu of states which would recenter the map to a particular lat/long for viewing ‘event locations in my state’. It seems that this no longer works, perhaps because the map object is now no longer available globally. On change of the select menu, I get a JS error “map.setCenter is not a function”. Do you have any insight on this or is there a different method now that might re-enable my map recentering?
Thanks Franky!
Topic: Paypal payment buttons
Hello
ANother issue that has cropped up in our early days of our site being live.
It has been pointed out that when you go to the paypal payment pages (this is on the paypal site) sometimes the button reads “payment on delivery” or words to that effect and makes a statement about money being taken in around two weeks. Rather than the usual Pay now button.
Why is this? Is it a setting? or is it something Pay Pay are messing about with and as such beyond our control?
Incidentally payment is taken pretty much straight away.
Topic: Required Field Problem
I’ve got a pretty large form, but if I have any required fields it won’t submit the form at all stating that I need to fill out all the required feilds
Here’s the code for my form
<table class='eme-rsvp-form'>
<tr><th scope='row'>Number of Players*:</th><td>#_SEATS</td></tr>
<tr><th scope='row'><h3>Agreement:</h3></td></tr>
<tr><th scope="row"><p>Please read any waiver carefully. It includes a release of liability and waiver of legal rights and deprives you of the ability to sue certain parties. Do not agree to this document unless you have read and understood it in its entirety. By agreeing electronically, you acknowledge that you have both read and understood the text presented to you as part of the registration process. You also understand and agree that events carry certain inherent dangers and risks which may or may not be readily foreseeable, including without limitation personal injury, property damage or death. Your ability to participate in the event(s) is/are subject to your agreement to the waiver and by agreeing herein, you accept and agree to the terms of the waiver and release agreement.</p>
<tr><th scope='row'>Agreement*:</th><td>#REQ_FIELD01</td></tr>
<tr><th scope='row'>Name*:</th><td>#_NAME</td></tr>
<tr><th scope='row'>Team name*:</th><td>#REQ_FIELD02</td></tr>
<tr><th scope='row'>Division*:</th><td>#REQ_FIELD16</td></tr>
<tr><th scope='row'><h2>Player Information:</h2></td></tr>
<tr><th scope='row'><h3>Captain Information:</h3></td></tr>
<tr><th scope='row'>Team Captain name*:</th><td>#REQ_FIELD03</td></tr>
<tr><th scope='row'>Gender*:</th><td>#REQ_FIELD04</td></tr>
<tr><th scope='row'>Height*:</th><td>#REQ_FIELD15</td></tr>
<tr><th scope='row'>T-shirt Size*:</th><td>#REQ_FIELD06</td></tr>
<tr><th scope='row'>Date of Birth*:</th><td>#REQ_FIELD05</td></tr>
<tr><th scope='row'>E-mail:</th><td>#_EMAIL</td></tr>
<tr><th scope='row'>Phone number:</th><td>#REQ_PHONE</td></tr>
<tr><th scope='row'>Address*:</th><td>#REQ_FIELD11</td></tr>
<tr><th scope='row'>City*:</th><td>#REQ_FIELD12</td></tr>
<tr><th scope='row'>State*:</th><td>#REQ_FIELD13</td></tr>
<tr><th scope='row'>Zip*:</th><td>#REQ_FIELD14</td></tr>
<tr><th scope='row'><h3>Player 1 Information:</h3></td></tr>
<tr><th scope='row'>Player 1 name*:</th><td>#REQ_FIELD52</td></tr>
<tr><th scope='row'>Gender*:</th><td>#REQ_FIELD53</td></tr>
<tr><th scope='row'>Height*:</th><td>#REQ_FIELD54</td></tr>
<tr><th scope='row'>T-shirt Size*:</th><td>#REQ_FIELD55</td></tr>
<tr><th scope='row'>Date of Birth*:</th><td>#REQ_FIELD56</td></tr>
<tr><th scope='row'>E-mail:</th><td>#REQ_FIELD57</td></tr>
<tr><th scope='row'>Phone number:</th><td>#REQ_FIELD58</td></tr>
<tr><th scope='row'>Address*:</th><td>#REQ_FIELD59</td></tr>
<tr><th scope='row'>City*:</th><td>#REQ_FIELD60</td></tr>
<tr><th scope='row'>State*:</th><td>#REQ_FIELD61</td></tr>
<tr><th scope='row'>Zip*:</th><td>#REQ_FIELD62</td></tr>
<tr><th scope='row'><h3>Player 2 Information:</h3></td></tr>
<tr><th scope='row'>Player 2 name*:</th><td>#REQ_FIELD40</td></tr>
<tr><th scope='row'>Gender*:</th><td>#REQ_FIELD41</td></tr>
<tr><th scope='row'>Height*:</th><td>#REQ_FIELD42</td></tr>
<tr><th scope='row'>T-shirt Size*:</th><td>#REQ_FIELD43</td></tr>
<tr><th scope='row'>Date of Birth*:</th><td>#REQ_FIELD44</td></tr>
<tr><th scope='row'>E-mail:</th><td>#REQ_FIELD45</td></tr>
<tr><th scope='row'>Phone number:</th><td>#REQ_FIELD46</td></tr>
<tr><th scope='row'>Address*:</th><td>#REQ_FIELD47</td></tr>
<tr><th scope='row'>City*:</th><td>#REQ_FIELD48</td></tr>
<tr><th scope='row'>State*:</th><td>#REQ_FIELD49</td></tr>
<tr><th scope='row'>Zip*:</th><td>#REQ_FIELD50</td></tr>
<tr><th scope='row'><h3>Player 3 Information:</h3></td></tr>
<tr><th scope='row'>Player 3 name*:</th><td>#_FIELD29</td></tr>
<tr><th scope='row'>Gender*:</th><td>#_FIELD30</td></tr>
<tr><th scope='row'>Height*:</th><td>#_FIELD31</td></tr>
<tr><th scope='row'>T-shirt Size*:</th><td>#_FIELD32</td></tr>
<tr><th scope='row'>Date of Birth*:</th><td>#_FIELD33</td></tr>
<tr><th scope='row'>E-mail:</th><td>#_FIELD34</td></tr>
<tr><th scope='row'>Phone number:</th><td>#_FIELD35</td></tr>
<tr><th scope='row'>Address*:</th><td>#_FIELD36</td></tr>
<tr><th scope='row'>City*:</th><td>#_FIELD37</td></tr>
<tr><th scope='row'>State*:</th><td>#_FIELD38</td></tr>
<tr><th scope='row'>Zip*:</th><td>#_FIELD39</td></tr>
<tr><th scope='row'><h2>Policies:</h2></th><td></td></tr>
<tr><th scope='row'><h3>Team Roster Policy</h3></th><td></td></tr>
<tr><th scope='row'><a href="http://www.hoopsforheroes3on3.com/wp-content/uploads/2013/03/The-Official-Team-Roster.docx">Click here to download policy</a>
<tr><th scope='row'>Please Agree</th><td>#_FIELD08</td></tr>
<tr><th scope='row'><h3>6 Foot and Under Policy</h3></th><td></td></tr>
<tr><th scope='row'><a href="http://www.hoopsforheroes3on3.com/wp-content/uploads/2013/03/6-Foot-and-Under-Policy.docx">Click here to download policy</a>
<tr><th scope='row'>Please Agree</th><td>#_FIELD09</td></tr>
<tr><th scope='row'><h3>Refund Policy</h3></th><td></td></tr>
<tr><th scope='row'><a href="http://www.hoopsforheroes3on3.com/wp-content/uploads/2013/03/Refund-Policy.docx">Click here to download policy</a>
<tr><th scope='row'>Please Agree</th><td>#_FIELD10</td></tr>
</th><td></td></tr>
#_CAPTCHAHTML[<tr><th scope='row'>Please fill in the code displayed here:</th><td>#_CAPTCHA</td></tr>]
</table>
#_SUBMITIf you’re going to muck with EME code and you make backups of the older files, and one of them is the main events-manager.php, do yourself a favor and not only rename the old one but CHANGE its contents so that the “Plugin Name:” field has a different name.
I just wasted about 2 hours of my life trying to figure out why my event images suddenly stopped appearing in my EME widgets. After circling around back a few times I finally found an old post, one of the first times Franky patched something for me, at http://www.e-dynamics.be/bbpress/topic.php?id=106
Sure enough, all this time I’ve had TWO instances of the EME plugin in my WordPress Plugins panel, and recently, accidentally, deactivated the new one and activated the old one. (I had simply intended to restart the same one.)
Upon patching it back in March, I had renamed the FILE NAME of the original to “old-events-manager.php” but purposely had left the contents in their original state, which unfortunately included the Plugin Name field.
So if you just change the “Plugin Name:” in the php file contents, you can avoid making the same stupid mistake I did. Now the older plugin, while still appearing in my Plugins list, is obviously marked with OLD in its name….
Of course, I would also have avoided this mess if I had left off the PHP extension. 🙂
[I’m not so sure that there were always two copies in my Plugins list. This may have happened because I had briefly swapped the old and new files during testing recently, so WP may have picked up and cached both of them as the plugin definition of record.]
Franky,
Do you think it might be possible to allow additional fields for the address data in the eme_locations DB to work with the hcard format?I came across it while looking at foursquare integration which requires seperate tags to match a location. I think the same could apply for facebook opengraph API which I’ll be looking into next.
Maybe user: geoffreysf found a workaround as he mentioned using hcard in the following post: http://www.e-dynamics.be/bbpress/topic.php?id=180#post-861
Anyway – in simplest form, it would be great to have fields for each of the following:
fn – The name of the business = #NAME
adr – This class name should wrap all address information
street-address – The street address (not including city, state, etc.)
locality – The city or town = #TOWN
region – The state, provence, etc.
postal-code – The postal codeThe fn and locality can already be used with existing placeholders NAME & TOWN.
Some reference info in case you don’t know what I’m talking about is here:
https://foursquare.com/business/brands/offerings/savetofoursquare/tester
http://microformats.org/wiki/hcard#Property_ListThanks
We ask for people to pay 50% of the cost at the time of booking providing that this is more than 28 days in advance. The remainder becomes payable 28 days before the event.
However, when booking <28 days before an event the full amount is payable.
So I would like the registration email to state what needs to be paid and when based on the value of [events_countdown id=#_EVENTID] . All our events have different prices so the total price shortcode will be useful but how can I do simple maths on this Eg divide by 2?
Hello,
having updated a WP multisite blog to 3.3 the dashboard wasn’t shown any longer.
I tried out to delete single plugins and then checked out if the dashboard could be seen again.
Having deleted eme I succeeded.
So I have to state that eme doesn’t work with multisite wp. That’s a pity.
Looking forward
Chris
Topic: Customising SQL
I want to check for where logged in user == “guest” and if so only look at public events for the widget on the side menu
I’ve even hard-coded the SQL statement. But it doesn’t make any difference?
Is there anything I should look for?
Two Ways I’ve tried this
if ($this_event == STATUS_PRIVATE && !is_user_logged_in()) {
continue;
}
if ($this_event == STATUS_PRIVATE && $current_userid != “guest” ){//TJB
continue;
}
OR IN SQL ITSELF
if ($where != “”)
$where = ” WHERE ” . $where . ” AND event_status = 1″ ; //TJB
$sql = “SELECT *,
DATE_FORMAT(event_start_date, ‘%e’) AS ‘event_start_day’,
DATE_FORMAT(event_start_date, ‘%m’) AS ‘event_start_month’,
DATE_FORMAT(event_start_date, ‘%Y’) AS ‘event_start_year’,
DATE_FORMAT(event_start_time, ‘%k’) AS ‘event_start_hh’,
DATE_FORMAT(event_start_time, ‘%i’) AS ‘event_start_mm’,
DATE_FORMAT(event_start_time, ‘%h:%i%p’) AS ‘event_start_12h_time’,
DATE_FORMAT(event_start_time, ‘%H:%i’) AS ‘event_start_24h_time’,
DATE_FORMAT(event_end_date, ‘%e’) AS ‘event_end_day’,
DATE_FORMAT(event_end_date, ‘%m’) AS ‘event_end_month’,
DATE_FORMAT(event_end_date, ‘%Y’) AS ‘event_end_year’,
DATE_FORMAT(event_end_time, ‘%k’) AS ‘event_end_hh’,
DATE_FORMAT(event_end_time, ‘%i’) AS ‘event_end_mm’,
DATE_FORMAT(event_end_time, ‘%h:%i%p’) AS ‘event_end_12h_time’,
DATE_FORMAT(event_end_time, ‘%H:%i’) AS ‘event_end_24h_time’
FROM $events_table
$where” ;
Note: hardcoding this to see if it had any effect.Not the way I want to it to be in real life
Does seem to affect the listing at all?
What am I doing wrong?
I am having trouble figuring out how to do the following:
I categorize my events by STATE and by TYPE.
I would like to allow my users the ability to choose by 1, both, or neither in order to query the events. So, they would be able to see all events in California that are Type B.
It would be easy if I could use the #_FILTER_CATS (value = 1,2,3) for one of the options and then #_FILTER_CATS (value = 4,5,6,7,etc…for all the States) as the second option.
I was thinking of trying to use Location, but the Locations are fixed and every time I add California to a new Event it enters it as a new Location in the list.
Any suggestions here?
Thanks!
Topic: Planning status
I would like to see an additional status added to events.
Status PLANNING ( PUBLIC and PRIVATE ) so two states really
In this state events would be visible ( as per the additional id ) but would not necessarily have a date set.
This would allow and organisers to use the planner to gather pre registrations for an event and then to organise a date for the event once sufficient interest or registration was guaranteed.
My particular application if for simple club activities. ie: some ( idiot 🙂 ) says lets have a BBQ, until we know how many attendees we will get and when they can all make the date we can’t estimate costs or the best location for the BBQ.
I have a client wanting to filter events on the list by state. I think it would allow more flexibility if the location data were separated: street address, state/province, postal code. Thanks Franky!
I have a line in Single Event Format that is the following:
Current # of Attendees: #_RESERVEDSPACES
Problem is, If there are no RSVPs yet, it doesn’t return “0” it returns a blank space. Anyway to fix this quickly? I tried a few events_if statements but never got them to work… Is there any way to use these like the custom attributes with the second set of {}.
Thanks,
Mike
Topic: new location fields
Hello
Is it possible to add new fields to event locations? something like
Region/State
and to be able to select events lists and maps on those fields
Regards
Gilles Simond
Hi,
I would loke to make a suggestion for additional optional fields in the location table, and coresponding placeholders.
The fields are:
++ZIP/Postal code
++Region/State
++URL
Best!
Andy
Topic: Remember the calendar state
Hey! Thanks for this amazing plugin.
A question that has been raised among the end users: is it possible to remember the calendar state for the user during the session?
Say a user browses the calendar to May 2011 and clicks on an event date there. When the page for the event loads, would it be possible to then keep the calendar on May 2011 instead of reverting back to the current month?
Thanks!
The “Default location balloon format” instructions on the “Event Manager Options” page state:
“You can also use #_DIRECTIONS to insert a direction form in the balloon, but then you should add extra 6
<br/>tags after it, otherwise the balloon will not be of the correct height.”4
<br/>tags seem to be adequate since the addition of “#saddr {margin-bottom:0;}” to “events_manager.css”.Topic: No map or address showing up
Hi,
I installed your plugin, made the Events page, and put the Calendar widget on my sidebar. I entered a few events, including address/town/state, and all went well, except….when I click on any of the events on the Events page or click an event date on the calendar the only information that shows up is is the Event name, date/time, and town.
Ex:
Board Meeting
12 Jan 2011 – 17:30
MyTown
When entering the events the Google map shows up fine, and I do have the settings click to show the map, and after clicking on Submit Event I got a “New event successfully inserted!”.
So what am I doing wrong and what can I do to fix it please?
Thank you.
The end-of-line characters on “eme_location_map.js_with_infobox” Lines 712 and 713 should be “escaped” the backslash characters, because it otherwise is ambiguous whether those lines are parts of the same statements. See the explanation at http://www.e-dynamics.be/bbpress/topic.php?id=325
The end-of-line characters on “eme_location_map.js_with_infobox” Lines 644 through 647 should be “escaped” the backslash characters, because it otherwise is ambiguous whether those lines are parts of the same statements. See the explanation at http://www.e-dynamics.be/bbpress/topic.php?id=325
“eme_location_map.js” Line 72, 73, 75, 76 and 77 end-of-line characters should be “escaped” with backlashes, because otherwise it is ambiguous whether following lines are parts of the same statements. Some JavaScript implementations assume that sequential lines without terminating semicolons should be concatenated, but others process code on separate lines as separate statements with or without semicolons. Backslash end-of-line “escape” characters insure correct interpretation in either case.
This:
var li_element = "<li id='location-"+item.location_id
+ "' style='list-style-type: upper-alpha'><a >"
+ item.location_name+"</a></li>";
var location_info = "<div class="eme-location-balloon"><strong>"+ item.location_name
+ "</strong><br/>" + item.location_address + ", "
+ item.location_town + "<br/><small><a href='" + events_page_link
+ joiner + "location_id=" + item.location_id + "'>Details<a></div>";Should be:
var li_element = "<li id='location-"+item.location_id
+ "' style='list-style-type: upper-alpha'><a >"
+ item.location_name+"</a></li>";
var location_info = "<div class="eme-location-balloon"><strong>"+ item.location_name
+ "</strong><br/>" + item.location_address + ", "
+ item.location_town + "<br/><small><a href='" + events_page_link
+ joiner + "location_id=" + item.location_id + "'>Details<a></div>";Topic: JavaScript Problems
I had to trouble shoot a problem today when updating to the latest revision. I was getting the following jscript error. “; Missing before statement”
I identified the line in the code 1776 of dbem_events.php. The cause of the error was i was storing html values which had single quotes in the single event format. This was easily fixed on my end by switching those to double quotes.
Now this could possibly happen in other areas from what i seen in the code, but this was the area and how i fixed my issue. This could be avoided at the code level, to either replace the single quotes with double quotes or properly escape it in the javascript output.
Hope this helps keep up the good work.
Would it be possible to add some shortcode parameters to allow site visitors to view events by country, state, etc., and also to search for events by the individual event contact name?
Hi Guys,
I’m running a website that runs in Cyrillic using a UTF-8 charset.
The plugin works fantastic in every aspect with Cyrillic except for the details (tinyMCE) editor.
Basically what happens is that I input text like this
Филиптур
and display on the front is иÐ�Ñ�Ñ�изÑ�изthe outputted HTML being along the lines of иÐ
The database tables (set to utf_general_ci) are currently displaying the content in correct Cyrillic.
Basically I assume that it is encoding it using the numeric function stated here
http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/entity_encoding
I’ve read elsewhere on a few forums that if I change this to “raw” the text will not be encoded and will be displayed properly. However… can’t seem to find where to change that.
If anybody has any ideas that would be fantastic! Because I am at a loss to see how I can make this work.
Thanks in advance,
B
I just installed EME, but I needed to return the value of the dbem_get_events_list tag, not display it. In the documentation it says to use “display=false” however this did not work. I looked into the code and the code uses “echo” so I tried playing with the template tag using “echo=false” however this did not work either. Looking at the dbem_events.php file I found that the if statement at the end of the dbem_get_events_list function was not working, I was able to replace it with:
if ($echo)
{echo $output;}
else
{return $output;}
and now it seems to work. If you use echo=1, it will display – this is the default, if you use echo=0 it will return the values.
The text in the map bubble is displayed incorrectly. For example, it shows up as:
g>Michiga
U
io
g>
530 South State
A
Arbor, MILooking at the HTML, it is clear that tags got interrupted somehow:
<stro<br>g>Michiga<br> U<br>io<br></stro<br>However, my formatting seems to be correct:
<strong>#_NAME</strong><br/>#_ADDRESS<br/>#_TOWNFurthermore, the bubble displays perfectly fine if I deactivate the Extended plugin and reactivate the original modified Events Manager plugin.
You can see the issues I am having here: http://wmlwl.com/events