« Cut & Color |
Main Index
| Evil Mutant Power »
comments | incoming pings | outgoing pings
if (time() > strtotime ("January 23, 2003 10:47 PM")) { ?>
Free With a Twist
Has anyone noticed that Fast Online Users (that little script that counts how many people are on your site at any given time) has a new terms of service that requires that you let them open a pop-up window for one minute a week?
I don't want pop-ups here, so does anyone know if there's a similar service out there?
.: Posted January 23, 2003 10:47 PM in $entry_cats="Geeky Things, ";print substr($entry_cats, 0, -2); ?> :.$blogid = "1"; //replace this with the blog_id of your blog $entry_id = "1900"; $pingcount = mysql_query("SELECT p.tbping_blog_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)"); $count = mysql_num_rows($pingcount); echo ""; 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, "
Ping this post
http://www.neuroticfishbowl.com/mt/mt-tb.cgi/1162
$pingsent = "SELECT entry_pinged_urls FROM mt_entry WHERE $entry_id = entry_id and entry_pinged_urls !=\"\""; $pingsentcountresult = mysql_query($pingsent) or die (mysql_error()); $pingsentcountarray = mysql_fetch_row($pingsentcountresult); $pingsentcounts=explode("\n", $pingsentcountarray[0]); ?> if (!is_array($pingsentcountarray)) { echo "No URLs Pinged"; } else { $pingsentcount = count($pingsentcounts); if ($pingsentcount=="1") { echo $pingsentcount, " URL Pinged:";} else {echo "URLs Pinged: ", $pingsentcount;} } ?>
"..."
Comments
with pMachine, there is a hack... but i don't know if someone made a plugin for MT.
.: Kathy said on January 23, 2003 11:04 PM :: link it :.Uggh. I didn't know that! I haven't seen any popups on my site yet. I know there is a script you can use, I'll have to see if I can dig around and find it. If I do find it, I'll let you know!
.: jenni said on January 24, 2003 01:04 AM :: link it :.I didn't know that. Thanks for pointing it out. Personally I like my site to be a pop up free zone!
.: Fembat said on January 24, 2003 03:23 AM :: link it :.I use this. Takes 5 minutes to install, works great.
.: Patty said on January 24, 2003 08:00 AM :: link it :.I tried that Patty, but it won't work on my pages because they're PHP. Anyone know of any other PHP based scripts?
.: Jenni said on January 26, 2003 10:34 PM :: link it :.*hangs head in shame* I am so silly sometimes. I just used an include to call it in and it works fine! Thanks for the link Patty!
.: Jenni said on January 26, 2003 10:45 PM :: link it :.} else { ?>
You're too early! Come back at January 23, 2003 10:47 PM to see this post.>
} ?>
Post a comment
{HTML ok, IP address logged}
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.