Adam Backstrom
Forum Replies Created
-
Forum: Plugins
In reply to: [Who's Online] [Plugin: Who's Online] LanguageI’d like to try out the internationalization features available in PHP and WordPress. Are you able to provide translations for two strings? I assume you are targeting ru_RU, and already have that translation of WordPress loaded.
- Last online: %s
- Online now!
I can definitely look into alternate methods, but this seems like the best way to proceed.
Yeah, I’ve had an open support request on kaltura.org since September, patch included. To fix this error, the file inclusion calls in the plugin need to be absolute, not relative.
http://www.kaltura.org/relative-path-requireonce-sometimes-load-wrong-file
I’m new to the user-access-manager plugin, but it may be something like this, using the UAM API:
global $userAccessManager; $uamAccessHandler = $userAccessManager->getAccessHandler(); var_dump( $userAccessManager->getUserGroups() );That would dump out the contents of that
getUserGroups()method, which may be a jumping-off point to the next step (actually checking that the user is in the group).Better still, use
is_ssl()(available since WP 2.6).