OK, I've installed this on a site now. Unfortunately many language strings weren't in the language file so I had to do a lot of editing. Unfortunately I didn't remember about Ruttos changed version, so I did my own. I'll attach my version anyway, since it includes a Swedish translation of the language file as well. Also, I changed the date() call to use threads internal convert_time() so that the date format will be the same as for the forums.
I managed to get this to work with threads 6.1, I only needed to remove the calls to get_input() and copy the table_wrapper() function from a newer version of ubbt.inc.php.
A few notes:
The string "(Member)" which is attached to usernames in the lists would look better if it was outside the link text. No biggie though.
When running links.php the first time before the tables are setup, there are a lot of errors. It would much cleaner if the script would check if the tables are created and if not, just show the link to create them.
Add title="" description to all Edit/Delete images so that tooltips work for Mozilla/Netscape.
When the table has been created, remove the bolded text at the top of the admin page to avoid confusion.
An approval mail is sent when an admin adds a link as well, even though they are auto approved.
The approval mail should include all information about the link as well as a link to the approval page.
When a link is approved (or not approved) a mail should go out to the submitter with a notification.
The category titles should be read from the database and not passed in the url like it is now.
Using special characters in category titles results in them and all extra text getting lost when showing a category. That is, things like + and &.
Some feature suggestions
Report this link, to notify the admin of broken links and such.
Multi-level categories. Instead of just one level, let categories be able to be children to any category.
Randomize link - for some fun browsing
Searching - Even better if this could be integrated in threads search function, but that would require modding, which might not be so good.
With many links in a category, it would be good to show only x links at a time.
Move all html into templates for each page, just like in threads. Code that is the same on all pages should be in their own templates as well. Changing the way a link is shown in several different places isn't fun.
XHTML-compliancy. It's not there yet.
Cool links, let admins set a flag on some links to show them as cool. These should always be listed at the top in the list, as well as having a little cool icon next to it.
Ability to have categories for each forum automatically. I decided to have the same categories as forums, so it would be great if that could be done without having to add them by hand.
When clicking on Submit link, the category you are in should be pre-selected.
A validity check script that can be run from time to time, which checks that the links are still valid. If it isn't, a counter should be increased, when it hasn't worked for x times, the link should be unvalidated again and the admin notified. If the link is again reachable, the counter should be reset.
BTW, did I say that the script works great and is very useful?
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.