PDA

View Full Version : Show YouTube Icon Just As Paper Clip For Attachments


caliman
01-08-2007, 04:55 AM
I have this YouTube mod. (https://vborg.vbsupport.ru/showthread.php?t=111386)

It's actually just custom BB code.

I was wondering if there was an easy way to add a YouTube Icon in the forum view just as the paper clip is shown when there is an attachment.

Anybody know a way? Something that would look for the embed tags in posts maybe?

Thanks in advance......

caliman
01-09-2007, 02:26 PM
Anybody have a lead here?
Maybe if someone told me more about how the paperclip works I can figure this out.

caliman
01-11-2007, 09:55 PM
Have you heard the one about the Irish guy, the farmer and the old maid?

Paul M
01-20-2007, 07:18 PM
It would be extremely difficult to do what you want - when threads are listed they have no knowledge of what is in their posts, and while technically you could scan every post for every listed thread, the results would probably be a dead forum (the queries and processing involved would be bad ....).

caliman
01-20-2007, 07:26 PM
Damn.

How about this... maybe when one posts a thread with the youtube code it logs that in a database that can be accessed to find out if if should display the youtube icon on the forum index?

How does the paperclip work?

Thanks Paul.