Register
phpBB.com Wiki · Home Projects Help

root / trunk / phpBB / ucp.php

ucp.php

View | Annotate | Download (8.6 KB)

# Date Author Comment
8686 View | Annotate 07/28/2008 12:39 AM aptx

Fix ucp.php?mode=login login box redirect

8656 View | Annotate 06/13/2008 09:44 PM acydburn

Fix some instances where we left db connections open (registration -> captcha for example)

8599 View | Annotate 06/04/2008 05:38 PM naderman

removed executable props [Bug #6464]

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\!

8146 View | Annotate 10/05/2007 04:30 PM acydburn

dumdidum… sorry. ;)

8072 View | Annotate 08/30/2007 11:21 PM acydburn

necessary changes…

7966 View | Annotate 07/28/2007 11:19 AM acydburn
  • empty log message *
7954 View | Annotate 07/26/2007 05:51 PM acydburn

do not get too excited

7829 View | Annotate 07/03/2007 05:17 PM kellanved

one too many

7828 View | Annotate 07/03/2007 05:14 PM kellanved

#12955 hideonline/viewonline again (minor)

7593 View | Annotate 05/15/2007 07:38 PM acydburn

:P

7592 View | Annotate 05/15/2007 07:14 PM kellanved

The message shouldn’t be displayed at all(now), unless there’s foul play invlolved.

#10968

7590 View | Annotate 05/15/2007 06:02 PM kellanved

Making logout somewhat more secure.

Language variables, take them while they’re hot. (just one, so be quick)

7426 View | Annotate 04/29/2007 02:30 PM acydburn

more bugfixing. Important change: admins able to give ban reason for user quick tool ban – logging also syndicated, now always logged to ACP and MCP logs.

7232 View | Annotate 03/26/2007 05:42 PM acydburn

some tiny bugfixes and changed is_active() a bit…

7229 View | Annotate 03/24/2007 07:00 PM davidmj

#5280

6915 View | Annotate 01/21/2007 07:33 PM acydburn

fixing some bugs, most being submitted grammatical/spelling errors.

6892 View | Annotate 01/17/2007 02:36 AM davidmj

#7156

6851 View | Annotate 01/07/2007 03:08 PM acydburn

- fix some convertor bugs.
- added support for the validated birthday mod and fixed the integration of nils’ birthday mod

6832 View | Annotate 01/03/2007 07:58 PM naderman

- allow login with redirect parameter
- altered URL regular expression so it won’t cause problem with long URLs – PCRE >:( [Bug #6720]
- moderator list on index should have coloured groups in bold as everywhere else too
- correctly handle password requirements in UCP [Bug #6692]
- added soft-hyphen to utf8_clean_string(), if you know any more evil characters (or whitespace characters that are not in ASCII range) then tell me about them (bug report) ;-)

6792 View | Annotate 12/23/2006 11:49 AM acydburn
  • empty log message *
6698 View | Annotate 12/02/2006 02:19 PM acydburn

- a bunch of fixes
- added todos to the updater to make sure i do not forget. :)

6650 View | Annotate 11/24/2006 03:59 PM acydburn

rather large update, most important things done:
- implemented provided patch/diff file for bug #5350 (Highway of Life) with some tiny changes and alterations
- more username/colour changes/fixes
- added a note about PM rule-dependant message removals so the user is not wondering too much if he can’t remember his rules. :)
- some column changes to fix unicode issues
- bugfixes

6589 View | Annotate 11/16/2006 05:51 PM acydburn

ok, change from doing the same logic all over again we call a function to do it for us. Also allow template designers to choose which method to use by just adding a fully compiled username string (profile link + user colour). This commit may introduce problems.

6515 View | Annotate 10/21/2006 05:46 PM grahamje

Move outputting of TO box since it’s only relevant to one module and this will ensure it is displayed however that module is loaded [#4866]

6492 View | Annotate 10/13/2006 04:00 AM davidmj

#4710

6454 View | Annotate 10/07/2006 04:12 PM grahamje

The zebra ran into a paint factory

6225 View | Annotate 08/01/2006 06:14 PM naderman

- acm_file uses an index pointer to the current row instead of shifting the result array now [Bug #2451]
- all dbals adjusted to use the cache in sql_fetchfield, sql_rowseek, sql_numrows and sql_freeresult [Bug #2451]
- use include_once for dbal.php to at least theoretically allow connections to multiple databases at once
- added a space to an SQL query [Bug #3506]
- detailed information on adding friends/foes [Bugs #2509, #2499]
- e modifier stands for evil, so I removed it ;)
corrected progress_bar image filename in imageset.cfg [Bug #3374]

6161 View | Annotate 07/09/2006 06:23 PM acydburn

- tackle some usability issues
- fix bug #3147
- added the lock-images made by SHS`
- fixed MSSQL errors (adding the correct ESCAPE sequence)

6104 View | Annotate 06/19/2006 11:30 PM acydburn

some bugfixes

6054 View | Annotate 06/13/2006 12:16 AM acydburn

- get swatch converted into new acp format
- add page title to ucp pages
- add ability to supress getting the who is online list in page_header() (saves us ideally 1-2 queries on ucp/mcp pages)
- fixing pm rules a bit as well as now having complete author memberships for author_in_group (sender -> is in usergroup -> xxx)

6015 View | Annotate 06/06/2006 10:53 PM acydburn

ok, this one is rather large… the most important change:
re-introduce append_sid: old style continues to work, not a performance hog as it was in 2.0.x -> structure is different

apart from this, code cleanage, bug fixing, etc.

5957 View | Annotate 05/21/2006 06:54 PM acydburn

- fixing a few smaller bugs/glitches
- init user session in cron.php (else it can produce errors if functions expect the user object being set)
- fix sql escaping for mssql/mssql_odbc

5885 View | Annotate 05/06/2006 12:06 AM davidmj

I hope nothing broke!

- Added a query builder, it is currently only used for complex queries that involve a FROM clause with two tables and a left join
- Changed some function calls in the DBAL
- Made the viewtopic queries nicer

5883 View | Annotate 05/05/2006 07:56 PM acydburn

- some adjustements for phpdocumentor

5881 View | Annotate 05/04/2006 08:25 PM acydburn

- fix bug #1727 (need to be watched – problems could arise by this change)
- added a note about login_box() to the coding guidelines

5836 View | Annotate 04/23/2006 03:08 PM naderman

- allow user A to have user B as a friend if A is a foe of B
- don’t allow users to have the Anonymous user on their foe/friend list [Bug #1205]
- properly hide users on the online/offline friend list in ucp [Bug #1206]

5790 View | Annotate 04/17/2006 03:09 PM acydburn

- clean up marklist calls (global function)
- added new feature: test out others permissions (admin permissions will not be copied)
- changed attachment processing by directly using the template engine
- fixed some attachment related bugs
- additional tiny fixes

5767 View | Annotate 04/08/2006 03:01 PM acydburn

- changed module*_url to only use the main module name but the mode as parameter
- custom module lang function now suffixed by _lang
- added general custom function with mode and module_row parameter

- do not display friends/foes if zebra has been disabled

5687 View | Annotate 03/22/2006 02:49 AM davidmj

- Bug 1197

5662 View | Annotate 03/18/2006 11:53 PM acydburn

- ok, now the correct ones. :/

5650 View | Annotate 03/18/2006 01:17 PM acydburn

thanks to SHS` for writing an updated version of the terms and the privacy policy.

5643 View | Annotate 03/17/2006 01:51 PM acydburn

- fix some bugs…

5595 View | Annotate 03/01/2006 10:48 PM acydburn

- some bugfixes
- committed coding guidelines as they are at area51
- removed script_path (needs a close inspection later)
- removed the need for server_name and server_port
- able to define server port/name/protocol and force the user-defined server vars (very handy for proxy setups)

5494 View | Annotate 01/25/2006 10:01 PM acydburn

- moved add_log out of functions_admin (this file should only be included in admin/admin-related pages)
- fixed cookie based topic tracking
- added missing config variables
- other minor things

5429 View | Annotate 01/05/2006 10:24 PM subblue

when logging out or clearing cookies the session_id is cleared, but this broke style.php since it needs a sid. Added a line to create the new guest session before finishing these actions.

5378 View | Annotate 12/26/2005 10:02 PM subblue

Language related updates.
Removed escaped double-quotes from single quote FAQ language strings – was causing mal-formed html.
Also changed the quicklink numbers to be prefixed by ‘f’ since standards dicate name and id attributes have to start with a non-numeric character.

5313 View | Annotate 11/28/2005 07:38 PM acydburn

- some SQL:2003 changes (basicly joins, mysql5 is sql:2003 compliant in strict mode now) – postgresql not supporting this standard. :/
- acp changes

5268 View | Annotate 10/09/2005 07:59 PM acydburn

- added new query type to dbal’s sql_build_array
- allow setting custom template path
- adjusted module class to correctly parse trees with more than one category
- added caching to module class

5254 View | Annotate 10/04/2005 11:31 PM acydburn

- changed ucp classes to work with the new module system
- mcp is no longer working, i know.

5199 View | Annotate 08/19/2005 12:48 PM acydburn

- add ability to limit search to groups

5183 View | Annotate 07/08/2005 02:29 PM psotfx

Delete u and k cookies

5175 View | Annotate 07/04/2005 06:54 PM psotfx

Session key implementation.

5138 View | Annotate 04/30/2005 04:36 PM acydburn

- some fixes here and there

5117 View | Annotate 04/10/2005 08:07 PM acydburn

- added updated coding guidelines
- introduced is_registered and is_bot flags for correct determinition of guest/registered/bot users
- changed bot code to act on useragent || ip

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)

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

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)

4974 View | Annotate 09/01/2004 06:23 PM psotfx

I will not swear, I will not swear … I will not … oh f**k it

4970 View | Annotate 09/01/2004 05:47 PM psotfx

This is a mass commit … expect trouble! Changes made here are primarily to how login is handled, schema changes necessary!

4950 View | Annotate 08/02/2004 04:32 PM psotfx

Rejiggle “board disabled” system to allow admin/mods access, eliminate duplication and “fudges” ... hopefully I’ve not overlooked something fundamental …

4925 View | Annotate 07/11/2004 05:20 PM acydburn

- fixed permissions for mcp (global permission settings are false if user is only able to moderate one to x forums)
- determine permission settings for submodules
- further approve/disapprove work (approve_details added)

4915 View | Annotate 06/15/2004 07:56 PM acydburn

- fixed notification redirection
- added SID to ucp redirects

4912 View | Annotate 06/06/2004 11:44 PM acydburn

- added folder_moved image
- new feature: bookmark topics
- fixed post details link
- added confirmation screen to cookie deletion

4906 View | Annotate 06/01/2004 07:02 PM acydburn

- enable admin login if board disabled
- new reply image for pm’s (fits better into the style)

4904 View | Annotate 05/31/2004 08:00 PM acydburn

- added delete cookies link
- fixed global announcement links in viewforum
- do not display redirects in link forums as posts in forum overview

4903 View | Annotate 05/30/2004 09:24 PM acydburn

- forum rules + link to forum rules
- three new (tiny) functions added to functions_posting responsible for handling text with bbcode/smilies/urls, use them at items all over across phpbb…
- some bugfixes within admin_forums and other files
- new admin_board layout (much safer, security wise)

4891 View | Annotate 05/26/2004 08:22 PM acydburn

blabla

4883 View | Annotate 05/02/2004 03:06 PM acydburn

fix some issues with oop, fixing small bugs and prepare the next steps…
NOTE TO DEVS: have a look at adm/admin_board.php (new config layout)

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

splitted language files

4838 View | Annotate 02/22/2004 11:22 AM acydburn

always redirect on login (fixes the “i am not logged in” problem. ;))

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).

4829 View | Annotate 02/11/2004 10:09 PM acydburn

use logical expression for module permissions + prefixes for acl’s and config variables (acl_ and cfg_).

4768 View | Annotate 01/30/2004 12:48 PM psotfx

Enable redirect after login

4603 View | Annotate 10/15/2003 07:43 PM psotfx

Remove need for session_ids for “allowed” bots, dump user_founder/user_active in favour of user_type, new user_type, USER_IGNORE

4583 View | Annotate 10/12/2003 05:29 PM psotfx

Updated the various “users of emailer”, fixed issue(!) of jabber using the email address as the uid, blah fixes, blah, blah di blah yakety smackety

4527 View | Annotate 10/04/2003 04:00 PM psotfx

Minor mods

4522 View | Annotate 10/01/2003 07:24 PM psotfx

Change in format of module db data, add zebra, many things probably “damaged goods” for now … don’t panic Mr. Mainwaring, don’t panic

4473 View | Annotate 09/07/2003 03:46 PM psotfx

Updates mainly for removal of extension + header comment … moved some aspects of ucp around, further work to be done on these areas … not commiting search for time being

4261 View | Annotate 07/15/2003 12:06 AM psotfx

Re-arrange auth and setup calls … needs to be repeated for all major scripts

4213 View | Annotate 07/08/2003 01:43 AM psotfx

Move certain methods out of ucp class, move ucp class into ucp, break half a dozen other features, introduce x hundred new, exciting bugs

4137 View | Annotate 06/16/2003 01:14 AM psotfx

Updated Firebird schema … “compatible” with mysql version … NOTE the change in ucp schema, module_name becomes module_title to prevent conflict. Various script SQL issues preventing full compatibility with Firebird at present

4062 View | Annotate 05/27/2003 01:53 AM psotfx

Majority are UCP related updates … avatars should now work, aside from gallery, fixed a few other issues, updated schema/basic

4020 View | Annotate 05/19/2003 05:24 PM psotfx

Changes as per functions_user.php

4004 View | Annotate 05/11/2003 02:58 AM psotfx

Yet more mildly fudged code … just to get something up, minor fixes/updates elsewhere

4003 View | Annotate 05/10/2003 07:19 PM psotfx

Returned to instantiation of ucp object … perhaps this approach is better? Altered basic info for ucp_modules, updated editor to allow alternative form and textarea names … still lots of fudginess, hhhmmmm fudge, uuuuugggghhh

4001 View | Annotate 05/10/2003 03:01 AM psotfx

guess what

3996 View | Annotate 05/09/2003 04:11 PM psotfx

Had to make a start on the UCP proper … note that things may and in places are quite broken

3969 View | Annotate 05/04/2003 01:58 AM psotfx

page header/footer become functions, forum passwords (I know, I know but it appears a popular feature for some reason … inclusion not yet set in concrete nor complete), various bug fixes (and no doubt new bugs).

3650 View | Annotate 03/17/2003 01:53 AM psotfx

Moved login procedure to a function enabling “inline” login links … no more “messy” redirects … install will be broken for now, at least when it comes to redirecting after completion. Moved “front-end” login to ucp.php

3279 View | Annotate 01/08/2003 06:04 PM psotfx

Remove server string stuff since it’s now handled by redirect

3277 View | Annotate 01/08/2003 06:00 PM psotfx

Oh my God what have they done? What HAVE they done …. infamy! infamy! they’ve all got it in-for-me … (c) Rank

3075 View | Annotate 11/21/2002 04:40 PM thefinn

Moved profile.php to ucp.php. ucp is really really broken right now, don’t even think about trying to use it.