Register
phpBB.com Wiki · Home Projects Help

root / trunk / phpBB / includes / functions_profile_fields.php

functions_profile_fields.php

View | Annotate | Download (32.3 KB)

# Date Author Comment
8572 View | Annotate 05/29/2008 02:25 PM acydburn

ok… i hope i haven’t messed too much with the code and everything is still working.
Changes:
- Ascraeus now uses constants for the phpbb root path and the php extension. This ensures more security for external applications and modifications (no more overwriting of root path and extension possible through insecure mods and register globals enabled) as well as no more globalizing needed.
- A second change implemented here is an additional short-hand-notation for append_sid(). It is allowed to omit the root path and extension now (for example calling append_sid(‘memberlist’)) – in this case the root path and extension get added automatically. The hook is called after these are added.

8477 View | Annotate 03/29/2008 01:08 AM naderman

Go away evil carriage returns\!

8425 View | Annotate 03/06/2008 08:31 PM naderman

Custom profile fields with date type should be timezone independend [Bug #15003]

8391 View | Annotate 02/23/2008 03:23 PM acydburn

merge revisions #r8384, #r8387, #r8388, #r8389 and #r8390

8300 View | Annotate 01/03/2008 08:12 PM davidmj

do this the proper way

8299 View | Annotate 01/03/2008 07:22 PM davidmj

PHP, why do you break my heart?

8295 View | Annotate 01/03/2008 06:00 PM davidmj

oh boy…
- Migrate code base to PHP 5.1+

8294 View | Annotate 01/03/2008 03:37 PM kellanved

cross-ci to the head

8236 View | Annotate 11/15/2007 08:54 PM kellanved

#15111
#15119

8142 View | Annotate 10/05/2007 02:42 PM acydburn
  • empty log message *
8138 View | Annotate 10/04/2007 08:26 PM acydburn

some bugfixes.

8050 View | Annotate 08/19/2007 03:40 PM naderman

- BBCode parsing order should ALWAYS be censor_text(), bbcode_secon_pass(), bbcode_nl2br(), smiley_text(), parse_attachments()
- using \r on custom bbcodes to allow line breaks [Bug #10758]

7943 View | Annotate 07/25/2007 03:01 PM kellanved

small fixes.
#13794 : Raised the used error level by one
#13763 : Removed an old Beta2 compatibility fix
#13527 : cleaned up the code
#13525 : Changed templates as proposed by damnian
#11515 : added explanation about CPF checkboxes

7940 View | Annotate 07/24/2007 06:16 PM acydburn

two fixes

7805 View | Annotate 06/28/2007 04:55 PM acydburn

fixing some bugs

7608 View | Annotate 05/16/2007 04:45 PM acydburn

label changes, language fixes…

7338 View | Annotate 04/13/2007 05:55 AM davidmj

#9677

6708 View | Annotate 12/03/2006 07:03 PM naderman

- author search should use clean names for searching [Bug #5752]
- local moderators are moderators too!
- don’t show a “word is not contained in any post” message for ignored common words
- bold search words in search error messages [Bug #5762]

6584 View | Annotate 11/15/2006 04:35 PM acydburn

- fixes for the following bugs:
#5326
#5318
#5304
#5290
#5288
#5278
#5276
#5272
#5266
- also fixed the “Call-time pass-by-reference” bug #5252
- within this step changed the normalize calls to require references.
- added captcha size variables to the class scope (suggestion was posted at area51)

6569 View | Annotate 11/12/2006 03:29 PM naderman

message

6452 View | Annotate 10/07/2006 02:36 PM acydburn

tried to begin adjusting all string functions where applicable – still a lot to do.
i hope i catched all relevant sections and did not mess something up.

6449 View | Annotate 10/07/2006 12:27 AM davidmj

#4518

6312 View | Annotate 08/22/2006 11:26 PM acydburn

some updates. Also adjusted the utf tools and normalizer more to our coding guidelines.

6271 View | Annotate 08/12/2006 03:14 PM acydburn

sql_in_set changes

6232 View | Annotate 08/03/2006 05:23 PM acydburn

- custom profile field fixed
- fixing sql_fetchfield from cache
- changing the quote parser. In my tests i have not seen changed behaviour – but i might have broken something with this change.

6228 View | Annotate 08/02/2006 05:53 PM acydburn

- fixing some bugs
- removed file_exists calls for auth plugins since they need to be there once set up

6213 View | Annotate 07/28/2006 05:45 AM davidmj

- Bugs

6180 View | Annotate 07/15/2006 12:31 PM davidmj

- Some profile stuff :D
- Some DB stuff :D

6177 View | Annotate 07/13/2006 02:51 PM acydburn

- renamed the following columns:
comment -> attach_comment
new, forwarded, unread, marked, deleted -> pm_new, pm_forwarded, pm_unread, pm_marked, pm_deleted
module_name -> module_basename
value -> lang_value

- every column is now NOT NULL
- every column is now having a DEFAULT value
- hopefully mostly consistent across every db schema
- untested schemas: sqlite, oracle, firebird

6073 View | Annotate 06/16/2006 06:54 PM acydburn

- removed db cache (might re-appear, but for now we do not see the need for it)
- all changes to styles/subsilver/template are purely cosmetic (no functional changes)
- cosmetics
- bugfixes
- add index to modules table
- use modules ordering code for forums too

6070 View | Annotate 06/15/2006 05:16 PM acydburn

check for correct entered date for date profile field

6069 View | Annotate 06/15/2006 05:12 PM acydburn

fix for checking required field on booleans

6058 View | Annotate 06/13/2006 11:06 PM acydburn

make sure custom profile fields are created correctly on registration (#2225)

6055 View | Annotate 06/13/2006 05:06 PM acydburn

- added class=”radio” to all radio- and checkboxes
- make sure the database gets closed correctly in cron.php
- bugfixes

6022 View | Annotate 06/08/2006 12:59 PM acydburn

- fix some smaller bugs
- removed custom profiles preview field from acp

6021 View | Annotate 06/07/2006 09:32 PM acydburn

ok, sorry for this. :/
- cleaned up table names/constants

5995 View | Annotate 06/01/2006 03:47 PM acydburn

- create forums by default
- hide prune options if not enabled
- fixed module management enable/disable switch if in module itself
- fixed some schema errors
- adjusted $user->page array generation for developers calling scripts outside of phpBB root

5973 View | Annotate 05/27/2006 06:24 PM acydburn

- remove description from profile fields
- added disclaimer about DEBUG_EXTRA to the ACP (i think this is needed – some idiots might think it is wise to have this enabled on a production board. :) We may let it there for the Betas though, but it will be removed during the RC’s)
- some bugfixes

5967 View | Annotate 05/26/2006 05:04 PM acydburn

some tiny changes…

5965 View | Annotate 05/25/2006 09:15 PM acydburn

first round of custom profile changes

5765 View | Annotate 04/06/2006 07:15 PM acydburn

To all people having their bug status set to fixed: SF pserver CVS access is currently down, therefore the snapshots are still out of date.

- fix a bunch of bugs
- <!- $Id$ -> is no longer allowed in template (.html) files
- changed layout of private message screens (folders are menu items)
- removed unread mode for private messages
- added new feature to template engine – “jump out of loop” or “loop another loop within my loop” :D (will be documented within the coding guidelines)
- added autologin field to sessions
- check session length checks
- added add_log statement to sessions to track session valid to invalid changes if ip/browser change depending on config settings (only debug)
- added multibyte support for various variables (exception at the moment is usernames which needs some discussion)
- hopefully not broke something. :/

5712 View | Annotate 03/25/2006 03:16 PM acydburn

my attempt to fix custom profile fields

- added the load settings for custom profile fields
- re-added our famous make_clickable function
- removed group_by clauses (due to the lang id selection the group by clause is no more needed)

I hope that i have not just created new bugs. ;)

5709 View | Annotate 03/25/2006 01:07 PM acydburn

- extended session_page and user_lastpage to hold a maximum of 200 chars (instead of 100) – session_page gets truncated to 200 chars
- streamlined the process of generating text with bbcode/smilies/urls (forum rules, forum descriptions, group descriptions at the moment)
- a bunch of schema changes for the bbcode-enabled text and the session page change (sorry for this)
- if decode_message is used there is no need to include functions_posting.php anymore (should fix the search.php bug too)

5691 View | Annotate 03/22/2006 03:28 AM davidmj

- Bug 1200

5603 View | Annotate 03/06/2006 03:03 PM acydburn

- added “display_on_posting” setting to custom bbcodes (creates a button with the bbcode tag)
- fixed forum editing and parent id selection
- completely removed HTML support (it only creates security problems)
- changed cache_moderators() to reflect permission changes

5325 View | Annotate 12/11/2005 12:20 AM acydburn

- custom profile fields
- prune users
- prune forums

5163 View | Annotate 06/22/2005 11:41 PM bartvb

Fixed small profile fields problem

5162 View | Annotate 06/16/2005 11:22 PM bartvb

Fixed a problem with editing bbcode in textfields

5154 View | Annotate 05/27/2005 11:16 PM bartvb

Fix a problem with Admin Profile (text) Fields and registration

5135 View | Annotate 04/30/2005 04:24 PM acydburn

- test slightly modified topic tracking code
- some bugfixes

5116 View | Annotate 04/10/2005 01:21 PM acydburn

- fixed custom profile field get/store
- changed tz lang array to hold more descriptive timezones (no more tz+13, dst is a seperate option)
fixed bugs after jabber queue processing (data being escaped differently)

5114 View | Annotate 04/09/2005 02:26 PM acydburn

- Documentation related changes
- added resend activation email dialog
- fixed issue in session code
- log failed/successful admin re-authentication/login
- fixed simple forum dropdown box (used in mcp and posting)

5109 View | Annotate 03/22/2005 12:10 AM acydburn

- and my second attempt

5083 View | Annotate 01/27/2005 07:59 PM acydburn

fix admin_session “bug”

5076 View | Annotate 01/24/2005 02:14 PM bartvb

BBCode enabled profile fields, removed field_name from profile fields, fixed some uninitialised variable issues, some small conversion issues

4987 View | Annotate 09/19/2004 10:40 PM acydburn

small update only fixing two obvious bugs

4985 View | Annotate 09/16/2004 11:49 PM acydburn

damn line endings

4984 View | Annotate 09/16/2004 08:33 PM acydburn

- more updates, mostly bugfixes to the bbcode parser
- changed current_user in sessions (please review)
- give more flexibility to style authors in regard to the pagination elements
- profile fields updates (included a sample constuct into viewtopic_body.html – have to be documented extensivly)
- code optimizations (use of strpos, sizeof, loops not iterating functions on every call, memory savings…)
- and last but not least - hopefully not introduced more bugs than healthy (cough)

4978 View | Annotate 09/04/2004 09:32 PM acydburn

my turn to break the forum (and at least pm’s are no longer working – will not last long). HARRRR

4916 View | Annotate 06/15/2004 08:01 PM acydburn

- for bart to work on…

4901 View | Annotate 05/26/2004 11:02 PM acydburn

see todo

4844 View | Annotate 02/28/2004 10:16 PM acydburn

splitted language files

4836 View | Annotate 02/21/2004 01:47 PM acydburn

- put consoring and smilie processing into functions (we use them all over the place) for better changing and consistency.
- changed docs/AUTHORS to reflect the recent code re-use in functions_messenger.php
- pleasing the users a little bit more by using table constants. :D
- login box if “mode” is not allowed -> posting (thought about trigger_error integration, but we do not need this that often).

4800 View | Annotate 02/05/2004 03:41 PM psotfx

Changed error string array return … hopefully nothing “different” was planned for this. This method “fits in” with how UCP modules handle errors.

4740 View | Annotate 01/10/2004 01:23 PM acydburn

custom profile fields.
Not finished, committed to let us discuss about the next steps
-> BartVB