aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_display.php
Commit message (Collapse)AuthorAgeFilesLines
* [feature/avatars] Pass phpbb_user object to get_custom_html()Marc Alexander2013-01-081-1/+1
| | | | | | | | Pass the phpbb_user object to function get_custom_html(). This object is used in that method. Also fixed incorrect arguments to get_custom_html() in phpbb_get_avatar(). PHPBB3-10018
* [feature/avatars] Add phpbb prefix to new functionsMarc Alexander2013-01-041-5/+5
| | | | | | | | Although get_user_avatar() is not new, the phpbb prefix was prepended. This is due to the fact that it was entirely rewritten and is therefore more or less a completely new function. PHPBB3-10018
* Merge branch 'develop' of github.com:marc1706/phpbb3 into feature/avatarsMarc Alexander2012-12-241-0/+28
|\
| * [ticket/10954] Change behavior of marking topics/forumsMarc Alexander2012-12-141-4/+10
| | | | | | | | | | | | | | | | | | | | It will now display a popup message for 3 seconds which will confirm the taken action. The amount of DOM traversals have been significantly reduced and jQuery.each is now used instead of for loops. Additionally, it is now possible to click on the mark topics/forums read links without triggering an AJAX error. PHPBB3-10954
| * [ticket/10954] Modify is_ajax check for consistencyMarc Alexander2012-12-121-13/+9
| | | | | | | | PHPBB3-10954
| * [ticket/10954] Mark forums read without popup or page refreshMarc Alexander2012-12-121-5/+31
| | | | | | | | PHPBB3-10954
* | [feature/avatars] Fix variable namesMarc Alexander2012-11-301-4/+4
| | | | | | | | PHPBB3-10018
* | [feature/avatars] Let avatar manager handle $ignore_configMarc Alexander2012-11-301-1/+1
| | | | | | | | | | | | | | The avatar manager already handles if avatars are enabled. It should also handle ignoring the config settings. PHPBB3-10018
* | [feature/avatars] Properly implement custom HTML in the interfaceMarc Alexander2012-11-291-4/+4
| | | | | | | | | | | | | | | | | | Previously the driver class added a variable that defined wether an avatar driver would return custom HTML. The existence of this variable was implied in the interface. It's also not needed which is why it has been removed. PHPBB3-10018
* | [feature/avatars] Only create avatar objects if necessaryMarc Alexander2012-11-251-1/+2
| | | | | | | | PHPBB3-10018
* | [feature/avatars] Add support for custom avatar HTML codeMarc Alexander2012-11-141-1/+1
| | | | | | | | PHPBB3-10018
* | Merge branch 'feature/avatars' of https://github.com/igorw/phpbb3 into ↵Marc Alexander2012-11-121-55/+62
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | feature/avatars Conflicts: phpBB/adm/style/acp_groups.html phpBB/adm/style/acp_users_avatar.html phpBB/includes/acp/acp_groups.php phpBB/includes/acp/acp_users.php phpBB/includes/functions_display.php phpBB/install/database_update.php phpBB/install/schemas/mssql_schema.sql phpBB/styles/prosilver/template/ucp_avatar_options.html
| * Merge branch 'develop' into feature/avatarsIgor Wiedler2012-07-211-42/+2
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * develop: (201 commits) [feature/new-tz-handling] Don't use global user but make it a parameter [feature/new-tz-handling] Fix size of suggestion button in chrome [feature/new-tz-handling] Fall back to UTC, if the timezone is invalid [feature/new-tz-handling] Add previous selected value to validation if valid [feature/new-tz-handling] Display suggestion when a different value is selected [ticket/10998] Add border-radius to forum rules block - prosilver [feature/new-tz-handling] Remove additional marking of selected items [feature/new-tz-handling] Move update helper function to new class [feature/new-tz-handling] Fix unit test [feature/new-tz-handling] Delete old variable which is not used anymore [feature/new-tz-handling] Rename $user->tz back to $user->timezone [feature/pagination-as-list] New parameter for name of start var [feature/pagination-as-list] Updates for nils comments [feature/pagination-as-list] Rename and deprecate functions [feature/pagination-as-list] Various fixes and improvements [ticket/10968] Render pagination within the template [feature/new-tz-handling] Remove "timezone might be numeric" [feature/new-tz-handling] Add function to update the timezone [feature/new-tz-handling] Correctly update user and board timezones on update [ticket/10996] Use correct DBMS name in Travis config for PostgreSQL ...
| * \ Merge remote-tracking branch 'upstream/develop' into feature/avatarsIgor Wiedler2012-06-271-2/+5
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream/develop: (255 commits) [ticket/10935] Limit number of PM rules per user to 5000 [ticket/10801] Fixed quickmod tools. [ticket/9551] uncomment line and change length to 255 [ticket/10925] Clarify installation requirements for SQLite [ticket/10938] Serve subforum listing on forumlist from template loop [ticket/10640] Change subject length in mcp in subsilver [ticket/10640] Change subject length in MCP [ticket/10640] Do not change default value of truncate_string() [ticket/10640] Change maximum subject length [ticket/10936] remove PCRE and mbstring support check [ticket/10936] fix language key [ticket/10829] Delete T_STYLESHEET_NAME - no longer used. [ticket/10829] $style_name -> $style_path in style class. [ticket/10743] Renaming user->theme [ticket/10743] Changing obtain_cfg_items [ticket/10882] Fix test name - oops. [ticket/10931] Apply strtolower() correctly, i.e. not on false. [ticket/10931] Also test get_bytes() and get_string() with false. [ticket/10931] Make to_numeric function globally available. [ticket/10932] Use included composer.phar in build process ... Conflicts: phpBB/includes/mcp/mcp_warn.php phpBB/install/database_update.php phpBB/styles/prosilver/template/ucp_avatar_options.html
| * | | [feature/avatars] Update avatars in database_updateIgor Wiedler2012-04-081-57/+13
| | | | | | | | | | | | | | | | PHPBB3-10018
| * | | [feature/avatars] Simplify clean_row, move it to avatar managerIgor Wiedler2012-04-081-2/+2
| | | | | | | | | | | | | | | | PHPBB3-10018
| * | | [feature/avatars] Introduce an avatar driver interfaceIgor Wiedler2012-04-081-2/+2
| | | | | | | | | | | | | | | | PHPBB3-10018
| * | | [feature/avatars] Introduce global phpbb_avatar_managerIgor Wiedler2012-04-081-8/+2
| | | | | | | | | | | | | | | | PHPBB3-10018
| * | | [feature/avatars] Use request object in avatar driversIgor Wiedler2012-04-071-1/+2
| | | | | | | | | | | | | | | | PHPBB3-10018
| * | | Merge branch 'develop' into feature/avatarsIgor Wiedler2012-04-071-0/+1
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * develop: (335 commits) [ticket/10575] Adding public visibility to the methods. [ticket/10575] Fixing non-static access to static functions get_instance [ticket/10547] User is not logged in as admin after installation [ticket/10650] Revert merge of 'rahulr92/ticket/10650' into develop [ticket/10650] Added checking for empty subjects [ticket/10650] Corrected intendation [ticket/10650]Added permission checking and utf8 functions [ticket/10650] Cropped subject and inserted newline [ticket/10650] Corrected space before true [ticket/10650] Changed language files and forumlist [ticket/10650] Added static sql files [ticket/10650] Displaying last topic on forum list [ticket/10760] Fix numbering in php fun facts. [ticket/10760] Value must be quoted as it might be two words. [ticket/10760] PHP is great. This commit is the proof. [ticket/10760] Catch both versions of parse error output in php. [ticket/10607] Added 'Powered by' translation string. [ticket/10760] Account for display_errors=stderr in pre-commit hook. [ticket/10760] Quote PHP_BIN when using it. [ticket/10760] Use echo -e only if echo understands -e. ...
| * | | | [feature/avatars] Make avatars genericCullen Walsh2012-03-181-29/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding a cleaning function for data coming from the users/groups tables so drivers only deal with clean data (ideally). Refactored get_user_avatar() and get_group_avatar() to use an underlying get_avatar() function. PHPBB3-10018
| * | | | [feature/avatars] Various cosmetic changesCullen Walsh2012-03-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Various small changes based on feedback from nn- * Renaming $php_ext to $phpEx * Fixing copyright years * Explain $ignore_config * Explain Regex * Copypasta package error * rename get_singleton PHPBB3-10018
| * | | | [feature/avatars] Refactor avatars to use managerCullen Walsh2012-03-181-35/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Manager now stores singletons of each driver to speed loading. PHPBB3-10018
| * | | | [feature/avatars] Modularized AvatarsCullen Walsh2012-03-181-18/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A modularized avatar system that easily allows plugins to be created for various avatar services, such as Gravatar. This inital commit includes module support and is backwards compatible with 3.0 avatars, but does notcontain ACP or UCP modules for manipulating new avatars. PHPBB3-10018
* | | | | Merge remote-tracking branch 'EXreaction/ticket/8796' into developAndreas Fischer2012-10-181-5/+5
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * EXreaction/ticket/8796: [ticket/8796] Prevent setting post_time greater than time() in markread [ticket/8796] Fix a few issues with the previous commits [ticket/8796] Mark read links updated to include time() in url [ticket/8796] Revert changes to $user->data['lastmark'] [ticket/8796] Make function markread obey the $post_time argument
| * | | | | [ticket/8796] Fix a few issues with the previous commitsNathaniel Guse2012-09-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix an SQL error and the redirect url generated PHPBB3-8796
| * | | | | [ticket/8796] Mark read links updated to include time() in urlNathaniel Guse2012-09-031-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Submitting the current time() allows us to mark only the topics and forums read up until a certain time (when the user loaded the page). This means that any new posts or topics posted between when the user opened the page and clicked the link are still shown as unread. PHPBB3-8796
* | | | | | [ticket/11092] phpbb_gen_download_links strict standards errorsNathan Guse2012-09-071-1/+2
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | Two strict standards errors in phpbb_gen_download_links PHPBB3-11092
* | | | | Merge remote-tracking branch 'Fyorl/feature/attach-dl' into developAndreas Fischer2012-08-261-0/+35
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fyorl/feature/attach-dl: (75 commits) [feature/attach-dl] Removed the use of some abbreviations [feature/attach-dl] Changed $files_added checks [feature/attach-dl] Renamed $post_id to $post_msg_id [feature/attach-dl] Fixed a comment [feature/attach-dl] Optimised an sql query [feature/attach-dl] Fixed the logic in an sql statement [feature/attch-dl] $forum_id cast to int [feature/attach-dl] Fixed $file_added to $files_added [feature/attach-dl] Moved definition of $archive_name [feature/attach-dl] Swapped the order of an if statement [feature/attach-dl] Cast variables to int [feature/attach-dl] Added $archive_path [feature/attach-dl] Used COMMA_SEPARATOR instead of actual comma [feature/attach-dl] Renamed $count to $files_added [feature/attach-dl] Removed sprintf() use [feature/attach-dl] Removed need for array_keys() [feature/attach-dl] Added multiple attachment downloads to PMs [feature/attach-dl] Removed reliance on current($row) [feature/attach-dl] Renamed to phpbb_download_handle_forum_auth [feature/attach-dl] Moved PM authentication handling into own function ...
| * | | | | [feature/attach-dl] Moved include of compress class inside functionFyorl2012-08-071-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11042
| * | | | | [feature/attach-dl] Prefixed gen_download_links with phpbb_Fyorl2012-08-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11042
| * | | | | [feature/attach-dl] Downloading all attachments fully implementedFyorl2012-08-041-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added a function to list all available archiving methods and integrated it with the prosilver style. Heavy modifications to download/file.php to support archiving and downloading of multiple files at once. PHPBB3-11042
* | | | | | Merge remote-tracking branch 'nickvergessen/feature/php-events-4' into developDavid King2012-08-201-6/+108
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | [feature/php-events] Allow core.user_get_avatar to overwrite all avatarsJoas Schilling2012-08-011-9/+25
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9550
| * | | | | [feature/php-events] Fix docs of core.display_custom_bbcodesJoas Schilling2012-08-011-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9550
| * | | | | [feature/php-events] Fix docs and naming of display_custom_bbcodes_modify_rowJoas Schilling2012-08-011-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9550
| * | | | | [feature/php-events] Fix docs and naming of display_forums_modify_template_varsJoas Schilling2012-08-011-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9550
| * | | | | [feature/php-events] Move core.display_forums_modify_forum_rows to better pointJoas Schilling2012-08-011-3/+16
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9550
| * | | | | [feature/php-events] Fix docs of core.display_forums_modify_rowJoas Schilling2012-08-011-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9550
| * | | | | [feature/php-events] Fix docs and naming of core.display_forums_modify_sqlJoas Schilling2012-08-011-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9550
| * | | | | [feature/php-events] Make handling of forumrow consistent with othersJoas Schilling2012-08-011-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9550
| * | | | | [feature/php-events] Properly name user_default_avatar and add additional varsJoas Schilling2012-08-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9550
| * | | | | [feature/php-events] Rename display_forums_sql_inject to be less misleadingJoas Schilling2012-08-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9550
| * | | | | [feature/events] Renamed $empty_avatar to $default_avatarDavid King2012-08-011-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9550
| * | | | | [feature/events] Added core.user_default_avatar eventDavid King2012-08-011-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This way, extension authors can overwrite the empty value returned when a user does not have an avatar with a default value to display instead of nothing in the avatar space. PHPBB3-9550
| * | | | | [feature/events] Removing the third trigger_event parameterMichael Cullum2012-08-011-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9550
| * | | | | [feature/events] Change to use the new method of adding eventsMichael Cullum2012-08-011-15/+5
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9550
| * | | | | [feature/events] Adding ledge display_custom_bbcodesJoas Schilling2012-08-011-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Used by phpBB Gallery PHPBB3-9550
| * | | | | [feature/events] Adding ledge display_custom_bbcodes_rowJoas Schilling2012-08-011-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Used by phpBB Gallery PHPBB3-9550
| * | | | | [feature/events] Replace run_hooks calls with event dispatcher.Oleg Pudeyev2012-08-011-8/+19
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9550