Slynderdale |
03-07-2003 04:44 AM |
If you wanna add this to the postbit in admin/functions.php find:
PHP Code:
if ($post[showemail] and $displayemails) {
eval("\$post[useremail] = \"".gettemplate("postbit_useremail")."\";");
} else {
$post[useremail]="";
}
and replace it with:
PHP Code:
if ($post[showemail] and $displayemails) {
if ($post[homepage]!="http://" and $post[homepage]!="www" and $post[homepage]!="http://www." and $post[homepage]!="") {
$page_status = check_url($post[homepage]);
}
eval("\$post[useremail] = \"".gettemplate("postbit_useremail")."\";");
} else {
$post[useremail]="";
}
Then place $page_status any wheres in the postbit you want, it will just show the page status so you maybe want to add (Status: $page_status) if you want, its up to you.
Also use this at your own risk, I havn't tested it in the post so I have no idea on how it will affect the server load or page loading time or any thing like that, If you do use this, please post and tell me how it works out.
|