hemant_bhardwaj Well-known member Nov 11, 2018 #1 well i am getting fetal error wehn i try to access it through listener listener thread.php Last edited: Nov 11, 2018
XenConcept Well-known member Nov 11, 2018 #2 Hello, Why not extend via class extensions admin.php?class-extensions/add Regards XenConcept Attachments Screenshot_1.webp 10.6 KB · Views: 23
X Xon Well-known member Nov 12, 2018 #3 You are mixing class extensions with static code event listeners. Adding a method to an entity class must be done via the class extension system.
You are mixing class extensions with static code event listeners. Adding a method to an entity class must be done via the class extension system.
X Xon Well-known member Nov 12, 2018 #4 Also, your regex has a case insensitive match option but you are testing for img|IMG bbcode tags. Additionally, that regex will fail on the new XF2.1 [img] format. Example; [IMG align="left" width="337px" alt="PHP versions"]
Also, your regex has a case insensitive match option but you are testing for img|IMG bbcode tags. Additionally, that regex will fail on the new XF2.1 [img] format. Example; [IMG align="left" width="337px" alt="PHP versions"]
hemant_bhardwaj Well-known member Nov 12, 2018 #5 Xon said: Also, your regex has a case insensitive match option but you are testing for img|IMG bbcode tags. Additionally, that regex will fail on the new XF2.1 [img] format. Example; [IMG align="left" width="337px" alt="PHP versions"] Click to expand... ahh then how can i get the external image thoud i raget
Xon said: Also, your regex has a case insensitive match option but you are testing for img|IMG bbcode tags. Additionally, that regex will fail on the new XF2.1 [img] format. Example; [IMG align="left" width="337px" alt="PHP versions"] Click to expand... ahh then how can i get the external image thoud i raget