Forum Replies Created

Viewing 14 replies - 16 through 29 (of 29 total)
  • Thread Starter Neil Mickelson

    (@mickelsn1)

    OK, good point. So let me rephrase…

    How would I do the above in the WP1.5 codebase, based on comparing assigned user levels to a flag set in each post’s custom fields? How can I protect the RSS feeds?

    (Sorry for the ask on WP1.6…)

    You could use something like an iframe, but those are pretty ugly…you can also look at setting boundaries for text display in a DIV using CSS and then some combination of DHTML, CSS, and/or JavaScript to create a customized scrollbar as well. I don’t have any good links to hints on that, though. Good luck!

    I’ve had success in adding JavaScript functions to my site by doing the following:

    1. Save the JavaScript functions to be used to an external file. I’ve usually used the theme folder for the site I’m developing. So, if your theme is contained in root/wordpress/wp-content/themes/mytheme, I’d put the JavaScript function external file in a root/wordpress/wp-content/themes/mytheme/scripts directory.

    2. Go into your header.php file for the theme. Towards the top of the file, find the links to the stylesheets and other things like pingback. Underneath those entires, add the following line to link to your JavaScript file (this code is used to make it pick up your theme directory name properly) (I’m assuming the file is named “scriptfile.js”):
    <script type=”text/javascript” src=”<?php bloginfo(‘template_url’); ?>/scripts/scriptfile.js”></script>

    3. You should now be able to use the JavaScript function in your template files. For something like this, I’d suggest using the function in the layout for the post, or maybe the sidebar.

    You should note that if you’re trying to use these JavaScripts within the body of a, the default WordPress behavior of running posts through a formatter like Texturize or whatever…you may want to find a plugin that turns this off on a post-by-post basis, at least to test the script before altering your templates.

    Hope this helps!!

    I know that I would LOVE to see a “diagnostics” plugin for WordPress…I have no idea what’s available in the code for diagnosing problems, and being able to get access to this would be just phenomenal. Bonus points for making the output use a JavaScript popup window so it doesn’t ruin my blog layout. <grin>

    I’m having a similar problem–I’ve NEVER been able to get the Text Control plugin to completely work on my blog. It shows up in the options fine, but it’s not showing up at the bottom of my edit post or edit page forms.

    It’s working OK on a development setup on my WinXP laptop (Apache, PHP, MySQL), but not on my web host (Dreamhost) at all! The plugin activates fine, the options seem to “take” (they’re stored in the wp_option table OK), but the menus don’t show up on the bottom of my page.

    I’m also contacting the author, but I hope someone here is willing to help.

    Thanks…

    The .Mac web hosting service doesn’t provide full-service hosting, so you can’t get access to MySQL and PHP through .Mac. Those are required for WordPress, so it won’t work. If you want to host a site yourself with those kind of features (and even your own domain name), you’ll need to find a full-service web host. I personally use DreamHost (www.dreamhost.com) after trying some others, and really like their service. Good luck!

    I’m doing something similar on my site, but I’m listing child pages as part of the text of the parent page. I’ve done this with a combination of the PHP Exec plugin and WordPress template tags within the page, like this:

    <ul><phpcode>
    <?php wp_list_pages('sort_column=menu_order&child_of=1&title_li='); ?>
    </phpcode></ul>

    You could use a similar technique with the wp_list_page tag to accomplish your desired effect in the template, with logic to provide the value of “child_of” in the tag query.

    Thread Starter Neil Mickelson

    (@mickelsn1)

    Bumping again, just in case Matt is watching…:)

    Thread Starter Neil Mickelson

    (@mickelsn1)

    Bumping — is ANYONE having a similar problem, or am I the only one?

    Thread Starter Neil Mickelson

    (@mickelsn1)

    I will be, but since this same symptom occurred across multiple plug-ins, it seems to indicate a WordPress problem in my mind. So I thought I’d try here, first.

    Thread Starter Neil Mickelson

    (@mickelsn1)

    PLEASE, anyone, do you have any ideas on this? I’m having the same problem with EzStatic 1.9.2 (the new checkbox for executing PHP code doesn’t appear). A “view source” of the Write Page and Write Posts seems to indicate that the options aren’t being included in these pages when they are being built.

    I can work around this for now, but this is a major pain in the butt…Any ideas out there??

    Thanks…Neil

    Thread Starter Neil Mickelson

    (@mickelsn1)

    I’m bumping this thread per Podz’ advice…Matt, can you help me out? Thanks!! Neil

    Thread Starter Neil Mickelson

    (@mickelsn1)

    OK, thanks very much. The date I was referring to was indeed the one in Trac. Maybe I’ll look at using one of the nightlies or something to see if that fixes some of my problems (again, mostly to do with Page editing within the Admin interface–it never seems to find anything in the vanilla 1.5 install, although I can edit Pages if I link to Admin from the Page itself).

    A friendly suggestion, I guess…if future dates are going to be set in something like the tracker, it might be helpful to post a note to the Dev Blog or something when one is missed. I completely understand all the reasons given above (and believe me, as a phpBB fan, I understand the “when it’s done” argument ?? ), but the silence looked a bit deafening to me as a new WP community member.

    Thanks again to all…

    Thread Starter Neil Mickelson

    (@mickelsn1)

    OK, I’ll try to remember that. Guess I’ll need to watch his blog for his return…<grin>

Viewing 14 replies - 16 through 29 (of 29 total)