Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Add filter problems
#15
You could use components or my hook_components plugin and target specific pages with a simple $id check, or use different templates for those pages with php in the template.

using eval on a content field breaks in wysiwyg editors and open you up for any kind of imaginable php code injection.

This is still a terrible plugin, even if I fix it. And if i fix it, then anyone using it that uses the return might get unexpected results.

But it might be best to release a different version with safely wrapped code tags, limited php execution protection, and a way to support anyone that is using modifying content with a return closure instead of outputting.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply


Messages In This Thread
Add filter problems - by cumbe - 2012-01-27, 00:57:34
RE: Add filter problems - by shawn_a - 2015-07-26, 00:40:26
RE: Add filter problems - by shawn_a - 2015-07-26, 00:44:59
RE: Add filter problems - by df8oe - 2015-07-26, 18:07:50
RE: Add filter problems - by shawn_a - 2015-07-27, 01:13:00
RE: Add filter problems - by shawn_a - 2015-07-27, 01:49:11
RE: Add filter problems - by df8oe - 2015-07-27, 02:44:53
RE: Add filter problems - by shawn_a - 2015-07-27, 05:22:46
Add filter problems - by mvlcek - 2012-01-27, 01:03:38
Add filter problems - by cumbe - 2012-01-27, 02:26:55
Add filter problems - by shawn_a - 2012-01-27, 02:40:44
Add filter problems - by cumbe - 2012-01-27, 18:56:21
Add filter problems - by cumbe - 2012-01-28, 03:32:07
Add filter problems - by shawn_a - 2012-01-28, 03:48:54
RE: Add filter problems - by df8oe - 2015-07-25, 20:43:12



Users browsing this thread: 1 Guest(s)