aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_admin.php
Commit message (Collapse)AuthorAgeFilesLines
* - Fix some bugsMeik Sievertsen2006-09-141-0/+26
| | | | | | | - fixed retrieving of permissions if the LIKE statement is used as well as proper supporting (needs testing on mssql) git-svn-id: file:///svn/phpbb/trunk@6366 89ea8834-ac86-4346-8a33-228a782c2dd0
* - fixed some bugsMeik Sievertsen2006-09-131-3/+3
| | | | | | | | | | | - changed attachment handling a bit - tried to remove target tags out of the code - do not add session ids to urls for bots as well as not creating a new session on each page view for them I bet i introduced some bugs too. ;) git-svn-id: file:///svn/phpbb/trunk@6364 89ea8834-ac86-4346-8a33-228a782c2dd0
* Next phase of last post changes + a few minor bugsGraham Eames2006-09-081-6/+10
| | | | | | | Note: This template variable is available but will not be used by default git-svn-id: file:///svn/phpbb/trunk@6360 89ea8834-ac86-4346-8a33-228a782c2dd0
* - Fix warning removal, x - 0 = x ;-)Graham Eames2006-09-021-1/+1
| | | | | | | | - Make sure that the cached colour information is updated when altering groups - Also consolidate some related code at the same time git-svn-id: file:///svn/phpbb/trunk@6350 89ea8834-ac86-4346-8a33-228a782c2dd0
* some changes/fixesMeik Sievertsen2006-09-021-4/+4
| | | | git-svn-id: file:///svn/phpbb/trunk@6345 89ea8834-ac86-4346-8a33-228a782c2dd0
* colour is a string. :)Meik Sievertsen2006-08-231-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@6316 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fix some minor bugs arising from yesterday.Graham Eames2006-08-231-4/+7
| | | | | | | Nils - I haven't looked into the other related pages yet git-svn-id: file:///svn/phpbb/trunk@6315 89ea8834-ac86-4346-8a33-228a782c2dd0
* some updates. Also adjusted the utf tools and normalizer more to our coding ↵Meik Sievertsen2006-08-221-1/+1
| | | | | | guidelines. git-svn-id: file:///svn/phpbb/trunk@6312 89ea8834-ac86-4346-8a33-228a782c2dd0
* Initial batch of colourization changes. This includes:Graham Eames2006-08-211-1/+3
| | | | | | | | | | | - schema changes for first post and last post - display in viewforum, search and ucp of first post - update of database on posting Still outstanding - display of last post git-svn-id: file:///svn/phpbb/trunk@6309 89ea8834-ac86-4346-8a33-228a782c2dd0
* Hide forums you can't move posts to from within the mcpGraham Eames2006-08-121-2/+2
| | | | git-svn-id: file:///svn/phpbb/trunk@6285 89ea8834-ac86-4346-8a33-228a782c2dd0
* bugfixesMeik Sievertsen2006-08-121-1/+2
| | | | git-svn-id: file:///svn/phpbb/trunk@6275 89ea8834-ac86-4346-8a33-228a782c2dd0
* sql_in_set changesMeik Sievertsen2006-08-121-64/+107
| | | | git-svn-id: file:///svn/phpbb/trunk@6271 89ea8834-ac86-4346-8a33-228a782c2dd0
* - auto sync attachment topic flag [Bug #2949]Nils Adermann2006-08-121-0/+1
| | | | | | | | | - corrected paths for templates stored in the db and filenames displayed in the template editor [Bug #3662] - removed some useless language strings [Bug #3648] - corrected escaping of usernames and passwords in auth modules [Bug #3696], added ldap_escape git-svn-id: file:///svn/phpbb/trunk@6266 89ea8834-ac86-4346-8a33-228a782c2dd0
* - finally making the age calculation work [Bug #3582]Nils Adermann2006-08-061-1/+1
| | | | | | | | | | - replacing all occurances of L_NONE with a more specific string [Bug #3494] - a few corrections to html id attributes in the installer - using correct permission in mcp_report [Bug #2471] - allow deleting the avatar, when no upload method is enabled and hide the delete button if no avatar is set git-svn-id: file:///svn/phpbb/trunk@6241 89ea8834-ac86-4346-8a33-228a782c2dd0
* - fixing some bugsMeik Sievertsen2006-08-011-2/+19
| | | | | | | | | - shortening some db columns to meet the requirements - correctly increase/decrease user post counts - fix the topic title length bug(s) git-svn-id: file:///svn/phpbb/trunk@6224 89ea8834-ac86-4346-8a33-228a782c2dd0
* - some bugfixesMeik Sievertsen2006-07-201-7/+2
| | | | | | | | - set ip_check to A.B.C. by default - display postings in other encodings by default and present link to force the encoding as usual. git-svn-id: file:///svn/phpbb/trunk@6198 89ea8834-ac86-4346-8a33-228a782c2dd0
* Efficiency improvement to the log viewing codeGraham Eames2006-07-181-2/+1
| | | | | | | + reverting what appears to be an accidental change to the report viewing code git-svn-id: file:///svn/phpbb/trunk@6192 89ea8834-ac86-4346-8a33-228a782c2dd0
* Improved i18n support within log messagesGraham Eames2006-07-151-6/+3
| | | | git-svn-id: file:///svn/phpbb/trunk@6184 89ea8834-ac86-4346-8a33-228a782c2dd0
* add not applied sql_escape in memberlistMeik Sievertsen2006-07-141-19/+0
| | | | git-svn-id: file:///svn/phpbb/trunk@6178 89ea8834-ac86-4346-8a33-228a782c2dd0
* - fixed a parse error (oops)Nils Adermann2006-07-071-2/+2
| | | | | | | | - pass forum_ids to search indexing functions - fixed a bug in fulltext_native's cache destroying git-svn-id: file:///svn/phpbb/trunk@6152 89ea8834-ac86-4346-8a33-228a782c2dd0
* some bugfixesMeik Sievertsen2006-07-061-2/+6
| | | | git-svn-id: file:///svn/phpbb/trunk@6149 89ea8834-ac86-4346-8a33-228a782c2dd0
* - add additional auth check to the permission roles modulesMeik Sievertsen2006-07-011-1/+1
| | | | | | | | | | | | - added new function to return globally used expressions (get_preg_expression($mode)). This should be very helpful in getting wide spread similar checks (regular expressions) to one place reducing the risk of forgetting to change every location if you fix one. ;) We will add additional ones later, at the moment only the email check is retrieved... - added "active module" var to the module class returning the current active module - changed call to image magick - add administrator to global moderators group by default - extend auth_option column a little bit - other bugfixes git-svn-id: file:///svn/phpbb/trunk@6135 89ea8834-ac86-4346-8a33-228a782c2dd0
* change ACL_NO to ACL_NEVER and ACL_UNSET to ACL_NO to let our users get what ↵Meik Sievertsen2006-06-221-3/+3
| | | | | | | | | is meant on the first look. the downside is that the information is no more accurate (permissions are still unset, defaulting to no) - someone might to overlook all explanations. :) git-svn-id: file:///svn/phpbb/trunk@6115 89ea8834-ac86-4346-8a33-228a782c2dd0
* time to squash some bugsMeik Sievertsen2006-06-221-0/+5
| | | | git-svn-id: file:///svn/phpbb/trunk@6114 89ea8834-ac86-4346-8a33-228a782c2dd0
* disable recalculating the binary tree - this function might have a severe ↵Meik Sievertsen2006-06-211-1/+7
| | | | | | problem. :D And additionally it should not be needed anymore. git-svn-id: file:///svn/phpbb/trunk@6111 89ea8834-ac86-4346-8a33-228a782c2dd0
* fix bugs #2271 and #2273Meik Sievertsen2006-06-171-0/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@6081 89ea8834-ac86-4346-8a33-228a782c2dd0
* - automatically sync topic_reported when deleting a post [Bug #2152]Nils Adermann2006-06-141-1/+2
| | | | | | | | | | | | | - retrieve forum information in report.php - don't update deleted topics - proper permission check for "admin or moderator" - allow changing poster while ip dropdown contains a different user [Bug #2190] - fixed a typo in acp_styles [Bug #2188] - allow inserting BBCode at the first position of the textarea [Bug #2078] - allow the style name to be different than the style path git-svn-id: file:///svn/phpbb/trunk@6063 89ea8834-ac86-4346-8a33-228a782c2dd0
* - added class="radio" to all radio- and checkboxesMeik Sievertsen2006-06-131-4/+4
| | | | | | | | - make sure the database gets closed correctly in cron.php - bugfixes git-svn-id: file:///svn/phpbb/trunk@6055 89ea8834-ac86-4346-8a33-228a782c2dd0
* - fixed a few bugsMeik Sievertsen2006-06-111-28/+17
| | | | | | | | | | | - added user_add() function - check posted images ([img]) for same domain/scipt and php files - auth_api.html updated to the coding guidelines look&feel - introduced ability to force non page-updates (cron is using it) - correctly resend coppa email git-svn-id: file:///svn/phpbb/trunk@6048 89ea8834-ac86-4346-8a33-228a782c2dd0
* - BBCode bugsDavid M2006-06-101-40/+84
| | | | | | | - PostgreSQL now gives us database info (if you are running 8.1 or have the dbsize contrib module installed) git-svn-id: file:///svn/phpbb/trunk@6042 89ea8834-ac86-4346-8a33-228a782c2dd0
* ok, sorry for this. :/Meik Sievertsen2006-06-071-4/+4
| | | | | | | - cleaned up table names/constants git-svn-id: file:///svn/phpbb/trunk@6021 89ea8834-ac86-4346-8a33-228a782c2dd0
* fix bug #2086Meik Sievertsen2006-06-071-0/+3
| | | | | | | remove cached sql results for moderator cache table if re-applying moderators git-svn-id: file:///svn/phpbb/trunk@6019 89ea8834-ac86-4346-8a33-228a782c2dd0
* ok, this one is rather large... the most important change:Meik Sievertsen2006-06-061-129/+194
| | | | | | | | | 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. git-svn-id: file:///svn/phpbb/trunk@6015 89ea8834-ac86-4346-8a33-228a782c2dd0
* - permission trace correctly uses language variables nowNils Adermann2006-06-041-1/+1
| | | | | | | | | | | - updated documentation for the auth class - use cache for "SELECT forum_name FROM phpbb_forums WHERE forum_id = X" queries everywhere and not only in functions_display - updated the permission trace to include information about global settings overwriting local ones - take global permissions into account for local permission results on the view permission pages for users - only allow to change the post author with m_chgposter git-svn-id: file:///svn/phpbb/trunk@6009 89ea8834-ac86-4346-8a33-228a782c2dd0
* DB stuff, nothing cool at all unless you use Oracle.David M2006-06-031-1/+2
| | | | git-svn-id: file:///svn/phpbb/trunk@6006 89ea8834-ac86-4346-8a33-228a782c2dd0
* - create forums by defaultMeik Sievertsen2006-06-011-3/+3
| | | | | | | | | | - 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 git-svn-id: file:///svn/phpbb/trunk@5995 89ea8834-ac86-4346-8a33-228a782c2dd0
* - fix nasty error in functions_admin generating a fatal error on inclusionMeik Sievertsen2006-05-281-1/+4
| | | | | | | - adjusted error reporting level to get those errors instead of just the script halting. git-svn-id: file:///svn/phpbb/trunk@5978 89ea8834-ac86-4346-8a33-228a782c2dd0
* meh, old versions of MySQL are not cool...David M2006-05-281-2/+2
| | | | git-svn-id: file:///svn/phpbb/trunk@5974 89ea8834-ac86-4346-8a33-228a782c2dd0
* - remove description from profile fieldsMeik Sievertsen2006-05-271-15/+20
| | | | | | | | - 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 git-svn-id: file:///svn/phpbb/trunk@5973 89ea8834-ac86-4346-8a33-228a782c2dd0
* - actually let the user import smilies/icons paks. ;)Meik Sievertsen2006-05-201-2/+1
| | | | | | | - fix TRUNCATE TABLE syntax (mssql does not understand TRUNCATE alone) git-svn-id: file:///svn/phpbb/trunk@5944 89ea8834-ac86-4346-8a33-228a782c2dd0
* - fixed dotted topics on some occassions being wrongMeik Sievertsen2006-05-191-31/+124
| | | | | | | | | | - fixed post author change - fixed moving topics (they should not count into read tracking now) - think about having only one column for shadow topics/similar to forum links - moved a function from functions.php to functions_display.php (this function is only used by viewtopic and viewforum which already include this file) - some rather tiny fixes for mssql git-svn-id: file:///svn/phpbb/trunk@5933 89ea8834-ac86-4346-8a33-228a782c2dd0
* - added a few missing log variablesMeik Sievertsen2006-05-181-12/+17
| | | | | | | | | | - include acp/common.php language file if displaying logs (LOG_ variables should be stored there only now) - added check to cron.php - added database_gc config variable - recalculate binary trees every once a week ;) git-svn-id: file:///svn/phpbb/trunk@5929 89ea8834-ac86-4346-8a33-228a782c2dd0
* I hope nothing broke!David M2006-05-051-9/+23
| | | | | | | | | - 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 git-svn-id: file:///svn/phpbb/trunk@5885 89ea8834-ac86-4346-8a33-228a782c2dd0
* - changed SUPER_MODERATORS to GLOBAL_MODERATORSMeik Sievertsen2006-04-301-0/+16
| | | | | | | | - do not cache moderators having no allowed auth settings - added fsock method to transfer class (this has been made by wGEric for us) git-svn-id: file:///svn/phpbb/trunk@5870 89ea8834-ac86-4346-8a33-228a782c2dd0
* Viewtopic:David M2006-04-281-81/+11
| | | | | | | | | | | | | | | | | | | - PGSQL friendly New Install: - file_get_contents New/Old Install: - remove remarks for PGSQL, some versions don't like 'em - fixed the regex in remove_remarks - rewrote split_sql_file Schema: - removed explicit inserts, replaced with implicit inserts. This is more friendly to our non auto incrementing friends. (One set of data is not fixed yet, the modules table) - removed all those SELECT SETVAL statements, they were not needed. git-svn-id: file:///svn/phpbb/trunk@5854 89ea8834-ac86-4346-8a33-228a782c2dd0
* - adding user logs (displaying all users instead of limited to the user if ↵Meik Sievertsen2006-04-261-13/+48
| | | | | | | | | viewing user notes) - fixed a tiny set of bugs... git-svn-id: file:///svn/phpbb/trunk@5848 89ea8834-ac86-4346-8a33-228a782c2dd0
* - removed group settings from rolesMeik Sievertsen2006-04-221-1/+2
| | | | | | | | | | - added forum icon in front of forums in permissions acp - added trace permissions in permission masks (thanks naderman for writing the first code and for the idea... :)) - some bugfixes - PHP6 fix git-svn-id: file:///svn/phpbb/trunk@5824 89ea8834-ac86-4346-8a33-228a782c2dd0
* - fixed some bugsMeik Sievertsen2006-04-151-2/+2
| | | | | | | | | | - made sql schemas consistent - added correct sequences and generators to sql schemas - extended some rows to hold more data. This solves issues with multibyte characters and too short topic titles, names, etc. - allow multibyte characters in usernames git-svn-id: file:///svn/phpbb/trunk@5784 89ea8834-ac86-4346-8a33-228a782c2dd0
* - check m_ permission for quickmod [Bug #1317]Nils Adermann2006-04-091-0/+4
| | | | | | | | | | | | | | | | - don't sync the global forum (id 0) [Bug #1383] - corrections to available time zones [Bug #1306] - only display open reports on mcp_front - added whois information to mcp_post [Bug #1400] - copy "dot" when copying a topic [Bug #1321] - some language corrections [Bugs #1324, #1255, #1317] - mozWrap scrolls back to previous position now [Bug #1190] - some style related corrections [Bugs #1322, #1454, #1316] - corrected copyrights [Bug #1468] - fixed links on search results page [Bug #1469] git-svn-id: file:///svn/phpbb/trunk@5779 89ea8834-ac86-4346-8a33-228a782c2dd0
* To all people having their bug status set to fixed: SF pserver CVS access is ↵Meik Sievertsen2006-04-061-1/+1
| | | | | | | | | | | | | | | | | | 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. :/ git-svn-id: file:///svn/phpbb/trunk@5765 89ea8834-ac86-4346-8a33-228a782c2dd0