WordPress.org

Ready to get started?Download WordPress

Forums

Alex's 1.2 Compatible Plugins (59 posts)

  1. danes75
    Member
    Posted 9 years ago #

    Alex --
    Thanks for all the awesome wordpress stuff!
    Question: Is there a way to have site visitors choose a style from a static html document which then sets a cookie that will use the styleswitcher function?

  2. Alex King
    Member
    Posted 9 years ago #

    I'm not sure I'm understanding your question, but you can embed the link generated by the hack in a static page and it will perform the same way.

  3. Stuart
    Member
    Posted 9 years ago #

    I'm using the "since last visit" plug-in. All the "new" flags are appearing where they should be but the text output from the plug-in just shows zeros. Is there something I should be altering in the cookie or have I got this part wrong?

  4. Alex King
    Member
    Posted 9 years ago #

    The reset time to hide the NEW images is 1 hour of inactivity. This is configurable by passing in an argument to the ak_last_visit() function.

  5. lomara
    Member
    Posted 9 years ago #

    What needs fixing?

    Sorry Alex, I should have explained better. In WPGrins, the "confused" smiley didn't seem to work for me, and the script referenced :???:. It didnt' seem to work on your example page either at the time. But now it does so I'm not sure if it was just me.
    Beel, thanks for pointing me at vars.php - I went and added an alias for the icon_confused.gif and now it works great.

  6. Stuart
    Member
    Posted 9 years ago #

    Me again. Using the "smilies" plug-in. Not having a problem with it but I have more smilies than the standard supplied set. Any way of incuding them? They are already in the smilies directory.

  7. Stuart
    Member
    Posted 9 years ago #

    Hold on that. I've sorted it with Maxt's help thanks.

  8. elmsblog
    Member
    Posted 9 years ago #

    I am getting the same problem with the :???: smiley. It shows up just as the typed text ":???:" instead of the icon. How did you fix that? Thanks!
    I'm also excited about the photo plug in from Alex! Can't wait.

  9. elmsblog
    Member
    Posted 9 years ago #

    Update: still not working without the space before the 1st colon. What am I missing?

  10. Anonymous
    Unregistered
    Posted 9 years ago #

    > WordPress Mobile Edition - a PDA/cell phone friendly interface
    Does anyone have this working? I installed it onto my new (just migrated from MT) WP1.2, and accessing my blog from my mobile device (XDA1, WM2003) just leads me to a blank page that just keeps downloading data... attempting to access it thru e babelfish translator gives a "maximum of 8 redirects' error.
    Other thing I noted is, the moment I de-activate the plugin, my mobile device immidiately redirects to wp-mobile.php; right now I have the plugin disabled, and surf directly to wp-mobile.php; I am unable to access wp-mobile.php directly when the plugin is activated.
    Would be nice if it would automatically detect mobile devices correctly.

  11. Alex King
    Member
    Posted 9 years ago #

    Can you share an example URL?
    It sounds like it is detecting the mobile device properly since it is redirecting.

  12. star
    Member
    Posted 9 years ago #

    Concerning the last visits plugin,
    It always displays "0 new posts and 0 new comments since your last visit" even when there ARE new posts/comments. When I visit other sites with this plugin, it seems to me they all say 0 new posts and 0 new comments as well. Is this a problem with my computer?
    this is my site: http://snurl.com/wordp
    Thanks!

  13. luthien01450
    Member
    Posted 9 years ago #

    Also have this problem. Just took the line out for the time being.

  14. Mark (podz)
    Support Maven
    Posted 9 years ago #

    "When I visit other sites with this plugin, it seems to me they all say 0 new posts and 0 new comments as well."
    It will the first time you go there, as it has no cookie set on your computer to compare with your (non-existent) last visit.

  15. star
    Member
    Posted 9 years ago #

    What if it's like that every single time I visit that page, even when there really are new entries/comments?

  16. Mark (podz)
    Support Maven
    Posted 9 years ago #

    In that case I'd say that something somewhere is not quite right ..
    Are you blocking cookies ?

  17. star
    Member
    Posted 9 years ago #

    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".

  18. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Well if you give us a link, we can sort the '0 new comments' bit out :)

  19. Anonymous
    Unregistered
    Posted 9 years ago #

    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?

  20. Mark (podz)
    Support Maven
    Posted 9 years ago #

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

  21. Anonymous
    Unregistered
    Posted 9 years ago #

    Yes, doesn't help. Got it on the last line of the <head>:
    <?php $wplastvisit_output = "javascript"; require('http://myhostname/wp-content/plugins/wp-last-visit.php'); ?>
    </head>
    Had to qualify full hostname otherwise it could not find the require file...

  22. bliekp
    Member
    Posted 9 years ago #

    I registered, easier :) (I was the Anonymous posting above). You can find my site on http://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 ;). blog@pingwings.nl. Thanx!

  23. Mark (podz)
    Support Maven
    Posted 9 years ago #

    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 :)

  24. Ingenium
    Member
    Posted 9 years ago #

    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.

  25. Alex King
    Member
    Posted 9 years ago #

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

  26. Mark (podz)
    Support Maven
    Posted 9 years ago #

    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 (%)')); ?>

  27. Mark (podz)
    Support Maven
    Posted 9 years ago #

    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 :)

  28. Estara
    Member
    Posted 9 years ago #

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

  29. olsonsp4c
    Member
    Posted 8 years ago #

    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('http://www.yoursite.com/wp-content/plugins/wp-last-visit.php?type=js'); ?>

    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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.