Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • I’m getting this same error message, but when I try the fix ($this->dbh) I get this error message instead:

    Warning: mysql_affected_rows(): 5 is not a valid MySQL-Link resource in XXX/wp-includes/wp-db.php on line 155

    anyone have any ideas how to get rid of this error?

    Thread Starter imta2d

    (@imta2d)

    Maybe i’m not being very clear. 🙁 The plugin works on 1 in 7 themes & the theme it does work in is not even my default. The comments.php pages are each saved in the individual theme folders (1 per theme) and are generally the same – with the exception of orientation. The script that should surround the textarea isn’t being added to any other theme than PinkScarlett (see 1st post above). I’m stumped. 🙁

    Thread Starter imta2d

    (@imta2d)

    The plugin should work on ALL themes though shouldn’t it? I have a separate comments.php for each theme & besides minor tweaking they are all the same.

    I am also looking for a way to change the smilies with each theme… I played with the vars file, but obviously no luck. Here’s what i attempted.

    $wp_smiliesreplace[] = " <img src='" . bloginfo('styleheet_directory') . "/images/smilies/$img' alt='$smiley_masked' class='wp-smiley' /> ";

    Anyone find a way to do this or see something that’s wrong with my code?

    Wurlocke do you have
    <?php require_once(‘./wp-blog-header.php’);
    get_header(); ?> at the top of each of your pages? I don’t know if that’s the problem, but my themes all work on my pages with that bit @ the top.

    Thread Starter imta2d

    (@imta2d)

    Lorelle, thanks for all your help. This last post really put things in perspective for me. I always suspected that i took the more complicated way to get what i want. 😛 Not sure where the hsrc tag came from as i would never hand code that – oh well. You’re right about it being decision time. I’ve always hand coded everything, but i liked the modularity of WP so i guess i was hoping to have the best of both worlds. I like the idea of WP being an accessory, as you put it, but it doesn’t look like i can use this method with multiple themes (maybe i’m wrong though).

    Thread Starter imta2d

    (@imta2d)

    it doesn’t contain any WP loops or anything, but i still want it to be included in my theme. there are many page links that are created from info in my flinx db. try this page: http://little-girl-lost.org/index.php?page=fanlistings & check the links to the different categories – they are NOT hard coded & i think this is where my problem is coming from. I don’t know how to get the resulting category pages to stay within the theme. (fanlistings.php is also an external page that is themed through ezstatic)
    Sorry if i’m not explaining this very well. 🙁

    Thread Starter imta2d

    (@imta2d)

    flinx/category.php is actually an external php file. I haven’t been able to get the hang of creating pages within WP & then permalinking them. I’ve done one page successfully, then added 1 more, but when i looked at the first page again it combined both pages – so i gave up. What can i do with my flinx/category.php to get it to behave within the theme?

Viewing 8 replies - 1 through 8 (of 8 total)