aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_content.php
Commit message (Collapse)AuthorAgeFilesLines
* Merge PR #786 branch 'brunoais/ticket/10845' into developOleg Pudeyev2012-11-061-3/+1
|\ | | | | | | | | | | | | | | | | | | | | | | * brunoais/ticket/10845: [ticket/10845] Removed one empty line that wasn't supposed to be there [ticket/10845] Two of the three colouns were missing in the DB update file [ticket/10845] Remove censor from text [ticket/10845] Now it shows the preview post parsed [ticket/10845] Changed the report system. Now it saves posts with the bbcode Conflicts: phpBB/includes/functions_content.php
| * [ticket/10845] Remove censor from textBruno Ais2012-05-021-2/+5
| | | | | | | | | | | | | | | | In order to remove the censor, I added a new parameter to generate_text_for_display(), that new parameter is used to tell if the text should be censored or not. Defaults to true. PHPBB3-10845
* | [feature/add_events] Put globals on one lineDavid King2012-08-221-4/+2
| | | | | | | | PHPBB3-9550
* | [feature/add_events] Remove $allow_bbcode and $allow_smiliesDavid King2012-08-221-10/+4
| | | | | | | | | | | | Upon testing it was discovered that these did not work as originally intended. PHPBB3-9550
* | [feature/add_events] Globalize event dispatcher object in some functionsDavid King2012-08-221-0/+2
| | | | | | | | PHPBB3-9550
* | [feature/add_events] Before and after events for generate_text_for_* functionsDavid King2012-08-211-8/+72
| | | | | | | | PHPBB3-9550
* | [feature/add_events] Added events for modifying generate_text_for_display()David King2012-08-211-0/+27
| | | | | | | | | | | | | | The events allow you to perform extra functions on the text before nad/or after it has been parsed for BBCode and Smilies. PHPBB3-9550
* | [feature/add_events] Fixed docs, added _profile_cache to event parametersDavid King2012-08-211-4/+4
| | | | | | | | PHPBB3-9550
* | [feature/add_events] Change alter -> modify in event nameDavid King2012-08-211-2/+2
| | | | | | | | PHPBB3-9550
* | [feature/add_events] Add event core.alter_username_string to change usernameDavid King2012-08-201-2/+27
|/ | | | PHPBB3-9550
* [ticket/10438] Alligning the Smileys on the same line as the text.Hari Sankar R2012-04-021-1/+1
| | | | | | | | | Changed the styling of smilies to appear at the same level as text, by adding vertical-align: text-bottom css property to all smilies. Edited functions_content.php to add class="smilies" to all parsed smilies. PHPBB3-10438
* [ticket/10510] Moved a $user->lang call into the function.Callum Macrae2012-03-171-2/+3
| | | | PHPBB3-10510
* [ticket/10510] Made a couple improvements to phpbb_add_quickmod_option.Callum Macrae2012-03-171-1/+1
| | | | PHPBB3-10510
* [ticket/10510] Added phpbb_add_quickmod_option and moved existing to it.Callum Macrae2012-03-171-2/+17
| | | | PHPBB3-10510
* [ticket/9916] Updating header license and removing Version $Id$Unknown2011-12-311-2/+1
| | | | PHPBB3-9916
* [ticket/10345] Make use of the plural function in some basic placesJoas Schilling2011-11-251-9/+7
| | | | PHPBB3-10345
* Merge branch 'develop-olympus' into developAndreas Fischer2011-08-211-3/+0
|\ | | | | | | | | * develop-olympus: [ticket/10240] Reverted a commit which added buggy code.
| * [ticket/10240] Reverted a commit which added buggy code.Callum Macrae2011-08-211-3/+0
| | | | | | | | | | | | | | | | This reverts commit f9dbe33fa7917b6220a85a01ed9f395f3f1bb888. The code which was added also removed new lines and tabs. PHPBB3-10240
* | Merge branch 'develop-olympus' into developOleg Pudeyev2011-08-091-0/+3
|\ \ | |/ | | | | | | * develop-olympus: [ticket/10240] Added code to strip control characters from messages.
| * Merge remote-tracking branch 'callumacrae/ticket/10240' into develop-olympusOleg Pudeyev2011-08-091-0/+3
| |\ | | | | | | | | | | | | * callumacrae/ticket/10240: [ticket/10240] Added code to strip control characters from messages.
| | * [ticket/10240] Added code to strip control characters from messages.Callum Macrae2011-08-081-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is possible to evade the word filter using control characters. Seeing as control characters have no practical application in a bulletin board software, it doesn't do any harm to remove them entirely. That is what this commit does. PHPBB3-10240
* | | Merge branch 'develop-olympus' into developOleg Pudeyev2011-08-041-1/+1
|\ \ \ | |/ / | | | | | | | | | * develop-olympus: [ticket/10299] Fix typo in comment about $max_store_length in truncate_string()
| * | [ticket/10299] Fix typo in comment about $max_store_length in truncate_string()Andreas Fischer2011-07-311-1/+1
| |/ | | | | | | PHPBB3-10299
* | [ticket/9556] Drop php closing tags, add trailing newlineIgor Wiedler2010-11-111-2/+0
|/ | | | | | | | | | | | Closing tags converted using Oleg's script. remove-php-end-tags.py -a . Trailing newlines added using the following where $ext is file extension. find . -type f -name "*.$ext" -print | xargs printf "e %s\nw\n" | ed -s; Extensions: php, css, html, js, xml. PHPBB3-9556
* Deprecate $allow_reply parameter to truncate_string() (Bug #56675)Josh Woody2010-01-251-2/+3
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10442 89ea8834-ac86-4346-8a33-228a782c2dd0
* Allow "0" as censor word and replacement.Andreas Fischer2009-08-211-0/+6
| | | | | | Only obtain word censor list if text is not empty. git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10039 89ea8834-ac86-4346-8a33-228a782c2dd0
* Ability to define constant PHPBB_USE_BOARD_URL_PATH to use board url for ↵Meik Sievertsen2009-08-171-1/+2
| | | | | | | | images/avatars/ranks/imageset... This feature does not change anything for those not using the constant and this feature is also quite in-flux. We need to test this with some applications and bridges and there may be other locations able to benefit from it. git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10008 89ea8834-ac86-4346-8a33-228a782c2dd0
* Apply locale-independent basename() to attachment filenames. New function ↵Meik Sievertsen2009-08-011-3/+3
| | | | | | added: utf8_basename(). (Bug #43335 - Patch by ocean=Yohsuke) git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9905 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fix bug #31505 - Do not cut post-message in between HTML-Entities on ↵Joas Schilling2009-07-241-2/+7
| | | | | | | | | search.php - Patch by leviatan21 Authorised by: AcydBurn git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9842 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fix bug #47775 - Properly convert and show filesize informationAndreas Fischer2009-07-111-5/+3
| | | | | | Authorised by: naderman git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9748 89ea8834-ac86-4346-8a33-228a782c2dd0
* late fix for #44845 (phpBB debug notice for some search terms)Meik Sievertsen2009-05-131-0/+5
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9515 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fix infinite loop in truncate_string (Bug #43475)Meik Sievertsen2009-04-041-1/+1
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9424 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fix infinite loop in truncate_string (Bug #43475)Meik Sievertsen2009-04-041-1/+1
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9423 89ea8834-ac86-4346-8a33-228a782c2dd0
* Flash files do not display anymore after update to flash player 10 (Bug #41315)Meik Sievertsen2009-03-171-0/+1
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9384 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fix download count increments for image attachments without corresponding ↵Meik Sievertsen2009-03-161-0/+2
| | | | | | thumbnails. (Bug #42505) git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9373 89ea8834-ac86-4346-8a33-228a782c2dd0
* fix tiny typo... the mode is no_profile instead of noprofile.Meik Sievertsen2009-01-031-1/+1
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9247 89ea8834-ac86-4346-8a33-228a782c2dd0
* change get_username_string() again. This time we do not try to "guess" ↵Meik Sievertsen2008-12-241-51/+66
| | | | | | | | something. We also do not cache the modes. Instead we try to only run required code and pre-compile the URL and TPL. This should give the optimal performance given the circumstances. Additionally fix a small bug with profile urls if the RokBridge is used. git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9217 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fix bug #38655Meik Sievertsen2008-12-111-3/+3
| | | | | | | - Since guest_username is only used for anonymous we revert back to user_id being the cache key and not caching anonymous usernames at all - the code changes are as minimal as possible git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9184 89ea8834-ac86-4346-8a33-228a782c2dd0
* fix the no_profile one called after another mode with the same user_id and ↵Meik Sievertsen2008-12-031-2/+2
| | | | | | guest_username git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9160 89ea8834-ac86-4346-8a33-228a782c2dd0
* Performance increase for get_username_string() (Bug #37545 - Patch by BartVB)Meik Sievertsen2008-12-021-48/+45
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9148 89ea8834-ac86-4346-8a33-228a782c2dd0
* better fix for (Bug #37055)Nils Adermann2008-11-221-4/+3
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9085 89ea8834-ac86-4346-8a33-228a782c2dd0
* - Properly treat punctuation marks after local urls [Bug #37055]Nils Adermann2008-11-221-1/+9
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9084 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fix for r8752Meik Sievertsen2008-10-061-14/+24
| | | | | | (the code removed actually was quite important - this checkin merges this with the new code) git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8970 89ea8834-ac86-4346-8a33-228a782c2dd0
* Wrong parameter count for preg_replace in get_context() (IMO we need no ↵Meik Sievertsen2008-09-301-1/+1
| | | | | | limit there - nils, you may check this again to be sure) - #34135 git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8960 89ea8834-ac86-4346-8a33-228a782c2dd0
* #31185Henry Sudhof2008-08-131-44/+43
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8752 89ea8834-ac86-4346-8a33-228a782c2dd0
* further checks on maximum storage lengthMeik Sievertsen2008-06-211-1/+24
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8667 89ea8834-ac86-4346-8a33-228a782c2dd0
* correctly set flags if text is emptyMeik Sievertsen2008-06-141-2/+2
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8657 89ea8834-ac86-4346-8a33-228a782c2dd0
* fix for bug #27355Meik Sievertsen2008-05-181-1/+1
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8561 89ea8834-ac86-4346-8a33-228a782c2dd0
* - [Fix] Do not detect the board URL as a link twice in posts (Bug #19215)Nils Adermann2008-03-241-4/+15
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8462 89ea8834-ac86-4346-8a33-228a782c2dd0
* #22355Meik Sievertsen2008-02-281-1/+1
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8420 89ea8834-ac86-4346-8a33-228a782c2dd0