
Link Tools
Keeps track of links (URLs) in posts and then provides four link services: (1) link previews, (2) seamless link searching, (3) duplicate link warning, and (4) link limiting.
Project Details
Link Tools extracts the links (URLs) in posts made to your forum, and then provides you with four new features:
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.
Installing
Upgrading
- Link previews. A preview box is generated for each link in a post, just below the paragraph in which the link occurs. 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.
- 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.
Installing
- Download. Download an archive of the plugin's files.
- Copy files. Extract the files in that archive to a temporary location, and then copy the files in "root" into the root of your MyBB installation. That is to say that "root/linktools.php" should be copied to your MyBB root directory, "root/inc/languages/english/linktools.lang.php" should be copied to your MyBB root's "inc/languages/english/" directory, etc.
- Install via the ACP. In a web browser, open the "Plugins" module in the ACP of your MyBB installation. You should see "Link Tools" under "Inactive Plugins". Click "Install & Activate" next to it. You should then see the plugin listed under "Active Plugins" on the reloaded page.
- Extract links from existing posts, if any. In the plugin's listing, if your board contains any posts, you will see a warning prompt to run link extraction on those posts. Click the "here" button (styled as a plain text link) to do this.
- Resolve terminating redirects for extracted links, if any. Return to the plugin's listing, and if any links were extracted in the last step, you will see a warning prompt to run terminating link resolution on them. Again, click the "here" button (again, styled as a plain text link) to do this.
Upgrading
- Deactivate. In a web browser, open the "Plugins" module in the ACP of your MyBB installation and click "Deactivate" beside the "Link Tools" plugin.
- Download and Copy files. As in steps one and two for installing above.
- Reactivate. As for step one but clicking "Activate" rather than "Deactivate".