For example if you type "Wagic", the script should detect it in your post, and if you move your mouse over it, it will give you some information.
I made it with performance in mind, therefore it has a few limitations:
- If the page is big, the links will take some time to appear. This is to avoid the script taking too much resources on your machines.
- The script is limited to 500 homebrews for now. In order to help people discover new content, the homebrews are a mix of the most succesful homebrews and homebrews that are not getting enough attention.
You can help make this functionality better!
Broken link? New version? A homebrew should get a popup?
You can add homebrews to our database by following the instructions here: viewtopic.php?f=2&t=9380
As we add more homebrews and download links, the plugin will become more and more useful
And keep voting for your favorite homebrews on /Downloads. It's simple (1 click to rate, no login required), and it will help the plugin choose the most important homebrews!
Add this plugin to your own forum/website!
I made this plugin so that it can be used on your own site if you are interested. To add the plugin to your forum, just add the following lines just before the closing "body" tag of your website:
- Code: Select all
This will add the script to your entire page. If you want to fine-tune where the script runs, you can define the global variable w_classes, which will then apply the plugin only on divs of the matching classes. For example, a good value for a phpBB forum is:
- Code: Select all
This will apply the plugin only to posts and signatures, and not to other parts of the site.
alternatively, you can download hblist.js and downloads.js on your own servers if you prefer. Note however that the file hblist.js gets updated regularly with a more accurate list of homebrews. You can also create your own list of homebrews to replace hblist.js (the format is straightforward: string to match, and id of the download page, as long as it matches an entry on /Downloads) if you want
I've tested this plugin a lot on various browsers, but please let me know if you run into problems.
What do you think?