Space Pirate
Join Date: May 2004
Location: Atlanta
|
I don't think that any of my articles has ever (will ever) be Dugg, not worried about that I guess...
Just a few minutes ago I found a tool that lets you build a string of links to social bookmarking sites. This is the sort of thing you'd stick into The Loop for individual posts. Not a plug-in, but not bad... y'think? Edit: I do have a couple of articles that get some good traffic, don't think that they've been Dugg though. |
quote |
Space Pirate
Join Date: May 2004
Location: Atlanta
|
hehehe, I knew that thing made me feel all dirty inside.... hence chastened I return to non-digg-it-osity
The person that comments about the "NASCARness" of the icons is dead-on. My desire to stay in the swing of things sometimes leads into bad fashion decisions... |
quote |
Less than Stellar Member
|
Quote:
If it's not red and showing substantial musculature, you're wearing it wrong. |
|
quote |
Space Pirate
Join Date: May 2004
Location: Atlanta
|
If you were going to provide that service it might be smarter to simply provide links to the top X services. It would look less offensive if you went into Photoshop and "colorized" all the logos you're using to a standard monochromatic tone to lessen their visual interference with your page layout.
What would be the tops? Digg, de.licio.us, Fark? Wait. You're driving AND you're surfing? Is your real name Hiro Protagonist? |
quote |
‽
|
Quote:
Quote:
That said, it is, of course, also a matter of moderation and subtlety. A text link or two (say, one to del.icio.us, another to digg) can be quite bearable, especially compared to a whole bunch of flashy graphical icons. |
||
quote |
Less than Stellar Member
|
Well I'm not actually driving I'm riding shotgun. But, yes, my name IS Hiro Protaganist. What a bad ass....
Chucker: bookmarklet? Do those work on a wap browser? (I'm not using one but many do surf using wap) The further you get from standards the less accessible you get. And the 'if it's worthwhile it'd be posted already' argument is also flawed. What if I use delicious just for me? For example, I'd like to save links for later when I'm not on my phone. I could see the argument for using just text links but that doesn't address the accusation that people are trying to increase rankings, etc. It just makes things that are supposed to be make your life, as a user, easier less likely to be seen. When it comes down to it, it's a matter of style. Some people (like drew) have it. Some (like me) don't. Let's not throw the baby out with the bath water. As a personal note, I appreciate when I see the icons to share an article like they do it on the wapo. I think it's tasteful and useable. If it's not red and showing substantial musculature, you're wearing it wrong. |
quote |
Space Pirate
Join Date: May 2004
Location: Atlanta
|
What do you guys consider to be the "optimum" installation of WordPress? At the root level?
|
quote |
Space Pirate
Join Date: May 2004
Location: Atlanta
|
Oy, I answered my own question....
Converting a "side" website of mine to a WordPress website and decided to install wordpress in a directory called "wordpress" at the root level of the site then create a line in my .htaccess file that redirects site visitors to the index page of the WordPress directory since it's the be-all and end-all of the site (for now).... here's where I got the information. I like this better because the root level of the site isn't falling over with WordPress clutter... the things you learn as you go along.... |
quote |
Veteran Member
Join Date: Oct 2005
|
Bump.
Daylight savings is giving me crap. According to my host all server times have been set correctly, yet apparently WordPress is going to need a patch to make it work right. With the time zone set correctly, posts get timestamped an hour behind. Anyone else noticing this? Until I find a fix, I've just been setting the timestamp forward an hour manually on each post. |
quote |
Veteran Member
Join Date: Oct 2005
|
Aha!
http://kimmo.suominen.com/sw/timezone/ Automatic time adjuster plugin. Just activate it and it will set the time zone correctly based on either the server time (If you live in the same time zone as the server) or by a time zone you specify. |
quote |
Lord of the Rant.
Formerly turtle2472 Join Date: Mar 2005
Location: Upstate South Carolina
|
Hello to all those who actually read the Programmers Nook. Until now I have avoided this forum because I know very little about programming. So I decided to take on the task of moving from .Mac to another host and in the process set up a WordPress Blog instead of iWeb on .Mac. Ok, so I'm still using iWeb for now for the photo pages because I don't know a good alternative to this, feel free to offer up suggestions if they come to mind.
Anyway, on to my very simple question that I can't find the answer to. I need to add some links to my photo pages and other non-blog type of HTML based pages in my sidebar below the "Pages" title in the sidebar. (A link to my blog is in my sig.) So I open up my theme's "sidebar.php" and look for the link there. Instead of a link I find [php] <!-- <li><h2>Author</h2> <p>Brief author overview.</p> </li> --> <?php wp_list_pages('title_li=<h2>Pages</h2>' ); ?> <li><h2>Recent Entries</h2> <ul> <?php query_posts("showposts=10"); ?> <?php while (have_posts()) : the_post(); ?> <li><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></li> <?php endwhile; ?> </ul> </li> [/php] I'm not worried about bringing the Author overview to life so I don't mind it commented out, but the "Pages" title leads me nowhere. I looked in my blog root dir and can't find a file named "wp_list*" so I don't know what to edit. Can someone help this guy out please? If I'm right, the "Pages" title looks for something that isn't theme specific so if I change themes the information will follow, but the problem is I don't know there it's pulling the information from. If it helps, I'm looking to add a link to my photo page which is /blogroot/photopages/index.html Side note: Which will the browsers page display first if both are present in a directory, index.html or index.php? Any others in the hierarchy I should know about? Louis L'Amour, “To make democracy work, we must be a nation of participants, not simply observers. One who does not vote has no right to complain.” Visit our archived Minecraft world! | Maybe someday I'll proof read, until then deal with it. |
quote |
Space Pirate
Join Date: May 2004
Location: Atlanta
|
Oh you're doing like me and making it too hard... It's **so** much easier to go into your "dashboard"... the management area for your WP blog and go to the LINKS menu item and learn how that works. You can just make your links in there.
I *highly* recommend getting a free (or Pro) Flickr account. You can add code for your Flickr account into your sidebar and have people go over to Flickr to look at your photos. I'd post more now but it's late and I have to hit the hay. Congrats on moving to WordPress, it's great. |
quote |
Lord of the Rant.
Formerly turtle2472 Join Date: Mar 2005
Location: Upstate South Carolina
|
Thanks Drew. It's called Blogroll on mine and I was looking for "links". Seems all I had to do was make a category called "Personal Links" and it did just what I wanted it to do. I hadn't ever heard of a "Blogroll" before. Maybe I could start adding people to mine now. Though I did have to move the location in the sidebar. I didn't like where it was in the list. Thanks again.
So now I need a cool 404 page. I don't like to standard one. Anyone care to donate a much cooler one that I can play with? Louis L'Amour, “To make democracy work, we must be a nation of participants, not simply observers. One who does not vote has no right to complain.” Visit our archived Minecraft world! | Maybe someday I'll proof read, until then deal with it. |
quote |
Lord of the Rant.
Formerly turtle2472 Join Date: Mar 2005
Location: Upstate South Carolina
|
How can I add video to my blog similar to the way it shows on YouTube? As in, there is a preview much like an image but they can click play since the video will always be in QT format anyway.
Louis L'Amour, “To make democracy work, we must be a nation of participants, not simply observers. One who does not vote has no right to complain.” Visit our archived Minecraft world! | Maybe someday I'll proof read, until then deal with it. |
quote |
‽
|
|
quote |
Lord of the Rant.
Formerly turtle2472 Join Date: Mar 2005
Location: Upstate South Carolina
|
I didn't look for the word "EMBED" because I didn't know that's what I should be looking for. I was looking for "movie", "video", etc. And I was only looking for a plug-in because I thought it would be how I would put one in. Thanks for the links either way. Louis L'Amour, “To make democracy work, we must be a nation of participants, not simply observers. One who does not vote has no right to complain.” Visit our archived Minecraft world! | Maybe someday I'll proof read, until then deal with it. |
quote |
‽
|
|
quote |
Lord of the Rant.
Formerly turtle2472 Join Date: Mar 2005
Location: Upstate South Carolina
|
Will I have to put the first line into each post I want to make with an embedded .MOV? This works for by blog post as you can see here, I would rather that be in the main code though. Then I wouldn't have to remember it every time I post a video clip.
Code:
<script src="http://www.kellyinternationalinc.com/AC_QuickTime.js" language="JavaScript" type="text/javascript"></script>
<div id="movieplayer" style="display:none" align="center">
<script language="JavaScript" type="text/javascript">
<!-- Hide script from sad old browsers
QT_WriteOBJECT_XHTML('/pics/snow070407.mov',
'320', '256', '');
// -->
</script>
</div>
<div id="trigger" style="display:block" align="center">
<a href="/pics/snow070407.mov" target="_blank" onclick="javascript:document.getElementById('movieplayer').style.display='block';document.getElementById('trigger').style.display='none';return
false"><img src="/pics/snow070407.png" alt="Click to Play" width="320" height="256" border="0" /></a>
</div> Any feedback on my code since I don't really know what I actually did other than copy and paste?Louis L'Amour, “To make democracy work, we must be a nation of participants, not simply observers. One who does not vote has no right to complain.” Visit our archived Minecraft world! | Maybe someday I'll proof read, until then deal with it. |
quote |
‽
|
No. Place it somewhere in a template that gets loaded, such as header.php. The browser only needs to know to load the JavaScript at all; it doesn't need to load it multiple times for one and the same page (and it shouldn't, either).
|
quote |
Lord of the Rant.
Formerly turtle2472 Join Date: Mar 2005
Location: Upstate South Carolina
|
Seems I shouldn't put it anywhere. I removed it from my post and put it in header.php and it messed my whole site up. So now it isn't in my post nor anywhere else and yet it works fine. So it would seem WP has JS built in.
Louis L'Amour, “To make democracy work, we must be a nation of participants, not simply observers. One who does not vote has no right to complain.” Visit our archived Minecraft world! | Maybe someday I'll proof read, until then deal with it. |
quote |
Space Pirate
Join Date: May 2004
Location: Atlanta
|
Should it matter though? If your script is unique it should work on its own, right? Or is this a globals situation, where the variables could be muxed?
|
quote |
Lord of the Rant.
Formerly turtle2472 Join Date: Mar 2005
Location: Upstate South Carolina
|
I have no idea. I used the link to O'Reilly that chucker posted and figured out the last one worked best for me (calculated guess. ) and so I went with it. I then changed the file locations in the example ot my locations and cut and pasted into my blog post. I did a screen capture to get my placeholder image.
The QT.js linked to was also because O'Reilly's site said to put it there. I can make a good Lemming sometimes. I really don't know what I actually did, but it worked and I'm happy. Maybe chucker can enlighten us as to why it works? Louis L'Amour, “To make democracy work, we must be a nation of participants, not simply observers. One who does not vote has no right to complain.” Visit our archived Minecraft world! | Maybe someday I'll proof read, until then deal with it. |
quote |
Space Pirate
Join Date: May 2004
Location: Atlanta
|
So I updated one of my extracurricular sites to WordPress v2.1.3 this weekend and was taking a look through the list of plugins that have been updated to be compatible with the new update. Check it out:
http://codex.wordpress.org/Plugins/P...patibility/2.1 I found myself marveling at the number of absolutely bizarre plugins that people have made and realizing how smart it probably is to run as few as you can so that your future upgrade ability isn't hamstrung by developers who are slow to update their plugins. |
quote |
Veteran Member
Join Date: Jun 2006
Location: Florida
|
I'm pulling out my hair here. I am trying to have a conditional is_home statement along with a conditional query_posts statement. The problem is I'm querying posts first and after that, WP seems to give up and forget about the is_home statement. I'm working on my sidebar and you can see what I'm attempting to do in the code below. I know the problem lies with query_posts because with it removed everything works as it should; also when the query_posts is inside is_home it all functions properly. I've been staring at this for a few hours trying to figure out how to make it work so hopefully some fresh eyes will help. Any suggestions would be great, thanks guys.
[PHP]<div id="sidebar"> <ul id="events"> <?php query_posts('cat=3'); ?> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); $firstpost = $post->ID; ?> <li id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" title="Read <?php the_title(); ?>"><?php the_title(); ?></a></li> <?php endwhile; else: endif; ?> </ul> <?php /* If this is the frontpage */ if ( is_home() ) { ?> <div id="about"> <p>brief about us blerb</p> </div> <?php } ?> <p>test</p> </div>[/PHP] |
quote |
Space Pirate
Join Date: May 2004
Location: Atlanta
|
This is the third time I've come by and looked at your code.... just wanted you to know you hadn't been ignored.... it's just that I don't know enough about the overall structure of WordPress' code to know what's happening. From your descriptions it sounds as if the is_home() function can't be run from the inside of The Loop, because that's what you're in right there, my friend.... unless I'm way out in left field.
The thing to know about The Loop is that it is SERIOUS VOODOO.... but again, I haven't sat down to try to diagram out the shape of WordPress..... anyway, sorry that none of us can answer your question.... |
quote |
Veteran Member
Join Date: Jun 2006
Location: Florida
|
Hey, it's cool. Evidently no one on the WordPress support forums can figure it out either. The Loop is some serious voodoo. I just rearranged the div's. I guess it's not the end of the world. Thanks for check it out though.
|
quote |
Space Pirate
Join Date: May 2004
Location: Atlanta
|
No worries, some of mine have gone unanswered too... there are some serious whiz kids around here but they can't figure out everything.
I demand that they can't.... my ego can't handle the truth. . |
quote |
Veteran Member
Join Date: Jun 2006
Location: Florida
|
Here's one that should be easier, when I click on "Older Posts" on my homepage I am taken to /page/2/ but the posts don't actually get older. I've included my index page for good measure. Gracsis.
Code:
<?php get_header(); ?>
<div id="content">
<?php query_posts('cat=-14'); ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<div id="post-<?php the_ID(); ?>" class="page">
<div class="post">
<div class="comment-bubble"><p><?php comments_popup_link('0', '1', '%'); ?></p></div>
<h1><a href="<?php the_permalink() ?>" title="Read <?php the_title(); ?>"><?php the_title(); ?></a></h1>
<img src="<?php bloginfo('template_directory'); ?>/images/layout/authors/<?php the_author_login(); ?>.png" alt="Posted by <?php the_author(); ?>" align="left" class="author" />
<?php the_content(); ?>
<h3><?php comments_popup_link('Be the first to leave a comment.', 'Add a comment.', 'Read the % comments and add your own.'); ?><br />
Posted <?php the_time('F jS, Y'); ?> in <?php the_category(', ') ?><?php edit_post_link('Edit', ' [', ']'); ?></h3>
</div>
</div>
<?php endwhile; ?>
<div id="page-nav">
<div class="older"><?php next_posts_link(' ') ?></div>
<div class="newer"><?php previous_posts_link(' ') ?></div>
</div>
<?php else: endif; ?>
<?php get_footer(); ?> |
quote |
Space Pirate
Join Date: May 2004
Location: Atlanta
|
Really busy right now but it looks like that's because your OLDER link is pointing to your NEWER posts and your NEWER link is pointing at your OLDER posts..... try swapping the PHP calls....
I personally just discovered that I borked the stylesheet of my own blog last night AND that the permissions on my themes are CHMODed to allow me to work on them remotely.... so my sidebar will be puke green all day today. Doesn't really matter..... but it's annoying. |
quote |
Posting Rules | Navigation |
Page 4 of 8 Previous 1 2 3 [4] 5 6 7 8 Next |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cum sEE my SiLLy tHreaD and mOCK mE 4 it!!!1!1! | chaos123x | Speculation and Rumors | 90 | 2006-10-05 13:22 |
The Official Dating Commentary™ Thread | ShadowOfGed | AppleOutsider | 63 | 2006-05-08 10:13 |
Validating CSS from Wordpress | Jason | Programmer's Nook | 7 | 2005-11-21 21:13 |