WordPress How-To: Temporary iMP-Links fix

Well after working on it for a few hours this morning (and re-writing my template about 5 or 6 times, LOL!), I was finally able to re-do my Links page. I’ve disabled the iMP-Links plugin and am using a template that I wrote earlier today in its place. Perhaps if/when a newer version is released, I may use it — or just write my own. *shrugs* Anyways, for anyone who’s interested, this is what I did…

I’m sure there’s a more elegant solution to this, but I haven’t had time to sit down and decipher and update the old code. If you were using this plugin (or wanting a layout like on my links page), this will get you by until a newer version is available.

I acquired the original collapsible javascript code from About.com. I was able to implement it into iMP-Links pretty easily, so I’m sure once the plugin has been updated, adding these back in shouldn’t be too much of a hassle.

First, you’ll need to copy the following code into a new text file and name it something like clmenu.js:

// Source: http://javascript.about.com/library/blclmenu.htm

function toggleMenu(objID) {
     if (!document.getElementById) return;
     var ob = document.getElementById(objID).style;
     ob.display = (ob.display == 'block')?'none': 'block';
}

Call it from your theme’s header.php file:

<script src="clmenu.js" type="text/javascript"></script>

Be sure to adjust the path in the code above to match the file’s path on your server!

Add the following to the end of your theme’s stylesheet.css:

.mC {width:100px; margin:5px; float:right;}
.mH {color:#60c; cursor:pointer;  font-weight:bold; border-top:1px solid #300;}
.mL {display:none; margin-bottom:10px;}
.mO {margin-left:10px; display:block;}

Now add the iMP-Links specific code (copied directly from the old plugin files) to the end your theme’s stylesheet.css:

#imp-links {}
#imp-links:after { clear: both; content: ""; display: block; height: 0; }
#imp-links .clearfloat { clear: both; height: 0; overflow: hidden; }
.switchcontent{display:none;}
/* Clearing the list style from kubrick theme */
html>body #imp-links ul { text-indent: 0; padding: 0; }
html>body #imp-links li { margin: 0; }
#imp-links ul li:before { content: ""; }
/* Clearing the list style from kubrick theme finished */
#imp-links ul.cat_list { list-style: none; text-align: center; padding: 0; margin: 0 0 20px 0; }
#imp-links ul.cat_list li { display: inline; margin: 0 10px; }
#imp-links ul.cat_list li a, #imp-links ul.cat_list li a:visited { padding: 3px 0; }
#imp-links ul.cat_list li a:hover { text-decoration: underline; }
#imp-links .imp-links-list { width: 45%; margin: 0; }
#imp-links .imp-links-list-left { float: left; }
#imp-links .imp-links-list-right { float: right; }
#imp-links .imp-links-list h3 { font-size: 1.1em; font-weight: bold; text-transform: uppercase; color: #555555; }
#imp-links .imp-links-list ul { list-style: none; border-top: 1px solid #dddddd; margin: 5px 0 0 0; }
#imp-links .imp-links-list ul li { border-bottom: 1px solid #dddddd; }
#imp-links .imp-links-list ul li a, #imp-links .imp-links-list ul li a:visited { display: inline-block; }
#imp-links .imp-links-list ul li a, #imp-links .imp-links-list ul li a:visited { display: block; padding: 4px 10px; }
#imp-links .imp-links-list ul li a:hover { background: #f5f5f5; }

You may need to adjust some of the values above based on your personal tastes and/or your theme’s layout and design.

If your theme has a links.php template pre-made, open it and add the red code below. If not, you can make a copy of your index.php and modify to something along the lines of the following code (don’t forget to delete the_loop!):

<?php
  /*
  Template Name: Links
  */
?>

<?php get_header(); ?>

<?php get_sidebar(); ?> 

<div id="content">

	<h2><?php the_title(); ?></h2>

	<div id="imp-links">
	  <div class="mC">

		<div class="imp-links-list mH imp-links-list-left"><?php $params = array( ‘category’ => ‘79‘,
		  ‘title_before’  => ‘<h3><a href="javascript:void(0)" onclick="toggleMenu(\’c79\’)">’,
		  ‘title_after’ => ‘</a></h3><div id="c79" class="mL"><div class="mO">’,
		  ‘category_before’ => ”,
		  ‘category_after’ => ‘</div></div>’,
		  ‘between’ => ‘&nbsp;-&nbsp;’,
		  ’show_images’ => 0,
		  ’show_description’ => 0 );
		  wp_list_bookmarks($params); ?></div>

		<div class="imp-links-list mH imp-links-list-left"><?php $params = array( ‘category’ => ‘80‘,
		  ‘title_before’  => ‘<h3><a href="javascript:void(0)" onclick="toggleMenu(\’c80\’)">’,
		  ‘title_after’ => ‘</a></h3><div id="c80" class="mL"><div class="mO">’,
		  ‘category_before’ => ”,
		  ‘category_after’ => ‘</div></div>’,
		  ‘between’ => ‘&nbsp;-&nbsp;’,
		  ’show_images’ => 0,
		  ’show_description’ => 0 );
		  wp_list_bookmarks($params); ?></div>

    </div>
  </div>

</div>
<?php get_footer(); ?>

Now that’s a small snippet of what I used on my Links page template. If you’ll notice, in the first link code snippet I’ve highlighted the two instances of c79 and 79. ‘79′ is the first link category that I wanted displayed, ‘c79′ is a reference id so the script knows which one to show/hide.

I had to use ‘c79′ instead of ‘79′ because ID attributes have to start with a letter, so use whatever you want, just make sure to keep them labeled the same for each instance, as it makes for easier troubleshooting should you have a problem.

If you’ll also notice, I did the same with the next category, whose category id number happened to be 80.

You’ll need to do this for each of the link categories you want displayed on your Links page. Like I said before, I’m sure there’s a more elegant solution out there, I’m just looking for a quick fix until either a newer version of the iMP-Links plugin is released — or I get time to sit down and debug the old one (no telling when THAT will be). To find your category id numbers, go to Blogroll, Categories in your WP-Admin.

If something’s unclear or needs further explanation, please let me know via the comments form below and I’ll try my best to answer any questions.

* TIP: If you did not previously have a links.php and created one using this tutorial as a guide, don’t forget to go into WP Admin and edit your Links page (Manage, Pages). Under Page Template, choose Links (or whatever you named the template in the ‘Template Name’ bit) from the dropdown list. If you do not see your template there, make sure you have named it (’Template Name’) in the file as shown above and have uploaded it to your theme’s directory on your server.

Posted by Nicki on December 31st, 2007 at 2:26 pm

Gmail IMAP on the Helio Ocean

I’ve been browsing the Heliocity forums, trying to catch up on everything I’ve missed — and it seems there’s a LOT! LOL I ran across some great articles: Video Ringtone Tutorial, Tips for syncing your calendar, … and a lot more.

One that I ran across I found particularly helpful, discussing Gmail. Now that Google has so graciously opened up IMAP, we can now use it on the Ocean. How cool is that? :D

Because between you and me, the current/default Gmail app on the Ocean sucks ass.

So, without further ado (and a world of thanks to peetre001 for posting his settings), here’s what I am currently using to snag my Gmail:

Firstly, check your Gmail account and make sure that IMAP is enabled. To do this, go to Settings, Forwarding and POP/IMAP, and under IMAP Access make sure Enable IMAP is checked. Save your changes and now go to your Helio Ocean.

Go to the main menu and choose Message to access your email accounts. To set up a new account, go to Menu, 2/Setup Email Accounts. Once inside Email Accounts, go to Menu, 1/New Mailbox.

My settings are as follows, but feel free to deviate from the directions where appropriate:

  • Set as Default — I left this unchecked, as I want my MyHelio account to stay the default account.
  • Mailbox Name — I named mine Gmail IMAP to distinguish it from the other.
  • Username – This is your Gmail username (email address): name@gmail.com
  • Password – Put your Gmail password here.
  • Display Name — Put whatever you want set as your “from” name here.
  • Email Address — This is your Gmail address: name@gmail.com
  • Use Signature — Check this if you want to specify a signature for your emails.
  • Signature – If Use Signature is checked, your signature can be edited here.
  • Incoming Mail Server Type — Set to IMAP.
  • Incoming Mail Server — Set to imap.gmail.com
  • Incoming Mail Server Port — Set to 993.
  • Incoming Mail Server Secure — Make sure this is checked!
  • Outgoing Mail Server — Set to smtp.gmail.com
  • Outgoing Mail Server Port – Set to 465.
  • Outgoing Mail Server Secure — Make sure this is checked!
  • Outgoing Username — This is the same as your Username: name@gmail.com
  • Outgoing Password — Put your Gmail password here.
  • Date sort order — Set to your preference. I set mine to Descending.

Be sure to click SAVE! That’s it. You’re all set!

Again, I’d like to thank peetre001 and all the participants in the Heliocity forums for their tireless efforts in sharing Helio and Ocean related knowledge and tips to make our proverbial mobile lives easier! ;)

Posted by Nicki on November 2nd, 2007 at 7:51 am

How to: Track packages on your Helio Ocean

By request, this is a short ‘n sweet tutorial on how to get updates on your package’s delivery status on your mobile device. I had actually covered part of this concept in a previous post, but I’ll bet that some haven’t thought to apply this to tracking things. :)

Note:

Actually, this should work for pretty much ANY mobile device, but since I have the Helio Ocean, these directions are specific to it. :)

Credits:

  • Special thanks goes to: Thox and the countless others at the Heliocity forums who’ve posted helpful information for the Helio Ocean (and countless other topics!)
  • Link Love: The FAQ — if you know nothing, start here!

Tools you will need:

Getting started:

This works for most major shipping methods (UPS, FedEx, USPS, or DHL/AirBorne). You’ll need your package tracking number. Open the ISnoop Universal Package Tracking site in your browser. Put in your tracking number and click the Track it! button. If any data has been entered in the system, you’ll see some kind of results, and a link will appear that says “Track this package via RSS

Note: If no data is currently available, it will say “There is no data available yet for this tracking number. Please check back later.” It may need a few hours for the carrier’s system to be updated … simply try again in a few hours.

Now open the ZapTXT website. If you haven’t already setup an account, you’ll need to do so now.

Login to your ZapTXT account. Once logged in, you should be taken to your My ZapTasks page, under Custom Zaptask, put your RSS URL in the Website/feed to monitor field. Leave the keywords blank. For Send via, check Mobile (uncheck any others). Click Next step.

Note: If you have more than one tracking number/URL, you can click Add more sites to monitor and fill in those URLs there.

Here’s where it gets a little tricky:

ZapTxt will come back with the following message: “We found the following feed(s) that match the URL(s) you entered. Which of the following would you like us to monitor?

Uncheck isnoop.net blog and check the box by your tracking number/link. Then, under Name this Zaptask name it as you’d like. (Suggestion: if tracking more than one package, you may want to label these by the sender, or the package’s contents.)

You can leave headlines and tags empty. Under What delivery method do you prefer?, make sure Mobile is checked. Then choose your preferred update frequency under How often would you like to receive updates? — I use As soon as possible to get real time updates (or as the carrier’s system is updated with a new status).

Finally, click Create ZapTask. When prompted with a popup asking if you’re sure you don’t want to assign any keyworks, click ok.

Note:

If you only wanted to be notified upon delivery, then you could add “Delivered” as a keyword. However, I wouldn’t recommend this unless you are tracking a LOT of packages. (Most of us like to know where our stuff is!)

In closing:

I hope you’ve found this helpful. I appreciate constructive feedback and comments. If a step is not clear enough or if something is confusing, please feel free to ask for clarification in the comments form below!

Thanks! :cool:

Posted by Nicki on October 9th, 2007 at 7:47 am

How to: Video for the Helio Ocean

Notes:

  • Your PC’s configuration will differ from mine, so you may need to alter the process. I’m posting what worked for me and hopefully it will work for you!
  • I have only tried this with YouTube so far, but hope to try out on other popular online video formats. Please feel free to comment below with your findings, thoughts, etc. — Please don’t ask me if I know if this will work with www.whatever.com … I don’t know. ;P — Rest assured that I will try to come back and post any and all findings. Take from that what you will. ;P
  • Please note that this is NOT a tutorial on video rings!

Credits:

  • Special thanks goes to: Thox, Anthonyrn, and the countless others at the Heliocity forums who’ve posted helpful information for the Helio Ocean (and countless other topics!)
  • Link Love: The FAQ that started it all — if you know nothing, start here!

Tools you will need:

Getting started:

The first thing you’re going to need is the URL to your video. I chose YouTube because they use FLV (Flash Video) format and there are many sites which can convert that to various other media formats for free. I’ve tried several sites which didn’t work out for one reason or another: would not play on the Ocean, the video playback was slow or crappy, or a combination of other reasons. Convert Direct happened to be the first one which worked quickly AND the video playback was smooth AND is free AND (for the most part) has a decent online/uptime percentage. (be aware: that may change in the future!)

So, here is an example video: http://youtube.com/watch?v=ewGk7aKjk7k — Copy the link, you’ll need that for the next step.

Go to http://www.convertdirect.com/ in Internet Explorer. For some reason, I couldn’t perform this process in Firefox (maybe a plugin incompatibility or an anti-Firefox site?). I haven’t had time to look into this, nor do I have an IE tab plugin installed at this time. It’s easier for me with two browsers open anyways so I can switch between them.

Under “Convert online flv youtube to 3gp/mp3/avi/wmv/mp4/mov directly” enter the YouTube link. Next to “Converts to:”, select 3gp (mpeg4+aac). Click the Convert button. Depending on the size of the video, this could take a few seconds to a few minutes — the longer the video, the longer it takes. When it’s done, you’ll see the Convert button grey out and a large yellow link show up below that says “Click the link to download the converted video“. The URL will look something like this: http://www.convertdirect.com/13826162151.3gp_1

Note:

For whatever reason, this link is an incorrect link. I don’t know if this is on purpose or even if the site owner is aware of it.

At this point, I copy the link and paste into Firefox. (Otherwise IE will open it and refuse to let you save it, or rather I couldn’t.) Trim off the “_1″ part following the 3gp extension and save somewhere on your pc. Once the file is done saving/downloading. Transfer to your Helio Ocean using the USB cable. Save to your external memory in the Helio Video folder.

In closing:

I hope you’ve found this helpful. I appreciate constructive feedback and comments. Any requests for videos, movies, video rings, etc. will be REMOVED and the poster’s IP banned from this domain. (there, you’ve been warned)

If a step is not clear enough or if something is confusing, please feel free to ask for clarification in the comments form below!

Thanks! :cool:

Posted by Nicki on September 5th, 2007 at 1:01 pm

WordPress WebRing

There’s been a bit of confusion on the “how to” when joining the WordPress WebRing and how to use and/or setup the code. I often forget that not everyone knows that you DON’T actually have to use the SSNB code and can opt to have a minimalistic HTML version (like I use).

So here’s how:

You go to the WordPress WebRing site. Click Join This Ring. If you have a WebRing account already, you just fill in your site details (login if you’re not logged in already!). If you do not have a WebRing account, you fill out the account information form towards the bottom of the page.

Once you successfully fill out and submit your application, you’ll see Confirmation - Ring Application Sent followed by a bit of HTML code (actually it’s JavaScript, but that’s immaterial here). That is your SSNB code. If you belong to a WebRing and already have that code on your website, then your WordPress WebRing code is already there. WebRing introduced SSNB a few years back as a quicker way to add yourself to many WebRings without having to keep editing your webpage code. While handy, the downside to this is that you cannot edit the ring code displayed.

Also: WordPress.com users will not be able to use the SSNB code due to its Javascript content. WordPress.com does not allow the posting of scripts in sidebar modules or posts for security reasons — I was not aware of this until only recently, so all the more reason to post this tutorial!

Back to the subject at hand: the ability to use editable HTML code for your site is still supported by WebRing.

YAY! :)

Simply visit the WordPress WebRing site again — under Member Tools click on Edit Site Information, then click Get Navigation Code. Now you’ll see another box with the SSNB code. Scroll all the way down to the very bottom and look for Members who wish to use the HTML version of this nav bar should go here. When you click on that, you’ll be given code that you can edit to your liking.

(Take notice of your WordPress WebRing ID code. You’ll see “id=”.)

The following is what I use as a guide:

Remember:

Change each instance of YOUR_ID_HERE to the id number listed in your WebRing code.

If you edit your code, remember to use the HTML equiv’s of ampersands so your code will validate! :)

(I always forget that part!)

If you get stuck, need help, or have any questions please feel free to ask here!

The principles of this tutorial can easily be applied to any other WebRing. Just remember to change “WordPress Bloggers” to the name of the ring being added, and be certain to change the ID number and ring values (the “ring=” part).

Posted by Nicki on July 31st, 2006 at 10:01 am