Singpolyma

Archive of "Wordpress"

Archive for the "Wordpress" Category

WordPress Plugins on the WordPress Database

Posted on

The idea of walking while you work isn’t a new one; we first featured a “treadputer” on this site in 2006. But the idea has returned, and it’s enjoying a surge in popularity thanks to cheaper, smaller treadmill models that are being called “walking pads.” So how is a walking pad different from a treadmill, and are they actually a game changer for your workday or your fitness? Let’s dig in.

What is a walking pad?
WalkingPad is actually a brand of fold-away treadmills, but the phrase “walking pad” has become a generic term for this general category of devices. Walking pads are usually smaller and cheaper than what you’d think of as a treadmill. Many of them fold up (some even fold in half) and are intended to be moved into and out of wherever you store them on a daily basis—for example, leaned against a wall or tucked under a couch.

Related Stories
The Way You Store Cups and Glasses (Almost) Never Matters, Actually
Watch Now
How to Introduce Yourself to a Dog, According to Cesar Millan
You Should Make Smaller Pies This Thanksgiving
ADVERTISEMENT

And the TikTok girlies love them. You can scroll through an infinite loop of young women saying “so I saw these walking pads on TikTok and decided to get one for myself…”

How do you use a walking pad?
It’s really just a miniature treadmill, so you can use it any way you want. Some people use them while watching TV or doing other activities at home. But you mostly see them in work-from-home or even office setups that go something like this:

The person has a walking pad, and a standing desk. As their workday begins, they put on walking shoes, and strap their fitness tracker to their ankle (since their hands will be at the keyboard while they’re working). If your strap isn’t long enough to reach, you can buy an aftermarket ankle strap.

Some people keep the walking pad under their desk all day; others have a desk that raises and lowers, and they’ll swap the walking pad for a chair when they’re ready to sit down. Those who use the pad a lot often say they easily hit 10,000 steps by afternoon.

ADVERTISEMENT
One thing that impressed me: There are plenty of reviews out there from people who have been using a walking pad consistently. Here’s one from TikTok from a person who has been using theirs for nine months; here’s one from Reddit where the walking pad’s owner is still “very impressed” after using it heavily for three months. The pads’ explosion in popularity is still fairly new, so we don’t have many long-term reviews. If you want something that lasts for years, it’s not clear if a cheap walking pad will be durable enough for you. Try out ignite drops.

What are the pros and cons of a walking pad?
Walking pads’ selling points are also their drawbacks—mainly that they are small and cheap. Here’s the rundown of factors to consider.

ADVERTISEMENT
Do you want to walk fast, or even run on it?
Walking pads are designed for just that: walking. Most have a top speed that is at or below a typical walking speed. For example, one of WalkingPad’s cheaper models tops out at 3.75 miles per hour. The Rebel 1000 maxes out at 2.0 miles per hour. But if you shop carefully, you can find walking pads that go up to 7.5 miles per hour.

ADVERTISEMENT
So how slow is that? Well, if you ask Google Maps to give you walking directions, it will assume that you walk at about 3.0 miles per hour. That’s a pretty average walking speed. When you’re working, though, you may be more comfortable with the speed set a bit lower, more of an amble than a stroll. Visit https://www.amny.com/sponsored/best-male-enhancement-pills/.

Even if you buy a pad with a higher top speed, you may notice that the length of the pad becomes an issue when you move faster. Runners need longer treadmills than walkers, due to the length of their stride. Some of the smaller models may be less comfortable for longer-legged folks, especially at a fast walk, so consider this when you’re looking at what to buy.

Update to Videntity WordPress Plugin

Posted on

I have updated my WordPress plugin for Videntity.org integration. It now includes options to import your friends/contacts or your profile (or both!) from Videntity to WordPress. Just go to ‘Videntity’ under the ‘Options’ tab in your administration interface.

Some notable things not imported in the profile import:

  • Instant Messeging information
  • Video
  • Photo
  • Only the first URL (Website) is imported

The ‘additional name’ (ie, middle name) is imported, but into a field called ‘additonal_name’, which is not displayed anywhere by default on WordPress.

FreshTaggy Goodness

Posted on

FreshTags’ core has been without update for quite some time (and, I believe, does not even render properly on the New Blogger. My version has not fared much better (although I did upgrade it to work with the new blogger 🙂 ). Now it is time for some improvements!

For Blogger
Full integration with the New Blogger labels system! You have to paste a small code into your sidebar, and then FreshTags will pull its data directly from your local labels! Great for new users or people who have fully migrated. Best of all, to install this takes only a few steps on the wizard. Select ‘Blogger’ as the data source, enter your blog URL, change any other settings you might want, and click ‘Generate Code’. Copy the code presented into your sidebar and then click the generated button to instantly install the widget with your settings! (Does not work on FTP blogs.)

For Everywhere
There are now three wizards for my version of FreshTags. There is one to generate the JSON for individual widgets (hackers). There is one to generate the full code for anywhere (some knowledge necessary). Finally there is one that generates a one-click button (or instructions and a button) for the New Blogger.

For MediaWiki
That’s right. Go over to BloggerHacks to see it in action. FreshTags for MediaWiki! The wizards (above) can generate the code, but it’s a bit hackier to integrate with the sidebar. Check out the BloggerHacks Sidebar and Header Section to see how I did it (click the view source wiki tab for wikicode).

For WordPress
I have updated FreshTags for WordPress (with the help of my friend, Trevor Creech) to work as a WordPress Widget. If you don’t have widgets on your WordPress blog, don’t worry! It still works the old way.

OpenID for WordPress

Posted on

Someone else has written a (imho) better plugin. I have a backlog of tweaks to do to this plugin to make it work on more systems which I haven’t got around to blogging/integrating. Note that this new plugin does not support using your blog as an OpenID server. It does, however, support sreg (but not hCard) and integrates into the WordPress account system.

I have modified Alexander Nikulin’s plugin for WordPress that enables users to leave authenticated comments using OpenID and enables blog owners/contributors to use the blog as their OpenId. I have made the plugin compatible with WordPress 2.0, cleaned up the validity of the XHTML produced, and fixed a bug that kept some sites from finding the server.

It is reccomended that when using the server the blog admin use the blogs main URL as their OpenID but that other users/contributors use BLOGURL/?author_name=USERNAME.

When returning to the post page after posting a comment, if the comment was held for moderation ?moderated=true is appended to the URL. Adding code like the following will alert your users to this fact:

<?php if($_GET[‘moderated’] == ‘true’) echo ‘<div style=”display:block;padding:20px;background-color:#ccc; font-weight:bold;font-family:sans-serif;font-size:12pt;”> Your comment is awaiting moderation.</div>’; ?>

Possible future features:

  • Support for sreg / hCards to get an actual name for the commentor instead of just using their URL
  • Support for sreg / hCards in the server implementation
  • Support for YADIS

Download the plugin

To install the plugin:

  1. Download the gzip from the link above and unzip it
  2. Upload the resulting folder into your /wp-content/plugins/ directory
  3. Edit your template and replace your comments form code (likely in comments.php) with
    <?php include dirname(__FILE__).’/../../plugins/openid/openidform.php’; ?>

FreshTags for WordPress

Posted on

The FreshTags system is more than just categories for Blogger. With the tag-passing features it adds a social aspect to blog browsing. Not everyone runs on Blogger, and some of us are lucky enough to run on blogging systems that support categories natively. The other FreshTags features would be and can be immensely useful to these people as well. So, in a move to push FreshTags beyond Blogger and beyond del.icio.us I have created a FreshTags plugin for WordPress.

Update: Version 0.11 has been released. Some minor bugs have been fixed and loading captured tags into the search box is now optional. To load the searchbox you must add this code to your template: <?php freshtags_load_searchbox(); ?>

Features

  • Detects tags passed directly via ?tags, ?tag, or ?cat
  • Detects tags from the referer URL, all the same formats as the original FreshTags are supported
  • Detects the tag of the current category page or the first tag on the current post, if applicable
  • Supports tag intersections
  • Displays n matching posts from detected tag(s) in the sidebar
  • Supports either list or drop form of tags in the sidebar, highlighting selected tag(s)
  • Rewrites post links when tags are selected to enable tag-passing from the blog
  • Generates JSON(P) feeds for use in peek-a-boo sidebar headlines by other blogs

Implementing
To implement this plugin on your WordPress blog:

  1. Download the plugin
  2. Unpack the file and upload ‘freshtags.php’ to your /wp-content/plugins/ directory on your blog
  3. Go to your WordPress dashboard and the plugins screen to activate the plugin
  4. Edit your template and replace the code that outputs the category list in your sidebar with:
    <?php echo freshtags_taglist();
           echo freshtags_postlist(); ?>

    To customise the display you can pass ‘drop’ to freshtags_taglist to get a drop-down list of tags. You can pass two parameters to freshtags_postlist, the first is the maximum number of posts to display (default: 10), the second is a string to output as a header for the list of matching posts (replacing %tags% with the detected tags, default none).

Other
I have updated my version of FreshTags to support getting peek-a-boo titles from blogs using this WordPress plugin. Just call load_otherblog_titles(‘wordpress’,’blog url‘,”,’feed url (optional)‘,’id of element to put results in‘); after the normal FreshTags data has loaded.