2020-11-10, 04:32 AM
(This post was last modified: 2024-07-18, 12:52 AM by Laird. Edited 17 times in total.)
Link Tools extracts the links (URLs) in posts made to your forum, and then provides you with four new features:
Link Tools considers to be a link anything that MyBB core also considers to be a link:
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.
Requirements
Licence
Link Tools is licensed under the GPL version 3.
GitHub Repository
https://github.com/mybbgroup/Link-tools
Collaboration and maintenance
Link Tools is a project of the unofficial MyBB Group.
Its MyBB Group thread is:
https://mybb.group/Thread-Link-Tools
Feel free to report bugs and issues there, on GitHub, or here on the community forums.
- 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.
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.
, andwww.
.
- When they are the same except for their protocol:
http://
versushttps://
.
- 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.
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.
Requirements
Licence
Link Tools is licensed under the GPL version 3.
GitHub Repository
https://github.com/mybbgroup/Link-tools
Collaboration and maintenance
Link Tools is a project of the unofficial MyBB Group.
Its MyBB Group thread is:
https://mybb.group/Thread-Link-Tools
Feel free to report bugs and issues there, on GitHub, or here on the community forums.