Forums

[resolved] dBeautifier Troubleshooting (4 posts)

  1. flammobammo
    Member
    Posted 5 years ago #

    Hi,

    I recently ran the "Optimize" feature of the dbmanager 2.0.5 plugin:
    http://www.lesterchan.net/portfolio/programming.php

    I am using WordPress 2.0.5.

    I think it was since I did this, that my dBeautifier plugin is no longer working correctly. It is not displaying correctly, for example check out the bottom of this post:
    http://tombammann.homedns.org/what-goes-bump-in-the-night/

    I tried disabling the plugin, removing it from my blog, and deleting the dbclicks and dbfiletypes fields from my SQL, as well as the dB options fields (4 or 5 or 6 or so of them).

    I've tried completely reinstalling it to no avail.

    I've tried disabling recently added plugins, as well as the default theme, also to no avail.

    I guess an easy solution would be to restore a database but I ran the optimize feature before I did a backup, and I've posted a lot since my last backup. Unfortuantely I just don't know how to restore only dBclicks and dBfiletypes in my SQL.

    If anyone has any ideas, please let me know! I also have a sneaking suspicion that maybe dBeautifier doesn't work with WP2.0.5 ?

    Thanks in advance.

  2. flammobammo
    Member
    Posted 5 years ago #

    Is there anyone out there using dBeautifier with WordPress 2.0.5?

  3. flammobammo
    Member
    Posted 5 years ago #

    Well I managed to resolve it! :-)

    The problem was that I think since I upgraded to WP2.0.5, the icons in the plugins directory no longer would display via an <img> call. Modifying the location of the icons (to for example, wp-content/icons instead of wp-content/plugins/dBeautifier/icons allowed the <img> call to display the icon. I just had to modify the dBeautifier_Filter.php file on lines 57 and 59 to say:

    $img = get_option('siteurl') . "/wp-content/icons/$icon";
    } else {
    $img = get_option('siteurl') . "/wp-content/icons/downloads.png";

    and the other thing I did was moved the dBeautifier.css into my themes css by copy and pasting. My theme was displaying a border around the icons, so to get rid of this I included:

    img.icon {
    border: none;
    }

    into my themes style.css as well as the dBeautifer.css data.

    Then, to make use of my extra css I changed line 94 of dBeautifier_Filter.css to be:

    <img alt='Download' class='icon' src='" . dBeautifier_Filter::dB_selectIcon($data[4]) . "' />

    (i.e. changed the class to "icon")

    and VOILA!!

    I am now using dBeautifier3.4 with WP2.0.6 at both http://tombammann.org and http://sant.theiet.org.au

  4. flammobammo
    Member
    Posted 5 years ago #

    I just realised the above post doesn't display some of the copy-pasted code, so I wrote a better description of my solution here:

    http://tombammann.homedns.org/dbeautifier-34-for-wordpress-205-and-206/

    IT explains how to get dBeautifer to work with WordPress versions 2.0.5 and 2.0.6

Topic Closed

This topic has been closed to new replies.

About this Topic