• I’ve released WordPress 1.2 compatible plugins of many of my WordPress hacks:

    • WordPress Mobile Edition – a PDA/cell phone friendly interface
    • WP Since Last Visit – indicate new posts and comments
    • WP Style Switcher – change the look of your site
    • WP Grins – clickable smilies
    • WP Plugin Auto-loader – auto-load your plugins

    Post support questions in this thread.

Viewing 13 replies - 46 through 58 (of 58 total)
  • I use CookieWall (www.analogx.com) to selectively block cookies but none of those sites (including mine) are on the block list. Actually, as of yesterday, now my site always says “1 new entry and 0 new comments”.

    Well if you give us a link, we can sort the ‘0 new comments’ bit out ??

    I am using wp-last-visit on WP 1.2, followed all instructions… But when I load my blog I get this javascript error in IE6: Object Expected. When I look in the source, it seems that it chokes on:
    <script type=”text/javascript”>slvShowNewIndicator(-1);</script>
    I put the code in index.php in the following place:
    <div class=”post”>
    <h3 class=”storytitle” id=”post-<?php the_ID(); ?>”>” rel=”bookmark” title=”Permanent Link: <?php the_title(); ?>”><
    ?php the_title(); ?>
    <script type=”text/javascript”>slvShowNewIndicator(<?php print(mysql2timestamp($post->post_date)); ?>);</script></h3>
    What am I doing wrong?

    Have you put the required line into the <head> ?

    Yes, doesn’t help. Got it on the last line of the <head>:
    <?php $wplastvisit_output = “javascript”; require(‘https://myhostname/wp-content/plugins/wp-last-visit.php&#8217;); ?>
    </head>
    Had to qualify full hostname otherwise it could not find the require file…

    I registered, easier ?? (I was the Anonymous posting above). You can find my site on https://blog.pingwings.nl. As you can see, wp-last-visit.php only gives empty output… Feel free to email me with help, I don’t want to fill this forum with my newbie questions ;). [email protected]. Thanx!

    Hmm… just had a look, and I can’t see that javascript in the head.
    Choose to View Source on your page, then do that same on mine (click my name here).
    You can see all the script on mine.
    And don’t worry about questions here – every answer helps someone ??

    I’m having the same issue that was mentioned before with the mobile version. When I attempt to connect using my phone (with Netfront 3.0), it errors saying “too many redirects”. My logs show repeated requests for wp-mobile.php. One other thing I noticed was that when I go to wp-mobile.php from my computer, it will show ALL the posts that the normal page would show rather than just one post. The logs though only show one request for wp-mobile.php though. I thought that maybe this has something to do with it.

    Thread Starter alexkingorg

    (@alexkingorg)

    I made a change to the mobile plugin that may fix this (or not).

    This help ?
    <div class="storycontent">
    <?php the_content(); ?>
    </div>
    <div class="feedback">
    <?php wp_link_pages(); ?>
    <?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>
    </div>

    And mine looks like this:
    <?php ak_comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>

    Email your host and ask them why this is happening:
    “open_basedir restriction in effect”
    That is a hosting situation, not a WP one.
    And PHP ? I know zip too ??

    Thanks for the tip, podz ^^. I’ll try that and meantime I better change the whole thing back.

    Hello – I’ve installed the since last visit hack and could not get it to work properly until I figured out the following adjustments:

    the require statement in the <head> section of index.php:
    <?php require(‘https://www.yoursite.com/wp-content/plugins/wp-last-visit.php?type=js&#8217;); ?>

    Also in wp-last-visit.php, the following lines were missing:

    <script type=”text/javascript” language=”javascript”>

    It should be placed here:
    <script type=”text/javascript” language=”javascript”>
    // var slvIndicator = ‘New’;
    var slvIndicator = ‘<img src=”<?php bloginfo(‘siteurl’); ?>/ak-img/new_2.gif” alt=”New” title=”New since your last visit.” />’;

    </script>

    It should be placed here:
    var end = document.cookie.indexOf(“;”, begin);
    if (end == -1)
    {
    end = dc.length;
    }
    return unescape(dc.substring(begin + prefix.length, end));
    }
    </script>

    Hope this helps some of you.

    Scott

Viewing 13 replies - 46 through 58 (of 58 total)
  • The topic ‘Alex’s 1.2 Compatible Plugins’ is closed to new replies.