As discussed in #13 This adds two additional option to the plugin settings page, a checkbox to allow unregistered users to post links, and a dropdown to choose a user to assign all anonymous links to. If both of those options are selected, unregistered users can see the Add Link widget, and submit links through it.
The function gad_reclink_flush_rules() introduced in ffc1c69 had the potential of flushing rules on every page load under certain conditions (if not using rewrite rules, in which case it would be kind of silly, or if using permalinks bu not having an archive page set up, in which there could be a real performance drag.
Fixes issue #15 and possibly some other similar bugs Because the global variable $comment was still filled with the last comment on the page, the score, author, and post link in any links displayed in the widget were being pulled from the last comment on the current post or page.
Hardcodes rewrite rules for paginated archives with each of the filtering options (hot, newest, current, score, controversial). This partially addresses the bug in #12 (where the "next posts" link would generate a faulty URL like 'reclinks/?sort=newest/page/2' which didn't resolve into a proper query). Now the URL 'reclinks/newest/page/2' will work. Still need to fix the functions which generate URLS with the '?sort=' query string in the first place... Also, I plan to allow the option of creating actual page stubs for each of the sort options; just haven't figured out the best way of handling that yet.
…s set as front page or any other page where additional WP query vars are discarded
current trunk. I moved the reclinks_install function and related upgrade functions into the admin_init hook for better stability, as well as fixed a undefined variable bug.
…P admin edit-post page
override everything else. Also, added a shortcode to display a list of buttons to change sort order.