Forum Replies Created
-
AuthorPosts
-
Joey Kudish
MemberGlad we were able to help!
Take care π
Joey Kudish
MemberHi Kyle,
Thanks for sending along the “sandbox” site.
As far as I can tell, the function is actually working properly. For example, I searched for “test” and this is the result that I got: http://f.jkudi.sh/DFL7 (it found an event with the “test” name in it)The Events Calendar plugin, by default will always show either the grid or calendar view when displaying events, even for search results. In the upcoming 2.1 update (no release date yet) we will allow for better integration of events with other post types / loops and search results.
In the mean time, you can overwrite the views/ecp-page-template.php, views/list.php and views/gridview.php (from the plugin folder) by adding a new folder named ‘events’ inside your theme and copying those 3 files in it. Then you can modify each one accordingly to how you want it to look / work using the is_search() conditional tag.
Hope this helps.
JoeyJoey Kudish
MemberHi Kyle,
A few small things that weren’t quite right with your code:
– is_search() should be a method of $query not a variable (even though I believe the variable does exist)
– your quotes were apostrophes instead of quotes use ‘ instead of β – I think this may just be because of the way you copy pasted it though
– you can’t pass an array to $query->set(), you have to pass one query argument at a timeThe updated/cleaned-up code: https://gist.github.com/ed9e49dcbed0bb4988bc
I haven’t tested it, but I think this should work. Let us know if you have any further issues with it.Cheers
Joey Kudish
MemberHi Jason,
I’d love to give you a hand with this. But we’ll need to see your code to be able to tell exactly what’s up. The best solution to copy your code is to use http://pastebin.com or https://gist.github.com/, or as Rob recommended the
tag (without the extra spaces)Let us know for your code and we can take a look!
ThanksJoey Kudish
MemberHi Francisco,
Under Settings > The Events Calendar do you have the “debug” checkbox turned on? as per this screenshot http://f.jkudi.sh/DEFJ?
If yes, then the log entries you are seeing are perfectly normal, since you are asking the plugin to log. Although your particular log/message is in spanish, I was able to tell that it just says “the plugin is starting” which is part of what it logs with the “debug” mode on. As long as you are not seeing actual error messages here, then everything is working properly. If you want these messages to stop appearing in your logs, simply turn off the “debug” mode.
Let us know if you need additional help or if you have any additional questions.
Joey Kudish
MemberHi Michael,
I reviewed the WP Forum Server plugin and I have to recommend you stay away from it. It does a lot of things wrong within its code and it fact, for me (using WP 3.3.1 and Twenty Eleven) doesn’t even work at all. It follows bad coding/ WordPress practices and I wouldn’t be surprised if it had security vulnerabilities. In fact, I am going to see if I can report it to the WordPress.org plugin team to get it unlisted from the repository.
If you’d like a good forum plugin, give bbPress a try, it’s by the creators of WordPress and works really well: http://bbpress.org/.
You’re welcome to continue using ‘WP Forum Server’ but I’m afraid we won’t be able to support your use of it in conjunction with The Events Calendar.
Cheers!
Joey Kudish
MemberHi Xpert,
The single days are already clickable in the calendar. Can you specify or elaborate what specifically you’re trying to do and we can help?
Joey Kudish
MemberHi Robert,
Unfortunately this is a limitation of Google Maps and not something we can do anything about. That being said, when I search with the exact coordinates I get a green arrow which points to the exact location, in addition to the red A which shows the closes marker. See http://f.jkudi.sh/D6Ok . Is this not what you are seeing?
Regarding the GPS coordinates, as Rob said, we’ll probably be adding that to a future version, but can’t confirm exactly when just yet.
Thanks & let us know if you have any further questions
Joey Kudish
MemberHi Xpert,
Regarding the renaming of fields, there’s 2 different ways you can do this:
If you are translating into a different language, you can follow these instructions:1. Open the .pot file from the plugin folder in POEdit.
2. Make the changes to whatever word(s) you want to translate, leaving the rest untouched.
3. When youβre done, save to generate the new .po and .mo files.
4. Label those newly-saved files with whatever language code you deem appropriate, then save them in the lang folder.
5. In your WP config file, change the language to reflect that corresponding code.We are in the process of putting together a broader walkthrough on this, but in the interim hopefully this will give you what you need. You may also want to read these 2 articles: http://codex.wordpress.org/Translating_WordPress and http://urbangiraffe.com/articles/translating-wordpress-themes-and-plugins/ which contain more information on translating with WordPress.
If you do end up doing a full translation of the plugin into your own language, please let us know so that we can include your translation file into the plugin for others to use!
If you all you want to do is change one or a few words within the plugin, then there is a different approach you can use, using a WordPress filter. This requires some basic knowledge of PHP and the WordPress hook system, which is somewhat beyond what I can explain on this forum, but here’s the gist of it. I’ve commented the code so that you can understand what I am doing in the example: https://gist.github.com/95eeadc2515ada3a41cc
More information on WordPress hooks/filters: http://codex.wordpress.org/Plugin_API#Hooks.2C_Actions_and_Filters
More information on the WordPress gettext filter: http://codex.wordpress.org/Plugin_API/Filter_Reference/gettextHope this helps. Let us know if you have any furthered questions.
Joey Kudish
MemberHey Andy,
Thanks for reporting this issue. We’ve now fixed the maybeAddEventTitle() function so that the second paramater is optional, and thus this error will not be happening again. The fix will be available in the 2.0.3 release which is currently scheduled for next week.
As for the GET statement, yes it looks like someone (or most likely a bot – can be a search bot or hacker or something else) is trying to access that page.
Thanks again & let us know if you have any further issues π
Joey Kudish
MemberHi Jason,
In version 2.0 and above, the /events/ page itself is generated by the following file /views/ecp-page-template.php in the events calendar (the base free version, not pro). However you’ll notice that this file is pretty bare and calls functions from other files. /views/gridview.php generates the calendar view and /views/list.php generates the list view, but again, those files call functions contained within other files in the plugin.
If you let us know more specifically what it is you’re tying to find out, we may be able to give you more details about it π
Cheers
-
AuthorPosts
