Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 9 Years, 1 Month, 4 Weeks ago Permit display of uploaded images for selected users
#5
Solved: 9 Years, 1 Month, 4 Weeks ago
This could be user specific by choosing what users can use the img MyCode like this.
Admin CP -> Configuration -> MyCodes -> new MyCode
Name: Image
Description: An image tag.
Regular Expression:
\[img-attach=(.*?)\]

HTML Replacement:
<img src="http://path_to_forum.com/attachment.php?aid=$1" />

Usage in MyCode:
[img-attach]

You can add permissions like what forums it can be used in and what groups can use it with Advanced MyCode Permissions.

But then Leefish's suggestion is a lot more simple.


Messages In This Thread
RE: Permit display of uploaded images for selected users - by JordanMussi - 2012-11-21, 08:23 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)