I had to change the plugin file to make it work. I think it can help someone and even the plugin’s author should consider making these changes.
on class-admin.php, create this function at the beggining (can be line 9):
function loadXmlByCurl($url){
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_HEADER, false);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$xml = curl_exec($ch);
curl_close($ch);
$xml = new SimpleXMLElement($xml);
return $xml;
}
Now replace this line
$dom_object->load("http://www.facebook.com/translations/FacebookLocales.xml");
by
$xml = loadXmlByCurl("http://www.facebook.com/translations/FacebookLocales.xml");
$dom_object = dom_import_simplexml($xml)->ownerDocument;
and you are ready to go.
Related Posts:
- Facebook comments box on front page
- Installing Facebook comment plug in without loosing all previous wordpress comments?
- Facebook plugin shows existing comments
- Integrate Facebook comments with native comments
- Best collection of code for your 'functions.php' file [closed]
- I found this in a plugin. What does it do? is it dangerous?
- How to check if user is in back end?
- How do i know the current post type when on post.php in admin?
- Create tabs inside Plugins Admin Page [closed]
- Changing the “Plugin Activated” Message Default
- How to Add a Third Level Sub Menu to the WordPress Admin Menu
- What are the best practices for updating?
- How to export comments in WordPress?
- How to set back-end language per user?
- What are the package and subpackage comment for?
- Experiences with adding Nonces to the comment form
- Is there a plugin for posting inline comments, like in MS Word? [closed]
- How can I make an Ajax login form work with FORCE_SSL_ADMIN enabled?
- Is There a WordPress Hook to Filter the Edit Posts View?
- Changing wp login url without .htaccess
- Add section (add_settings_section) to a custom page (add_submenu_page)
- How to remove duplicate sub-menu name for top level menu items in a plugin?
- Disable saving comment details (name, e-mail) in cookie?
- Admin plugin, how can I output a different content-type?
- Plugin or mod for wordpress to make content publication SUPER easy
- How can I log a user out of WordPress before the page loads?
- Disabling Comment Notifications for Post Author
- Passing .pem and .key files in cURL doesn’t work in WordPress
- How do I only load a plugin js on it’s settings pages?
- Are there any drawbacks to install IntenseDebate on my blog?
- How to enable Admins to see Plugins
- How to add a help tab to all admin pages – including plugin pages
- Custom plugin settings: clicking “save changes” does not display success message
- Creating button next to “add media” that allows you to choose a single post
- Bad Request (Invalid Hostname) on working server, database problem
- How to get user-meta from Social Login registered users?
- Notify commenters about new replies
- How to develop a community feature in the dashboard for multiauthor site
- Top 3 posts in last week ordered by Facebook and Twitter share counts
- Custom comment type maybe?
- Use comments as notes, visible for comment author only
- Don’t send notification if author comments his own post plugin help?
- How does WooCommerce display a custom comment_type in Comment Admin?
- Trying to add admin file upload form plugin
- How to prevent spam comments?
- WordPress Plugin Look & Feel
- Intercept comment form submit/list by hook/filter
- Is there an action that is called when a post is restored from the trash?
- What’s the point of using WordPress’s built in admin-ajax.php?
- adding a text message beside the comment submit button
- How can I get a list of plugins and which blogs are using them?
- Filter or action hook to insert content on admin pages before tag
- How to add a privacy-checkbox in comment-template?
- Plugin: How should I handle deleting comments?
- Is there a way to lock certain pages from being edited by anyone other then the admin?
- Akismet plugin is deleting spam despite preferences
- Facebook Like Button On Individual Comments
- Plugin Functionality Only for Editor and Administrator
- Is it possible to integrate WordPress *posts* and social media (Facebook, Google+, Twitter)? [closed]
- why in my wordpress admin panel the membership option is not showing
- How to set CORS header?
- Allow Facebook to preview posts before published
- Shortcode in AJAX popup
- How to edit/delete single row items in a table on my own menu page
- cURL error 60: SSL certificate problem: unable to get local issuer certificate
- Admin Dashboard with Custom Tab for Client
- Moving WordPress from host without FTP?
- How do I remove the entire left nav bar in admin for certain level users?
- Override comments.php template with plugin
- Making menu link open in new tab?
- Leveraging WordPress Comments on Custom Plugin Object page
- Change wording of admin menu item?
- Get total number of comment of the posts written by an author
- How to handle admin and passwords requests from plugins developers?
- Display comments of users on single page
- wordpress reusable content blocks
- Cannot access wp-admin after disabling all plugin
- Function to prevent users from trashing comments
- Set of plugins to control the Admin UI
- Are there any plugins yet that support Facebook Like, Google +1 and allow Social Interaction tracking on Google Analytics
- add_filter comment_edit_redirect not working
- How do you override the default comment template?
- How to send little data between admin pages of my plugin?
- WordPress Social Login > Post to a users Facebook wall
- How to change commenter links to /user/user_id?
- unregistered user can write in blog page – possible? how to?
- Conditionally add apt. Open Graph meta data to different pages on WordPress site
- Which plugin will let me decide what users have access to on their side bar in wp-admin?
- How can I make uploaded images in the editor load with HTTPS?
- Facebook Like needs confirmation?
- What would be the advantages/disadvantages of remote plugin installation?
- How can I get WordPress to save comments in markdown format?
- Editing admin pages in WordPress [closed]
- Hook to plugins admin settings
- How to Add custom subtitle as og:title to Facebook Open Graph Meta Data in WordPress Themes?
- Layout Plugin Admin Pages: Use BootStrap? [closed]
- Remove Duplicator plugin from admin menu if not an administrator
- Doubt using $wpbd->get_col for a single column
- See which user installed a plugin?
- Edit default comments page in WP Admin