Viewing 15 replies - 16 through 30 (of 38 total)
  • Thread Starter Noemi Nozze

    (@mcmike)

    hehehe thnx Soteke ?? Darn ??

    soteke- thanks for adding the extension. ??

    mcmike- Still getting the same error with the new file

    Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/sfboarders/public_html/mael/wp-content/plugins/mc_random_quote.php on line 20

    It looks like i am having some db issues. Is there something I should be looking for? I tried this on an older version of WP on the same host for testing and it works. I’m lost. ??

    Thread Starter Noemi Nozze

    (@mcmike)

    sfboarders that is impossible, that line does not exists in the .txt file…
    check the file to see if you have the hack and renamed / located it correct an refresh the page…

    mcmike- I got it to work and your other shoutbox mod. It appears that this entry to coppermine fetch has been screwing up your hacks not to work. Oh yea, how do I add smilies and manage the shoutbox?

    <?php
    include “./cpmfetch/coppermine.php”;
    $objCpm = new cpm(“/pics”);
    $objCpm->cpm_viewRandomMedia(4,1);
    $objCpm->cpm_close();
    ?>

    I put the entry below both of your hacks and its working.

    Preview?

    Thread Starter Noemi Nozze

    (@mcmike)

    Sfboarders ->
    in roeptumaar.php on line 41 change this line:
    echo $toon_naam.”: “.$text;
    TO
    echo $toon_naam.”: “.convert_smilies($text);

    The function convert_smilies is build in to WP 1.5
    And uses your chosen smilies in WP ??

    so did you enter the code you pasted in your thread to the correct one ?
    Or how did you fix it? (or send me the .php file you use now -> [email protected]

    Thread Starter Noemi Nozze

    (@mcmike)

    Oww and in the new version certain HTML tags will be alowed :0

    mcmike- This is what I have from lines 41-48

    } else {
    $toon_naam = $naam;
    }
    echo $sh_before_line;
    echo $toon_naam.”: “.convert_smilies($text);
    echo $sh_after_line;
    }
    echo $sh_after_all;

    Is the above code correct? Is there somewhere were I can delete and edit the shouts?

    I just removed the cpmfetch entry. It was messing around with my nav bar anyways.

    It is working perfectly well on my public blog as you can see here – no admin problem too.

    But on my WinXP system running Apache, the admin part (add, edit quote etc) doesn’t come on. Since it is in Windows, the permissions are just available as in the case of other plugins which work ok.

    Is “__FILE__” read differently?

    Thread Starter Noemi Nozze

    (@mcmike)

    @kichu:
    That __FILE__ does not exists, you could try to remove it and replace it with ” (2 single quotes)

    @sfboarders:
    At this point there is no build-in function to delete shouts, you could delete them in the mysql-db if you want thru something like PHPmyAdmin…
    I will make an admin function for it as soon as I know the trouble thats causing this….
    When you removed the cmpmfetch entry did the admin still work ?

    Everything’s hunky-dory!
    Thanks, mcmike.
    And it wd be better if the name of the author of the quote is taken as a seperate variable and the tag for pushing it to the next line (and right aligning it) is rendered automatically.

    Forgot to mention that I repaced “__FILE__” with “mc_random_quote.php” to make it work! ??

    Thread Starter Noemi Nozze

    (@mcmike)

    ahhh great ??

    I will took note of your author o/t comment thing and make that work in the next version ?? (which will come soon ??

    mcmike- yea, both your mods are working when I removed the cpmfetch code. The only thing are the smiles are not working with your shout mod. I put in the lines above. Am I missing something.

    Yea, I used PHPMyAdmin to delete the shouts. ??

    Great plugin, mcmike. Having fun looking through my stock of quotes to add them for use! Thanks for this!

Viewing 15 replies - 16 through 30 (of 38 total)
  • The topic ‘|NEW PLUGIN| Random Quote of the Day’ is closed to new replies.