• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 remove all sorts font in forum with regular expressions

jamalfree

Active member
#1

Attachments

Brogan

XenForo moderator
Staff member
#2
Try this.

Quick Find:
Code:
[font
Regular Expression:
Code:
#\[font=([^\]]+)\](.*)\[/font\]#siU
Replacement String:
Code:
\2
Take a backup first as I haven't tested it.
 

Brogan

XenForo moderator
Staff member
#4
Quick Find:
Code:
[color=[/code]

Regular Expression:
[code]#\[color=[^\]]+\](.+)\[/color\]#siU
Replacement String:
Code:
\1
 

jamalfree

Active member
#6
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 99480 bytes) in /home/xxx/public_html/xxx/library/Zend/Db/Statement/Mysqli.php on line 294
 

jamalfree

Active member
#9
if i run addon and he clean my db and if he stopped and i get error and i run addon again to finish his job is correct way or not; perhaps i get problems in
 

Brogan

XenForo moderator
Staff member
#10
The recommended minimum for XF is 128M, which is actually the PHP default.

You should contact your host and ask them to increase it (or you can try doing it in php.ini - memory_limit).