Improved createList providing a new function to check the results and define a class/style for the row based on that
converted the list of a user's attachments to createList

Signed-off-by: emanuele <emanuele45@gmail.com>
! Unify errrors in the top-level posting functions a bit and offer mods to hook their own errors into the miix
If pacman doesn't know the action is better to report a nice error rather than die with php error messages

Signed-off-by: emanuele <emanuele45@gmail.com>
another clear to separate pages and moderated posts

Signed-off-by: emanuele <emanuele45@interfree.it>
Fixed an undefined index error - thank Illori for the report

Signed-off-by: emanuele <emanuele45@gmail.com>
It's always better to initialize variable...unless you want to have troubles... fixed a bug in deny board access that when denied it was impossible to move back to allowed

Signed-off-by: emanuele <emanuele45@gmail.com>
Hide attachments permissions if attachments are disabled - thanks Illori for the report

Signed-off-by: emanuele <emanuele45@gmail.com>
Merge branch 'master' of https://github.com/SimpleMachines/SMF2.1
Let's at least check if the function exists first (any mod should be able to include files from the hook itself)

Signed-off-by: emanuele <emanuele45@gmail.com>
As per Ant request and as per logic: we are not going to support pre-SMF 2.0 RC2 themes any more, so compat.css can become history

Signed-off-by: emanuele <emanuele45@gmail.com>
+ logActions; logs multiple actions in one query

Also add integrate_log_types

Signed-off-by: John Rayes <live627@gmail.com>
Use logActions() to log deleted members in one go

! $post_errors is always empty in deleteAccount2(), so don't check for
it; also, don't pass it and $profile_vars, nothing is done to them
!  Log the member's display name, cannot be inconsistent here
Moved integrate_delete_members to function end so it'll be called only
once; more logical this way
Add integrate_profile_save

Signed-off-by: John Rayes <live627@gmail.com>
Use logActions() to log multiple custom profile field changes in one go

Add hooks:
integrate_load_profile_fields
integrate_save_custom_profile_fields

Signed-off-by: John Rayes <live627@gmail.com>
Yes, as live627 (John Rayes) highlighted, better do things the right way

Signed-off-by: emanuele <emanuele45@gmail.com>
Fix for boardsAllowedTo

Signed-off-by: emanuele <emanuele45@gmail.com>
[install] Removed a couple of css from the past (classic theme) - thanks Illori for the report

Signed-off-by: emanuele <emanuele45@gmail.com>
Merged template_javascript and template_javascript_vars (the second never called) and moved to Subs.php because it's useless to have those functions repeated in each and every theme - Thanks marcusforsberg for the suggestion

Signed-off-by: emanuele <emanuele45@gmail.com>
! News fader didn't fade items

Signed-off-by: John Rayes <live627@gmail.com>
When checks for a new permission are added all over the place...well, it would be nice to add it to ManagePermissions too. Added send_email_to_members... lol

Signed-off-by: emanuele <emanuele45@gmail.com>
Convert long_message to use the new array formula as suggested by emanuele

Signed-off-by: John Rayes <live627@gmail.com>