Looks great! Keep up the good work. One suggestion you may want to do is to add a break after the limited portion of the post and the register message so that it looks something like this:
<limited message>
<register message>
Another idea (which I imagine you have already thought of..) is to allow for a custom register message to be set in the admincp.
Just a thought.
Edit: Additional thoughts to anyone testing this. You will need to go into the post hide plugin and modify the url to point to your register.php file. I also added a "< br />" before the register message.
Edit: I'm noticing that posts that have quotes in them, the message and the register message with link is not displayed. Only the word "register" is displayed with no link. I tried relocating the html in the register message as follows:
PHP Code:
if (!$vbulletin->userinfo['userid'] )
{ $post['message'] = (substr($post['message'], 0, 50)). '<br/>Please <a href="\site\register.php" type="text/html">Register</a> to see the whole posting.';
}
...and everything after the '>' in the beginning href is displayed. It looks like something in the quote rendering is conflicting with this.
If I run across any other observations, I'll post them as I find them.
hth,
Jim