PDA

View Full Version : Miscellaneous Hacks - Auto display custom image when link images die in post


Thangvip9x
02-21-2014, 11:00 PM
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
Plugin PHP Code:
if(THIS_SCRIPT=='showthread' || THIS_SCRIPT=='showpost')
$this->post['message']=str_replace('<img ','<img onerror="this.src=\'http://a.imageshack.us/img38/8837/noq9.png\';" ',$this->post['message']);
Save
You can replace http://a.imageshack.us/img38/8837/noq9.png with your custom images
Use for vbulletin all versions
Tested on vbulletin 4.2.2 and perfect
If you want, i will made a product
Please click like button and Mark as Installed

DemOnstar
02-22-2014, 02:10 PM
Sorry, I am not familiar with the phrase "Images die in post".

What does it mean exactly?

Thanks.

ozzy47
02-22-2014, 02:12 PM
I would assume he means when a user posts a image from lets say Photo Bucket, and then later removes it, this mod will replace the broken image with a custom one.

Thangvip9x
02-22-2014, 02:24 PM
I would assume he means when a user posts a image from lets say Photo Bucket, and then later removes it, this mod will replace the broken image with a custom one.
Correct answer

DemOnstar
02-22-2014, 02:42 PM
Ok, got it....

Cheers boys.......

Nirjonadda
02-22-2014, 06:51 PM
Excellent Work ! Installed and Nominate for MOTM !

Thangvip9x
02-22-2014, 08:55 PM
Excellent Work ! Installed and Nominate for MOTM !

Thank you very much

Nirjonadda
02-23-2014, 07:46 AM
Please can you add image look like this. Ex:

Error
Image Not Found or Deleted.

Thangvip9x
02-23-2014, 09:20 AM
Please can you add image look like this. Ex:

Error
Image Not Found or Deleted.
You can use photoshop software and design your image

Thangvip9x
02-23-2014, 09:33 AM
Please click like button
http://a.imageshack.us/img34/7699/ja6.gif
http://a.imageshack.us/img713/9969/o633.png
http://a.imageshack.us/img138/9127/d9eo.png
http://a.imageshack.us/img827/8795/blx2.png
http://a.imageshack.us/img41/4976/rybi.jpg
http://a.imageshack.us/img542/7953/bzsq.jpg

Krusty1231
02-23-2014, 10:14 AM
Thanks. Installed.

Thangvip9x
02-23-2014, 10:24 AM
Thanks. Installed.
Very good, thank you

Alan_SP
02-23-2014, 11:08 AM
Excellent idea. :up:

Thangvip9x
02-23-2014, 11:25 AM
Excellent idea. :up:
Thank you, I appreciate your comment

ezak
02-24-2014, 05:53 AM
very nice installed

you can use this image also

https://vborg.vbsupport.ru/

Thangvip9x
02-24-2014, 09:35 AM
very nice installed

you can use this image also

https://vborg.vbsupport.ru/

Thank you :up:

Nirjonadda
02-24-2014, 04:06 PM
very nice installed

you can use this image also

http://img.gem-flash.com/images/93835362767893839705.png

Please can you Make a Transparent PNG ?

Thangvip9x
02-24-2014, 09:49 PM
Please can you Make a Transparent PNG ?
This is the PNG image file format

faisaly.com
02-24-2014, 11:25 PM
here you go if you want that image transparent.

Thangvip9x
02-28-2014, 09:49 PM
here you go if you want that image transparent.

Thank you for your action

Muhammad Rahman
03-24-2014, 11:55 PM
work charm on 4.2.1 .. installed, thanks .., :D