Commit Graph

125 Commits (1b66966a4b8e7da26bf87e5617f81b051959798e)

Author SHA1 Message Date
Dries Buytaert 9d1d40e609 - Patch by Richard: 'users' appearing twice in menu. 2006-01-06 07:42:31 +00:00
Steven Wittens b43fa0f9da - : global urlencode() for menu paths 2005-12-22 22:58:12 +00:00
Dries Buytaert 21707ae0e6 - Modified patch by chx: profile category 'account' overwrites regular user fields. 2005-12-15 16:34:48 +00:00
Dries Buytaert 4b9cd4fcd6 - Patch by wtanaka: profile listing carries over people's data on subsequent users. 2005-12-03 17:12:56 +00:00
Steven Wittens a5c43ec402 - : Respect weighting in profile browse pages
- Fix non-pgsql compliant ORDER BY queries
- Clean up ugly section that used db_escape_string()
2005-11-24 20:54:22 +00:00
Dries Buytaert 86db338c64 - Patch #/38339 by crunchywelch: make the profile module display fields properly. 2005-11-23 10:43:30 +00:00
Dries Buytaert 61ebf7b56b - Patch by webchick: fixed dependency of date selection form element on profile module. 2005-11-21 09:42:14 +00:00
Dries Buytaert 30059b1a59 - Patch by darius: fixed forms API glitches. 2005-11-13 08:33:44 +00:00
Dries Buytaert aeed4cd8e4 - Patch by webchick: forms API simplificiations. 2005-11-12 11:26:16 +00:00
Dries Buytaert a8b218827a - Patch by webchick / Kieran / documentation team: improved admin help of core modules! / 2005-11-01 10:17:34 +00:00
Steven Wittens f31db8d70f - : Search query containing / results in 404 on clean URLs. 2005-10-21 11:14:55 +00:00
Steven Wittens 5f0e0f3649 - : More form API fixes, and error handling improvements by Chx. 2005-10-13 10:02:31 +00:00
Dries Buytaert 75fe6b6c0a - Patch by chx, adrian, et al: another batch of form API changes/fixes. 2005-10-11 19:44:35 +00:00
Dries Buytaert a1ae4da70b - Removing tabs and trailing whitespaces. 2005-10-07 06:51:43 +00:00
Dries Buytaert 7e1527ee61 - Patch : new form API by Adrian et al.
TODO:
  + The contact.module was broken; a new patch for contact.module is needed.
  + Documentation is needed.
  + The most important modules need to be updated ASAP.
2005-10-07 06:11:12 +00:00
Dries Buytaert 125fa0189e - Patch by Thox: fixed author information block. 2005-09-19 14:59:44 +00:00
Dries Buytaert 4005922332 - Patch by Ber: make it easier to theme the user profile pages. 2005-09-14 21:16:00 +00:00
Dries Buytaert f3cb254cb7 - Patch by chx: custom registration fields should appear on admin/user/create. 2005-09-08 19:32:31 +00:00
Dries Buytaert e6f4f5ab14 - Patch by Robert: the two theme functions in profile.module both violate good theming practice by running user control logic in the middle of them. Worse yet, this isn't immediately visible since it happens in yet another function. Thus themers overriding these functions to style profile pages inadvertently break access control, thus leading to the misperception that overriding theme functions is inherently dangerous. 2005-09-06 20:39:10 +00:00
Dries Buytaert d57db29ee3 - Patch by Robert Douglas: fixed problem with author information block.
(Looks like MySQL rewrites ORto IN() internally.)
2005-09-06 19:05:10 +00:00
Dries Buytaert 7b8a409675 - Patch by chx: no ?> add end of files. 2005-08-25 21:14:17 +00:00
Dries Buytaert f3b28d37d1 - Patch by Robert Douglas: simplified code, removed SQL query. 2005-08-10 20:52:00 +00:00
Dries Buytaert 63a10fdce8 - Bug 23810: removed redundant variable from SQL query. 2005-08-10 20:48:40 +00:00
Dries Buytaert 7625a4e91a - Patch by Gerhard: format_name($object) -> theme('username', $object).
Usernames can now be themed; eg. an icon/avatar could be added.

  TODO: update contributed modules + update the migration docs.
2005-08-01 05:14:05 +00:00
Steven Wittens e4096e1418 - : Rename check_output() to check_markup(). Needs contrib updates! 2005-07-29 21:06:33 +00:00
Dries Buytaert 58aee8cdad - Patch by Stefan: made the sizes of forms consistent.
TODO: document the defaults in the PHPdoc comments.
2005-06-27 18:33:33 +00:00
Dries Buytaert 8436082fe1 - Removing some whitespace 2005-06-06 14:07:04 +00:00
Steven Wittens 1a3f0ddb86 - : urlencode() profile field names and values in the URL (any dynamic data in an url should be urlencoded to prevent characters like # and & from being interpreted by the browser/server). 2005-06-01 04:29:57 +00:00
Dries Buytaert 229e2e4f23 - Bugfix: changed -> access 2005-05-12 16:20:36 +00:00
Dries Buytaert 4d80b374e9 - Modified patch by Robin: added confirmation screen to delete profile fields. (I tidied up the coding style and fixed two typos.) 2005-05-01 09:41:23 +00:00
Dries Buytaert a76a1e1f3f - Patch 20910 by chx: centralize print theme page. 2005-04-24 16:34:36 +00:00
Dries Buytaert 0fb6af111e - Fixed broken query 2005-04-21 18:49:06 +00:00
Dries Buytaert 05e9c8c76c - Patch by pyromanfo: added support for private profile fields. 2005-04-18 20:58:39 +00:00
Dries Buytaert a2e0957bbb - Modified version of patch by Nedjo: added author information block.
I rewrote part of the patch to improve the themability of the block, as
  well as its default look.  I also left out the 'Recent posts' for now and
  shuffled some code around.
2005-04-18 20:37:32 +00:00
Steven Wittens 23bccfd1c8 - : Respect 'access userlist' permission for profile data. 2005-04-11 22:48:27 +00:00
Dries Buytaert a3e9b35afc - Patch by JonBob: improved consistency of module descriptions. We should write guidelines for this -- maybe in the PHPDoc code of the _help hook. 2005-04-01 15:55:02 +00:00
Steven Wittens be14203534 - : Clean up plain-text checking (see drupal-devel!) 2005-03-31 09:25:33 +00:00
Steven Wittens c3f1f7345e - (Stefan): Always use paragraph tags around page help text. 2005-03-18 07:07:04 +00:00
Steven Wittens cc3fd1715f - : Clean up Admin - users - configure. 2005-01-28 20:49:00 +00:00
Dries Buytaert 696ac8a9d8 - Patch by wulff: made it so that titles of profile fields only need to be unique within a single category. 2005-01-24 21:39:58 +00:00
Dries Buytaert fe58724f25 - Small bugfix + small improvement. 2005-01-04 19:52:33 +00:00
Dries Buytaert 2b17b3a966 - Patch by Neil: less ways to set the page title.
* Less logic in theme code.
   * Encourages use of the menu system.
   * Easier to find where a title or breadcrumb comes from in other people's code because there are less places to look. Look in menu and then grep for the appropriate set function. Looking for calls to theme_page() is hard because there are too many of them.
   * Very slightly more efficient.
2004-12-15 21:19:42 +00:00
Dries Buytaert 3d491defbd - Patch by Goba: fixed problem with UTF-8 conversion when mixing LOWER() and strtolower(). 2004-12-07 17:42:35 +00:00
Dries Buytaert fa97839088 - Patch 13180 by chx: renamed check_query() to db_escape_string() and implemtented it properly per database backend.
Read the manual for pg_escape_string:  "Use of this function is recommended instead of addslashes()." Or read sqlite_escape_string: "addslashes() should NOT be used to quote your strings for SQLite queries; it will lead to strange results when retrieving your data."
2004-11-21 08:25:17 +00:00
Dries Buytaert 869a91b72e - Patch by Steven: 'my account' information is not saved.
+ Drupal 4.4 stored profile data in the serialized user->data column. Drupal 4.5 stores profile data in tables (but user->data is still available and used for other stuff, like locale or themes).  The update from 4.4 to 4.5 didn't remove the old data from the user->data column properly, because there is no mechanism in user_save to do so (it did try to unset the fields, but this has no effect).

  + On registration, hook_user('insert') is invoked after saving the data column. This means that any module-specific data is put into the data field. We cannot move hook_user('insert') higher up, because before that point, we do not have a complete $user object yet.
2004-10-16 16:59:59 +00:00
Steven Wittens aaa214e4a8 : Unifying profile.module textbox widths with user.module. 2004-10-13 20:35:46 +00:00
Steven Wittens c6281c464c Profile.module: removing incorrect use of strtolower which messes up UTF-8 data. 2004-09-20 23:42:11 +00:00
Dries Buytaert 2b9aaf7159 - Bugfix: making changes to the user profiles should flush the cache. 2004-09-19 13:33:08 +00:00
Dries Buytaert 6dbd0bcfb4 - Patch by Mathias with help from Steven: made it possible to add fields to the registration form. This feature used to exist. 2004-09-19 13:28:11 +00:00
Dries Buytaert 5c7983c4de - Patch by JonBob: reintroduced menu caching. 2004-09-16 07:17:56 +00:00