Quote:
Originally Posted by Disasterpiece
heh, I'm afraid you're right. Must've missed that.
ofc
PHP Code:
mysql_select_db($database);
would make more sense. Try that out.
cheers
|
Yup ... :up:
That got it running, although after passing 150,000 posts and then checking one with a duplicate, the post content using this BBCode syntax still shows a duplicate. Your real-time wide screen conversion, plus the old BBCode using this syntax.
[youtube]-QIO_G9gs0A[/youtube]
I'm using these (one at a time):
Replace the $ytpreg = ... line with each one of those:
PHP Code:
$ytpreg = "/\[youtube=([a-zA-Z0-9_-]+)\&?\](.*)\[\/youtube\]/i";
$ytpreg = "/\[youtube\]([a-zA-Z0-9_-]+)\&?\[\/youtube\]/i";
Any ideas?
Thanks ..
Regards,
Doug