diff --git a/sql/swad.sql b/sql/swad.sql index 2a3cebd3c..72da3ccf0 100644 --- a/sql/swad.sql +++ b/sql/swad.sql @@ -1176,6 +1176,7 @@ CREATE TABLE IF NOT EXISTS usr_figures ( UsrCod INT NOT NULL, FirstClickTime DATETIME NOT NULL, NumClicks INT NOT NULL DEFAULT -1, + NumFileViews INT NOT NULL DEFAULT -1, NumForPst INT NOT NULL DEFAULT -1, NumMsgSnt INT NOT NULL DEFAULT -1, PRIMARY KEY(UsrCod), diff --git a/swad_changelog.h b/swad_changelog.h index e60562fff..2039cdfc1 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -103,11 +103,12 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 14.92.1 (2015/03/14)" +#define Log_PLATFORM_VERSION "SWAD 14.92.2 (2015/03/15)" // Number of lines (includes comments but not blank lines) has been got with the following command: // nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*.h sql/swad*.sql | tail -1 /* + Version 14.92.2: Mar 14, 2015 Fixed minor bug in photo edition. (182208 lines) Version 14.92.1: Mar 14, 2015 Changes on request of a nickname to view user's profile. (182205 lines) Version 14.92: Mar 14, 2015 New module swad_profile for public user's profile. (182202 lines) 1 change necessary in Makefile: diff --git a/swad_photo.c b/swad_photo.c index 22b9379d0..eeaf12a04 100644 --- a/swad_photo.c +++ b/swad_photo.c @@ -232,19 +232,20 @@ void Pho_ReqPhoto (const struct UsrData *UsrDat,bool PhotoExists,const char *Pho extern const char *Txt_Upload_photo; bool ItsMe = (UsrDat->UsrCod == Gbl.Usrs.Me.UsrDat.UsrCod); - fprintf (Gbl.F.Out,"