Support Forum
In the interest of saving time, I deactivated the .htm PAGES plugin and updated the forum permalink but that didn't work either. The page URL changed from .../our-firm/forum.htm to .../our-firm/forum/ on refresh.
On Mac in Safari I could at least see the forum (.../forum/); on PC in Explorer 9 I could see the page but not the group: "The requested roup does not exist or you do no have permission to view it." and below that "Unread and recently updated topics" and "There were no topics found"
I activated .htm PAGES again and all is as it was before - forum goes to 404 error - but now I still cannot see the forum on the .htm page in Windows/IE9 (it displays okay on Mac/Safari 5.1)
Redirect is still deactivated for now.
Other questionable plugins: Exec-PHP, All In One SEO Pack by Michael Torbert
That, I am afraid, is going to be a separate issue and probably just a permissions thing which we can address. It really has nothing to do with the .htm question.
But I am a little confused as the copy of the plugin I have seen (version 1.1) is called 'html on pages' and places the full .html extension on the urls...
YELLOW
SWORDFISH
|
At the top of that plugin - I believe it has just the one php file - you should find these lines of code:
add_action('init', 'html_page_permalink', -1); register_activation_hook(__FILE__, 'active'); register_deactivation_hook(__FILE__, 'deactive');
Change them like this:
if ( ! sp_is_forumpage() ) { add_action('init', 'html_page_permalink', -1); register_activation_hook(__FILE__, 'active'); register_deactivation_hook(__FILE__, 'deactive'); }
let's see if that resolves it...
YELLOW
SWORDFISH
|
It is confusing. The original author was the same as for the .html PAGES but now it's http://wordpress.org/extend/pl.....-on-pages/ at DiscountWebDesigner
Anyway, I'm going in to change the code now and will let you know how it goes.
this is the current code:
<?php
/*
Plugin Name: .htm on PAGES
Plugin URI: http://www.introsites.co.uk/33.....lugin.html
Description: Adds .htm to pages.
Author: IntroSites
Version: 1.1
Author URI: http://www.introsites.co.uk/
*/
add_action('init', 'htm_page_permalink', -1);
register_activation_hook(__FILE__, 'active');
register_deactivation_hook(__FILE__, 'deactive');
after changings I got this warning:
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'html_page_permalink' was given in /problem-with-post-edit-buttonome/content/44/7739444/problem-with-post-edit-buttontml/wp-includes/plugin.php on line 403
I changed it back
big problem now - put in your code got error - but back original code another error
Fatal error: Call to undefined function sp_is_forumpage() in /problem-with-post-edit-buttonome/content/44/7739444/problem-with-post-edit-buttontml/wp-content/plugins/problem-with-post-edit-buttontm-on-pages/problem-with-post-edit-buttontm-on-pages.php on line 15
1 Guest(s)