Forum Replies Created

Viewing 15 replies - 571 through 585 (of 681 total)
  • Forum: Plugins
    In reply to: Looking For a Plugin…

    If all else fails, I’m also starting to build one based on that specific website you mentioned. I like that it’s not flash-based. I’ll probably have something in a week or two – would you be interested in testing it?

    Forum: Plugins
    In reply to: Looking For a Plugin…

    You have a few options (though none will be exactly like that particular site):

    I’ve used the Featured Content Gallery plugin myself and I’m happy with the results. You can see it in action on the FCG website. Hopefully this is what you’re looking for.

    If you want more of the functionality that this other site has (clicking numbers, etc) I recommend looking at the code and trying to reproduce the Javascript. Or, hire a developer.

    Can you tell us what the error message is? Maybe link to a screenshot so we know what you’re dealing with …

    I don’t see that behavior. When I scroll down to the comments, I see that they are threaded together (responses to responses are indented and grouped together), but I don’t see anywhere that it displays a quote of the comment.

    If it’s the threading feature you’re looking for, though, this is built in to WordPress. You just need a theme that supports threaded comments.

    One idea, report it as a site bug: http://wordpress.org/report-bugs/ Maybe your post never got through in the first place.

    Also, I’d recommend hosting the plugin on your own website as well and posting links to it in the forums. That way, interested developers can still get their hands on it even if the guys at WP haven’t gotten around to it yet.

    In any case, I’m sure they’ll get on it eventually. It just might take a while.

    I clicked the link and was taken to a login screen. I clicked “Register” and set up an account. However, I never received a confirmation email, so I have no way to log in and see what error you’re getting.

    But I did not encounter any errors during the registration process.

    To get a plugin added to the available list, you need to submit it using this form: http://wordpress.org/extend/plugins/add/

    Plugins are approved manually, so it make take a few days or even a week or two to hear back. My first plugin took over a week to be approved.

    Gilad,

    Let me amend the code I sent earlier (now that I’ve had more time to think about it). You actually need two functions:

    function switch_template() {
         add_filter('template', 'my_template');
    }
    add_action('init','switch_template');
    
    function my_template() {
         $my_template = 'My_Template_Name';
         return $my_template;
    }

    This should allow you to programatically override what’s set in the database.

    It is, though it will take a little CSS work on your part. You need to install WordPress alongside your existing website and tweak either the default theme (or another basic theme) to match the look and feel of your existing website. Then you need to add the same navigation bar between the two sites.

    Here’s an example of how it could work: http://lueckenhausen.com/

    The main website in this example is built on a stand-alone third-party system. The blog is powered by WordPress using a custom theme that matches the look and feel of the existing site’s stylesheet.

    Additionally, because both the website and WordPress blog are running off the same database, I was able to integrate the “most recent” posts from the blog onto the main page (though at the moment the client has not posted any articles).

    I don’t understand what you mean, “reply with quote comment.” Please explain.

    No problem! I’m glad I was able to help.

    Forum: Themes and Templates
    In reply to: Broken Footer

    Kyle,

    What exactly did you do to fix the positioning (if people browse the forums in the future looking for the same solution)?

    If that’s the only change you made, you shouldn’t be seeing a problem. My first recommendation is to temporarily reset the permalink structure to the default (ugly) query string method (blog.com/?author=15), save this, then change it back to pretty permalinks and see if this helps.

    I’ve had to do this with multiple sites using customized re-write and permalink settings. If it doesn’t work, then you have something else going on and I’d want to take a look at your theme files to be sure.

    One alternative you might want to look into is the set of functions that WordPress uses to determine the active template. First, WordPress checks for the template name and queries the database to see what template is in use.

    The actual function is:

    function get_template() {
         return apply_filters('template', get_option('template'));
    }

    This checks to see what the active template is in the database. You can create a filter to replace whatever value is returned. Here’s an off-the-top-of-my-head example:

    function switch_template() {
         add_filter('template', 'whatever-you-want-it-to-be');
    }
    add_action('init','switch_template');

    Like I said, this is off the top of my head, but it should replace the template with whatever you set programatically. You can set your own conditions on this as well to pick which template is being used.

    Just one idea among the many you might want to look into. I’d recommend using some kind of phpxref tool to search for different functions so you can see what the get_template() and get_template_directory() functions look like.

    Ditto to what bh_WP_fan said. I ran into this problem on my own machine because it was not set up to handle index.php file as the default file for a directory.

    If there isn’t one already, you need to create a file named “.htaccess” in the root directory of your WordPress installation (localhost/wordpress). If it’s already there, open it in Notepad and add the line bh_WP_fan recommended at the very beginning of the file:
    DirectoryIndex index.php

    Save the file and try again. This will tell Apache to load “localhost/wordpress/index.php?p=14” and pass the query variable to WordPress.

    If that doesn’t work, let us know.

Viewing 15 replies - 571 through 585 (of 681 total)