Raju Gautam
Forum Replies Created
-
Forum: Plugins
In reply to: [Facebook] Comments not showing in Chrome or FirefoxI have same issue and the plugin does not show anything on Chrome but does in Firefox. Was there a solution ?
Forum: Plugins
In reply to: Plugin does not work after WP upgraded to 3.0Sorry guys,
The problem was not because of the function add_action but it seems it is obvious that the problem is again because of WordPress upgrade to 3.0.
An if condition check was logically wrong or kind of stupid. They have a if condition like this in the plugin :
if ( strpos($_SERVER['REQUEST_URI'], 'post.php?action=edit') !== false ) { // show the image upload field. }The condition was true in prior versions because in the URL while editing the post looks like this:
/wordpress/wp-admin/post.php?action=edit&post=1And WordPress 3.0 does have the link while editing the post like this:
/wordpress/wp-admin/post.php?post=1&action=editand WordPress 3.0 does not display the form because the condition always gets failed.
Really annoying and frustrating situation I had since last week.
Really annoying and frustrating situation I had since last week.
Now I checked the condition like this:
if ( $_GET['action'] == 'edit' ) { // show the image upload field. }Can anyone point out me if I am doing something wrong? Though it is working now but I am not sure that I can use $_GET superglobal directly inside the function/method of a class in the plugin.
With Regards
RajuForum: Plugins
In reply to: WP3.0 and the admin menu – new bug?I am also having some problem:
add_action('activate_'.$this->tmh_pi_path, array(&$this, 'tmhpiActivate')); add_action('edit_form_advanced', array(&$this, 'tmhpiCustomFields')); add_action('edit_page_form', array(&$this, 'tmhpiCustomFields')); add_action('edit_post', array(&$this, 'tmhpiMetaboxHandle'));It was working perfecting fine before with 2.9 but when I upgrade it to 3.0 then suddenly it does not show a form field in below the post form in admin.
Forum: Themes and Templates
In reply to: Homepage item’s linkAnyone help me please. I am stuck here with this problem.
Forum: Plugins
In reply to: Plugins and the_content and read more.Thank you so much MichaelH! That did the trick.
Will come back… need to learn more on WP.