Facebook Connect mod

You might remember my Facebook Connect how-to that I posted back in January. I got a request about how to modify the widget in the shape of a comment, but I deleted by mistake. I did reply via email and thought I would add it here for wiki purposes.


From Archchef at casualgaminformer.com comes this question.

Is there a way to disable the “Last visitors” section in the widget? I don’t exactly want nor need it but can’t find any way of killing the darn thing :)

This one is very easy. To remove the part of the widget you don’t want to see, open fbconnect_widget.php and scroll down to line 31, or there about. There are 2 lines below that, remove them, save and upload. You should be good to go. If you want the code, leave a comment below and I’ll hook you up.

I know the plugin still isn’t 100% here. I hope to have that fixed before I go to Vegas this coming weekend.



Man I love this theme

mcp screen shotWhen I originally built the theme for this site, I didn’t think about making it work for anyone but me. I know, quite selfish of me, right?

Then, as dev continued, I got the idea that I really should try to make it more of a standard WP theme, make sure it works in all browsers, make sure it looks good in all browsers and works with just about any plugin I throw at it. All of that is the reason why this theme took me over 3 months of tweaking to develop.

And, for the first time ever, it has been replicated. You can see the screen shot above, or view it live here. That’s right, it’s the My Cruise Planner site that Michael and his lovely wife work on, post news articles to and host their Mail Buoy podcast from.

Of course I had way too much of the hand coded stuff in it for them to use, primarily in the sidebar. If I were to distribute this as a stand-alone-anyone-can-use-it theme, I would leave that almost blank anyway and let whoever took it use it for whatever they wanted, much like I have done for the MCP site.

I did have to make a few others changes as well. Primarily in the categories, and this is my best wordpress trick and I’m using it everywhere I need this functionality.

  • Create a main, or parent, category
  • Create sub, or child, categories under the parent
  • Set category base to ’section’ (it could be anything really)

Doing this allows separation of the parent categories within the structure of the site while at the same time not excluding anything from the RSS feed. I’m sure many of you have already noticed that the podcasts are showing up in your feeds, yet you do not see them on the ‘blog’ section here.

Just thought I’d toot my own before I changed the portfolio page.

If you do need any kind of travel, you really should talk to them first. No foolin’, they have saved my butt more than a few times. It’s also why they are the official travel planners of White Roof Radio.

Posted in Site News, WordPress Fixes — by don on 02/03/09 (0) Comments



Facebook Connect

A quick personal wiki/how-to entry on getting the Facebook connect plugin working with a custom Wordpress theme.


I spent a good part of the day setting up the Facebook Connect plugin over at Motoringfile. I also set it up here, but haven’t spent nearly as long tweaking it. That means it’s personal wiki time! Weeeeeee (Read on…)



Finding Instruction

Been trying to do a few things lately that are a little bit more difficult than they should be. Really. Editing the hosts file on the Mac is one, installing Wordpress MU on MAMP is the other.

Starting with the editing of the hosts file. It should be. Just. This. Simple.

Right? Yea, that doesn’t work for me since vi makes no sense to me at all and I couldn’t figure out how to open it in such a way that I could actually make changes.

For those of you in the audience that are neck beard and ponytail challenged, here is what you do.

  • From the Finder menu, click Go –> Go to Folder
  • Type in /etc
  • Find your Hosts file. Double click to open it. I recommend editing it with Smultron since it will allow you to authenticate to save.

That’s how you do that.

Now, to install Wordpress MU on MAMP. I have spent more than an hour trying to find the solution. All I manage to find are crappy responses on message boards, but not a single link to my solution. It requires editing the httpconf file in MAMP and the hosts file I do know that.

So far it’s installed and I can get a 404 page. Once I make it work, I will be posting it here as well.



What I am Working on

I’ve had a fairly productive 2 weeks at the new job doing some serious work with Wordpress and it’s time for me to jot down some notes before I forget everything that I’ve done.

The front page is 100% automated pulling posts from a single category twice, all of the posts once plus the feed from a message board. Almost exactly like the homepage here. A new addition to the layout that I have not used before is a jQuery slider. After some tweaking it’s actually very very cool. To get an idea, it works like this. I will be getting more into jQuery in the very near future.

Moving off the home page is a custom category template where, if need be, a different header graphic can be displayed for each category. Too keep the template file to a minimum, this is all driven from 2 php files and 1 css file. Normally you could build out 1 category template for each category, but with over 20 cats, that would get to be a bit unweildy. Same goes with the CSS. It’s just easier to keep all those category page specific styles in their own file. Turns out, I am not doing the individual templates, but should minds change, it’s ready to go.

(Read on…)

Posted in WordPress Fixes — by don on 01/08/09 (0) Comments



Older Articles »
  • Community

    Already a member?
    Login
    Login using Facebook:
    Last visitors
    view more...
    Powered by Sociable!

  • Recent Video

    Loading
    Loading Viddler Videos

      Powered By Viddler

      Recent Posts

      Subscribe