Welcome to novaBBS (click a section below)
|mail  files  register  newsreader  login|
|post(.inc).php modifications||Retro Guy|
|Re: post(.inc).php modifications||vga256|
I have modified post.php and lib/post.inc.php to remove somewhat duplicate function:
message_post_with_attachment has been removed and all features of this function have been added to message_post.
I created the '_with_attachment' function a long time ago when adding attachment support and it has remained, but mods and fixes I've been applying to mostly just 'message_post'. That leaves the first function out of date.
You may have modified these files, so if you want to add this change, just delete the function 'message_post_with_attachment', and overwrite 'message_post' with the new copy in lib/post.inc.php.
Then modify 'post.php' to call 'message_post' instead of 'message_post_with_attachment' like this:
This is the only place 'message_post_with_attachment' was called.
Looks great. Will implement.
Posted on Rocksolid Light