summaryrefslogtreecommitdiffstats
path: root/include/user.php
AgeCommit message (Collapse)AuthorFilesLines
2014-03-08Only show new players from the last 45 daysArun Persaud1-4/+7
should be enough to get them playing in new games.
2014-03-08updated css/js librariesArun Persaud1-7/+7
* bootstrap 3.1.1 * jquery 2.1.0 * less 1.7.0 mostly bootstrap had to be adjusted, e.g. different names like hero-unit->jumbotron, etc.
2014-01-05updated copyright to 2014Arun Persaud1-1/+1
2013-02-25mysql optimization: don't quote integers as strings in WHEREArun Persaud1-1/+1
2013-02-25replaced two DB queries with one that is indexed.Arun Persaud1-4/+8
2013-01-14BUGIFX: added some set_language functions, fixed some strings for ↵Arun Persaud1-0/+2
translation, fixed typo
2013-01-13TRANSLATION: marked more strings for translationArun Persaud1-17/+22
2013-01-12updated copyright for 2013Arun Persaud1-1/+1
2013-01-12fixed more language settings in email; marked more strings for translationArun Persaud1-4/+4
2012-12-31improved language detection using browser information; set the language ↵Arun Persaud1-0/+1
directly in more places previously one had to reload to get the language correct, now it should be correct right away. We also read out the browser request for a language now.
2012-12-09BUGFIX: fix error when user is not logged in, but tries to access his home pageArun Persaud1-3/+7
needed to test, if variables were set or not.
2012-09-22updated to better password hash: use crypt instead of md5Arun Persaud1-8/+1
the upgrade will be done automatically when a user logs in, password recovery is still based on md5, but that should be OK, since it's a random generated password anyway
2012-05-08BUGFIX: removed side effect from getting the user's preferences: the ↵Arun Persaud1-0/+2
language used could be overwritten by another user's choise the DB_get_Prefs($myid) functions used to set the _SESSION variable for the language, but was also called with ids that belonged to other players overwriting the language settings with that from another user
2012-02-10updated copyright notice for 2012Arun Persaud1-1/+1
2011-11-19LAYOUT: fixed user home page a bitArun Persaud1-5/+5
2011-03-20CLEANUP: added gameid to mymail and generate subject line in mymail directlyArun Persaud1-2/+1
this way it will be easier to add translation and also to add the gameid into the database for the digest
2010-09-21TRANSLATION: some more strings and updated po.deArun Persaud1-14/+16
2010-05-04improved jquery on user home pageArun Persaud1-3/+4
the text will now say either show or hide not both depending on the situation.
2010-04-26marked more strings for translationArun Persaud1-15/+16
2010-04-23 new user home page with a bit of jquery thrown inArun Persaud1-56/+142
by default only show the active games/sessions and hide all the other games
2010-02-06added copyright notice and GPL referenceArun Persaud1-0/+19
2009-10-30NEW FEATURE: use gravatars as icons for playersArun Persaud1-2/+7
use icons at the table and on the user page (for last players logged in).
2009-04-29CLEANUP: all email now uses the standard header and footerArun Persaud1-2/+2
some email functions didn't use myemail, but used sendmail directly. This is now fixed and all emails should have the same header and footer.
2009-03-29BUGFIX: store canceled games, don't delete themArun Persaud1-4/+3
deleting the games could result in the same people getting the same hand redealt over and over again. By just keeping track of the hands in the game table, this problem should be gone. Fixed issue #50.
2009-02-23CLEANUP: make emails more uniformArun Persaud1-2/+3
provide a standard header and footer. Also prepare for emails to be send to the database for later delivery.
2009-01-30NEW FEATURE: vacation supportArun Persaud1-1/+20
users can specify a vacation start and end date and a message. Once they are on vacation their name will be shown in a different color at the table and on the user page (in case it is their turn).
2009-01-17CLEANUP: changed the user page a bit and added a hint for newbiesArun Persaud1-3/+10
started adding hints for newbies (to edoko not doko) on how to use the program
2008-10-20BUGFIX: make user menu and personal notes appear againArun Persaud1-1/+1
had them only shown when player was logged in, but there is really no reason to not show them to players who are not logged in in an ongoing game (only the correct player should get to a page with an ongoing game) Signed-off-by: Arun Persaud <arun@nubati.net>
2008-10-18NEW FEATURE: show how often a hand has been played on the user pageArun Persaud1-2/+10
print a number instead of "F" to indicate how often a hand has been played. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-10-18NEW FEATURE: make it possible to view games where people played with the ↵Arun Persaud1-21/+25
same hand had to change a few things and check more often if people are logge in, so that for example personal notes only show up when you are logged in and not when someone else is looking at your cards Signed-off-by: Arun Persaud <arun@nubati.net>
2008-06-16NEW FEATURE: login buttonArun Persaud1-112/+104
added a login button to the top right, in case you were not logged in. output_status can now be called in only one place, ie index.php and all pages will get the menu... Signed-off-by: Arun Persaud <arun@nubati.net>
2008-06-07LAYOUT: fixed the layout of the userpage a bitArun Persaud1-10/+6
the size of the whole page is wider now and the middle column of the table is fixed to a certain width. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-29CLEANUP: used tidy to clean up the HTMLArun Persaud1-3/+3
got rid of a lot of warning message, HTML should be nicer now ;) Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-10NEW FEATURE: new settings page, user can now change timezoneArun Persaud1-144/+67
rewrote the settings page, timezone can now be changed, the user menu shows up on the left on the pref page. Added a link to the pref-page in the left menu. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-08CLEANUP: reorganized the 'init' phase of a gameArun Persaud1-1/+1
moved some code around, so that we test the result of the init phase in the init case statement. Made things a bit clearer and removed one page reload by doing this. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-06CLEANUP: removed all calls to mysql functions and replaced them with calls ↵Arun Persaud1-21/+21
to DB_xxx should be very easy now to change to a different database. also made the code look nicer ;) Signed-off-by: Arun Persaud <arun@nubati.net>
2008-04-26CLEANUP: cleaned up index.php a bit more by introducing an 'action' variableArun Persaud1-5/+5
no more if, but one nice switch statement in index.php Signed-off-by: Arun Persaud <arun@nubati.net>
2008-04-26CLEANUP: make index.php very short and move everything in separate filesArun Persaud1-0/+272
created an include dir and almost everything that was in index.php is now in separate files and gets only included in index.php... makes index.php look a lot nicer ;) Signed-off-by: Arun Persaud <arun@nubati.net>