Link Tools
Extracts the links (URLs) in posts made to a forum, and then provides link previews, seamless link searching, a duplicate link warner, and link limiting
Compatibility
Requirements
Features- Link previews. A preview box at the bottom of the post is generated for each link in a post. Different types of preview can be generated for different sites/content, as supported by a customisable Link Previewer framework.
- Seamless link searching. Just type a link (URL) into the default field ("Keyword") of the standard MyBB search form and Link Tools will intercept the search and provide accurate results: only posts which contain the link or its equivalent will be listed. The default MyBB search when set to Full Text does not handle links at all well and typically returns results completely unrelated to the link for which you searched.
- A duplicate link warner. When a member is starting a new thread, s/he will be warned if any links (URLs) that s/he includes in the thread-starter have already been posted to the board. This feature is especially useful when your board is heavily resource-based and there is a risk of members starting duplicate discussions about resources (links and videos) that have already been discussed.
- Link limiting. This allows for limiting of the number of links that may be posted by each member in each of a given set of usergroups in a given set of forums over a given (rolling) period. The administrative interface is at Forums & Posts » Link Posting Limits, and supports in-page editing, deletion, and addition of limit rules.
What qualifies as a link?
Link tools considers to be a link anything that MyBB core also considers to be a link:
- The URLs in url tags.
- The URLs in video tags.
- Bare URLs: those beginning with http://, https://, ftp://, ftp., and www..
How are links determined to be identical?
Link Tools handles all of the different ways in which two links can look different but be the same (resolve to the same page):
- When they are the same except for their protocol: http:// versus https://.
- When one has a www. prefix and the other does not.
- When they have the same query parameters but in a different order.
- When one has a redundant query parameter - e.g., the fbclid query parameter added by Facebook - and the other does not.
- When their domains are capitalised differently.
- When one redirects (potentially via multiple redirects) to the other, e.g., when a URL shortening service like https://bitly.com/ is used to create a short URL which redirects to the target URL.
- When both redirect (potentially via multiple redirects) to the same final link, e.g., when two different "shortened" URLs redirect to the same target URL.
Note that the redirects recognised by Link Tools are: HTTP redirects, HTML meta tag redirects, and "canonical" HTML link tags.
The first five differences are eliminated via "normalisation" of URLs.
The final two are eliminated by querying the URLs until the terminating URL is found. This is done using the cURL PHP functions.
Licence
Installing, upgrading, and customising
Please see the plugin's
README.md.
GitHub Repository Link
MyBB Extend Page Link (Download Here)