aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
Commit message (Collapse)AuthorAgeFilesLines
* - install style and style elementsMeik Sievertsen2006-01-021-0/+4
| | | | | | | - refresh template and style cache git-svn-id: file:///svn/phpbb/trunk@5416 89ea8834-ac86-4346-8a33-228a782c2dd0
* - mt_srand in unique_id working properly (swapped usec and sec)Nils Adermann2005-12-301-1/+1
| | | | | | | - mt_srand in digest_md5 removed git-svn-id: file:///svn/phpbb/trunk@5403 89ea8834-ac86-4346-8a33-228a782c2dd0
* This was causing trouble on ppc, I kept getting the same random string ↵Nils Adermann2005-12-291-3/+0
| | | | | | (probably the passed value was too big). And "As of PHP 4.2.0, there is no need to seed the random number generator with srand() or mt_srand() as this is now done automatically." so I removed it completely. git-svn-id: file:///svn/phpbb/trunk@5395 89ea8834-ac86-4346-8a33-228a782c2dd0
* - some changes to browser checking (was the reason for not working logins)Meik Sievertsen2005-12-281-2/+5
| | | | | | | | - partly working style acp - other tiny changes here and there git-svn-id: file:///svn/phpbb/trunk@5388 89ea8834-ac86-4346-8a33-228a782c2dd0
* - ok, get away with the secondary style approach (styles can be mixed ↵Meik Sievertsen2005-12-221-8/+49
| | | | | | | | | | together easily with the acp) - introduce a more generic approach of defining some additional variables through cfg files as well as the name, copyright and version fields - please note that at the moment this is in flux. I added it now for Tom because he needs the theme parameters. git-svn-id: file:///svn/phpbb/trunk@5372 89ea8834-ac86-4346-8a33-228a782c2dd0
* Third time around, it turns out that the code where I made that mistake ↵Graham Eames2005-12-181-1/+1
| | | | | | initially is completely unneeded since you won't get to this point if the user is anonymous (or a bot) anyway git-svn-id: file:///svn/phpbb/trunk@5355 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fix an issue with hidden users showing up on the online list if theirGraham Eames2005-12-171-1/+1
| | | | | | | global setting was yes but they had hidden for this session git-svn-id: file:///svn/phpbb/trunk@5350 89ea8834-ac86-4346-8a33-228a782c2dd0
* I was told I also had to commit something today ;-)Nils Adermann2005-12-171-1/+1
| | | | | | | Hexadecimal should be in double quotes. git-svn-id: file:///svn/phpbb/trunk@5348 89ea8834-ac86-4346-8a33-228a782c2dd0
* Adding the ability to change send_encoding needs a slight tweak to theGraham Eames2005-12-171-1/+1
| | | | | | | code which tests it since it will now always be set git-svn-id: file:///svn/phpbb/trunk@5347 89ea8834-ac86-4346-8a33-228a782c2dd0
* - custom profile fieldsMeik Sievertsen2005-12-101-0/+8
| | | | | | | | - prune users - prune forums git-svn-id: file:///svn/phpbb/trunk@5325 89ea8834-ac86-4346-8a33-228a782c2dd0
* - banning, disallow usernames and ranksMeik Sievertsen2005-12-091-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@5323 89ea8834-ac86-4346-8a33-228a782c2dd0
* - some bugfixesMeik Sievertsen2005-12-041-9/+20
| | | | | | | | | | | | | - checking if page_header has been called already - call correct page footer function - rewrote avatar gallery - seperated compilation of template and template functions (new file: functions_template.php) - added assign_display function to template - added group management (acp) - removed admin_groups git-svn-id: file:///svn/phpbb/trunk@5319 89ea8834-ac86-4346-8a33-228a782c2dd0
* - added acp_language (language pack management)Meik Sievertsen2005-11-301-13/+15
| | | | | | | - minor adjustments to cope with PHP5.x git-svn-id: file:///svn/phpbb/trunk@5315 89ea8834-ac86-4346-8a33-228a782c2dd0
* - some ucp changes (added the module info too)Meik Sievertsen2005-11-171-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@5302 89ea8834-ac86-4346-8a33-228a782c2dd0
* - tiny bugfixes. ;)Meik Sievertsen2005-11-081-2/+2
| | | | git-svn-id: file:///svn/phpbb/trunk@5296 89ea8834-ac86-4346-8a33-228a782c2dd0
* I'm merging a few changes that we made to the session code in 2.0 intoGraham Eames2005-11-031-2/+3
| | | | | | | | this code stream as well. This should work, but equally it might break the autologin :-) git-svn-id: file:///svn/phpbb/trunk@5288 89ea8834-ac86-4346-8a33-228a782c2dd0
* - updated topic tracking codeMeik Sievertsen2005-10-191-165/+404
| | | | | | | | | - additional changes (mostly bugfixes) - bart, if you update your user table with the user_lastmark field, set it to the user_lastvisit value ;) - and last but not least, introducing some bugs in ucp main front (regarding topic tracking) git-svn-id: file:///svn/phpbb/trunk@5272 89ea8834-ac86-4346-8a33-228a782c2dd0
* - added new query type to dbal's sql_build_arrayMeik Sievertsen2005-10-091-0/+1
| | | | | | | | | - allow setting custom template path - adjusted module class to correctly parse trees with more than one category - added caching to module class git-svn-id: file:///svn/phpbb/trunk@5268 89ea8834-ac86-4346-8a33-228a782c2dd0
* - some bugfixesMeik Sievertsen2005-10-041-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@5255 89ea8834-ac86-4346-8a33-228a782c2dd0
* - move some functions from global functions file to functions_display (those ↵Meik Sievertsen2005-10-021-414/+18
| | | | | | only needed in posting and viewtopic/forum) git-svn-id: file:///svn/phpbb/trunk@5240 89ea8834-ac86-4346-8a33-228a782c2dd0
* hidden fields adjustmentsMeik Sievertsen2005-08-191-5/+6
| | | | git-svn-id: file:///svn/phpbb/trunk@5201 89ea8834-ac86-4346-8a33-228a782c2dd0
* - added function for easily building hidden fieldsMeik Sievertsen2005-08-181-8/+37
| | | | | | | - extended confirm_box function (ability to use custom urls, ability to use custom confirm message) git-svn-id: file:///svn/phpbb/trunk@5195 89ea8834-ac86-4346-8a33-228a782c2dd0
* - view active topicsMeik Sievertsen2005-06-131-0/+2
| | | | | | | - seperated search id (int) from search id (string) for security reasons git-svn-id: file:///svn/phpbb/trunk@5161 89ea8834-ac86-4346-8a33-228a782c2dd0
* - request_var updatesMeik Sievertsen2005-05-151-22/+34
| | | | | | | | | - added group selection to pm filter - fixed activation/deletion of inactive user accounts in admin index - fixed some color swatch bugs git-svn-id: file:///svn/phpbb/trunk@5152 89ea8834-ac86-4346-8a33-228a782c2dd0
* - some cross-db related changesMeik Sievertsen2005-05-051-0/+30
| | | | | | | - putting active bots array into cache git-svn-id: file:///svn/phpbb/trunk@5140 89ea8834-ac86-4346-8a33-228a782c2dd0
* - some private message fixesMeik Sievertsen2005-05-011-0/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@5139 89ea8834-ac86-4346-8a33-228a782c2dd0
* - test slightly modified topic tracking codeMeik Sievertsen2005-04-301-20/+81
| | | | | | | - some bugfixes git-svn-id: file:///svn/phpbb/trunk@5135 89ea8834-ac86-4346-8a33-228a782c2dd0
* - made path information available to template (T_)Meik Sievertsen2005-04-111-0/+6
| | | | | | | | - eased topic/post icon in templates (removing hardcoded img) - added S_FIRST_ROW and S_LAST_ROW to template engine git-svn-id: file:///svn/phpbb/trunk@5118 89ea8834-ac86-4346-8a33-228a782c2dd0
* - added updated coding guidelinesMeik Sievertsen2005-04-101-10/+10
| | | | | | | | - introduced is_registered and is_bot flags for correct determinition of guest/registered/bot users - changed bot code to act on useragent || ip git-svn-id: file:///svn/phpbb/trunk@5117 89ea8834-ac86-4346-8a33-228a782c2dd0
* - fixed custom profile field get/storeMeik Sievertsen2005-04-101-13/+15
| | | | | | | | - changed tz lang array to hold more descriptive timezones (no more tz+-13, dst is a seperate option) - fixed bugs after jabber queue processing (data being escaped differently) git-svn-id: file:///svn/phpbb/trunk@5116 89ea8834-ac86-4346-8a33-228a782c2dd0
* - Documentation related changesMeik Sievertsen2005-04-091-65/+159
| | | | | | | | | | - 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) git-svn-id: file:///svn/phpbb/trunk@5114 89ea8834-ac86-4346-8a33-228a782c2dd0
* - and my second attemptMeik Sievertsen2005-03-211-11/+49
| | | | git-svn-id: file:///svn/phpbb/trunk@5109 89ea8834-ac86-4346-8a33-228a782c2dd0
* change viewonline page slightly.Meik Sievertsen2005-02-101-8/+21
| | | | | | | Mental Note: Step away from using in_array in conjunction with huge arrays (and within a loop), might get slow. ;) git-svn-id: file:///svn/phpbb/trunk@5091 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fixed dotted topics on replyBart van Bragt2005-01-291-2/+3
| | | | git-svn-id: file:///svn/phpbb/trunk@5087 89ea8834-ac86-4346-8a33-228a782c2dd0
* fix admin_session "bug"Meik Sievertsen2005-01-271-4/+8
| | | | git-svn-id: file:///svn/phpbb/trunk@5083 89ea8834-ac86-4346-8a33-228a782c2dd0
* BBCode enabled profile fields, removed field_name from profile fields, fixed ↵Bart van Bragt2005-01-241-1/+1
| | | | | | some uninitialised variable issues, some small conversion issues git-svn-id: file:///svn/phpbb/trunk@5076 89ea8834-ac86-4346-8a33-228a782c2dd0
* - removed unnecessary pm optionsMeik Sievertsen2005-01-211-2/+1
| | | | | | | - added one option to clearly define email visibility git-svn-id: file:///svn/phpbb/trunk@5071 89ea8834-ac86-4346-8a33-228a782c2dd0
* - bugfixesMeik Sievertsen2005-01-201-7/+4
| | | | | | | | | - default sort options for posts too - adjusted format_date to remove the (time intensive) preg_ calls - temporary style.php code. git-svn-id: file:///svn/phpbb/trunk@5068 89ea8834-ac86-4346-8a33-228a782c2dd0
* - bugfixesMeik Sievertsen2005-01-151-3/+7
| | | | | | | - do not hardcode url bbcode tag (please change the bitfield accordingly - see schema file!) git-svn-id: file:///svn/phpbb/trunk@5063 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fixed small PM issue in headerBart van Bragt2005-01-111-2/+2
| | | | git-svn-id: file:///svn/phpbb/trunk@5055 89ea8834-ac86-4346-8a33-228a782c2dd0
* ...see if i am able to break the cookie tracking system this time. :DMeik Sievertsen2005-01-021-2/+12
| | | | | | | | - made some session code updates - added new acl function (might be helpful later) git-svn-id: file:///svn/phpbb/trunk@5038 89ea8834-ac86-4346-8a33-228a782c2dd0
* - fixed [code=php]Meik Sievertsen2004-12-311-2/+3
| | | | | | | - optimized db/mysql.php a little bit git-svn-id: file:///svn/phpbb/trunk@5037 89ea8834-ac86-4346-8a33-228a782c2dd0
* Remove version information from displayPaul S. Owen2004-12-221-8/+2
| | | | git-svn-id: file:///svn/phpbb/trunk@5036 89ea8834-ac86-4346-8a33-228a782c2dd0
* - a bunch of updates, most of them bbcode relatedMeik Sievertsen2004-11-061-3/+6
| | | | git-svn-id: file:///svn/phpbb/trunk@5023 89ea8834-ac86-4346-8a33-228a782c2dd0
* - cur_page no longer in useMeik Sievertsen2004-10-081-5/+9
| | | | | | | - fix confirm box (since it used cur_page) :) git-svn-id: file:///svn/phpbb/trunk@4996 89ea8834-ac86-4346-8a33-228a782c2dd0
* set correct dynamic config field if config name not presentMeik Sievertsen2004-10-061-5/+5
| | | | git-svn-id: file:///svn/phpbb/trunk@4994 89ea8834-ac86-4346-8a33-228a782c2dd0
* Remove globalsearch action, no needPaul S. Owen2004-10-021-1/+0
| | | | git-svn-id: file:///svn/phpbb/trunk@4991 89ea8834-ac86-4346-8a33-228a782c2dd0
* Global search actionPaul S. Owen2004-10-011-4/+5
| | | | git-svn-id: file:///svn/phpbb/trunk@4990 89ea8834-ac86-4346-8a33-228a782c2dd0
* - extensions_allowed changed a bit.Meik Sievertsen2004-09-171-4/+2
| | | | git-svn-id: file:///svn/phpbb/trunk@4986 89ea8834-ac86-4346-8a33-228a782c2dd0
* - more updates, mostly bugfixes to the bbcode parserMeik Sievertsen2004-09-161-14/+55
| | | | | | | | | | | - 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*) git-svn-id: file:///svn/phpbb/trunk@4984 89ea8834-ac86-4346-8a33-228a782c2dd0