adrian7
Forum Replies Created
-
Forum: Plugins
In reply to: [W3 Total Cache] [Plugin: W3 Total Cache] 500 Internal Server ErrorIt seems to be a bug in W3 Total Cahe for .htaccess code generation.
First any W3 total cache rules should be located AFTER # END WordPress.Then check to see if there are some “BEGIN W3TC” or “END W3TC” strings left, those should always bedin with a #.
Forum: Plugins
In reply to: fatal errror on Facebook pluginYou have to know a bit of PHP for this… Do you?
Forum: Plugins
In reply to: fatal errror on Facebook pluginQuick patch: find the line with
class FacebookApiException{
and add before itif(!class_exists('FacebookApiException')):
and then after class definition endsendif;
.Forum: Requests and Feedback
In reply to: Updating a plugin removes the .mo files in other languagesThis thread, gave me an idea for a plugin. To allow wp users to manage their own translations for their blogs and plugins, if they’re not happy with the official translation.
Something like your own GlotPress. So if anybody wants to participate in devsloping such a plugin, or has any further ideas please notify me in this thread.
Forum: Requests and Feedback
In reply to: Updating a plugin removes the .mo files in other languagesWell, in my opinion “open source” means that if a pipe is broken in your house you can repair it yourself, if you know how – without need to call for somebody else.
On the other hand, open-source does not means free!So there might be people who don’t want to share their work with others for free.
Or some people finding a lot of grammar or syntax errors in the official translations distributed with plugins and WordPress – I’m one of them!
We have to accept, that people working on translations are not all great translators. So we should give people ways to improve their own site without hassle, and therefore without fear of updates.
Forum: Requests and Feedback
In reply to: Updating a plugin removes the .mo files in other languagesI know, that means we’re depending on somebody else to translate plugins… now that does not fits very well within the term of “open source”!
Forum: Plugins
In reply to: How to send a cookie to the browser.Good news I finally figured a way out. Heredown the code:
add_action('posts_results', 'set_my_cookie'); function set_my_cookie(){ global $wp_query; $cpost = $wp_query->posts[0]; //get the current post if(!wp_is_post_revision($cpost)) { if( is_single() || is_page() ) { $id = $cpost->ID; setcookie('my_cookie_for_'.$id, '2011', 8600, '/', get_bloginfo('url')); //set the cookie } } }
Forum: Hacks
In reply to: Display Custom CSS and HTML instructions for postsYou can build a raw html template for post creation and pull it whithin the wp’s TinyMCE (which btw, should recongnise lists and therefore be easier to edit).
On the other hand you can make one or more video tutorials and shoe them in the help menu. Here’s a plugin that does that: https://premium.wpmudev.org/project/unbranded-video-tutorialsForum: Plugins
In reply to: How to send a cookie to the browser.***edit***
I also need the current post ID (if is_single) to be available for my function.maybe turning off stats for the plugin will solve that…
Forum: Requests and Feedback
In reply to: Auto-install plugins when activating a theme.Yes, looks great! It should be included in wordpress.
Forum: Your WordPress
In reply to: Suggestion on my wordpressand some widgets like Twitter Widget, comments and latest posts.
Forum: Requests and Feedback
In reply to: Auto-install plugins when activating a theme.Ok, can somebody post some sample code…?
Forum: Themes and Templates
In reply to: Div not resizingTry add
<br style="clear:both;" />
just before closing the .panes div.
Smthing like this<div class="panes"> .... previous markup ..... <br style="clear:both;" /> </div>
Also make sure you set css rule height:auto for .panes.
I had the same problem, and the solution was dam simple. It seems the plugin doesn’t adds automatically width/ height. So all you have to do is to specify the desired width and height in the shortcode.