Forum Replies Created

Viewing 15 replies - 151 through 165 (of 383 total)
  • Thread Starter ringmaster

    (@ringmaster)

    Your MySQL database permissions don’t seem to support creating temporary tables. You’ll need to either apply this permission yourself or get your host to do it for you.
    In MySQL, it’s impossible to do some more complicated database queries (like in this case, those that would normally use subqueries) without temporary tables.

    That’s pretty cool. I agree that more detailed (of smaller area?) maps would be ideal.
    Perhaps one could store multiple map graphics and their coordinate maps in an array, and the system could determine which one to use based on which map covered the smallest area? Just thinking aloud.

    Thread Starter ringmaster

    (@ringmaster)

    Where is the apostrophe causing problems for you? I’ll look for it in the code. I thought I had gotten all of those.

    Forum: Plugins
    In reply to: EzStatic Plugin
    Thread Starter ringmaster

    (@ringmaster)

    By and by, regarding TechGnome and other tutorials:
    Although they work, and they may be easy, you’re missing the point.
    Using EzStatic (after you get it working) allows you to change your index.php template page and have your changes propagate across all of your static pages. If you do this via one of these tutorials, you might have to make changes in several files in order to make your layout changes appear on every page.
    No doubt, some tutorials are better than others, but if you get EzStatic to work, you don’t have to bother with all of that.
    Also… If you’re having trouble with ob_gzhandler issues, go into the WP admin Options>Reading (I think, read the instructions in the EzStatic file itself, which are correct) and turn off the compression option.

    Forum: Plugins
    In reply to: EzStatic Plugin
    Thread Starter ringmaster

    (@ringmaster)

    I’ve been shopping for a car. Sorry for the neglect.
    @wairoanz:
    You shouldn’t change that line you mentioned. Rather, I should explain what it does, and then you’ll know for yourself when you should. 🙂
    That line lets you specify a directory as the static “page”. Say you have an installation of FoF (an RSS aggregator) in the directory “fof”. The real home page is “/fof/index.php”, but you can just tell EzStatic “?static=fof” and it will find the index. So if your indices are different than “index” (like on IIS, “default”), then you should change that. Otherwise… no.
    Thanks for your help with support!

    The post.php is pretty complicated, and perhaps the reason why you haven’t been able to easily find the form fields in there is because they really aren’t in that file.
    There are a couple of other files that post.php references, depending on the function that it’s performing. If you’re in advanced editing mode, it uses edit-form-advanced.php. If you’re in basic editing mode, it uses edit-form.php.
    If you’re going to edit these files for your site, my suggestion is to look for the id tags on each of the fieldsets (Use FireFox! The DOM Inspector rocks!) and then search for those ids in those two files.
    There is also a way to modify the look of those pages without changing any of the existing code. A lot about the way that the edit posts page is displayed can be modified using javascript and the DOM after the page is rendered.
    For example, if you just wanted to change the legend on the “Post” field to read “Type here:”, you could add javascript to that page to set the text content of the a tag inside the first legend tag inside the fieldset with the ID “postcontent”.
    You could rearrange, delete, or re-color any of the form elements fairly easily this way. Create a simple plugin that adds this code to the footer of the admin pages, and you would have code that won’t get overwritten when you upgrade WordPress, and would likely continue to work.

    Thread Starter ringmaster

    (@ringmaster)

    No idea other than it has nothing to do with Adhesive.

    Forum: Plugins
    In reply to: Adhesive 1.2

    Yeah, installing Adhesive twice isn’t a good idea. 🙂
    A better way might be to use a meta field to store the class name you want to use for that particular sticky.
    In adhesive_the_content, add something like:
    ...
    $keyval = get_post_custom_values('stickyclass');
    $useclass = (@$keyval[0]=='')?$keyval[0]:'adhesive_post';
    return ($post->is_sticky) ?
    "<script type=\"text/javascript\">window.document.getElementById('post-{$post->ID}').parentNode.className = '{$useclass}';</script>{$content}" :
    ...

    The cleaner way to do it would be to change the sticky checkbox into a dropdown that had all of your possible sticky class options. These would be stored in an array in the adhesive file. Instead of storing a ‘1’ in the meta field for a sticky post, it would store the classname to use.
    The cleaner way would also require a ton of little changes.
    I’m gonna guess that you’re not a coder, and that I’m talking jibberish?

    Thread Starter ringmaster

    (@ringmaster)

    Sigh.
    With troubles in EzStatic and Adhesive land (not to mention remembering that I have a family after two weeks of solid coding), I’ve not had a lot of time to mess with Exhibit. Sorry.
    I’m not sure what fixes 1.1e would have, apart from allowing certain people to edit captions, and I haven’t figure that one out yet. As far as the differences in code go, there aren’t any that I can see that would affect caption editing. 🙁
    Is there a requested feature list that I missed? Doesn’t this thing already do too much? I’ll need to release a “light” version. Yikes.

    Forum: Plugins
    In reply to: EzStatic Plugin
    Thread Starter ringmaster

    (@ringmaster)

    @wairoanz:
    It should already do that title stuff. 🙂
    EzSatatic extracts the <title> tag from the included page and uses Javascript to fling it into your title with your WP site name. If that’s not working, give me an example of where it’s not.
    Thanks for the mod_rewrite rules!
    @xyth:
    Ugh, dude. Use CG_FeedReed. 🙂
    You should try the mod_rewrite stuff. That might fix up ZFeeder.
    @adb:
    Try using this and saving it with a .htm extension:
    <html>
    <head>
    <title>Put your title here</title>
    <style>.mystuff{font-size:10pt;font-weight:normal;}</style>
    </head>
    <body>
    <div class="mystuff">
    Put your text here
    </div>
    </body>
    </html>

    Forum: Plugins
    In reply to: Adhesive 1.2

    I’m glad you like it. 🙂

    Forum: Plugins
    In reply to: EzStatic Plugin
    Thread Starter ringmaster

    (@ringmaster)

    @xyth:
    You need to make sure that whatever is changing your style (an reference to Alex’s style switcher, for instance) is in the head area of your index.php page, not in the content area of the body. It looks like you’ve got this sussed out anyway.
    @adb, gravity:
    Or… You can create a whole HTML page and reference that instead of the text file. If you use tags in the body of the page, they will render like tags normally do in your WordPress template.
    The added benefit of using a whole HTML page is that you can add stuff to the head area of your output. For example, if you had a CSS style that you wanted to apply only to the static page, you could include it in a <style> block in the <head> of your static .htm page, and EzStatic will embed that into the WP template output.
    Here is a sample page that shows what I’m talking about:
    http://www.asymptomatic.net/index.php?static=spin

    Thread Starter ringmaster

    (@ringmaster)

    I’m still puzzling out the reason why some people can’t edit captions. I haven’t given up, I’m just still not sure why it works for some and not for others.
    There isn’t a way to limit the number of photos per each user. I think that would be difficult considering that Exhibit could have to count all of the images in subdirectories several levels deep.
    Perhaps a filesystem-based directory size quota would be better? Does your server have this option? I’m plucking features out of the air, here. 🙂

    Forum: Plugins
    In reply to: Adhesive 1.2

    First try:
    http://www.asymptomatic.net/wp-hacks
    Then try:
    http://www.asymptomatic.net/wp-hacks/index.php
    Then try:
    http://www.asymptomatic.net/wp-hacks/adhesive15.zip
    I’m becoming disgusted with reports that these pages don’t work when I can see them quite clearly. It all has to do with the lousy gzip compression support in PHP/WP. Everything should work just fine now. It had better…

    Forum: Plugins
    In reply to: link stats

    “keeps track of links that have been clicked”
    Do you mean outgoing links?
    A plugin that does this?
    Interesting thought.

Viewing 15 replies - 151 through 165 (of 383 total)