In VB 3.8 I had a small plugin that showed an image when the link to the original image was no longer present. This was very helpful in posts that almost only showed images.
Maybe this is also possible for VB 6?
This was the code:
Describtion:
When images die in post, this plugin will display your custom images
Go to Admincp > Plugins & Products > Add New Plugin or go to yourdomain/admincp/plugin.php?do=add
Hook Location: Choose postbit_display_complete
Title: Auto display images when images die
Maybe this is also possible for VB 6?
This was the code:
PHP Code:
if(THIS_SCRIPT=='showthread' || THIS_SCRIPT=='showpost')
$this->post['message']=str_replace('<img ','<img onerror="this.src=\'https://www.elvisnachrichten.de/nopic.gif\';" ',$this->post['message']);
When images die in post, this plugin will display your custom images
Go to Admincp > Plugins & Products > Add New Plugin or go to yourdomain/admincp/plugin.php?do=add
Hook Location: Choose postbit_display_complete
Title: Auto display images when images die




Comment