From: <vb...@us...> - 2002-10-06 15:23:39
|
Update of /cvsroot/webnotes/webnotes/doc In directory usw-pr-cvs1:/tmp/cvs-serv15062/doc Modified Files: ChangeLog INSTALL SCRATCHPAD Log Message: - Fixed a parsing error in e-mail api. - Fixed an undefined variable when using the action.php upon indexing/un-indexing a page. - Fixed a problem with the timestamp in the preview page. - Removed the Manage Pages from the menu. - Updated the Change Log. - Updated the Install document. - Updated db_generate.sql / db_upgrade.sql. - Changed the default password encryption to be MD5. Index: ChangeLog =================================================================== RCS file: /cvsroot/webnotes/webnotes/doc/ChangeLog,v retrieving revision 1.24 retrieving revision 1.25 diff -u -d -r1.24 -r1.25 --- ChangeLog 3 Oct 2002 06:01:26 -0000 1.24 +++ ChangeLog 6 Oct 2002 15:23:36 -0000 1.25 @@ -5,7 +5,7 @@ phpWebNotes -??.10.2002 - 2.0.0 +06.10-2002 - 2.0.0pr1 (2.0.0 pre-release 1) * Fixed bug causing weird "headers already sent in whatever" errors on some servers * convertToPHP3 script removed * Added directory core/ to include source files that are not accessed directly through the web. @@ -16,7 +16,7 @@ * Added directory sample/ to contain sample files that can be used to test phpWebNotes. * Cleanup of all files for better readability and complying with coding standards. * Change the extension of the language files to .php rather than .txt. - * Moved to XHTML (not tested yet) + * Moved to XHTML * Integrated the Italian/French strings into cvs. * Added support for themes (#2). * Added admin_pending.php to allow moderating notes in any order (#10). @@ -24,7 +24,7 @@ * Added $g_auto_index_pages to allow auto-indexing for pages which call phpWebNotes but are not indexed. Default is ON. * Added the preview note support * Added support for MD5 and plain password authentication (with MD5 as the default). - * Changed the encrypted password field size from 16 to 32 characters. + * Changed the encrypted password field size from 16 to 32 characters (for MD5 support). * Added warning to login page, if default account is not disabled. * Added warning to login page, if plain passwords are used. * Fixed a problem in db_generate.sql where the administrator account had access level 0 and was not enabled. @@ -39,8 +39,10 @@ * Added pwn_api.php to act the the main interface to phpWebNotes. * Added support for Last Updated timestamp for pages. * Added support for emotions icons. + * Added support for icq online status when detecting the format: "icq://9999999". * Added support for the enabled field in the user table. * Added $g_auto_set_email to allow defaulting e-mail for logged in users. + * Added support for parent page + APIs to allow easy support for PHP-like Manuals. 03.12.2000 - 1.0.0 Index: INSTALL =================================================================== RCS file: /cvsroot/webnotes/webnotes/doc/INSTALL,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- INSTALL 2 Oct 2002 02:43:21 -0000 1.10 +++ INSTALL 6 Oct 2002 15:23:36 -0000 1.11 @@ -38,16 +38,23 @@ database. Also, don't forget to input the correct directory paths. 5. For every page that you want notes to be available you will need to convert -their extension to one that is interpreted by PHP. Then insert these lines -into the bottom of the document (before the </body> tag): +their extension to one that is interpreted by PHP. Then: + +Insert the following inside the <head> </head> tag): <? - require_once("/mypath/core/api.php"); # replace with actual path - print_web_notes( 'my-page-logical-name', $PHP_SELF ); + require_once('/mypath/core/api.php'); # replace with actual path + pwn_head(); ?> -You can replace the 'my-page-logical-name' with __FILE__ if you don't want to -assign ids to the pages. +Insert the following into the bottom of the document (before the </body> tag): + +<? + pwn_body( 'my-page-logical-name', $PHP_SELF, $page_prev, $page_next, $page_parent ); +?> + +You can replace the 'my-page-logical-name' with __FILE__ or basename( __FILE__ ) +if you don't want to assign ids to the pages. The require_once argument should be the absolute path to your installation of phpWebNotes. It should not be relative to what your browser would see. @@ -66,13 +73,13 @@ 8. If you need the notes to be moderated before they appear on the webpage then leave $g_auto_accept_notes = OFF, otherwise set it to ON and go to step 11. -9. Notes will be added to a queue. They need to be approved by the -administrator before they will become visible. You can do this from the admin -section by choosing "View Queue". +9. Notes will be added as pending. They need to be approved by the moderator/ +administrator before they will become visible. This can be done by loggin in and +then visiting the page. All notes will have the actions next to them, to approve +a note, the [ Accept ] action should be clicked. -10. You can edit or delete notes later on by going to the page and selecting -Manage. This option will only be available if you have logged in as an -administrator. +10. You can edit or delete notes later on by going to the page. This option will +only be available if you have logged in as a moderator/administrator. ------------------------------------------------------------------------------- ### Troubleshooting ### Index: SCRATCHPAD =================================================================== RCS file: /cvsroot/webnotes/webnotes/doc/SCRATCHPAD,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- SCRATCHPAD 26 Sep 2002 12:03:59 -0000 1.2 +++ SCRATCHPAD 6 Oct 2002 15:23:36 -0000 1.3 @@ -10,7 +10,6 @@ To-Do list: * Be able to reverse the display order (vb: they may already be supported) - * Consider re-using some APIs like config_api.php / lang_api.php / database_api.php / php_api.php / gpc_api.php from mantisbt. * Add access_api.php - note_accept() / decline() / update() / delete() should check the access level. * Consider supporting html only pages. This can be done by a php loader page + some other tricks (output buffering?) * Indexing page |