Steve – you asked me a few days ago about the format of the sp_get_auth() api function entry that you created as a starter. Thought I would answer that here with my comments and thoughts. So – in no particular order…
- Need to add the initial version number (see another topic)
- Inconsistent use of argument variable names – particularly $id and $forumid. Reckon we need to be very explicit and consistent on this in each function and across all functions. Same goes for $check? Would not $permission be a better variable name to use?
- What happened to the formatted code examples? They looked good when you used them before…
- Perhaps a pain but I would suggest a new sub-section of ‘Scope’ where we can document if the file is loaded globally on the site or just on forum pages.
- And – specific to this one and just as a reminder – I think we will need to list the actual permission names or at least have a link to them somewhere.

