View Full Version : Can anyone suggest a good way to show URLs in [IMG] tags as links for a style?
I have a "worksafe" style and would like to show embedded images as links. I can't use replacement variables since that would kill all images. Any suggestions or any hacks you can think of that do something similar that I could adjust?
Lynne
04-17-2009, 09:40 PM
Create a plugin that does a search/replace only in the posts then. You could probably use the postbit_display_complete hook location. Change find and replacewith to what you want:
$this->post['message'] = str_replace(find, replacewith, $this->post['message']);
i guess just wrap it in a condition for that particular styleid also.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.