Neurotic Fishbowl: MT hacks: Individual Entry and Trackback

« Textism's Referral Script | Main Index | Does Anyone Know... »
comments | incoming pings | outgoing pings



strtotime ("October 23, 2002 09:49 PM")) { ?>

MT hacks: Individual Entry and Trackback

After much mucking about, my individual archives now reflect trackbacks both sent and received like Kristine and Robyn's sites do. I still have a bit of tweaking to do on the main template so everything links to the right place, but it the code should be in place now. If you want to be like me (and who doesn't?) go get the directions from Scripty Goddess.

.: Posted October 23, 2002 09:49 PM in Geeky Things, ";print substr($entry_cats, 0, -2); ?> :.


"; echo "Trackbacks on this post: ", $count, ""; $pingarray = "SELECT p.tbping_source_url, p.tbping_blog_name, p.tbping_created_on, p.tbping_excerpt, p.tbping_tb_id, t.trackback_id, t.trackback_entry_id FROM mt_tbping p, mt_trackback t WHERE (p.tbping_blog_id = $blogid) and (t.trackback_entry_id = $entry_id) and (t.trackback_id = p.tbping_tb_id)"; $resultping = mysql_query($pingarray) or die (mysql_error()); while ($row = mysql_fetch_array($resultping)) { //set up the variables being used - the date can be configured below $url = ($row['tbping_source_url']); $blog = ($row['tbping_blog_name']); $date = date("F d, Y g:i A", strtotime($row['tbping_created_on'])); $excerpt = ($row['tbping_excerpt']); echo "

", $excerpt, "

"; echo "
Posted by "; echo "", $blog, ""; echo " on ", $date, "
"; } ?>

Ping this post
http://www.neuroticfishbowl.com/mt/mt-tb.cgi/766




"..."




Comments

You're too early! Come back at October 23, 2002 09:49 PM to see this post.

Post a comment*:
{HTML ok, IP address logged}

Name:


E-mail Address: (Optional)


URL: (Optional)


Add a smilie (launches smilie 'palette')

Comments:


Remember info?





Subscribe to post
Unsubscribe to post
(e-mail field must be filled in)
Enter e-mail address to subscribe/unsubscribe to comments on this post without having to post a comment:
Subscribe to post
Unsubscribe to post
E-mail:
(e-mail field must be filled in) -->

* Please note: Comments that are inappropriate will be deleted - mean, spiteful, rude comments. Don't let that stop you from posting comments. Just wanted to let you know the rules of the house.