Relating to the following discussion:
I used VigLink in the past and long after I removed the add-on and deleted its associated data, I've noticed lots of "viglinks" still in the discussions of my communities.
I brought it up in the topic below but never knew what was causing the issue until this post:
So now I need a good solution to FIND all text with "viglink" and remove the URL. Is there an add-on that exists that will do this?
I'm trying to remove these remnant viglinks that still exist long after I've uninstalled the VigLink add on. This post explains why they're still showing up:
OK, I just remembered why you're seeing those links. At one point, VigLink had a service where they would create product links out of certain keywords on the site. Those links were inserted by them, so they are all hard-coded with the viglink.com URL.
Product links pasted into posts by members were never rewritten, so those would still be valid URLs.
The only way I could think of to remove the links would be to use the content find and replace addon and use regular expressions to remove those links. That is beyond my knowledge, but someone else may be able to help.
In any event, the VigLinks look like this:
Code:
https://redirect.viglink.com/?format=go&jsonp=vglnk_172485894788610&key=b617ddd562e3b6e9c916999f0745de59&libId=m0e0hccj01000b3h000ULqfqvkczaz3jp&loc=https%3A%2F%2Fpontiacforum.com%2Fpontiac%2Fthreads%2F1998-2002-y87-firebird-identification.39586%2F%23post-117590&v=1&opt=true&out=http%3A%2F%2Fi.viglink.com%2F%3Fkey%3D2ecd8bc9fcc7034251aad35a31b16337%26insertId%3Defd9b8a17188ef61%26type%3DM%26exp%3D60%253ACI1C55A%253A1%26libId%3Dk8agt6is01000b3w000MAbwxxrs7l%26loc%3Dhttps%253A%252F%252Fcamaroforums.com%252Fforum%252F93-02-v6-tech-14%252F3800-performance-package-y87-40820%252F%26v%3D1%26iid%3Defd9b8a17188ef61%26opt%3Dtrue%26out%3Dhttp%253A%252F%252Fwww.ebay.com%252Fsch%252FeBay-Motors-%252F6000%252Fi.html%253F_from%253DR40%2526_nkw%253Drear%252Bbrakes%26ref%3Dhttps%253A%252F%252Fwww.google.com%252F%26title%3D3800%2520performance%2520package%2520(y87)%2520-%2520Camaro%2520Forums%2520-%2520Chevy%2520Camaro%2520Enthusiast%2520Forum%26txt%3D%253Cspan%253Erear%2520%253C%252Fspan%253E%253Cspan%253Ebrakes%253C%252Fspan%253E&title=(68)%201998%202002%20Y87%20Firebird%20identification%20%7C%20Pontiac%20Owners%20Group&txt=rear%20brakes
I'm trying to figure this out myself but am not having any luck. What should I be using for the items below?
Quick Find:
Regular Expression:
Replacement String:
Whatever I'm trying gives me the following error:
ErrorException: [E_WARNING] preg_match_all(): Delimiter must not be alphanumeric, backslash, or NUL in src/addons/XFPR/Admin/Controller/PostReplace.php at line 41
XF::handlePhpError()
preg_match_all() in src/addons/XFPR/Admin/Controller/PostReplace.php at line 41
XFPR\Admin\Controller\PostReplace->actionReplace() in src/XF/Mvc/Dispatcher.php at line 352
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 258
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2485
XF\App->run() in src/XF.php at line 524
XF::runApp() in admin.php at line 13