ThanksNo, it's just for post content.
UPDATE xf_post SET message = REPLACE(message, '[photo=small]', '[GALLERY=media, ');
UPDATE xf_post SET message = REPLACE(message, '[photo=medium]', '[GALLERY=media, ');
UPDATE xf_post SET message = REPLACE(message, '[photo=large]', '[GALLERY=media, ');
UPDATE xf_post SET message = REPLACE(message, '[/photo]', '][/GALLERY]');
UPDATE xf_post SET message = REPLACE(message, '[album=small]', '[GALLERY=album, ');
UPDATE xf_post SET message = REPLACE(message, '[album=medium]', '[GALLERY=album, ');
UPDATE xf_post SET message = REPLACE(message, '[album=large]', '[GALLERY=album, ');
UPDATE xf_post SET message = REPLACE(message, '[/album]', '][/GALLERY]');
![]()
Hello, I am trying to replace hshop by hshopp on my forum once the addons launch nothing changes however the addons finds the text to be replaced would you have an idea? Thank you
Please can someone explain me better from where to change these things? Because I'm having the same error...
[url=http://www.youtube.com
SERVER REGISTRY ERROR
ErrorException: [E_WARNING] preg_match_all(): Empty regular expression src/addons/XFPR/Admin/Controller/PostReplace.php:41
Generated da: marko 7 Aprile 2020 alle 15:36
STACK CHECK
#0 [internal function]: XF::handlePhpError(2, '[E_WARNING] pre...', '/home/users/roo...', 41, Array)
#1 src/addons/XFPR/Admin/Controller/PostReplace.php(41): preg_match_all('', 'ciao,
assolutam...', NULL)
#2 src/XF/Mvc/Dispatcher.php(350): XFPR\Admin\Controller\PostReplace->actionReplace(Object(XF\Mvc\ParameterBag))
#3 src/XF/Mvc/Dispatcher.php(261): XF\Mvc\Dispatcher->dispatchClass('XFPR:PostReplac...', 'Replace', Object(XF\Mvc\RouteMatch), Object(XFPR\Admin\Controller\PostReplace), NULL)
#4 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XFPR\Admin\Controller\PostReplace), NULL)
#5 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#6 src/XF/App.php(2184): XF\Mvc\Dispatcher->run()
#7 src/XF.php(391): XF\App->run()
#8 admin.php(13): XF::runApp('XF\\Admin\\App')
#9 {main}
REQUEST STATUS
array(4) {
["url"] => string(31) "/admin.php?post-replace/replace"
["referrer"] => string(65) "https://www.sigarettaelettronicaforum.com/admin.php?post-replace/"
["_GET"] => array(1) {
["post-replace/replace"] => string(0) ""
}
["_POST"] => array(4) {
["quick_find"] => string(8) "Fasttech"
["regex"] => string(0) ""
["replace"] => string(2) "FT"
["_xfToken"] => string(8) "********"
}
}
[IMG]http://i64.tinypic.com/2zgg086.jpg[/IMG]
We use essential cookies to make this site work, and optional cookies to enhance your experience.