aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
Commit message (Collapse)AuthorAgeFilesLines
...
* not doubling notices...Meik Sievertsen2007-03-261-0/+2
| | | | git-svn-id: file:///svn/phpbb/trunk@7234 89ea8834-ac86-4346-8a33-228a782c2dd0
* again, some changes here and there...Meik Sievertsen2007-03-231-4/+4
| | | | git-svn-id: file:///svn/phpbb/trunk@7218 89ea8834-ac86-4346-8a33-228a782c2dd0
* some fixes... hopefully not breaking something. :oMeik Sievertsen2007-03-221-9/+29
| | | | git-svn-id: file:///svn/phpbb/trunk@7216 89ea8834-ac86-4346-8a33-228a782c2dd0
* small redirect fix. ;)Meik Sievertsen2007-03-191-1/+8
| | | | git-svn-id: file:///svn/phpbb/trunk@7209 89ea8834-ac86-4346-8a33-228a782c2dd0
* #24601 ;_;Dominik Dröscher2007-03-141-2/+2
| | | | git-svn-id: file:///svn/phpbb/trunk@7197 89ea8834-ac86-4346-8a33-228a782c2dd0
* #8632Meik Sievertsen2007-03-101-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@7164 89ea8834-ac86-4346-8a33-228a782c2dd0
* #8618 + padding store checkMeik Sievertsen2007-03-101-1/+3
| | | | git-svn-id: file:///svn/phpbb/trunk@7163 89ea8834-ac86-4346-8a33-228a782c2dd0
* apply correct check for hiding sessionMeik Sievertsen2007-03-081-2/+19
| | | | git-svn-id: file:///svn/phpbb/trunk@7151 89ea8834-ac86-4346-8a33-228a782c2dd0
* again... some more fixes.Meik Sievertsen2007-03-081-3/+12
| | | | git-svn-id: file:///svn/phpbb/trunk@7150 89ea8834-ac86-4346-8a33-228a782c2dd0
* - fix some group specific bugsMeik Sievertsen2007-03-071-3/+10
| | | | | | | - correctly determining terrafrost's birthday mod git-svn-id: file:///svn/phpbb/trunk@7143 89ea8834-ac86-4346-8a33-228a782c2dd0
* typoDavid M2007-03-041-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@7121 89ea8834-ac86-4346-8a33-228a782c2dd0
* - small MSSQL thingDavid M2007-03-041-8/+129
| | | | | | | - changed how we store tracking data git-svn-id: file:///svn/phpbb/trunk@7120 89ea8834-ac86-4346-8a33-228a782c2dd0
* - added a UNIQUE index on the wordmatch tableNils Adermann2007-03-041-3/+3
| | | | | | | | - some modifications of search indexing which might improve the speed and hopefully fixes [Bug #8352] - added logging to search indexing [Bug #8384] git-svn-id: file:///svn/phpbb/trunk@7119 89ea8834-ac86-4346-8a33-228a782c2dd0
* "Reintroducing" S_CONTENT_DIR_LEFT & S_CONTENT_DIR_RIGHT as ↵Jonathan Stanley2007-02-271-0/+2
| | | | | | | | | | | S_CONTENT_FLOW_BEGIN & S_CONTENT_FLOW_END, but rather than taking values from ./language/xx/common.php (which often got translated when not needed, eg: to French, or just plain not used at all, swapping left=>right and right=>left in RTL mode). We now enumerate left/right-right/left-ness by checking the directionality (S_CONTENT_DIRECTION) that is set within common.php Or better still! Template/Style authors should stop hardcoding alignments/floats and put everything into the CSS, in which case LTR/RTL changes can be done very cleanly and sanely by prefexing specific rules with the .ltr/.rtl class. git-svn-id: file:///svn/phpbb/trunk@7090 89ea8834-ac86-4346-8a33-228a782c2dd0
* #8282David M2007-02-261-0/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@7089 89ea8834-ac86-4346-8a33-228a782c2dd0
* - fix htmlspecialchars handling in search (search backends get specialchared ↵Nils Adermann2007-02-251-4/+57
| | | | | | | | | | | | | | | | | | | | input, and should return specialchared output), current backends strip entities anyway [includes Bug #8156] - allow cancelling search index creation/removal - custom CSS class name input too short [Bug #8328] - give an error message if a password wasn't convertable (special characters in non-standard encoding) - moved still_on_time to functions.php, used by acp_search and converter, might be useful for MODs (or complex cron scripts) - do not allow empty passwords on login - add sids to local URLs in posts (this was a really terrible bug to fix ;-)) [Bug #7892] - ignore invalid HTTP_X_FORWARDED_FOR headers (just use REMOTE_ADDR if invalid) [Bug #8314] - changed forum listing code on search page and acp_attachments [Bug #6658] - search indexing uses still_on_time(), smaller batch size (1000) and meta_refresh() instead of redirect(), this should solve a few problems [Bugs #8034, #8270] - made password requirement language strings clearer - ALPHA is not meant to be alphanumric [Bug #7764] - display bug in firefox on linux making the pagination wrap on search results page (caused by  ) git-svn-id: file:///svn/phpbb/trunk@7076 89ea8834-ac86-4346-8a33-228a782c2dd0
* trying to fix some bugs...Meik Sievertsen2007-02-241-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@7054 89ea8834-ac86-4346-8a33-228a782c2dd0
* no h2Meik Sievertsen2007-02-241-2/+3
| | | | git-svn-id: file:///svn/phpbb/trunk@7053 89ea8834-ac86-4346-8a33-228a782c2dd0
* do not rely on admin style for E_USER_ERROR messagesMeik Sievertsen2007-02-241-12/+18
| | | | git-svn-id: file:///svn/phpbb/trunk@7052 89ea8834-ac86-4346-8a33-228a782c2dd0
* #8254David M2007-02-211-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@7030 89ea8834-ac86-4346-8a33-228a782c2dd0
* fixing some bugsMeik Sievertsen2007-02-181-1/+1
| | | | | | | | more mcp links for easier moderating different aspects (all, forum, topic) i may have introduced new bugs with this commit due to me having fixed some things weeks ago and some code changed in between - please report if you see something not working as expected. git-svn-id: file:///svn/phpbb/trunk@7007 89ea8834-ac86-4346-8a33-228a782c2dd0
* - Pruning doesn't lower user post counts anymore [Bug #7676]Nils Adermann2007-02-081-1/+1
| | | | | | | | | | | | | - Better resync explanations in ACP - relative link to board shouldn't result in an empty link [Bug #7762] - allow spaces to define multiple classes [Bug #7700] - forgot addslashes for password conversion [Bug #7530] - adjusted get_post_data call in mcp_post to retrieve read tracking info [Bug #7538] - fixed sorting in reports/queue by properly generating the pagination links [Bug #7666] - send UTF-8 charset header in database_update.php [Bug #7564] git-svn-id: file:///svn/phpbb/trunk@6974 89ea8834-ac86-4346-8a33-228a782c2dd0
* adjust text for getting image dimensions as well as not suppressing warnings ↵Meik Sievertsen2007-02-071-2/+2
| | | | | | for getimagesize() git-svn-id: file:///svn/phpbb/trunk@6973 89ea8834-ac86-4346-8a33-228a782c2dd0
* only some minor fixesMeik Sievertsen2007-02-051-2/+3
| | | | git-svn-id: file:///svn/phpbb/trunk@6969 89ea8834-ac86-4346-8a33-228a782c2dd0
* SEPARATOR, not SEPERATOR... also "neutralised" variable naming as it's used ↵Jonathan Stanley2007-01-271-1/+1
| | | | | | elsewhere outside of pagination. :) git-svn-id: file:///svn/phpbb/trunk@6940 89ea8834-ac86-4346-8a33-228a782c2dd0
* #7424Meik Sievertsen2007-01-271-1/+12
| | | | | | | - rebuild username_clean column due to changes in utf8_clean_string() git-svn-id: file:///svn/phpbb/trunk@6934 89ea8834-ac86-4346-8a33-228a782c2dd0
* - fix some oddities (doubled spaces for example)Meik Sievertsen2007-01-261-3/+3
| | | | | | | | | | - changed the way make_forum_select() is returning the forum list - now including skipped forums but being disabled. This should make identifying the correct forum much more easier. - Changed some permission namings based on suggestions by the community - Tried to comply to the permission field ordering within the language files while displaying permission sets. Hopefully it's worth the additional processing time. - Disable submit buttons after clicking for installation and conversions. git-svn-id: file:///svn/phpbb/trunk@6930 89ea8834-ac86-4346-8a33-228a782c2dd0
* fixing some bugs, most being submitted grammatical/spelling errors.Meik Sievertsen2007-01-211-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@6915 89ea8834-ac86-4346-8a33-228a782c2dd0
* fixing some bugsMeik Sievertsen2007-01-181-2/+0
| | | | git-svn-id: file:///svn/phpbb/trunk@6905 89ea8834-ac86-4346-8a33-228a782c2dd0
* ok, handled some bugs... the most important being validate_username (the ↵Meik Sievertsen2007-01-171-7/+7
| | | | | | variable passed to validate_data([...]array('username', [...])) and updating group listings while doing relevant group actions. Oh, and PM icons are working now. :o git-svn-id: file:///svn/phpbb/trunk@6894 89ea8834-ac86-4346-8a33-228a782c2dd0
* - solved a problem with magic urls inside brackets, and with bbcodes being ↵Nils Adermann2007-01-131-7/+13
| | | | | | | | | | treated as IPv6 addresses - turn NOT IN () and IN () into 1=1 and 1=0 so the database will understand it, instead of throwing an error in sql_in_set [Bug #7118] - some tiny fixes to fulltext_native git-svn-id: file:///svn/phpbb/trunk@6886 89ea8834-ac86-4346-8a33-228a782c2dd0
* - new homographs or IDN confusables ( ↵Nils Adermann2007-01-081-1/+1
| | | | | | | | | | http://www.unicode.org/reports/tr39/data/international.txt ) - also added character names to old homographs - pagination_sep theme option removed, PAGINATION_SEPERATOR can be set in language files and the theme can overwrite it using span.page-sep [Bug #6872] git-svn-id: file:///svn/phpbb/trunk@6862 89ea8834-ac86-4346-8a33-228a782c2dd0
* - use constants no weird numbers ;-)Nils Adermann2007-01-051-1/+1
| | | | | | | - solved problem with \w using UTF-8 search (fulltext_mysql) by using PCRE unicode character properties if available [Bug #5768] git-svn-id: file:///svn/phpbb/trunk@6843 89ea8834-ac86-4346-8a33-228a782c2dd0
* - allow login with redirect parameterNils Adermann2007-01-031-2/+2
| | | | | | | | | | - 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) ;-) git-svn-id: file:///svn/phpbb/trunk@6832 89ea8834-ac86-4346-8a33-228a782c2dd0
* - removed download mode selection (the column info and constants will not be ↵Meik Sievertsen2007-01-031-4/+4
| | | | | | | | | | | | removed, we or others may be able to re-use them later on) - removing extension from physical filename for uploaded attachments (as has been suggested some time ago from our community), can still be used by using the new 'unique_ext' mode on file cleaning - fixed a bug with copying attachments if copying a topic - made sure no attachment files get removed used at another location - changed media player "embed" code. For some this may result in no auto-resizing - though a download link has been added. git-svn-id: file:///svn/phpbb/trunk@6831 89ea8834-ac86-4346-8a33-228a782c2dd0
* - do not allow setting the parent to currently assigned childs [Bug #6708]Meik Sievertsen2007-01-021-0/+11
| | | | | | | | | | - Allow the display_on_index setting to be specified for link forums [Bug #6660] - Rank code in functions_display.php [Bug #6656] - Added some new locations for the viewonline page [Related to bug #6484] - Do not display attached images inline if user disabled image display in posts; the same with flash files [Bug #6226] git-svn-id: file:///svn/phpbb/trunk@6829 89ea8834-ac86-4346-8a33-228a782c2dd0
* Unused Code inside function update_forum_data [Bug #6606]Meik Sievertsen2006-12-271-30/+17
| | | | | | | | | | | | | | | | | | | | Copy permissions protection for groups [Bug #6594] HTML issues in ACP [Bug #6580, #6578] Always send the correct encoding [related to bug #6576] Mass email fixes for first loop iteration [Bug #6570] Extension groups to be allowed in PM's and/or Posts [Bug #6558] Extension allowance checking clarified (no longer using forum id 0 for private messaging) Using request_var() array method for some variables [Bug #6556] Added confirmation for deletion of ranks/smilies/icons/word censores [Bug #6548, #6530, #6512, #6466] Only show postable forums in dropdown list for moving posts on forum deletion as well as correct re-indexing [Bug #6510, #6476, #6384] Jabber password being password field in jabber settings screen [Bug #6478] user activity language variable if viewing not own profile [Bug #6432] Show moderator group/user-name colour [Bug #6402] Log rank creation/updating/removing [Bug #6398] Update check permission changed from a_ to a_board [Bug #6392] git-svn-id: file:///svn/phpbb/trunk@6816 89ea8834-ac86-4346-8a33-228a782c2dd0
* - display search type as page title for premade searches [Bug #6508]Nils Adermann2006-12-271-1/+0
| | | | | | | | | | | | | | | - flash enabled on user side by default, so that admins can actually change anything by activating it (still disabled by default) - properly implemented password complexity check [Bug #6584] - do not ldap_escape paramaters for the bind function [Bug #6208] - deleted words in edited post subjects weren't getting there search cache refreshed [Bug #6288] - made common word threshold configurable [Bug #6168] - recreated word match table entries after installation, side effect of bug #6060 - option to only allow ASCII usernames - adjusted search page pagination [Bug #6424] - correctly calculate unformatted search result extract length git-svn-id: file:///svn/phpbb/trunk@6814 89ea8834-ac86-4346-8a33-228a782c2dd0
* some fixes todayMeik Sievertsen2006-12-241-10/+286
| | | | | | | - most important change is the consolidation of the display attachment functions; merging them together to have one function we need to call. git-svn-id: file:///svn/phpbb/trunk@6803 89ea8834-ac86-4346-8a33-228a782c2dd0
* regex man strikes again!David M2006-12-231-4/+4
| | | | git-svn-id: file:///svn/phpbb/trunk@6794 89ea8834-ac86-4346-8a33-228a782c2dd0
* #6462, not a bug unless you run a version of PHP 5 that is less than 5.0.4...David M2006-12-211-18/+14
| | | | git-svn-id: file:///svn/phpbb/trunk@6786 89ea8834-ac86-4346-8a33-228a782c2dd0
* #6436, thanks ToonArmy for the patch :DDavid M2006-12-191-2/+2
| | | | git-svn-id: file:///svn/phpbb/trunk@6783 89ea8834-ac86-4346-8a33-228a782c2dd0
* - Optimize acl_getf_global a bitNils Adermann2006-12-161-6/+20
| | | | | | | | | | | | - a little performance improvement of the IP regular expressions - convert post_text/subject collation to utf8_unicode_ci if a user wants to use mysql_fulltext to allow case insensitivity [Bug #6272] - mysql_fulltext should alter all necessary columns at once to speed up the process - validate URLs against RFC3986 - fixed some weirdness in make_clickable I hope I didn't break any URLs with this commit, if I did then report it to the bugtracker please! git-svn-id: file:///svn/phpbb/trunk@6774 89ea8834-ac86-4346-8a33-228a782c2dd0
* proper solution to #6114, guarantees $seed lies below 0x7FFFFFFFDavid M2006-12-091-4/+2
| | | | git-svn-id: file:///svn/phpbb/trunk@6731 89ea8834-ac86-4346-8a33-228a782c2dd0
* - re-add script_path for "strange configurations" to let them force the ↵Meik Sievertsen2006-12-081-3/+11
| | | | | | | | | | generated urls correctly - show rank title if no rank image present in memberlist - other fixes. git-svn-id: file:///svn/phpbb/trunk@6730 89ea8834-ac86-4346-8a33-228a782c2dd0
* #6076David M2006-12-081-5/+9
| | | | | | | - removed unused junk from functions.php git-svn-id: file:///svn/phpbb/trunk@6729 89ea8834-ac86-4346-8a33-228a782c2dd0
* minor bugfixingMeik Sievertsen2006-12-061-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@6719 89ea8834-ac86-4346-8a33-228a782c2dd0
* oops :DDavid M2006-12-051-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@6711 89ea8834-ac86-4346-8a33-228a782c2dd0
* #5734David M2006-12-031-1/+3
| | | | | | | - replaced array_rand($array) with mt_rand(0, sizeof($array) - 1) as array_rand did not take my seed git-svn-id: file:///svn/phpbb/trunk@6705 89ea8834-ac86-4346-8a33-228a782c2dd0
* some tiny bugfixes.Meik Sievertsen2006-12-031-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@6702 89ea8834-ac86-4346-8a33-228a782c2dd0