Simon Fransson
Forum Replies Created
-
Forum: Plugins
In reply to: [Any Hostname] Not working :(I would guess caching, yes. If it is possible I guess you should set WP Super Cache to cache per-domain only.
Also note that URL:s inside post content (stuff you typed in the editor) is currently not supported. You could override those with a quick
post_contentfilter though.Forum: Plugins
In reply to: [Logged in] Log out stopped workingHi there leorwalker! Which WordPress version are you running? Have you checked the settings of Logged in (under Settings > General)? There are a few ways of customizing the login/logout page, perhaps you changed it by accident?
Note though that I haven’t really tested the plugin on WP 3.7 , so it may well be broken.
Simon
Forum: Plugins
In reply to: [Any Hostname] Only my domain-nameHi Franss,
No that’s not possible with Any Hostname. What you will have to do is copy your main
index.phpout of the WordPress-directory (i.e.2013), modify it to point to your actual install (again,2013) and then modify the Home URL setting accordingly. Detailed instructions can be found here.Simon
Forum: Plugins
In reply to: [Taxonomy Order] Database table doesn't get created on activationI’m having the same issue, and have run to it with a couple of plugins of my own as well. As recommended on the
register_activation_hookcodex page
it’s better to register the activation hook outside of the class if you’re using a singleton.Just comment out line 89 of
taxonomy-order.phpand addregister_activation_hook( __FILE__, array( $Interface_Taxonomy_Order, 'activation_hook' ) );to the end of the file.Here’s a diff for those who are into that.
Forum: Plugins
In reply to: [Last Viewed Posts by WPBeginner] Caused error to appearAnd here’s a diff which also works:
123c123 < if ( $_POST['lwp-submit'] ) { --- > if ( isset($_POST['lwp-submit']) && $_POST['lwp-submit'] ) { 130c130 < $title = attribute_escape( $options['title'] ); --- > $title = esc_attr( $options['title'] ); 133c133 < <?php _e('Title:') ?> <input type="text" style="width:250px" id="lwp-title" name="lwp-title" value="<?php echo $title ?>" /></label> --- > <?php _e('Title:') ?> <input type="text" class="widefat" id="lwp-title" name="lwp-title" value="<?php echo $title ?>" /></label> 140c140 < if ( !function_exists('register_sidebar_widget') ) --- > if ( !function_exists('wp_register_sidebar_widget') ) 142,143c142,144 < register_sidebar_widget('Last Viewed Posts','zg_lwp_widget'); < register_widget_control('Last Viewed Posts','zg_lwp_widget_control', 250, 100); --- > > wp_register_sidebar_widget( 'zg_lwp_widget', 'Last Viewed Posts', 'zg_lwp_widget' ); > wp_register_widget_control( 'zg_lwp_widget', 'Last Viewed Posts', 'zg_lwp_widget_control', array('width' => 250, 'height' => 100) ); 146c147 < add_action('get_header','zg_lwp_header'); --- > add_action('wp','zg_lwp_header'); // We use <code>wp</code> because: no output has been sent, and is_single() et al. is available 148c149 < ?> \ No newline at end of file --- > ?>Forum: Plugins
In reply to: [Last Viewed Posts by WPBeginner] Caused error to appearHere’s a diff til then:
140c140 < if ( !function_exists('register_sidebar_widget') ) --- > if ( !function_exists('wp_register_sidebar_widget') ) 142,143c142,144 < register_sidebar_widget('Last Viewed Posts','zg_lwp_widget'); < register_widget_control('Last Viewed Posts','zg_lwp_widget_control', 250, 100); --- > > wp_register_sidebar_widget( 'zg_lwp_widget', 'Last Viewed Posts', 'zg_lwp_widget' ); > wp_register_widget_control( 'zg_lwp_widget', 'Last Viewed Posts', 'zg_lwp_widget_control', array('width' => 250, 'height' => 100) ); 146c147 < add_action('get_header','zg_lwp_header'); --- > add_action('send_headers','zg_lwp_header');Forum: Plugins
In reply to: [Last Viewed Posts by WPBeginner] Caused error to appearI have a fix for this issue, as well as two other widget related PHP notices. Would be happy to submit it to svn.
Thanks, I’m glad to hear you like it! I rarely use https myself so I haven’t had to deal with that other than debugging the plugin on a IIS server which handled HTTPS and/or url scheme a bit differently. I’ve added you code with a slight rephrasing, it’ll be included in 1.0.3 which I’ll release shortly.
Also, feel free do a pull request on my github repo in case you have any other improvements. You can find it at https://github.com/dessibelle/any-hostname.
Forum: Plugins
In reply to: [Logged in] [Plugin: Logged in] Redirect to blog does not workmark.risch, could you supply me with the following details and I’ll try to recreate your issue.
- Versions of WordPress and Logged in
- Is you WordPress installation in a subdirectory?
- Permalink settings
- Which URL are you accessing when prompted for login (i.e.
www.example.com/,www.example.com/my-page/,www.example.com/?cat=2etc.
Feel free to post/pm me you URL if you like to, and I’ll have a look.
Caching can be an issue when TinyMCE is involved, so try emptying your browsers’ caches. I tried the qTranslate development version the other day and it worked fine for me.
Forum: Plugins
In reply to: [Any Hostname] Any Hostname not disabling domain on WP settings pageThat is actually a design design, to prevent users from accidentally changing the
site_urlandhome_urlsettings into temporary, private or otherwise publicly inaccessible domain names. Also, should you change those setting and then deactivate the plugin your sites actual URL would have changed without that being your intention.Since Any Hostname tries to alter all URLs accessed by visitors this should not be an issue, as it is only displayed to admins. Or perhaps I am not understanding your problem correctly?
Forum: Plugins
In reply to: [Logged in] [Plugin: Logged in] Compatibility with "private" posts?I tried reproducing the issue you’re describing on a clean install using Twenty Eleven and Logged in 1.0.3, and I did not experience any problems. When accessing the site with and admin account I can see the private post both when Logged In is enabled and disabled. I get the same results when I access the site using subscriber and author accounts.
I think though, that private post access is restricted by user role, for example an author can’t access private posts created by an admin. Further more, Logged In does not restrict site access in any other way than that it checks for a logged in user, and if that cannot be found it redirects to the login page. If your site is available online I’d be happy to have a quick look.
Forum: Plugins
In reply to: [Logged in] [Plugin: Logged in] Redirect to blog does not workThere was a bug up to version 1.0.3 which under certain circumstances (WordPress install in subdirectory) made
wp_login_urlredirect to the admin section or a faulty URL. This has been fixed, so hopefully version 1.0.3 will solve your problem.Good catch! Shame I didn’t see your post until now. I tried to reproduce your problem, but maybe something has changed in the WordPress registration procedure. In 3.3.2 all links point to http://host/wordpress/xmlrpc.php which is allowed by the plugin and thus registration does work.
Forum: Plugins
In reply to: [Logged in] [Plugin: Logged in] XML RPC blockedI understand. I you find an issue, please send me an email at simon [at] dessibelle.se. Thanks!