• Hi
    Sorry but this is a double post. I posted it in a resolved thread consering the plugin. https://www.ads-software.com/support/topic/75024?replies=5#post-472303
    and then thought I might get no replies as it was resolved. Sorry about that.

    I am trying to insert a toplist script into my page.
    I tried the php-exec plugin with no luck.
    Is there anyone out there that can tell me if I’m using the wrong plugin or using the plugin incorectly?

    The toplist script is
    ‘<?php include(“autorank/index.php?p=top20”); ?>’
    and it spits out this on the page

    Warning: main(autorank/index.php?p=top20): failed to open stream: No such file or directory in /home/a1541/thedailydirty.com/wp-content/themes/TDD/sidebar-left.php on line 30

    Aparently it’s trying to pull the script from the wp-content folder instead of the autorank. Sorry but my php skills are minimal.

    Thanks
    Dirty Dave

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’ m not sure about this plugin – I use RunPHP.
    I have a box to check on my write post/page screen – do you have same and are checking it before saving page?
    Also, do you have the wysiwyg editor turned off?

    Thread Starter dirtydave

    (@dirtydave)

    Samboll

    no box but I think I have it solved
    tried
    <?php include(“https://www.thedailydirty.com/autorank/index.php?p=top20&#8221;); ?>
    instead of
    <?php include(“autorank/index.php?p=top20”); ?>

    by including the full path it is including the toplist. Seems to work fine but still testing for bugs

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Trying to insert toplist script into wp’ is closed to new replies.