![]() |
Quote:
Quote:
Quote:
|
Quote:
Regards, Doug |
Quote:
Entered our specific information, backed up and then executed PHP file. All it came back with was the phrase No query result and no [youtube] records weres changed? Am I doing something wrong? Regards, Doug |
give me a few examples how your youtube tag works and I'll try to sort it out
|
Quote:
[youtube=QT7kEMxSdZU]British Training Film[/youtube] .. or, like this ... [youtube]QT7kEMxSdZU[/youtube] Now, these videos appear twice (they repeat) in each post with your excellent new YouTube mod installed, except yours presents a wide screen video, where the old ones were 4x3. Yours is better..... :D Is this what you mean by examples? Regards, Doug |
Then modify the convyt.php like the following:
Replace the $ytpreg = ... line with each one of those: PHP Code:
That should do the trick then. |
Quote:
I changed the individual line as above and created two different PHP files. I then ran each one and in both cases, the PHP execution returned No query result..... I'm not sure what else could be wrong because the BBCode it should be locating is exactly as above, but if I emailed you the three files, one of which would be my config.php for vBulletin, perhaps could have a quick look? Appreciate your support .... :up: I did notice that your PHP file refers to: $database = xxxxx .. but then the line that opens the database says: $db = mysql_connect($host, $username, $password); mysql_select_db($database_name); Is that correct? .. or should it be: mysql_select_db($database); Regards, Doug |
heh, I'm afraid you're right. Must've missed that.
ofc PHP Code:
cheers |
Would be great if this also worked in blogs and not just forums :)
|
Quote:
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:
Thanks .. :) Regards, Doug |
All times are GMT. The time now is 11:25 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|