MyBB Community Forums

Full Version: how should i do this?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hello,

what exactly i want to do is,

I totally want to disable [img][/img] tags in my board.

and even those posts which already contains img tags should also get disabled.

how should i do this.
Admin CP --> Forum Management --> Manage Forums --> *Forum to disable [img] tags and click Edit* --> Allow [img] Code
Awesome.. thx .

But I can find the [img][/img] tags still . I dont want to be there.

ie., if I post a link im getting like this [img]link[/img] even link is not active. I dont want to displat the tags , what should I do?
The easiest way to do this would be to Add a Custom MyCode:

Regular Expression:
\[img\](.*?)\[/img\]
Replacement:
<!-- Image Removed -->
can you please tell me where should I modify the above things.
I believe you'd find them here:
Admin CP --> Message Filters --> Custom MyCode --> Add MyCode
thx, but after doing the above things ie.,Add MyCode

Totally I am not able to view the image link even.
What i want exactly is only the tag should be disapeared not the link.

the links should be visible inspite of the image or image tag.
If you mean you want a link to the image instead of just showing the image, change your replacement code to this:
<a href="$1">$1</a>
thx alot, its working.

If I want to make the already posted image attachemnt to show as link, what should i do?

I selected "As Download Link" in "Show Attached Thumbnails in Posts" but its not affecting in previously posted posts.

thx in advance