Forum Replies Created
-
AuthorPosts
-
July 31, 2015 at 1:05 pm in reply to: Warning: sprintf() [function.sprintf]: Too few arguments in /nfs/c01/h06/mnt/68 #992326
George
ParticipantHey @exostatic,
Thanks a ton for doing that test, we can confirm that the problem is specific with your French translation.
What translation files are you using? If possible, head to your plugin languages folder and delete existing .mo and .po files for The Events Calendar and Events Calendar Pro.
Then, head to your new Translations site here → http://translations.theeventscalendar.com
And download new .mo and .po files for French for these plugins.
Then upload them on your site and try setting your site back to French.
We have an article about using these files in a bit more detail that you can consult here, if you’re curious for some more information about this process →
Let us know if that makes any difference!
Thank you,
GeorgeGeorge
ParticipantHey Brian,
I’m not sure how CORS would limit this functionality because it did work for me, and it seems like CORS would only limit other scripts on your site and not necessarily ones from Community Events itself…
…however, if you suspect this is the source of the problem, it is unfortunately not something we can help with since this is mostly on the server/back-end side of things and not related to plugins on your site.
You can read up on how to fix these issues by checking out sites like this one → http://enable-cors.org/, and then of course the ol’ trusty Google and Wikipedia and Stackoverflow and all that.
I’m really sorry that we can’t help much with CORS – please let me know if you have any other questions, concerns, comments, etc.
Thank you!
GeorgeGeorge
ParticipantHey @Corrado,
Sorry to hear about these issues! I cannot reproduce them, and both Draft events and “Preview” events work fine for me.
I’m curious:
1. What version of The Events Calendar is active on your site?
2. What version of Events Calendar Pro is active on your site?
3. What version of WordPress are you currently running?Next, does anything change if you go to Settings > Permalinks in your admin area, and just click “Save Changes” without actually making any changes? This may seem like an odd thing to do but is a little “trick” within WordPress to get the permalinks across your site to refresh, which might help here.
Cheers,
GeorgeGeorge
ParticipantHey Chris,
I wrote a function here that demonstrates how to do something like what you’re asking about → https://gist.github.com/ggwicz/31f9d9774e938846d635
Add that to your theme’s functions.php file, and then instead of all the code you wrote above, try just replacing it with:
<?php example_displaying_stock_information(); ?>Feel free, of course, to modify the function name and the markup to suit your needs.
Let us know if this helps!
Cheers,
GeorgeGeorge
ParticipantHey Cristina,
No problem, thank you for being cool here and patient with us, even despite us not being able to do much direct help here 🙁
I really appreciate that and appreciate the themes, too. I took a look at things with them active, and though I’m not sure what the source of the problem is, I found the exact Bug that is prevent our plugin from working.
It’s a JavaScript bug coming from the theme’s Datepicker script – definitely something you could pass along to the theme developers. The full error is:
TypeError: data[option] is not a functionAnd is allegedly coming from this file at line 343, column 35:
aaf-theme/base/assets/js/bootstrap-datepicker.js?ver=1.3.1I hope you can bring this to theme devs and that a fix ends up working out. Really sorry about your frustrations thus far, please let us know if there’s anything else we can help with here!
Thank you,
GeorgeGeorge
ParticipantHey Marcia,
While we appreciate your supplying of login data and the willingness to resolve this issue that it implies, I removed that data for security reasons off of this site – we cannot log into customer sites.
The biggest problems that need to be addressed at this time are:
1. You are unable to locate The Events Calendar on your site. The Events Calendar is required for all other add-ons to run.
2. The version numbers of your active Tribe plugins are inconsistent.
So, the first thing you should do is head to http://wordpress.org/plugins/the-events-calendar. Download the latest version of The Events Calendar there and install it on your site.
Once that is activated, then head to http://theeventscalendar.com/my-account/downloads and download the most recent version of Events Calendar Pro. Install it on your site.
As for Community Events, it is outdated and so to be able to get the most recent version you would have to renew your license. If you cannot do that, then for now your best option is deactivate this plugin just so we can troubleshoot without its version number causing problems, and we can handle the version number discrepancy later.
Let us know where things stand once you work through the above items. Thank you for your patience here!
— George
George
ParticipantThanks Dennis,
I’m curious: would you be able to see if any errors pop up on your site if you head to your site’s wp-config.php file and change this line of code:
define('WP_DEBUG', false);to this:
define('WP_DEBUG', true);That will display PHP errors if any exist, which might be quite useful here if you make this file change, then head back to your admin and try to filter by dates.
If any errors pop up, copy and paste them into Gists at http://gist.github.com – then share a link to those Gists. We’ll look through the errors and see if we can learn more here.
Thank you!
GeorgeGeorge
ParticipantThat’s an interesting thought Cappy, and an idea we can definitely play around with. For now, something like that wouldn’t be possible here, but keep your eyes out for future updates and read the update changelogs! We’re working on it! 🙂
Thanks again for being so cool about this limitation – I’m glad you’re still able to find the importer useful otherwise. The offer for a refund still stands, you have until 30 days from your original purchase to act on it and no hard feelings if so!
Thanks a ton Cappy – I’ll close up this thread for now but if you have other questions, concerns, etc., don’t hesitate to open a new thread any time.
Gratefully,
GeorgeGeorge
ParticipantHey Hans-Gerd,
I’m sorry for misunderstanding your questions – as you mention, some of these details are hard to communicate.
The unfortunate thing is that I don’t quite know where you will need to paste your code, either. This is one of the main components of customizing things, and depends entirely on your site, what your site needs, etc.
Generally speaking, loop.php is already a loop of events, so you don’t need to add extra calls to something like tribe_get_events() here.
If you’re trying to show today’s events somewhere in your theme, you will need to head into your theme code and find the right place there – this is not something we would know from our end, unfortunately.
Let me know if this clarifies anything, or if you can specify a bit more about what exactly you are trying to build.
Thank you for your patience, I’m sorry about the difficulties in communication here but will continue to try to help where appropriate (although, please do keep in mind that we do not support customizations here).
Thank you,
GeorgeJuly 30, 2015 at 12:34 pm in reply to: Can't Sort Posts by Date in wp-admin After 3.11 Update #991900George
ParticipantHey Tom,
Can you deactivate all other plugins on your site and activate a default theme like 2015, then try adding that http://m.tri.be/postorderfix plugin and activating it? What do you find with your site in this state?
I only ask because there is an “ID” column there that is not a default column, so there’s other code related to columns on your site and that code could be the problem here.
Let us know what you find!
— George
George
ParticipantThanks for the udpate(s) Erik! Best of luck with your site 🙂
July 30, 2015 at 12:29 pm in reply to: the main backlink to all events is incorrect translated #991894George
ParticipantHey Frank,
I’m sorry to hear that. I just exported a .po file and “veranstaltungenen” is literally not in the file anywhere…weird!
If possible, could you try setting your site to the English locale or something, then back to the German locale and see if that update “refreshes” the use of .po and .mo files on your site?
Really sorry you’re having these issues – they’re odd and I’m not quite sure why they’d be happening.
Thank you,
GeorgeGeorge
ParticipantThanks Michael – were you able to run the complete set of troubleshooting steps I linked to above for http://theeventscalendar.com/support/forums/topic/reocurring-events-bad-request/#post-987643, including the deactivation of other plugins?
If so – let us know what you find!
Thanks,
GeorgeGeorge
ParticipantHey Luc,
I’d recommend that you first remove all custom template file changes you’ve made so far in trying to achieve this. And ensure that the original details.php file is intact and just like it is when you first installed The Events Calendar.
In other words, get rid off ALL PHP customizations you’ve made so far for this customization.
The easiest way to do this is just with CSS.
To hide the Cost and Divider, add the following CSS snippet to the bottom of your theme’s style.css file:
.tribe-events-schedule .tribe-events-divider,
.tribe-events-cost {
display: none !important;
}I hope that helps!
Cheers,
GeorgeJuly 30, 2015 at 10:37 am in reply to: Event Calendar Image & Event Name At Top now showing correctly #991863George
ParticipantHey Loren,
We unfortunately do not support themes here, or any software that isn’t our own.
But, if you’re talking about the big full-width image behind the event content that fills up the header area of the sitem this is fortunately a small thing to tweak so I’m glad to help! Here’s a screenshot of what I’m talking about, based on the “Theme Demo” link you provided, because http://wcg.dreamhosters.com/events/ required a log-in to see → https://cloudup.com/c95atHz2uyv.
You can hide that image by adding CSS like the following to the bottom of your theme’s style.css file:
body.custom-background {
background-image: none !important;
}If you only want to hide it on Events pages, but leave it on non-Events pages, then just specify events pages in that code above by adding an extra class name like this:
body.custom-background.events-archive,
body.custom-background.type-tribe_events,
body.custom-background.single-tribe_events {
background-image: none !important;
}
If you want to then change the remaining background color, just add a background color rule, like this:
body.custom-background.events-archive,
body.custom-background.type-tribe_events,
body.custom-background.single-tribe_events {
background-image: none !important;
background: black !important;
}
For further CSS customization, check out a [free!] tool like Firebug if you use FireFox, or the Developer Tools for either Safari or Chrome, or contact your theme developer for more assistance.
I hope this helps!
George -
AuthorPosts
