Forum Replies Created
-
AuthorPosts
-
Sat 4 Sep 2010 at 21:42 in reply to: Template Tag dbem_get_events_list display attribute broken #44620FrankyKeymaster
Thanks, I adapted the documentation for this.
But are you saying that just adding the “{” and “}” solved this for you?
FrankyKeymasterI just don’t get where this is coming from. I never insert a “<p>” in the balloon div. And as you can see from line 622 in that file, where I echo this to the javascript:
$map_text_string = '<div class="dbem-location-balloon">$map_text</div>';
there is no newline between “=” and the start of the div …
Do you have any other plugins installed? I suggest deactivating all other plugins and see what happens, and then activate one by one … my guess is that some plugin is acting very weird.
FrankyKeymasterIn my code, it is impossible to have newlines in eg. map_text_10 in the html javascript-source, but you have it anyway, which is weird. I’m guessing you did not update all files to the latest versions.
Can you check if dbem_locations.php contains this line (around line 600):
$map_text = preg_replace("/rn|nr|n/","<br />",$map_text);
And about the setting to check: in the Events Manager Extended settings page in the admin interface of course.
FrankyKeymasterYour html code is somehow wrong:
map_text_10 = '
<div class="dbem-location-balloon"><strong>Zeughaus Mannheim</strong><br/>C5 - 68159 Mannheim<br/><a href='http://www.violinduo.de/wpen/events/?location_id=10'>Details</a></div>
<p>';==> javascript doesn’t support variable values spread over multiple lines
Here’s what it should look like (one line):
map_text_10 = '<div class="dbem-location-balloon"><strong>Zeughaus Mannheim</strong><br/>C5 - 68159 Mannheim<br/><a href='http://www.violinduo.de/wpen/events/?location_id=10'>Details</a></div>';
So check the setting “Default location balloon format”, make sure you edit it to your liking and save (even if you didn’t change that much, but at least remove the trailing “<p>”, I don’t know where that comes from in your case)
FrankyKeymastercan you provide me with an admin account in your wordpress, so I can check this out? I can’t reproduce that here.
In 3.1.1 the field has become non-editable, only the datepicker should work. So it should be impossible for you to write something in there.
FrankyKeymasterI don’t like texting … it needs a sms gateway of your own (which costs money) or one on the internet (that sometimes start charging at random), and you can’t even find one that does texting for free to Belgium (where I live). So no dice.
But the email thing … somebody else already suggested something like this to me, so I started thinking. How about this plugin: http://wordpress.org/extend/plugins/free-tell-a-friend/
FrankyKeymasterhmmm … can you try the trunk (development) version? You can get it here:
http://downloads.wordpress.org/plugin/events-manager-extended.zip
FrankyKeymasterYeah, I figured you wanted it automatically 🙂
FrankyKeymasterThe line I told you to edit is on about line 264, no way near 149. Since you got the same error when copying your old one back, you probably made an error before changing what I told you so.
Get the 3.1.1 version from here:
http://plugins.svn.wordpress.org/events-manager-extended/tags/3.1.1/dbem_calendar.php
and change what I said.
FrankyKeymasterOk, the [locations_map] should be ok now in trunk. But for the list of locations: the letters are added via CSS: (“list-style-type: upper-alpha” for each element in the ordened list), but I’m guessing you have some other CSS that makes the letters invisible …
FrankyKeymasterSebastian: I can’t see anything wrong in your backend or frontend. Could you describe the problem?
FrankyKeymasterIf it is for specific dates, you can always use the [events_list] shortcode. Use multiple statements of this format on the same page:
[events_list YYYY-MM-DD]
eg.
On 2010/09/05
[events_list 2010-09-05]
On 2010/09/07
[events_list 2010-09-07]But if you want it automatically for all events: not possible for now
FrankyKeymasterHi,
this is indeed a bug, but luckily with an easy fix: in dbem_calendar.php, search for the string “ORDER BY” and change it from
ORDER BY event_start_date
to
ORDER BY event_start_date ASC, event_start_time ASC
That should fix it.
FrankyKeymasterbtw: I made some small changes to trunk, you might want to update again (btw: you do update to the whole trunk, do you? Not just the files dbem_locations.php and dbem_events.php I hope)
Also: there’s a bug in the javascript if your location variable contains double quotes, so don’t use double quotes for now (like you did for the location in lattitude/longitude attempt). This needs to be fixed first as well.
FrankyKeymasterThis I don’t understand …
btw: I checked your version again, and it seems ok now? I can’t reproduce it here btw
FrankyKeymasterSebastian, can you demonstrate that? It seems btw that there is a typo error in dbem_locations.php as well, I’ll try and fix that also.
Edit: never mind, I see what you mean 🙂
While it is not a functional issue, I’ll fix it!
FrankyKeymasterOr even better: go to http://maps.google.com/, find your place, right-click on it and select “What’s here”, then you get the needed coordinates.
In the “Edit Event” it will always look at the description (location, town, …), so don’t edit the corresponding event/location afterwards.
FrankyKeymasterBtw: for lattitude and longitude: you can change this in the database, but you need the decimal values. For reference: http://www.hmssurprise.org/Resources/whereami.html
FrankyKeymasterdoes this means the locations work ok again?
FrankyKeymasterChange the setting “Small calendar title” to your liking, or for the big calendar: see http://www.e-dynamics.be/bbpress/topic.php?id=28#post-115
FrankyKeymasterNo, don’t change the names. Change in dbem_calendar.php the call
dbem_translate_and_trim($weekday);
to
dbem_translate_and_trim($weekday,3);
to show 3 characters instead of one. This will be overwritten though, on the next update.
FrankyKeymasterAnd about the locations not being shown: Sebastian, you should update to the latest trunk again (it contained an error).
FrankyKeymasterAfter checking the code, it is already there: you need to change your general wordpress settings to set the day the week starts on.
FrankyKeymasterI’ve tried this, and it works ok now (using the latest version in trunk)
FrankyKeymasterWell, for now it is not possible to fill in lattitude/longitude yourself. The code is almost ready for that though …
FrankyKeymasterCSS works like that: if you don’t redefine it, it takes the value previously defined (in you case: from your template css). But I gave you the css code for changing the link color in myown.css.
Btw: using firefox and firebug can help you a lot as well.
FrankyKeymasterWell, it *is* the trunk, things can get buggy in there. I fixed that this evening (but did not remember having the XXX’s somewhere, but might be debugging). Try getting the latest trunk again:
http://downloads.wordpress.org/plugin/events-manager-extended.zip
FrankyKeymasterI know, but my answer remains …
FrankyKeymasterI *would* say: try changing the setting, but it seems the code takes it into account, but you just can’t set it in the admin interface 🙂
I’ll add this for the next version.
FrankyKeymasterIf you want to change colors of elements inside the balloon, you’ll need to override the css you defined for eg. the links (html a-tag)
In your case, you’ll need to define extra things in myown.css, eg.
.dbem-location-balloon a {
color #000000;
}
Or whatever you come up with in CSS. I’m not that big of a CSS specialist, but you can find many tips on the internet concerning this.
FrankyKeymasterYou can’t, as additional fields are not supported for now. Ask for it in your event details when they book an event, so they can enter it in the comment field for now.
FrankyKeymasterarray_walk_recursive is indeed php 5, but the error indicates that your php module is running php 4. Please make sure you use php 5 by creating a file with content:
<?php
phpinfo();
?>Save it as test.php in your web root, call it via your webserver. See what that gives you.
FrankyKeymasterok, clear. I’ll test this out myself.
Btw: can you reply on the other bugreport whether it is ok for you? See http://www.e-dynamics.be/bbpress/topic.php?id=32&page=2
FrankyKeymasterYou can click on the “+” sign next to another event when editing existing events, this allows a copy of an existing event.
FrankyKeymasterI’m not sure I understand what you mean here. Could you show the settings for the Event List format, what you want and what you’re getting?
FrankyKeymasterFor everybody: I managed to find the issue SPSMH (Sebastian) was having: he was hitting a database column size limit because of using 5 languages for the title. I worked around it by increasing the size of this and other relevant columns.
FrankyKeymasterclosing this because of lack of response …
FrankyKeymaster@CCD: please try this version (for testing only):
http://downloads.wordpress.org/plugin/events-manager-extended.zip
You probably didn’t update enough files …
FrankyKeymasterWell, look at events-manager.php, it contains constant definitions at the top, amongst those are the ones for editing:
define(‘MIN_CAPABILITY’, ‘edit_posts’);
define(‘SETTING_CAPABILITY’, ‘activate_plugins’);
Play around with those …
FrankyKeymasterFor now this is not possible, the widgets are independent. Maybe something to add in the future …
FrankyKeymasterI was just pointing to the fact that you should see this behaviour in any web form, eg. google search. My apologies if it sounded otherwise.
For the rest my answer remains: if you use the captcha, this will no longer be a problem.
FrankyKeymaster@CCD: can you give me some admin access for this, so I can try?
@SPSMH: I’ll try to put 10 chinese characters in at home, and see what happens then.
FrankyKeymasterSebastian: the translation you’ve done seems to be very weird: I seem to have many words in German or so …
Now the problems:
– you have the setting “Use dropdown for locations” for Events Manager Extended on. I’ve disabled it, so now you can insert new locations with events.
– for the image upload: the size is set to a max of 204800 bytes (or: 200 KB), seems very low to me … try increasing that (I increased it to 2MB for you)
– for the missing details: you never mention the shortcode #_NOTES anywhere in the format settings, so of course the details are never shown. I’ve changed the setting “Default single event format” to include this (which is called “Standardformat für eine Terminseite” in your page anyway), but you should change this to your liking.
So to summarize: you have no problems at all, just settings you need to check.
FrankyKeymasterSebastian: the translation you’ve done seems to be very weird: I seem to have many words in German or so …
Now the problems:
– you have the setting “Use dropdown for locations” for Events Manager Extended on. I’ve disabled it, so now you can insert new locations with events.
– for the image upload: the size is set to a max of 204800 bytes (or: 200 KB), seems very low to me … try increasing that (I increased it to 2MB for you)
– for the missing details: you never mention the shortcode #_NOTES anywhere in the format settings, so of course the details are never shown. I’ve changed the setting “Default single event format” to include this (which is called “Standardformat für eine Terminseite” in your page anyway) but you should change this to your liking.
So to summarize: you have no problems at all, just settings you need to check.
FrankyKeymasterHi Sebastian,
I got your mail with username/password, so I’ll check it out
Also:
– did you do the “ALTER TABLE” mysql statements?
– for uploading: the directory wp-content/uploads/locations-pics must exist and be writable by the user the webserver runs as (or 777). Mostly the folder wp-content/uploads/ exists already and Events Manager Extended tries to create the subfolder “locations-pics”, but you might want to check if it exists. Also: check if php allows file uploads as well, and the limits of it.
FrankyKeymasterBtw: when entering a new event, you can only enter 1 name for the location, but afterwards you can edit the location and add the other languages.
FrankyKeymasterUpdate: converting my tables to unicode fixed the “???” problem:
In mysql, do at least this:
ALTER TABLE wp_dbem_events CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE wp_dbem_locations CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
(and for all other tables you want as well).
FrankyKeymasterWell, I can reproduce the “???” problem for chinese characters. But I don’t have the problem to click on event details.
For the chinese characters: are your database tables in utf8 unicode format (mine aren’t)? See here: http://boringest.blogasian.com/2008/10/25/how-to-show-chinese-characters-in-wordpress/
FrankyKeymasterWell, do try out the trunk version. If that doesn’t fix it for you: any demo or admin access where you can demonstrate this behaviour is appreciated, so that I can try to reproduce it here.
FrankyKeymasterDo you mean something like a button that says “share this on facebook”? There exists already a plugin that does this (haven’t tried it yet though): http://wordpress.org/extend/plugins/add-to-any/
FrankyKeymasterProbably you’re using quotes or so in your event name/location info, no?
In the admin side, the event is looked up by location info, but when viewing the longitude/altitude found is used. Normally this gets added to the database just fine, but when you’re using special characters: it is a bug.
I would suggest to try out the trunk version and see if that fixes your problem. No database changes have happened, so you can just copy the files over the old version (and if you want to go back: copy over the files from the old version): http://downloads.wordpress.org/plugin/events-manager-extended.zip
FrankyKeymasterok, found the problem and fixed it in trunk. Two options:
– get the trunk version: http://downloads.wordpress.org/plugin/events-manager-extended.zip
– or see if you can adapt this changeset manually: http://plugins.trac.wordpress.org/changeset/283264/events-manager-extended/trunk
FrankyKeymasterThis I need to test out myself, will let you know about the fix.
FrankyKeymasterWell, I found the description of the root cause here:
and I found a setting in cforms that resolves this:
in cformsII => Global Settings => WP Editor button support
activate the option “Fix TinyMCE error”, or disable the cforms button.
FrankyKeymasterWell, the code is there: in file dbem_rsvp.php, function dbem_add_booking_form()
Templating is not yet implemented, so for now this is in the code.
But you can always use javascript+css to change the layout and add/change stuff, without changing the code.
For the list of people: it is not possible yet, although I’ll make this a feature request
FrankyKeymasterWell, I’m busy making it compatible with qtranslate, so I’ll see what I can do for cforms …
But this is not really a bug, so moving this to feature requests
FrankyKeymasterbtw: do let me know of your test results of the trunk version.
FrankyKeymasterNot really, but any svn client will do. On linux “svn” helps you out, on Windows I recommend using tortoisesvn. But try this:
http://downloads.wordpress.org/plugin/events-manager-extended.zip
(the download link from wordpress without version, probably gives you the trunk version)
FrankyKeymasterDid you deactivate/activate the plugin? This is *always* needed to do possible database changes (in this case it will create the missing column).
FrankyKeymasterMore work has been done for qtranslate compatibility. Please check out the svn trunk at:
http://plugins.svn.wordpress.org/events-manager-extended/trunk/
FrankyKeymasterNo, I’ll try to take the qtranslate thing into the main version. Still working on it right now and any testing done is much appreciated (more translation tweaks are still needed).
FrankyKeymasterOk, the viewing part is also not that difficult to change. So, to make it easy:
http://plugins.svn.wordpress.org/events-manager-extended/trunk/dbem_events.php
http://plugins.svn.wordpress.org/events-manager-extended/trunk/events-manager.php
Try it out and let me know the results!
FrankyKeymasterOk, I have something that makes EME work with qtranslate, that is: it allows multiple edits, but for now I recommend to use only one language when creating an event because the inserting seems to work ok, but for displaying events I need a bit more code editing.
So, to be able to insert events with qtranslate installed, change in the file dbem_events.php 2 lines:
1) (around line 1403) from:
<div id=”event_name” class=”stuffbox”>
to:
<div id=”titlediv” class=”stuffbox”>
2) (around line 1410) from:
<input type=”text” name=”event_name” value=”<?php echo $event [$pref . ‘name’]?>” />
to:
<input type=”text” id=”title” name=”event_name” value=”<?php echo $event [$pref . ‘name’]?>” />
That gets the editing going again with qtranslate installed (again: fill in only one language, the showing part will otherwise show all language parts together)
FrankyKeymasterBtw, it is indeed a bug in the 3.1.0 version, so I’ll release it asap.
FrankyKeymasterHmmm … did you update completely to the trunk version? If so, I’ll release it this evening (got some cosmetic fixes plus a small new feature, see the bottom of the readme.txt file).
Also: I’d really love any feedback on the new ‘pending subscription’ thingie if you happen to use rsvp.
Franky
FrankyKeymasterYes, yes, yes … you were too quick doing the upgrade (I hope). I made a small booboo and fixed it asap (something with javascript).
I did change it in the released version, but if you happened to upgrade in the first hour of it’s release you got the wrong version. Please try the correct version of the file dbem_events.php:
and see if it resolves your issue.
If you really want, you can already upgrade to the latest trunk version.
FrankyKeymasterWhich php version are you using? This function is part of php5, so if you’re not using php5: upgrade asap!
FrankyKeymasterYes, your point being? Form submitting by refreshing the page is not a bug, you even get a warning in your browser about it …
If you want to stop this, use the captcha, this changes with every page so even refreshing a page won’t allow double submits.
FrankyKeymasterHi,
for that you’ll need to talk to the author of qtranslate …
But I’ll try to make it compatible.
FrankyKeymasterCreate a page with as content the shortcode
[locations_map]
FrankyKeymasterHi,
this is intended behaviour: no address, no map in the frontend. I might just add the possibility that when you add the town, you can see the map though. But for now: if you want the map, you need the name+address+town
FrankyKeymasterNot a bad idea: less code and should be easy to implement. So you just create a field with data in it, and the user needs to empty the field? And if the field is not empty: no dice.
FrankyKeymasterSince events are not posts: nope (not yet anyway). I’ll move this to the feature requests forum …
FrankyKeymasterBtw: I appreciate any and all other fixes you might have 🙂
FrankyKeymasterOk, I’ve committed the changes for this to trunk. It’s not really worth a new release though, but if you want it, you can do a svn checkout of http://plugins.svn.wordpress.org/events-manager-extended/trunk/
For the moment, there’s also a lot of
bloginfo ( 'wpurl' )?>/wp-admin/admin.php
in the code. Is there some constant that gives me the url to wp-admin, or does that need to stay the same?
Tx again for the tip!
FrankyKeymasterwell, this was in before my time, so I left it 🙂
But it is a good suggestion! Tx! I’ll take it into the next version.
FrankyKeymasterOk, I released 3.1.0 (because of some new features) with the fix in it.
FrankyKeymasterYes, this is indeed a bug. Probably more like these will show up (due to old code), but this one got fixed *good* in the trunk version 🙂
If you’re interested in testing the trunk version? It already has evolved a lot (again):
* Bugfix: stripslashes needed for custom attributes
* Bugfix: when using scope=today, the sql query was wrong and thus ignored other conditions
* Bugfix: characters now get escaped ok in locations as well
* Feature: you can now choose whether or not registrations need approvements, and then manage pending registrations
* Feature: you can now edit the number of seats somebody registered for, in case they change their minds
FrankyKeymasterThis might indeed be a bug. Let me test this out and get back to you.
FrankyKeymasterEverything is changeable in the CSS. Create the file my_own.css in the plugin dir and copy over from events_manager.css what you want to change:
table.dbem-calendar-table td {
padding: 2px 4px;
text-align: center;
}
table.dbem-calendar.table tr.days-names {
font-weight: bold;
}
table.dbem-calendar-table td.eventless-pre, .dbem-calendar td.eventless-post {
color: #ccc;
}
table.dbem-calendar-table td.eventful a, table.dbem-calendar-table td.eventful-today a {
font-weight: bold;
color: #FD7E29;
}
FrankyKeymasterWell, as you can see on my site: http://www.e-dynamics.be/wordpress (click on eg “All events”), it’s clearly working just fine. So I’m still guessing on maybe an install problem … My offer to help remains, but it seems you have a very weird setup.
Also other sites reported working (all using 3.0.5):
http://bellarinelivemusic.com/
so I’m pretty sure it’s a problem on your side …
FrankyKeymaster@CCD: I mailed the author of qtranslate for help here, it seems some extra action is needed for compatibility between my plugin and the way qtranslate hacks into tinymce.
FrankyKeymasterIt’s 3.0.1. If you want: make me an admin account for a day, so I can log in once and see if I have the same issues. My mail: liedekef [at] telenet.be
Also: check your webserver logs, maybe there’s an indication there …
FrankyKeymasterWell, the fact that you have tons of javascript errors for google maps, tinymce and even jquery, makes me believe there’s something else wrong here.
Do all other parts of wordpress work ok? Can you create pages/posts fine using the tinymce editor?
FrankyKeymaster@CCD: this error has nothing to do with extended events manager and basic wordpress. The word “qtrans_get_active_language” doesn’t even occur anywhere in my setup. A bit of googling turns up this plugin http://www.qianqin.de/qtranslate/
It seems that plugin is not too happy with the way tinymce is used in events manager extended … I need to look into this.
FrankyKeymasterOk, maybe it has something to do with the version of jquery included by wordpress, the (older) version of jquery-ui-datepicker included in the plugin and your browser platform.
What you can try: download
http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js
http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css
and put them in the plugin js/ folder
And then in dbem_events.php, change the occurences of “js/jquery-ui-datepicker/ui.datepicker.js” to “js/jquery-ui-min.js” (also for the css).
Then realy reload the page (make sure you got the new javascripts, empty your cache and do Ctrl-reload or so) and try again …
I’ll include these newer version of the ui-javascript in my next version if it works ok.
And if you really want to be up-to-date, also download jquery timeentry from http://download.famouswhy.com/jquery_time_entry/free_download.html and extract in the plugin folder js/timeentry.
Let me know the results 🙂
FrankyKeymasterI’m using firefox as well, on windows and linux. both work just fine. Which version?
Your screenshot is not good enough … please do copy the errors here. And it seems you have other javascript errors as well?
FrankyKeymasterThis looks ok to me. When you click in the field of the startdate, a small extra window should pop up where you can select the date. If this is not the case, I would ask you to check in your browser for javascript errors, maybe some files are missing or there is any indication of what is wrong. Also: which browser do you use? If it is Internet Explorer, try firefox or so (maybe it’s a browser thing …)
FrankyKeymasterYou must use the javascript date selector for this, the value shown in the form is a localized version and the jquery datepicker overrides a hidden value. Not using the datepicker does not update the hidden value …
I’ll change the input field so it is “readonly”, then you can’t type in a value manually and thus make no mistake.
FrankyKeymasterConfirmed as bug: if you use scope=today, the sql query built is not correct. To fix:
dbem_events.php, around line 791, search for:
if ($scope == "today")
$conditions [] = " (event_start_date like '$today') OR (event_start_date <= '$today' AND event_end_date >= '$today')";and change into:
if ($scope == "today")
$conditions [] = " (event_start_date like '$today' OR (event_start_date <= '$today' AND event_end_date >= '$today'))";(fix will also be in next version)
FrankyKeymasterWell, I just tried it here and it works just fine. Did you check your apache config and logs? This is what I have in my apache config concerning wordpress permalinks:
<Directory “/var/www/html/wordpress”>
AllowOverride All
Options FollowSymLinks
</Directory>
And wordpress creates the file /var/www/html/wordpress/.htaccess:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /wordpress/
RewriteRule ^index.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /wordpress/index.php [L]
</IfModule>
# END WordPress
Please post your .htaccess and relevant apache configs …
Franky
FrankyKeymasterGood question, I updated the doc (wanted to do this, but forgot about it):
scope lets you choose which events to show: Choose between today, future, past, all or YYYY-MM-DD events. Default is future.
FrankyKeymasterok, I found it. In the file dbem_events.php, function dbem_events_subpanel, find this line (around line 175):
$event_attributes[$_POST["mtm_{$i}_ref"]] = $_POST["mtm_{$i}_name"];
and change it to:
$event_attributes[$_POST["mtm_{$i}_ref"]] = stripslashes($_POST["mtm_{$i}_name"]);
It will be in the next version too.
FrankyKeymasterNow that’s a bug 🙂
I’ll test it out and fix this for the next version and let you know the fix, so you can already implement it.
FrankyKeymasterTwo problems here. I’ll try to answer both:
For attributes, read this when editing an event: “In order to use attributes, you must define some in your templates, otherwise they’ll never show. Go to Events > Settings to add attribute placeholders.”
And in the Settings there’s this: “For custom attributes, you use #_ATT{key}{alternative text}, the second braces are optional and will appear if the attribute is not defined or left blank for that event. This key will appear as an option when adding attributes to your event.”
This means exactly what is means: add anywhere in your templates an attribute and then you’ll be able to change the data for it per event.
Example: use eg. in the “Respondent email format” setting this: #_ATT{TEST}
And then you’ll see in the event data an attribute called “TEST” for which you can fill in the value
==> I’ll add this to the doc.
For the #_IMAGE upload thing: look in the location page. You can edit a page and upload an image. This *is* mentioned in the doc: “The Locations page lets you add, delete and edit locations directly. Locations are automatically added with events if not present, but this interface lets you customize your locations data and add a picture.”
FrankyKeymasterHave you checked your settings? Does the setting “Events page” point to an existing page? Have you read http://www.e-dynamics.be/wordpress/#issues? Which version are you using?
Tue 24 Aug 2010 at 14:21 in reply to: Can you prevent contributors editing other people's events? #44431FrankyKeymasterIt’s on a to-do list 🙂
Tue 24 Aug 2010 at 13:41 in reply to: Can you prevent contributors editing other people's events? #44429FrankyKeymasterFor the moment not possible, the access rights are not yet that fine-grained for Events Manager Extended
FrankyKeymasterThis is currently not possible, but a good request.
FrankyKeymasterYes, it accepts multiple parameters. The documentation page was wrong here, has been corrected. See http://www.e-dynamics.be/wordpress/#shortcodes
In your case use at least: [events_calendar full=1] . I demonstrated this here: http://www.e-dynamics.be/wordpress/?page_id=63
The Events page is a stub page, any content on that page is ignored and replaced by dynamically generated content through Events Manager Extended. That’s why changing anything in that page has no effect. You should not use that page in your menu as well (keep it hidden, see the Settings for that) and indeed use a page of your own. Btw, in the just released version, this has been made more clear.
FrankyKeymasterJust put your text above your [events_calendar] shortcode in that page
Sun 22 Aug 2010 at 21:32 in reply to: Template Tags: 'dbem_get_events_list' 'format' argument #44310FrankyKeymasterI think you use too much quotes in your arguments. Try this:
<?php dbem_get_events_list("limit=5&scope=all&category=3&order=DESC&format=".$ig_events_format); ?>
If that doesn’t work, try adding single quotes for the format parameter:
<?php dbem_get_events_list("limit=5&scope=all&category=3&order=DESC&format='".$ig_events_format."'"); ?>
FrankyKeymasterHmm … you do realize that the captcha is then not working and so no bookings can be made, do you?
I’ll be releasing a new version tomorrow, with some small enhancements to the captcha system:
– earlier initialisation of the session (hopefully, but I can’t control other plugins …)
– possibility to disable the captcha
That should help you 🙂
FrankyKeymasterI explained this more clearly on the documentation page:
http://www.e-dynamics.be/wordpress/#installation
It’s a 2 minutes job 🙂
FrankyKeymasterI think you’re thinking too fast here 🙂
– First: create a empty page (eg. called ‘Events’) and assign it to Evens Manager Extended in the Settings. Also: select the option of not to show that page in the menu list.
==> By default, upon install Events Manager Extended already created such a page and uses it itself.
==> the content of that page will be totally ignored and replaced by content generated at runtime by Events Manager Extended
– Second: create a new page (call it ‘Events’ as well if you want, but make sure you can distinguish between both pages) and put your shortcode in that page. This page can/will be visible in the menu as to your liking.
In the next version, I’ve corrected some things so if you try to edit the page assigned to Events Manager Extended, you get a warning.
FrankyKeymasterI’m guessing something else is wrong here … look in your browser’s error console for javascript errors. Or give me temporary admin access so I can test it as well. For this, mail me at:
liedekef [at] telenet.be
Franky
FrankyKeymasterSee http://www.e-dynamics.be/wordpress/#issues for the issue and a workaround. In the next version, it will be more clear that this page should not be shown.
FrankyKeymasterbtw: make sure you don’t delete the page that you set in the Settings as event page.
I’ve tested about every setup and all seems to work just fine. Maybe I should just hide that page …
FrankyKeymasterWait a sec … I think I got it …
You probably deleted the Events page, created your own and forgot to change the settings in Events Manager Extended (or something alike). I tried it here and got the same behaviour then.
You really need to assign an existing page for the option “Events page” (not a trashed page or a deleted page) and save.
FrankyKeymasterbtw, if wordpress is in your web root (like it seems to be the case for you), this would need to be:
<Directory /var/www/html>
Options FollowSymLinks
AllowOverride All
</Directory>(replace “/var/www/html” with your html docroot)
and for the .htaccess:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPressFrankyKeymasterIf I use the custom structure
/%category%/%postname%
without .htaccess file, nothing works at all (not even the standard about page). If I activate htaccess like this in apache:
<Directory /var/www/html/wordpress>
Options FollowSymLinks
AllowOverride All
</Directory>and with this as content for /var/www/html/wordpress/.htaccess:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /wordpress/
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /wordpress/index.php [L]
</IfModule>
# END WordPresseverything works just fine. According to this
http://codex.wordpress.org/Using_Permalinks you always need a .htaccess for pretty permalinks without “index.php” in them.
FrankyKeymasterWell, I just tested it locally and it seemed to be working just fine. Be aware:
http://www.mydomain.com/events/?event_id=1
is already a permalink. For the rest: http://codex.wordpress.org/Using_Permalinks
Also: check for any bad .htaccess files and your apache logfiles.
If you still have problems: mail me your permalink config (apache+wordpress) and I’ll try it out as well. My mail: liedekef [at] telenet.be
FrankyKeymasterCheck the setting “Default event list format”, it should contain the shortcode “#_LINKEDNAME” that displays the name of the event+the link.
If you’re using permalinks of some kind: that I still need to test, see http://www.e-dynamics.be/bbpress/topic.php?id=30
If you mail me your permalink config (http and wordpress) I can try it out here …
My mail: liedekef [at] telenet.be
Franky
FrankyKeymasterWell, to be honest: I didn’t test it yet, so I’ll try this as well later on
FrankyKeymasterpermalinks are configured in your webserver+wordpress, it should just work in the plugin …
Fri 20 Aug 2010 at 23:35 in reply to: Initialize values of display formats in individual posts to defaults #44333FrankyKeymasterGood suggestion, done: http://plugins.svn.wordpress.org/events-manager-extended/trunk/dbem_events.php
FrankyKeymasterSee here: http://www.e-dynamics.be/wordpress/#shortcodes
Create your own page for events and put just [events_list limit=xxx] in it, don’t use the default page, see http://www.e-dynamics.be/wordpress/#issues
Fri 20 Aug 2010 at 13:31 in reply to: Initialize values of display formats in individual posts to defaults #44331FrankyKeymasterThis has been implemented in trunk (not perfect, because I need to strip newlines or I get javascript errors, but it works ok enough):
http://plugins.svn.wordpress.org/events-manager-extended/trunk/dbem_events.php
FrankyKeymasterWell, I can understand the problem, but then people will start asking this for every possible placeholder … what I will do is: when you don’t fill in the name+address+town: no map will be shown (for now it’s just a test on the location name).
A simple workaround: tell your editors that if they don’t want the map, leave all the location info empty and enter it in the Details field 🙂
For the new method: get the trunk file:
http://plugins.svn.wordpress.org/events-manager-extended/trunk/dbem_locations.php
FrankyKeymasterAnd for the map: edit the event again, see if it finds the correct location in the edit windows and save again.
FrankyKeymasterSorry to say, but your theme sucks big time … even your title wraps wrong because of it. And the *whole* post is in fact included in one big
<a href
thing, probably you forgot to close the link after the post title again (there’s even whole html code in youe “a href” tag …)Use firefox and firebug to look at your site, hover over the title and you’ll see …
Fri 20 Aug 2010 at 09:30 in reply to: Large calendar – mouse over event lightbox missing data #44337FrankyKeymasterThe full calendar just shows the title of the event because you defined it like that in the setting “Full calendar events format”. If you want to change that, change the setting from the default to eg.
<li>#_24HSTARTTIME: #_LINKEDNAME</li>
or
<li><a title="#_24HSTARTTIME: #_NAME (#_LOCATION)" href="#_EVENTPAGEURL">#_NAME</a></li>
You’re only limited by the html limits. For the moment #_NOTES is not possible though, because that might break the html standards.
For the #_LOCATION placeholder to work though, you need to replace dbem_calendar.php by this one:
http://plugins.svn.wordpress.org/events-manager-extended/trunk/dbem_calendar.php
FrankyKeymasterIf you’re talking about wp-directory-pro, then you have payed for it and should get support from them, no?
FrankyKeymasterNice to hear it works ok now! Concerning the pdf: do you mean the documentation on http://www.e-dynamics.be/wordpress is not sufficient? I’m always open for improvements …
FrankyKeymasterFYI: mdmower is happy with the test version 🙂
So please: do vote for the application and give it some rating on wordpress.
FrankyKeymasterOk, the “0” for latitude and longitude are bad … it means that the geocoding process failed there. I have a version ready in test if you’re interested to try out if that works?
FrankyKeymasterSo, for the rest this seems ok to you? Then I can maybe go live with this release (once I removed the GMAP API Key comments, since this is no longer needed now)
FrankyKeymasterbtw: I just tried
<strong>
in my balloon format settings, and they are accepted without problems. Maybe you override these with your CSS?FrankyKeymasterHmm .. can you give an example of that? It is smaller because the css tells the balloon text size to be at 85%, because I want to avoid scrollbars and google api v3 is quite tricky with those. You can always try to change it if you want (see .dbem-location-balloon in events_manager.css)
FrankyKeymasterOk, get the trunk code from here via svn:
http://plugins.svn.wordpress.org/events-manager-extended/trunk/
in the readme.txt file, search for “myown.css” for howto override the default css
It also uses google maps api v3, so no more IE6 support …
Franky
FrankyKeymasterWell, I think I’m about ready for release. If you want to testdrive, I can explain how to get the code if you want?
FrankyKeymasterWell, I’m just finishing up implementing google maps api v3, and also took into account extra div’s for resizing the whole thing using CSS.
This will be in there:
.dbem-location-map {
background: green;
width: 400px;
height: 300px;
max-width: none;
background: none !important;
}
.dbem-location-balloon {
font-size: 85%;
height: 100px;
}
And I’ll include an extra CSS call so people are able to override the defaults in a seperate CSS file that doesn’t get overwritten with updates.
FrankyKeymasterHmmm … I tried it here with gpc on as well, no change. Could you check how it is stored in the database?
Tue 17 Aug 2010 at 13:36 in reply to: how to convert my widget code to work with events manger #44292FrankyKeymasterWell, for the moment I’m spending my time upgrading the google maps API used to version 3, but I’m fighting with some IE8 layout issues for the bubbles shown. If you’re interested: http://www.e-dynamics.be/wordpress/?p=54
After that, you’re up 🙂
FrankyKeymasterQuestion: do you have magic_quotes_gpc activated in your php.ini file?
FrankyKeymaster(I moved the post)
Everything seems correct to me …. maybe something with the “n” replacement has gone wrong and it replaces just the “n” with “<br >”.
Let me check the code.
FrankyKeymasterThis is the content of the mail:
==========================================
Atlanta Garden Connection Registration
Here are your credentials:
Username: Franky
Password: xxxxxxxx
Confirm Registration: http://atlantagardenconnection.com/wp-login.php&redirect_to=http://atlantagardenconnection.com
Thank you for registering with Atlanta Garden Connection!
==========================================
and if I reply the mail goes to “info@atlantagardenconnection.com”. It is not very clear from the content of the mail that I should reply to the mail. And after replying I get an automated answer from info@atlatagardenconnection.com …
FrankyKeymasterbtw, if you like the plugin, please vote for it on wordpress 🙂
FrankyKeymasterSorry, but the mailed info doesn’t work. Also the link included in the mail was wrong …
FrankyKeymasterglad to hear that it is working.
I’ll take a look at the captcha warning though, if wordpress already starts it’s own sessions, I don’t have to start it again there.
FrankyKeymasterWell, the thing is the featured posts work ok here, so I really am at a loss for testing here.
I tried with featured posts with and without featured images, all seem to work ok.
On the main page you have nothing special included, only 1 javascript from EME. I would say that it might interfere with other jquery thingies, but not on my testsite … Maybe you can try this: open the file dbem_single_location_map.js, and change the first line:
$j=jQuery.noConflict
to e.g.
$dbem=jQuery.noConflict
and also change other occurrences in that file from $j to $dbem
Maybe that helps … (I’ll be doing this in the next released version anyway, to reduce possible conflicts)
Other things to try:
– you can try activating WP debug in wp-config.php and see what gives when you load the main page.
– I’m using the “regular” version of jquery cycle, not the lite version. Maybe also important?
FrankyKeymasterIf you give me temporary access to your wordpress site, I can check if everything is ok or not. If you want this, please mail me: liedekef [at] telenet.be
FrankyKeymasterWell … maybe it’s a weird theme bug … I really can’t tell. Maybe you can ask the theme developers to help you out: http://www.aquoid.com/forum/
FrankyKeymasterI just tried the suffusion theme and selected 4 posts to be shown as featured posts, no problem here …
What version of wordpress are you using?
FrankyKeymasterI see you upgraded to 3.0.3 and you no longer have green screens, but still it seems your events fail to show up ok. I still see in the html code that the latitude and longitude values are 0 … please check your db and see if these values are in fact 0 (in the table wp_dbem_locations, columns location_latitude and location_longitude).
If so, try editing your event and save again, and see if that changes these values …
FrankyKeymasterThese are indeed not really feature requests 🙂
Anyway, I believe the time entry is dependant of your language:
if (preg_match ( “/en|sk|zh|us|uk/”, $locale_code ))
$hours_locale = “12”;
So I’m guessing that your language settings are the culprit here, but I’ll take a look at it (I like 24hr format better as well).
For the date: this is a javascript popup, so I would guess the format is not that important, no?
The format overrides: a bit difficult to put in a sidebar (or a different tab), but maybe they can be collapsed or so …
FrankyKeymasterWell, at least the info in the settings page is right 🙂
I’ve changed the doc at http://www.e-dynamics.be/wordpress to mention the #_NOTES (and the #_COMMENT) placeholder as well. Maybe I’ll add the #_DETAILS one as an alternative or so …
Do keep them bug reports coming!
FrankyKeymasterI released 3.0.3, please upgrade and try again …
FrankyKeymasterok, probably you were hitting two issues:
– your own stylesheet, causing issues for the displaying of the google map
– two maps on one screen: wasn’t possible untill now
I believe I added something to my own css that fixes the first (see my previous post) and I committed code to trunk (the dev version) for the second issue.
FrankyKeymasterok, I *think* I fixed it and committed the changes to trunk
-
AuthorPosts