A new release of the facebook events widget for wordpress.
Changes since v1.1.4:
- 1.1.7
- displaying no events message where there are no events.
- 1.1.6
- fix not displaying times for events.
- added new checkbox for old timestamps.
if your using an old app id and you notice events from the past then you should mark this.
- 1.1.5
- fix parsing events timestamps.
I have installed your Facebook Events Widget plugin for WordPress, created an App on Facebook, and got the Page ID# for http://facebook.com/rollacostamusic, entered the Facebook App ID, and Facebook secret code from that app into your widget but still have nothing showing up on my personal website. Please help, what am I doing wrong. Thanks
-Jake
Hi Jacob,
do you get any errors or the message no events?
any errors in the php log file?
thanks,
Roi
Hi, I have a problem with event dates, they do not match with fb event’s dates… there is a difference of 1 day among them.
Thanks
Ok I found out why, sorry… it’s the hour displacement option… thanks for the work, by the way. 🙂
i,
I installed the plugin and configured it. But I get a certificate exception:
Caught exception: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
what is wrong?
Hi,
not sure why you get this but can u try the following.
edit the file facebook.php around line 109 there are the default curl options.
try to add CURLOPT_SSL_VERIFYPEER as false.
I am having the same token error…I have the ID and secret ID. I believe the page ID is correct…but still getting the error. I could find where to add CURLOPT_SSL_VERIFYPEER as false
In the editor
Could not find where to add CURLOPT_SSL_VERIFYPEER as false
Hi, I’m also having problems with start time / end time not matching the FB events. The events happen in different time zones around the world, so the hours are off by various counts. Otherwise great plugin!!
Help please?
btw if I can just remove all instances of time (and just leave the date), that would be fine too. I’m not sure which lines of code to remove as the date and time seem to be connected together?
thx again
so each event different timezone?
can you share the page url, i would like to see if i can get timezone off the events.
as for removing time, look in lines 338 and 345.
you can remove the if-else block and leave $start_time=” and $end_time=”
so you wont see times at all but only days.
Hi, I had already figured out kind of how to remove the times — you can see the site at http://www.ruhabenjamin.com/talks
… thanks for your attention!
I’m also having troubles with having the correct times displaying but it’s only happening in the headings. Eg. it shows the proper event date & time but the heading says “TOMORROW” when it’s actually the day after tomorrow.
I’ve tried adjusting all of the timezones but I can’t seem to get it to display properly. Any ideas?
Nico, can you share your event page link so I can check?
ROI,
I have the plugin on 2 different pages – 1 is here: http://streamingcafe.net/events/
You can see the different events here and see how the first one is missing.
http://www.facebook.com/streamingcafe/events
I’ve taken out the separators for now since they weren’t showing up properly… this isn’t a big deal. It’s just that the first event displayed has the proper time but the others are 1 hour off (which doesn’t make any sense to me).
Thx for looking at this.
Hi Nico,
I cant see the hours are off, all events shows the same hour as in facebook.
Roi,
There must have been some sort of glitch – everything is now working properly. Thanks for looking into it. Love the plugin.
Hi.
I dont get the time for the events to be right.
I have tried to change the adjust time in the widget area but with no luck…
Any ideas?
can you post a link?
Hello. I am having a similar issue as others with start/end times being incorrect for events that happen in different time zones.
For example, if I create an event at 5pm in NYC, it will display correctly, but if I create an event in Los Angeles at 5 pm, it will display as 8pm. I have the “Adjust Time” option in the widget set to “4”.
It seems that the “Adjust Time” option in the widget doesn’t take into account the possiblilty that events might occur in different time zones?
Also – there was a problem with daylight savings where I had to adjust the “Adjust Time” option down from 5 to 4, I guess it is not adjusted automatically?
I never checked fan page with multiple time zones.
can you share the fan page link so I can check?
about the daylight. i format the time according to what set in wordpress settings so it should have worked. i’ll check that.
Roi, trying to configure the plugin but getting the error about the token. I have each of the lines filled in including the token, but still the error. You mentioned above on line 109 adding curl…but not sure where to put it. Would appreciate your support.
Thanks,
Dennis
In facebook.php line 109 you see this code:
public static $CURL_OPTS = array(
CURLOPT_CONNECTTIMEOUT => 10,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 60,
CURLOPT_USERAGENT => 'facebook-php-2.0',
);
try to add inside:
CURLOPT_SSL_VERIFYPEER => false,
The times of events on my website are all off by 1 hour starting on Nov. 5. I have two events each night, at 8 and 10pm, but they are showing as 9 and 11pm. I assume it has to do with daylight savings time but I don’t see how to change it. Thanks.
does it help editing the offset in the widget settings?
I see that the offset is set at 7 but I’m not sure what that means. Should it be a different number? I’m in eastern time zone.
the setting just set the hour offset. 7 means to add 7 hours. if you need another hour just set it to 8.
I can tell that it is the dates in daylight savings time, between November and March, where the times are off by an hour. Would there not be a setting for this?
can you tell/mail me the events page? i’ll check and update the plugin.
The events page is http://www.acousticcoffeehouse.net. That’s where the widget is. The Facebook events are at https://www.facebook.com/pages/The-Acoustic-Coffeehouse/131339056030. Let me know if you need passwords.
You can see which times are incorrect on our site because all of our shows are at either 8 or 10pm. The incorrect ones are showing as 9 and 11pm, even though they’re displaying on Facebook as 8 and 10. Thanks for your help! -Jim
ok the problem is with daylight saving time.
I have a fix to test. can you email me so I can send it to you with instructions?
my email address is jim@acousticcoffeehouse.net. Would you like me to send an email to you? I don’t see your address.
-Jim
hi guys
i’m having the same problem, did you manage to get it fixed?
Hi Roi, would it be possible in your opinion to let the widget show the participants (along with small thumbnails of their fb profile picture) who have confirmed their attendance to the event?
Would you be so kind to post the code I should integrate?
Thanks a lot 😉
it is possible. but there isn’t enough room usually when using the widget on a small space.
I don’t have code to paste here as it’s more than just a few lines.
basically, you can add to the query to receive info for each member of the event, name and pic. then need to use that info in the create div event function.
Hi,
Thank you for the plugin and your time! One question as it seems everything works fine: Can we reverse the sorting of the events if all events are displayed? Right now they are in descending, and I can’t reverse the order?
We are currently seeing a list of 6-7 events, first of which is in March 2014… last is November 2013 (which should be first).
Thank you again for your time!
can you show me example? I am testing the plugin in http://testwp.roidayan.com/ and the order of events seems ok.
Thanks! Sure: http://philross.com/
(bottom left)
I appreciate it 🙂
Ah! I just noted you’re using v1.7, but the plugin we’re using is v1.0 (http://wordpress.org/plugins/facebook-events-widget/)- the most recent on WP as of today. Is there a way to download the latest version you are using?
Oh geez- sorry, I’m wrong. I thought we had older version and it was 1.7.. Please disregard that last comment reply. thanks and sorry.
Actually later release is 1.1.10. Can you try it?
That’s what we have in use now. Again- apologies from my confusing posts here…
The facebook events widget is working, however there is a blank space after the widget that I can’t figure out how to get rid of. Any help would be appreciated.
Hi Andrew,
It’s the container height.
Try editing style.css and look for .fb-events-container
change height to max-height.
This should solve it.
Thanks,
Roi
Hello Roi
I was using your plug in, it was working well until a week more or less when I discovered there is a message that said: Caught exception: SSL certificate problem: certificate has expired
Any advice on that?
Honestly, I’m not an expert. I checked all data in my Facebook App and I guess it’s the same.
Many thanks in advanced.
Hi Raul,
It doesn’t happen to me but try one of the following solutions:
1. try to update the certificate.
replace the file https://raw.githubusercontent.com/facebook/facebook-php-sdk/master/src/fb_ca_chain_bundle.crt
with the file in the plugin directory.
2. ignore the ssl certificate.
In facebook.php line 109 you see this code:
public static $CURL_OPTS = array(
CURLOPT_CONNECTTIMEOUT => 10,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 60,
CURLOPT_USERAGENT => ‘facebook-php-2.0’,
);
try to add inside:
CURLOPT_SSL_VERIFYPEER => false,
thanks,
Roi
This is the correct solution, tnx!
Mark
Hi there, I’m having the same problem Mark had but the solution doesn’t work for me 🙁
It worked fine until yesterday but today it says ‘Caught exception: Problem with the SSL CA cert (path? access rights?)’.
Do you have any suggestion to solve this?
Grtz, Eric
Hi Eric,
did you try solution #2 I posted above?
Could be you have another plugin using facebook api?
Could be mismatch between versions.
I’d be happy to try and help more if you can email me a temporary admin user so I can take a look.
Thanks,
Roi
Hi Roi,
Thanks for your reply.
Suddenly it’s working again… it’s a miracle but i’m happy wit it!
Gr. Eric