Forum Replies Created

Viewing 12 replies - 16 through 27 (of 27 total)
  • Thanks for that. On further investigation, the problem looks likely to be a js incompatibility with the current WP theme! That’s definitely something I can sort out…

    On closer look, the plugin inserts a line like the following after the postTabs content has been added to the page, with the aim of hiding/revealing the appropriate tab content:
    <script type=’text/javascript’>jQuery(document).ready(function() { postTabs_show(1,445); });</script><script type=”text/javascript”>

    This is supposed to override the jQuery(document).ready(function() {*contents here*}); defined in the postTabs.js file. For some reason, this is no longer working in WP 3.5. The base defined jQuery(document).ready(function() {*contents here*}); is called instead which means the basic page view (1st tab?) is loaded rather than the specific tab that the user clicked on.

    Any js buffs out there able to help with a diagnostic?

    Found the same.

    Deleting and reinstalling older version of plugin does not seem to help: Any ideas on whether some db change is made by the plugin that needs removing as well?

    Thread Starter konigrot

    (@konigrot)

    I ended up using Twitter Widget Pro and MultiTwitter but if I remember correctly, the reason the widget stopped working in the first place was because it did not like ANY change in the code – I needed to add a twitter follow button, but doing so caused the javascript to choke. The widgets I changed to were not so fussy.

    Basically, if you can install the basic un-changed widget, see if that works first, and any mod you make – well – good luck!

    Thread Starter konigrot

    (@konigrot)

    Ok. Ditched Tweetblender, trying different plugins.

    Thread Starter konigrot

    (@konigrot)

    apparently not fixed in 2.92 either. Using

    https://www.freeonlinebingos.com/2010/02/28/sample-post/

    style pemalink, and

    /?category_name=%category%

    for category pages (else the preg error occurs as before)

    the preg bug still shows when a page is edited. To resolve, the permalinks must be changed, changed back and saved – kickstarted I suppose!

    Thread Starter konigrot

    (@konigrot)

    I have been getting ‘preg’ errors (in classes.php around lines 209 to 211 from memory)
    [20-Feb-2010 16:07:59] PHP Warning: preg_match() [<a href='function.preg-match'>function.preg-match</a>]: Compilation failed: nothing to repeat at offset 1 in /home/freeonli/public_html/wp-includes/classes.php on line 211
    – which I can chase away by resetting the permalink status, but they keep returning soon after.

    Still seem to be getting them when using a preset pretty permalink structure. I still cannot get the default category permalink to work, even with the default pretty permalink structure active. The second I try the ‘preg’ errors above return.

    what’s going on?

    Thread Starter konigrot

    (@konigrot)

    I have implemented your suggestion which works – thanks! – but I don’t understand why the original (and apparently default) permalink structure for category does not work. Is this likely a bug with wordpress or a plugin?

    Thread Starter konigrot

    (@konigrot)

    At the mo it’s almost certainly something stupidly simple I’m overlooking in my lack of experience with PHP functionality, or feeds.

    Unless I get a thunderbolt formt he blue it’s going to be a slow trial an error self-tutorial in PHP from the start. Hello world, here we come.

    Thread Starter konigrot

    (@konigrot)

    Am now trying a different parser, with the following code in the page:

    <?php
    require_once “../RSS.php”;
    $r = & new XML_RSS('https://click-profits.com/test/?feed=rss2');
    if(!file_exists($r)){
    echo “failed to create XML_RSS”;
    }
    $r->parse();
    echo “<h3> Recent Blog Entries From WordPress </h3>”;
    echo “<ul>\n”;
    foreach ($r->getItems() as $entry)
    {
    echo “<li><a href=\”".$entry['link'].”\”>”.$entry['title'].”</a></li>\n”;
    }
    echo “</ul>\n”;
    ?>

    Get the ‘Recent Blog entries…’ entry but otherwise nothing – and there ARE Blog posts before asking!

    Thread Starter konigrot

    (@konigrot)

    Yes – using latest wordpress. You say wordpress will parse the feed fine – given that the ‘latest posts’ info is for a webpage and not to be displayed within wordpress I thought I needed to parse the feeds from wordpress to use them elsewhere.

    Am I wrong?

    Thread Starter konigrot

    (@konigrot)

    Sorry for not being clear enough. The full path access url I used for that particular method does include the install directory:

    https://www.click-profits.com/test/?feed=rss2

    In browser it outputs xml properly, but the index.php keeps getting an access error:
    http_handler could not connect to click-profits.com:80 (PHP Error Number: 111, Message: Connection refused

    https://www.click-profits.com/test/wp-rss2.php
    This complains that the file is not XML

    What’s the simplest code to display recent posts in PHP?

Viewing 12 replies - 16 through 27 (of 27 total)