Elgg uses only a site-wide timezone which is supposed to be the timezone also set and used on the server. The timezone to be used is asked for and set during installation. You can also set it in elgg-config/settings.php.
If you want the users to be able to define their own timezone, you would have to add a user setting in your plugin. Then you would also have to deal with the conversion between the timezones in your plugin (maybe handle it in the server timezone internally and in the database and display maybe only the scheduled time (additionally) for each user specifically). If you would offer the scheduled time both in server time and user time it might also be less confusing because all the other time outputs (e.g. of postings) would still all be in server time.
Thank you for your reply, iionly.
I wrote a plugin (my first completed) for this. I hope others can use it too.
Kind regards,
Hi iionly,
thanks for your reply.
You were right. The problem was in some other part. A missing break in the page handler.
Now the page stays on the view page, but no frame appears.
I've made the changes you suggested.
I have put a var_dump($iframe_d); above the elgg_view_page. It gives the following output.
string(84) "http://localhost:5080/openmeetings/hash?&secure=6e1d67f5-9eda-4cbf-abdf-8786aa900c9a"
I also replaced the iframe src with a youtube link to see if it works, but without success.
When I echo $content or $body I get an empty frame.
Any suggestions?
OK, iframe works. I had the wrong youtube link.
Just have to look further for embedding openmeetings.
Thank you very much for your assistance.
Does the openmeeting session works if you directly call the url to be used in the iframe in the browser? If this doesn't work either the url might be wrong. Maybe the current version of openmeeting works differently compared to the version available back then when the openmeeting plugin was released.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.