Thank you both. I have an external PHP external that gets the image from URL and create records in the 3 tables I mentioned. However, I am not creating posthash column. Then I am replacing [img] tags with [ATTACH=CONFIG] tags so that VBulletin can understand that it is an attachment. But attachments are not being shown as photos. THere is only a link shown in the posts.
Attachment are stored in DB in my VB forum. I read it that database is a better option because of performance.
|