Stephen Yeargin
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Calling images from database in WP?[quote]
‘You can’t store images in a database” – macmanx
[/quote]The only reason I’m replying is because of this comment. You can store an image, or any file, for that matter, in a database. MySQL can store it in a binary “BLOB” column. It’s just typically slower, a coding pain, and good for very few uses. I’ll agree with every point here that it’s better to just upload a file. The only benefit I’ve ever heard of is when a hosting provider forgets to count your database size against your total storage space quota (rare).
For more info, here’s one link: https://www.liquidpulse.net/articles/php/images/storing_and_retrieve_images_from_a_mysql_database
Forum: Plugins
In reply to: Blockquote styling questionAlso, for a trick to add that second pair of quotes to a blockquote, add a
<div>"Your quote."</div>
inside the<blockquote>
tags. In your stylesheet:blockquote {
margin: 5px 28px 5px 28px;
padding: 0;
color: #D0A4B8;
background: transparent url(/images/quote-l.gif) left top no-repeat;
}blockquote div {
padding: 2px 50px 2px 50px;
background: transparent url(/images/quote-r.gif) right bottom no-repeat;
}Forum: Your WordPress
In reply to: GEO 12.97?°N 77.56?°EDoesn’t seem very critical to me to show the user’s country flag. Now tracking this information, on the other hand, could be very useful on down the road.
Forum: Fixing WordPress
In reply to: Pings & Trackbacks in and out don’t work….I was under the impression that Ping-o-Matic ran transparently, and wouldn’t generate a readout like a manual ping would.
As for the not receiving part, are you using
<?php trackback_rdf() ?>
somewhere on your template? Also keep in mind that not everyone uses TrackBack, even if it is available to them.Forum: Themes and Templates
In reply to: Creating neat external link icons AND being W3C friendlyAn update of sorts … I fixed the stylesheet reference so that it properly works in Firefox (a psuedo-CSS3 compliant browser) but will not work in Internet Exploer. I suppose this is simply to be expected in the Redmond Kingdom.
On the subject of CSS validators, you must manually switch the profile on the W3C validator in order to properly check CSS3. I was using the simple referrer link.
As for the underline issue, it stemmed from having the
a
stylesheet to use a bottom border instead of thetext-decoration : underline
. My goof.Forum: Installing WordPress
In reply to: Is WordPress compatible with PHP 5?Forum: Themes and Templates
In reply to: CSS problemsScratch that … noticed you put it inline in the blog.
Forum: Themes and Templates
In reply to: CSS problemsYou’ve got a
media="print"
in there, but no stylesheet formedia="screen"
. That’s the first thing I noticed when I looked at the sourceForum: Themes and Templates
In reply to: Errors with my template…Whoops, a little slow. Your error above looks like a misconfigured base directory. I’ll leave this one to the folks with more spare time on their hands, as I seem to be a step behind.
Forum: Themes and Templates
In reply to: Errors with my template…Line 15 reads:
<?php the_date(','<strong>','</strong>'); ?> - <?php the_time() ?>
Now for your php lesson. The the_date() function requires three arguments, as such:
<?php the_date('date_format','before','after',display); ?>
Your friendly Wiki support document should help you out there.
Forum: Requests and Feedback
In reply to: Is there a wp_list_plugins() ?In case anyone else comes across this looking for it, it was tracked down here.
As for the cross-posting, I would have moved the topic if I could. Sorry if wasted too many clock cycles.
– Stephen
Forum: Requests and Feedback
In reply to: Autodetect TrackbacksJust some thoughts …
From what I can tell, it should be as easy as updating your template page to include a modified version of this code, switching MT variables out for WP ones. Of course, since it would be outside the ‘Loop’, I’m not sure whether or not it would work by virute of a simple template addition.