You can subscribe to this list here.
| 2005 |
Jan
|
Feb
|
Mar
(95) |
Apr
(270) |
May
(111) |
Jun
|
Jul
|
Aug
(64) |
Sep
(130) |
Oct
(319) |
Nov
(17) |
Dec
(191) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2006 |
Jan
(53) |
Feb
|
Mar
|
Apr
|
May
(6) |
Jun
(387) |
Jul
(102) |
Aug
(247) |
Sep
(120) |
Oct
(1) |
Nov
(8) |
Dec
(21) |
| 2007 |
Jan
(38) |
Feb
(36) |
Mar
|
Apr
(32) |
May
(135) |
Jun
(523) |
Jul
(192) |
Aug
(103) |
Sep
(533) |
Oct
(77) |
Nov
(23) |
Dec
(203) |
| 2008 |
Jan
(312) |
Feb
(1193) |
Mar
(404) |
Apr
(67) |
May
(62) |
Jun
(497) |
Jul
(297) |
Aug
(110) |
Sep
(335) |
Oct
(256) |
Nov
(50) |
Dec
(118) |
| 2009 |
Jan
(67) |
Feb
(10) |
Mar
(1) |
Apr
(1) |
May
|
Jun
(10) |
Jul
(61) |
Aug
|
Sep
(16) |
Oct
(45) |
Nov
(12) |
Dec
(14) |
| 2010 |
Jan
(30) |
Feb
|
Mar
|
Apr
(4) |
May
|
Jun
|
Jul
(7) |
Aug
(7) |
Sep
(5) |
Oct
(5) |
Nov
|
Dec
|
| 2011 |
Jan
(7) |
Feb
(3) |
Mar
(89) |
Apr
(11) |
May
(5) |
Jun
|
Jul
(8) |
Aug
(1) |
Sep
(2) |
Oct
|
Nov
(2) |
Dec
(89) |
| 2012 |
Jan
(7) |
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(4) |
Sep
(3) |
Oct
(42) |
Nov
(1) |
Dec
|
| 2013 |
Jan
|
Feb
|
Mar
(19) |
Apr
(90) |
May
(38) |
Jun
(235) |
Jul
(38) |
Aug
(10) |
Sep
|
Oct
(29) |
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
|
Apr
(6) |
May
(52) |
Jun
|
Jul
(7) |
Aug
|
Sep
(17) |
Oct
|
Nov
|
Dec
|
|
From: Jon O. <jon...@us...> - 2005-10-02 16:53:28
|
Update of /cvsroot/mxbb/mx_smartor/language/lang_english In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2352/modules/mx_smartor/language/lang_english Modified Files: lang_admin.php lang_hierarchy_album.php lang_main.php Log Message: updated all file headers Index: lang_hierarchy_album.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/language/lang_english/lang_hierarchy_album.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** lang_hierarchy_album.php 9 Jan 2005 21:52:02 -0000 1.1 --- lang_hierarchy_album.php 1 Oct 2005 14:17:37 -0000 1.2 *************** *** 1,22 **** <?php ! /*************************************************************************** ! * lang_hierarchy_album.php [English] ! * ------------------------------------------------ ! * begin : Wednesday, May 12, 2004 ! * copyright : (C) 2004 IdleVoid ! * email : idl...@sl... ! * ! * version : 1.0.2 12/08/2004 ! * ! ****************************************************************************/ ! /*************************************************************************** ! * ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! * ! ***************************************************************************/ // --- 1,21 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, Smartor (sma...@ho...), Volodymyr (CLowN) Skoryk, IdleVoid (idl...@sl...) ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- ! * ! * $Id$ ! */ ! /** ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! */ // Index: lang_main.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/language/lang_english/lang_main.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** lang_main.php 20 Aug 2005 18:28:09 -0000 1.2 --- lang_main.php 1 Oct 2005 14:17:37 -0000 1.3 *************** *** 1,22 **** <?php ! /*************************************************************************** ! * lang_main.php [English] ! * ------------------- ! * begin : Sunday, February 02, 2003 ! * copyright : (C) 2003 Smartor ! * email : sma...@ho... ! * ! * $Id$ ! * ! ****************************************************************************/ ! /*************************************************************************** ! * ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! * ! ***************************************************************************/ // --- 1,21 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, Smartor (sma...@ho...), Volodymyr (CLowN) Skoryk, IdleVoid (idl...@sl...) ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- ! * ! * $Id$ ! */ ! /** ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! */ // Index: lang_admin.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/language/lang_english/lang_admin.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** lang_admin.php 20 Aug 2005 18:28:09 -0000 1.2 --- lang_admin.php 1 Oct 2005 14:17:37 -0000 1.3 *************** *** 1,22 **** <?php ! /*************************************************************************** ! * lang_admin.php [English] ! * ------------------- ! * begin : Sunday, February 02, 2003 ! * copyright : (C) 2003 Smartor ! * email : sma...@ho... ! * ! * $Id$ ! * ! ****************************************************************************/ ! /*************************************************************************** ! * ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! * ! ***************************************************************************/ // --- 1,21 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, Smartor (sma...@ho...), Volodymyr (CLowN) Skoryk, IdleVoid (idl...@sl...) ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- ! * ! * $Id$ ! */ ! /** ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! */ // |
|
From: Jon O. <jon...@us...> - 2005-10-02 16:41:17
|
Update of /cvsroot/mxbb/mx_pafiledb/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1668/modules/mx_pafiledb/admin Modified Files: admin_pa_catauth.php admin_pa_category.php admin_pa_custom.php admin_pa_fchecker.php admin_pa_file.php admin_pa_license.php admin_pa_settings.php admin_pa_ug_auth.php pa_block_config.php Log Message: updated all file headers Index: admin_pa_category.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/admin/admin_pa_category.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** admin_pa_category.php 22 Sep 2005 10:11:01 -0000 1.11 --- admin_pa_category.php 1 Oct 2005 14:15:19 -0000 1.12 *************** *** 1,12 **** <?php ! /** ! * mxBB pafileDB adminCP ! * ------------------- ! * subject : mx-portal, CMS & portal ! * copyright : (C) 2003-2005 mxBB ! * original author : based on code by Mohd Basri & paFileDB 3.0 ©2001/2002 PHP Arena ! * email : jon...@ho... * ! * $Id$ */ --- 1,13 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, Mohd Basri & paFileDB 3.0 ©2001/2002 PHP Arena ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- * ! * $Id$ */ Index: admin_pa_file.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/admin/admin_pa_file.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** admin_pa_file.php 22 Sep 2005 10:11:01 -0000 1.14 --- admin_pa_file.php 1 Oct 2005 14:15:19 -0000 1.15 *************** *** 1,12 **** <?php ! /** ! * mxBB pafileDB adminCP ! * ------------------- ! * subject : mx-portal, CMS & portal ! * copyright : (C) 2003-2005 mxBB ! * original author : based on code by Mohd Basri & paFileDB 3.0 ©2001/2002 PHP Arena ! * email : jon...@ho... * ! * $Id$ */ --- 1,13 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, Mohd Basri & paFileDB 3.0 ©2001/2002 PHP Arena ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- * ! * $Id$ */ Index: admin_pa_settings.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/admin/admin_pa_settings.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** admin_pa_settings.php 22 Sep 2005 10:11:01 -0000 1.12 --- admin_pa_settings.php 1 Oct 2005 14:15:19 -0000 1.13 *************** *** 1,12 **** <?php ! /** ! * mxBB pafileDB adminCP ! * ------------------- ! * subject : mx-portal, CMS & portal ! * copyright : (C) 2003-2005 mxBB ! * original author : based on code by Mohd Basri & paFileDB 3.0 ©2001/2002 PHP Arena ! * email : jon...@ho... * ! * $Id$ */ --- 1,13 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, Mohd Basri & paFileDB 3.0 ©2001/2002 PHP Arena ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- * ! * $Id$ */ Index: admin_pa_catauth.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/admin/admin_pa_catauth.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** admin_pa_catauth.php 22 Sep 2005 10:11:00 -0000 1.10 --- admin_pa_catauth.php 1 Oct 2005 14:15:19 -0000 1.11 *************** *** 1,12 **** <?php ! /** ! * mxBB pafileDB adminCP ! * ------------------- ! * subject : mx-portal, CMS & portal ! * copyright : (C) 2003-2005 mxBB ! * original author : based on code by Mohd Basri & paFileDB 3.0 ©2001/2002 PHP Arena ! * email : jon...@ho... * ! * $Id$ */ --- 1,13 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, Mohd Basri & paFileDB 3.0 ©2001/2002 PHP Arena ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- * ! * $Id$ */ Index: admin_pa_license.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/admin/admin_pa_license.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** admin_pa_license.php 22 Sep 2005 10:11:01 -0000 1.11 --- admin_pa_license.php 1 Oct 2005 14:15:19 -0000 1.12 *************** *** 1,12 **** <?php ! /** ! * mxBB pafileDB adminCP ! * ------------------- ! * subject : mx-portal, CMS & portal ! * copyright : (C) 2003-2005 mxBB ! * original author : based on code by Mohd Basri & paFileDB 3.0 ©2001/2002 PHP Arena ! * email : jon...@ho... * ! * $Id$ */ --- 1,13 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, Mohd Basri & paFileDB 3.0 ©2001/2002 PHP Arena ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- * ! * $Id$ */ Index: admin_pa_fchecker.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/admin/admin_pa_fchecker.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** admin_pa_fchecker.php 22 Sep 2005 10:11:01 -0000 1.11 --- admin_pa_fchecker.php 1 Oct 2005 14:15:19 -0000 1.12 *************** *** 1,12 **** <?php ! /** ! * mxBB pafileDB adminCP ! * ------------------- ! * subject : mx-portal, CMS & portal ! * copyright : (C) 2003-2005 mxBB ! * original author : based on code by Mohd Basri & paFileDB 3.0 ©2001/2002 PHP Arena ! * email : jon...@ho... * ! * $Id$ */ --- 1,13 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, Mohd Basri & paFileDB 3.0 ©2001/2002 PHP Arena ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- * ! * $Id$ */ Index: pa_block_config.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/admin/pa_block_config.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** pa_block_config.php 1 May 2005 20:20:11 -0000 1.3 --- pa_block_config.php 1 Oct 2005 14:15:19 -0000 1.4 *************** *** 1,11 **** <?php ! /** ! * mxBB pafileDB adminCP ! * ------------------- ! * subject : mx-portal, CMS & portal ! * copyright : (C) 2003-2005 mxBB ! * email : jon...@ho... * ! * $Id$ */ --- 1,13 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, Mohd Basri & paFileDB 3.0 ©2001/2002 PHP Arena ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- * ! * $Id$ */ Index: admin_pa_custom.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/admin/admin_pa_custom.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** admin_pa_custom.php 22 Sep 2005 10:11:01 -0000 1.12 --- admin_pa_custom.php 1 Oct 2005 14:15:19 -0000 1.13 *************** *** 1,12 **** <?php ! /** ! * mxBB pafileDB adminCP ! * ------------------- ! * subject : mx-portal, CMS & portal ! * copyright : (C) 2003-2005 mxBB ! * original author : based on code by Mohd Basri & paFileDB 3.0 ©2001/2002 PHP Arena ! * email : jon...@ho... * ! * $Id$ */ --- 1,13 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, Mohd Basri & paFileDB 3.0 ©2001/2002 PHP Arena ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- * ! * $Id$ */ Index: admin_pa_ug_auth.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/admin/admin_pa_ug_auth.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** admin_pa_ug_auth.php 22 Sep 2005 10:11:01 -0000 1.8 --- admin_pa_ug_auth.php 1 Oct 2005 14:15:19 -0000 1.9 *************** *** 1,12 **** <?php ! /** ! * mxBB pafileDB adminCP ! * ------------------- ! * subject : mx-portal, CMS & portal ! * copyright : (C) 2003-2005 mxBB ! * original author : based on code by Mohd Basri & paFileDB 3.0 ©2001/2002 PHP Arena ! * email : jon...@ho... * ! * $Id$ */ --- 1,13 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, Mohd Basri & paFileDB 3.0 ©2001/2002 PHP Arena ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- * ! * $Id$ */ |
|
From: Jon O. <jon...@us...> - 2005-10-02 16:16:34
|
Update of /cvsroot/mxbb/mx_import_tools/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1116/modules/mx_import_tools/admin Modified Files: admin_import_members.php Log Message: updated all file headers Index: admin_import_members.php =================================================================== RCS file: /cvsroot/mxbb/mx_import_tools/admin/admin_import_members.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** admin_import_members.php 22 Sep 2005 10:26:27 -0000 1.2 --- admin_import_members.php 1 Oct 2005 14:13:17 -0000 1.3 *************** *** 1,12 **** <?php ! /** ! * Filename: admin_import_members.php ! * Description: ! * Author: Graham Eames (ph...@gr...) ! * Last Modified: 28-Feb-2004 ! * File Version: 1.1 * ! * Acknowlegments: A few pieces of code in this come from usercp_register.php ! * Much of the rest is adapted from my convertors */ --- 1,13 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, Graham Eames (ph...@gr...) ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- * ! * $Id$ */ |
|
From: Jon O. <jon...@us...> - 2005-09-27 18:58:14
|
Update of /cvsroot/mxbb/mx_gallery2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21304/modules/mx_gallery2 Added Files: mx_gallery2.pak Log Message: updated --- NEW FILE: mx_gallery2.pak --- module=+:58=+:mx_gallery2=+:modules/mx_gallery2/=+:Gallery Album Integration=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 function=+:58=+:102=+:GalleryBlock=+:This is a gallery embed object=+:gallery2.php=+: parameter=+:102=+:337=+:base_album=+:Text=+:=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 block=+:=+:Demo - GalleryBlock=+:Demo block=+:102=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 function=+:0=+:0=+:0=+:endoflist=+:0=+:0 |
|
From: Jon O. <jon...@us...> - 2005-09-27 18:56:35
|
Update of /cvsroot/mxbb/mx_gallery2/language/lang_english In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20707/modules/mx_gallery2/language/lang_english Added Files: lang_main.php Log Message: added the gallery2 module --- NEW FILE: lang_main.php --- <?php /*************************************************************************** * lang_main.php * ------------------- * begin : Sunday, Mar 31, 2003 * copyright : (C) 2001 The phpBB Group * email : su...@ph... * * $Id: lang_main.php,v 1.1 2005/09/27 18:56:14 jonohlsson Exp $ * * ***************************************************************************/ /*************************************************************************** * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * ***************************************************************************/ ?> |
|
From: Jon O. <jon...@us...> - 2005-09-27 18:56:27
|
Update of /cvsroot/mxbb/mx_gallery2/templates/subSilver/images In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20707/modules/mx_gallery2/templates/subSilver/images Added Files: exif_parser.gif Log Message: added the gallery2 module --- NEW FILE: exif_parser.gif --- (This appears to be a binary file; contents omitted.) |
|
From: Jon O. <jon...@us...> - 2005-09-27 18:56:27
|
Update of /cvsroot/mxbb/mx_gallery2/templates/subSilver In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20707/modules/mx_gallery2/templates/subSilver Added Files: gallery2.tpl Log Message: added the gallery2 module --- NEW FILE: gallery2.tpl --- <!-- /* * $RCSfile: gallery2.tpl,v $ * * Gallery - a web based photo album viewer and editor * Copyright (C) 2000-2005 Bharat Mediratta * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or (at * your option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /** * Gallery 2 integration for phpBB2. * @version $Revision: 1.1 $ $Date: 2005/09/27 18:56:14 $ * @author Dariush Molavi <da...@nu...> */ --> {CSS} {JAVASCRIPT} {BODY} |
|
From: Jon O. <jon...@us...> - 2005-09-27 18:56:26
|
Update of /cvsroot/mxbb/mx_gallery2/language/lang_swedish In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20707/modules/mx_gallery2/language/lang_swedish Added Files: lang_main.php Log Message: added the gallery2 module --- NEW FILE: lang_main.php --- <?php /*************************************************************************** * lang_main.php * ------------------- * begin : Sunday, Mar 31, 2003 * copyright : (C) 2001 The phpBB Group * email : su...@ph... * * $Id: lang_main.php,v 1.1 2005/09/27 18:56:14 jonohlsson Exp $ * * ***************************************************************************/ /*************************************************************************** * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * ***************************************************************************/ ?> |
|
From: Jon O. <jon...@us...> - 2005-09-27 18:56:26
|
Update of /cvsroot/mxbb/mx_gallery2/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20707/modules/mx_gallery2/includes Added Files: gallery_constants.php gallery_functions.php Log Message: added the gallery2 module --- NEW FILE: gallery_constants.php --- <?php /** * phpbb_constants.php * ------------------- * begin : April, 2003 * copyright : (C) 2002 MX-System * email : su...@mx... * description : define constants * Author : Haplo (jon...@ho...) * credit : Roman Malarev (romutis), MarcMoris * * $Id: gallery_constants.php,v 1.1 2005/09/27 18:56:14 jonohlsson Exp $ */ // ---------------------------------------------------------------------START // This file defines specific constants for the module // ------------------------------------------------------------------------- $storeConfig['tablePrefix'] = 'g2_'; define( 'GALLERY_USER_TABLE', $storeConfig['tablePrefix'] . 'user' ); define( 'GALLERY_USER_MAP_TABLE', $storeConfig['tablePrefix'] . 'externalidmap' ); define( 'GALLERY_GROUP_TABLE', $storeConfig['tablePrefix'] . 'user' ); define( 'GALLERY_GROUP_MAP_TABLE', $storeConfig['tablePrefix'] . 'usergroupmap' ); // ********************************************************************** // Read theme definition // ********************************************************************** if ( file_exists( $module_root_path . "templates/" . $theme['template_name'] . "/images" ) ) { // ---------- $current_template_images = $module_root_path . "templates/" . $theme['template_name'] . "/images" ; // ---------- } else { // ---------- $current_template_images = $module_root_path . "templates/" . "subSilver" . "/images" ; // ---------- } // ********************************************************************** // Read language definition // ********************************************************************** if ( !file_exists( $mx_root_path . 'modules/mx_gallery2/language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx ) ) { include( $mx_root_path . 'modules/mx_gallery2/language/lang_english/lang_main.' . $phpEx ); $link_language = 'lang_english'; } else { include( $mx_root_path . 'modules/mx_gallery2/language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx ); $link_language = 'lang_' . $board_config['default_lang']; } $mxbb_footer_addup[] = 'mxBB Gallery2 Module'; // ---------- $phpbb_module_version = "1.0"; $phpbb_module_author = "MX Team"; $phpbb_module_orig_author = "Menalto"; ?> --- NEW FILE: gallery_functions.php --- <?php /*************************************************************************** * gallery_functions.php * ------------------- * begin : Sep, 2005 * copyright : (C) 2005 mxBB * email : jon...@mx... * * $Id: gallery_functions.php,v 1.1 2005/09/27 18:56:14 jonohlsson Exp $ * * ***************************************************************************/ /*************************************************************************** * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * ***************************************************************************/ // // Gallery Embed Doc // - included here for practical reasons /* Next you need an entry point in the emApp for all G2 requests, (similar to main.php in G2 standalone). This may be a module or plugin if the application supports these, or a plain php file. Determine the URI/path for your access point and the G2 base directory, relative to your webserver document root. Examples: __ access point __ __ G2 base dir __ a) appdir/gallery2.php appdir/gallery2 b) appdir/plugins/gallery2.php appdir/lib/gallery2 c) appdir/index.php?module=gallery2 gallery2 d) index.php?page=gallery albums Use these to determine the following values: embedURI = Filename (and any query parameters, but NO path) for access point embedPath = URL path from document root to embedUri relativeG2Path = Path from directory for access point to G2 base directory For the above examples these settings are: __ embedURI __ __ embedPath __ __ relativeG2Path __ a) gallery2.php /appdir gallery2 b) gallery2.php /appdir lib/gallery2 c) index.php?module=gallery2 /appdir ../gallery2 d) index.php?page=gallery / albums You'll also need a URI for a login page or main page of the app; G2 will redirect here for access attempts without proper permissions. Examples: / or /appdir/login.php The code in the access point to handle a G2 request looks something like this: require_once(dirname(__FILE__) . 'relative/path/to/gallery2/embed.php'); $ret = GalleryEmbed::init(array( 'embedUri' => {value}, embedPath => {value}, 'relativeG2Path' => {value}, 'loginRedirect' => {value}, 'activeUserId' => {value})); if ($ret->isError()) { // $ret->getAsHtml() has error details.. exit; } $g2data = GalleryEmbed::handleRequest(); if ($g2data['isDone']) { exit; // G2 has already sent output (redirect or binary data) } // Use $g2data['headHtml'] and $g2data['bodyHtml'] // to display G2 content inside embedding application // if you don't want to use $g2data['headHtml'] directly, you can get the css, // javascript and page title separately by calling... if (isset($g2moddata['headHtml'])) { list($title, $css, $javascript) = GalleryEmbed::parseHead($g2moddata['headHtml']); } The 'activeUserId' value passed to init() enables session synchronization by making sure the active user in G2 matches the emApp user. The value is the active emApp user id. Pass in an empty string for anonymous/guest user (NOT the user id of the emApp's anonymous user if it has an id). To complete session sync add a hook/callback/event-handler for the logout operation in the emApp: require_once(dirname(__FILE__) . 'relative/path/to/gallery2/embed.php'); $ret = GalleryEmbed::logout(); This hook is not required, but it resets the G2 session at logout so a session for a logged-in user isn't left on the server. Next decide if you want to support cookieless browsing. Some extra steps are required if G2 can't count on cookies to track its session id. The emApp must be able to provide a key=value string for its own session key and id, and have an available API to store additional data in the session. Here are the extra steps: 1) The input array for the GalleryEmbed::init() call must also contain: 'embedSessionString' => {key=value}, 'gallerySessionId' => {value} (omit gallerySessionId when the value is not yet known) 2) After the init() call: $gallerySessionId = GallerEmbed::getSessionId(); {store value in emApp's session} Other optional tasks: 1) Prior to the handleRequest() call set GalleryCapabilities. Check modules/core/classes/GalleryCapabilities.class for available settings; also see the settings made by default in GalleryEmbed::init(). Example: GalleryCapabilities::set('showSidebar', false); 2) Check for 'sidebarHtml' in content returned from handleRequest(). If the example GalleryCapabilities setting shown above is used then handleRequest() may return 'sidebarHtml' (when a core.ShowItem page is being viewed). You can include this content in a block on the emApp sidebar. Next add hooks to keep users in sync between G2 and the emApp. The code in each case will look like this: require_once(dirname(__FILE__) . 'relative/path/to/gallery2/embed.php'); $ret = GalleryEmbed::init(); if ($ret->isError()) { // $ret->getAsHtml() has error details.. } // Call GalleryEmbed as required.. // .. $ret = GalleryEmbed::done(); if ($ret->isError()) { // $ret->getAsHtml() has error details.. } You'll need hooks to call GalleryEmbed::createUser(), ::updateUser() and ::deleteUser() for user creation, updates and deletes, respectively. There may be two create hooks if the emApp supports both new user registration and an admin function to create new users directly. If the emApp supports user groups then add hooks to keep groups in sync. Synchronizing groups is optional, even if the emApp supports groups. The process is the same as above, using GalleryEmbed::createGroup, ::updateGroup, ::deleteGroup(), ::addUserToGroup() and ::removeUserFromGroup(). Note that G2 does not support nested groups.. if the emApp does then the hooks will have to expand the groups into the list of users and update the G2 groups accordingly. */ // // Define some vars // define('MAP_USERGROUP_ID', 2); // This is the externalgroupId mapped to the gallery mxBB user group define('MAP_ADMINGROUP_ID', 3); // This is the "handle" to the gallery admin group define('MAP_MXBB_USER', 0); // Flag: update user externalId map define('MAP_MXBB_GROUP', 1); // Flag: update group externalId map define('MAP_DEBUG', false); // TRUE will output all class activity $map_debug = ''; class mx_gallery { var $isInitiated = false; // Is the Gallery Embed Class initiated var $user_map_data = array(); // current user map data var $user_gallery_user_data = array(); // duplicate gallery user data /*********************************************************/ /* Init Gallery Embed Class */ /*********************************************************/ function init() { global $db, $gallery, $embedPath, $embedUri, $relativeG2Path, $loginRedirect, $fullInit, $map_debug; // // only init once // if ($this->isInitiated) { $map_debug .= "<br>GalleryEmbed is inititated - resting"; return true; } $map_debug .= "<br>Inititating GalleryEmbed - ..."; $ret = GalleryEmbed :: init(array ( 'embedPath' => $embedPath, 'embedUri' => $embedUri, 'relativeG2Path' => $relativeG2Path, 'loginRedirect' => $loginRedirect, 'activeUserId' => '', 'fullInit' => $fullInit)); $gallery->guaranteeTimeLimit(300); if (!$ret->isSuccess()) { $map_debug .= '<br>G2 did not return a success status upon an init request. Here is the error message from G2: <br /> [#(1)]'.$ret->getAsHtml(); return false; } $this->isInitiated = true; return true; } // // Syncronize GD and phpBB Users // /** * g2addexternalMapEntry: add an externalId map entry * g2updateexternalMapEntry: update an externalId map entry * * Add an entry in the G externalId, entityId map table * * @author Andy Staudacher * @access public * @param integer the uid * @param integer the entityId from G2 * @param integer/string the roles type, 'MAP_MXBB_GROUP' for groups, 'MAP_MXBB_USER' for users, or the entityType string * @return bool true or false */ function _g2addexternalMapEntry($externalId, $entityId, $entityType ) { global $db, $failures, $fullpath, $map_debug; $is_ok = true; if (is_int($entityType)) { $entityType = $entityType == MAP_MXBB_USER ? 'GalleryUser' : 'GalleryGroup'; } require_once ($fullpath."/".'modules/core/classes/ExternalIdMap.class'); $ret = ExternalIdMap :: addMapEntry(array ('externalId' => $externalId, 'entityType' => $entityType, 'entityId' => $entityId)); if ($ret->isError()) { $failures[] = $externalId; $is_ok = false; } $map_debug .= $is_ok ? '<br>externalMapEntry inserted successfully' : '<br>ERROR: externalMapEntry not inserted'; return $is_ok; } function _g2updateexternalMapEntry($externalId, $entityId, $entityType) { global $db, $failures, $fullpath, $map_debug; $is_ok = true; if (is_int($entityType)) { $entityType = $entityType == MAP_MXBB_USER ? 'GalleryUser' : 'GalleryGroup'; } require_once ($fullpath."/".'modules/core/classes/ExternalIdMap.class'); $ret = ExternalIdMap :: removeMapEntry(array ('externalId' => $externalId)); if ($ret->isError()) { $map_debug .= 'WARNING: mapping does not exist'; $failures[] = $externalId; $is_ok = false; } $ret = ExternalIdMap :: addMapEntry(array ('externalId' => $externalId, 'entityType' => $entityType, 'entityId' => $entityId)); if ($ret->isError()) { $failures[] = $externalId; $is_ok = false; } $map_debug .= $is_ok ? '<br>externalMapEntry updated successfully' : '<br>ERROR: externalMapEntry not updated'; return $is_ok; } // // Do a standard phpbb db query, to find out if gallery is syncronized with current user // function _is_mapped() { global $db, $userdata, $map_debug; // // Try to reuse old check result // $userdata_key = 'mx_gallery_is_mapped_' . $userdata['user_id']; if( !empty($userdata[$userdata_key]) ) { $map_debug .= '<br>Reusing userdata session info about usermapping'; $is_mapped = $userdata[$userdata_key]; $map_debug .= '<br>is_mapped: ' . intval($map_debug); return $is_mapped; } $map_debug .= '<br>Qeury to see if user is mapped'; // // Validate if the mxBB is already mapped in Gallery2 // $sql = "SELECT * FROM " . GALLERY_USER_MAP_TABLE . " map, " . GALLERY_USER_TABLE . " gus WHERE map.g_externalId = '" . $userdata['user_id'] . "' AND map.g_entityId = gus.g_id"; if ( !$result = $db->sql_query( $sql ) ) { mx_message_die( GENERAL_ERROR, "Could not query Gallery count", "", __LINE__, __FILE__, $sql ); } if( $total_maps = $db->sql_numrows($result) ) { $this->user_map_data = $db->sql_fetchrow($result); } $is_mapped = $total_maps > 0; $userdata[$userdata_key] = $is_mapped; $map_debug .= '<br>is_mapped: ' . intval($is_mapped); return $is_mapped; } // // Find already registered gallery users, also registered by phpbb, and not mapped // This function will (for example) extract if the gallery admin is also the phpbb admin etc... // To avoid having already registered users in gallery being created once more (will would generate a error) // function _is_gallery_user() { global $db, $userdata, $map_debug; $map_debug .= '<br>Qeury to see if user is already a gallery user'; // // Validate if the mxBB is already mapped in Gallery2 // Since phpBB will not allow users with the same 'username' or 'email', this check is sufficient // $sql = "SELECT * FROM " . GALLERY_USER_TABLE . " gus WHERE gus.g_userName = '" . $userdata['username'] . "' OR gus.g_email = '" . $userdata['user_email'] . "'"; if ( !$result = $db->sql_query( $sql ) ) { mx_message_die( GENERAL_ERROR, "Could not query Gallery count", "", __LINE__, __FILE__, $sql ); } if( $total_gallery_users = $db->sql_numrows($result) ) { $this->user_gallery_user_data = $db->sql_fetchrow($result); } $is_gallery_user = $total_gallery_users > 0; $map_debug .= '<br>is_gallery_user: ' . intval($is_gallery_user); return $is_gallery_user; } // // Public class method // Do mapping for current phpBB user (if not already done) // function do_map() { global $userdata, $map_debug; $map_ok = true; if ( $userdata['user_id'] != ANONYMOUS ) { // // Populate the $args array, for the gallery api // $user_id = $userdata['user_id']; $args['fullname'] = $userdata['username']; $args['username'] = $userdata['username']; $args['hashedpassword'] = $userdata['user_password']; $args['hashmethod'] = 'md5'; $args['email'] = $userdata['user_email']; $args['creationtimestamp'] = $userdata['user_regdate']; if( !$this->_is_mapped() ) { $map_debug .= '<br>Not mapped - do mapping'; // // only init once // if (!$this->init()) { return false; } // // First validate the mxBB user - to avoid duplicate Gallery users // For exdample the mxBB admin may have configured the Gallery admin account WITH THE SAME EMAIL // if ($this->_is_gallery_user()) { // // There already exists a gallery user with similar userdata as current mxBB user (username or email) // Map to this gallery user and update gallery user data // Do NOT create new user // $is_ok = true; // // Map mxBB user to existing Gallery user // if ( !$this->_g2addexternalMapEntry($user_id, $this->user_gallery_user_data['g_id'], MAP_MXBB_USER) ) { $map_debug .= '<br>Gallery user exists - do mapping to this user...'; $failures[] = $user_id; $is_ok = false; } $map_debug .= $is_ok ? '<br>mapping ok' : '<br>ERROR: mapping failed'; // // Nothing else to do ;) // return $is_ok; } // // we create the user // $ret = GalleryEmbed :: createUser($user_id, $args); $map_debug .= '<br>Creating user...'; if ( !$ret->isSuccess() ) { $map_debug .= 'ERROR: Could not create user'; $failures[] = $user_id; $map_ok = false; } // // Add a mxBB user group (if not exists) // list ($ret, $group) = GalleryCoreApi::loadEntityByExternalId(MAP_USERGROUP_ID, 'GalleryGroup'); if ($ret->isError()) { $map_debug .= '<br>Adding mxBB user group...'; // // If group doesn't exists - ADD // $ret = GalleryEmbed :: createGroup(MAP_USERGROUP_ID, 'mxBB Users'); if ( !$ret->isSuccess() ) { $map_debug .= 'ERROR: Could not create mxBB user group'; $failures[] = $user_id; $map_ok = false; } } $ret = GalleryEmbed :: addUserToGroup($user_id, MAP_USERGROUP_ID); $map_debug .= '<br>Adding user to mxBB user group...'; if ( !$ret->isSuccess() ) { $map_debug .= 'ERROR: Could not add user to mxBB user group'; $failures[] = $user_id; $map_ok = false; } // // Add admin to admin group // if ($userdata['user_level'] == ADMIN) { $map_debug .= '<br>User is admin - to additional settings'; // // Map the ExternalmapId for admins to the gallery admingroup // First get Gallery Group ID // list ($ret, $adminGroupId) = GalleryCoreApi::getPluginParameter('module', 'core', 'id.adminGroup'); if ($ret->isError()) { $map_debug .= '<br>ERROR: Unable to fetch the admin group. Here is the error message from G2: <br />'.$ret->getAsHtml(); flush(); return false; } // // Is there a mapping to the gallery admin group? // list ($ret, $GroupId) = GalleryCoreApi::loadEntityByExternalId(MAP_ADMINGROUP_ID, 'GalleryGroup'); if ($ret->isError() || $adminGroupId != $GroupId) { $map_debug .= '<br>Map to the Gallery admin group...'; // // If not, do it // if ( !$this->_g2updateexternalMapEntry(MAP_ADMINGROUP_ID, $adminGroupId, MAP_MXBB_GROUP) ) { $map_debug .= 'ERROR: Could not create group mapping to gallery admin group'; $failures[] = $user_id; $map_ok = false; } } $ret = GalleryEmbed :: addUserToGroup($user_id, MAP_ADMINGROUP_ID); $map_debug .= '<br>Adding user to mxBB admin group...'; if ( !$ret->isSuccess() ) { $map_debug .= 'ERROR: Could not add user to mxBB admin group'; $failures[] = $user_id; $map_ok = false; } } $map_debug .= $map_ok ? '<br>User added/mapped successfully' : '<br>ERROR: user not added/mapped'; } // // Updated phpBB user - already mapped in gallery2 // // For some reason the gallery api will not accept updated passwords (in some circumstnaces). but since this parameter is not used when in embed mode we ignore password updates // else if ($this->user_map_data['g_userName'] != $userdata['username'] || $this->user_map_data['g_email'] != $userdata['user_email'] || $this->user_map_data['g_hashedPassword'] != $userdata['user_password']) else if ($this->user_map_data['g_userName'] != $userdata['username'] || $this->user_map_data['g_email'] != $userdata['user_email'] ) { $map_debug .= '<br>Already mapped but userdata is changed - update mapping'; // // only init once // if (!$this->init()) { return false; } // // if the map exists, just update the user data // $ret = GalleryEmbed :: updateUser($user_id, $args); $map_debug .= '<br>Updating user...'; if ( !$ret->isSuccess() ) { $map_debug .= 'ERROR: Could not update user<br>'; $failures[] = $user_id; $map_ok = false; } $map_debug .= $map_ok ? '<br>user updated successfully' : '<br>ERROR: user not updated'; } } else { $map_debug .= '<br>Guest user - no mapping needed'; } return $map_ok; } /* // // TO_DO // Deleted mxBB users Former mxBB admins */ } ?> |
|
From: Jon O. <jon...@us...> - 2005-09-27 18:56:26
|
Update of /cvsroot/mxbb/mx_gallery2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20707/modules/mx_gallery2 Added Files: gallery2.php Log Message: added the gallery2 module --- NEW FILE: gallery2.php --- <?php /*************************************************************************** * gallery2.php * ------------------- * begin : Sep, 2005 * copyright : (C) 2005 mxBB * email : jon...@mx... * * $Id: gallery2.php,v 1.1 2005/09/27 18:56:13 jonohlsson Exp $ * * ***************************************************************************/ /*************************************************************************** * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * ***************************************************************************/ if( !defined('IN_PORTAL') ) { die("Hacking attempt !!!"); } // // Read block settings // $block_config = read_block_config($block_id); $title = $block_config[$block_id]['block_title']; $xtra_gallery_get_pars = !empty($block_config[$block_id]['xtra_get_vars']) ? '&g2_view=core.ShowItem&g2_itemId=' . $block_config[$block_id]['xtra_get_vars'] : ''; // // Includes // include_once($mx_root_path . "modules/mx_gallery2/includes/gallery_constants.$phpEx"); include_once($mx_root_path . "modules/mx_gallery2/includes/gallery_functions.$phpEx"); // // Start template // $template->set_filenames(array( 'body' => 'gallery2.tpl') ); // // Environment variables // $relativeG2Path = 'modules/gallery2'; $fullpath = realpath($mx_root_path).$relativeG2Path; $embedPath = '/'; $embedUri = 'index.php?page=' . $page_id . $xtra_gallery_get_pars; $loginRedirect = '/'; $cookiePath = '/'; // // Include the gallery embed class // require_once($relativeG2Path . '/embed.php'); // // Instatiate the mxBB to Gallery Class // $mx_gallery = new mx_gallery(); // // Is mxBB user already mapped in Gallery? If not, do it. // if ( !$mx_gallery->do_map() ) { mx_message_die(CRITICAL_ERROR, $map_debug); } // // When in debug mode, output all gallery embed actions // if (MAP_DEBUG) { echo($map_debug); } // // Init the GalleryEmbed class, passing current user_id // if($userdata['user_id'] != ANONYMOUS) { $ret = GalleryEmbed::init(array( 'embedUri' => $embedUri, 'embedPath' => $embedPath, 'relativeG2Path' => $relativeG2Path, 'loginRedirect' => $loginRedirect, 'activeUserId' => $userdata['user_id'])); if ($ret->isError()) { echo $ret->getAsHtml(); exit; } } else { $ret = GalleryEmbed::init(array( 'embedUri' => $embedUri, 'embedPath' => $embedPath, 'relativeG2Path' => $relativeG2Path, 'loginRedirect' => $loginRedirect, 'activeUserId' => 0)); if ($ret->isError()) { echo $ret->getAsHtml(); exit; } } // // Settings // GalleryCapabilities::set('showSidebarBlocks', true); $g2data = GalleryEmbed::handleRequest(); if ($g2data['isDone']) { exit; // Gallery 2 has already sent output (redirect or binary data) } // Use $g2data['headHtml'] and $g2data['bodyHtml'] // to display Gallery 2 content inside embedding application // if you don't want to use $g2data['headHtml'] directly, you can get the css, // javascript and page title separately by calling... if (isset($g2data['headHtml'])) { list($title, $css, $javascript) = GalleryEmbed::parseHead($g2data['headHtml']); } foreach($css as $stylesheet) { $links .= $stylesheet."\n"; } foreach($javascript as $js) { $jlink .= $js."\n"; } $bodyHtml = $g2data['bodyHtml']; // // Send to template // $template->assign_vars(array( 'BODY' => $bodyHtml, 'CSS' => $links, 'JAVASCRIPT' => $jlink)); $template->pparse('body'); // // End of code // ?> |
|
From: Jon O. <jon...@us...> - 2005-09-27 18:55:44
|
Update of /cvsroot/mxbb/mx_gallery2/templates/subSilver/images In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20540/images Log Message: Directory /cvsroot/mxbb/mx_gallery2/templates/subSilver/images added to the repository |
|
From: Jon O. <jon...@us...> - 2005-09-27 18:55:36
|
Update of /cvsroot/mxbb/mx_gallery2/templates/subSilver In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20499/subSilver Log Message: Directory /cvsroot/mxbb/mx_gallery2/templates/subSilver added to the repository |
|
From: Jon O. <jon...@us...> - 2005-09-27 18:55:06
|
Update of /cvsroot/mxbb/mx_gallery2/language/lang_swedish In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20391/lang_swedish Log Message: Directory /cvsroot/mxbb/mx_gallery2/language/lang_swedish added to the repository |
|
From: Jon O. <jon...@us...> - 2005-09-27 18:55:06
|
Update of /cvsroot/mxbb/mx_gallery2/language/lang_english In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20391/lang_english Log Message: Directory /cvsroot/mxbb/mx_gallery2/language/lang_english added to the repository |
|
From: Jon O. <jon...@us...> - 2005-09-27 18:54:48
|
Update of /cvsroot/mxbb/mx_gallery2/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20292/includes Log Message: Directory /cvsroot/mxbb/mx_gallery2/includes added to the repository |
|
From: Jon O. <jon...@us...> - 2005-09-27 18:54:48
|
Update of /cvsroot/mxbb/mx_gallery2/language In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20292/language Log Message: Directory /cvsroot/mxbb/mx_gallery2/language added to the repository |
|
From: Jon O. <jon...@us...> - 2005-09-27 18:54:48
|
Update of /cvsroot/mxbb/mx_gallery2/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20292/templates Log Message: Directory /cvsroot/mxbb/mx_gallery2/templates added to the repository |
|
From: Jon O. <jon...@us...> - 2005-09-22 21:26:15
|
Update of /cvsroot/mxbb/mx_profilecp/tutorials/samples In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5288/modules/mx_profilecp/tutorials/samples Modified Files: profilcp_new_panel.php profilcp_newmenu_newsub1.php profilcp_newmenu_newsub2.php Log Message: update Index: profilcp_new_panel.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/tutorials/samples/profilcp_new_panel.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** profilcp_new_panel.php 16 Sep 2004 20:05:09 -0000 1.3 --- profilcp_new_panel.php 22 Sep 2005 21:26:06 -0000 1.4 *************** *** 91,95 **** // break if error ! if ( $error ) message_die(GENERAL_ERROR, $error_msg); // update --- 91,95 ---- // break if error ! if ( $error ) mx_message_die(GENERAL_ERROR, $error_msg); // update *************** *** 100,104 **** WHERE user_id = " . $view_userdata['user_id']; ! if ( !($result = $db->sql_query($sql)) ) message_die(GENERAL_ERROR, 'Could not update user table', '', __LINE__, __FILE__, $sql); } else --- 100,104 ---- WHERE user_id = " . $view_userdata['user_id']; ! if ( !($result = $db->sql_query($sql)) ) mx_message_die(GENERAL_ERROR, 'Could not update user table', '', __LINE__, __FILE__, $sql); } else Index: profilcp_newmenu_newsub1.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/tutorials/samples/profilcp_newmenu_newsub1.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** profilcp_newmenu_newsub1.php 16 Sep 2004 20:05:09 -0000 1.3 --- profilcp_newmenu_newsub1.php 22 Sep 2005 21:26:06 -0000 1.4 *************** *** 70,74 **** // break if error ! if ( $error ) message_die(GENERAL_ERROR, $error_msg); // update --- 70,74 ---- // break if error ! if ( $error ) mx_message_die(GENERAL_ERROR, $error_msg); // update *************** *** 79,83 **** WHERE user_id = " . $view_userdata['user_id']; ! if ( !($result = $db->sql_query($sql)) ) message_die(GENERAL_ERROR, 'Could not update user table', '', __LINE__, __FILE__, $sql); } else --- 79,83 ---- WHERE user_id = " . $view_userdata['user_id']; ! if ( !($result = $db->sql_query($sql)) ) mx_message_die(GENERAL_ERROR, 'Could not update user table', '', __LINE__, __FILE__, $sql); } else Index: profilcp_newmenu_newsub2.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/tutorials/samples/profilcp_newmenu_newsub2.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** profilcp_newmenu_newsub2.php 16 Sep 2004 20:05:09 -0000 1.3 --- profilcp_newmenu_newsub2.php 22 Sep 2005 21:26:06 -0000 1.4 *************** *** 70,74 **** // break if error ! if ( $error ) message_die(GENERAL_ERROR, $error_msg); // update --- 70,74 ---- // break if error ! if ( $error ) mx_message_die(GENERAL_ERROR, $error_msg); // update *************** *** 79,83 **** WHERE user_id = " . $view_userdata['user_id']; ! if ( !($result = $db->sql_query($sql)) ) message_die(GENERAL_ERROR, 'Could not update user table', '', __LINE__, __FILE__, $sql); } else --- 79,83 ---- WHERE user_id = " . $view_userdata['user_id']; ! if ( !($result = $db->sql_query($sql)) ) mx_message_die(GENERAL_ERROR, 'Could not update user table', '', __LINE__, __FILE__, $sql); } else |
|
From: Jon O. <jon...@us...> - 2005-09-22 21:26:14
|
Update of /cvsroot/mxbb/mx_profilecp/profilcp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5288/modules/mx_profilecp/profilcp Modified Files: profilcp_profil_avatar.php profilcp_register.php Log Message: update Index: profilcp_register.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/profilcp/profilcp_register.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** profilcp_register.php 9 Jan 2005 21:45:33 -0000 1.4 --- profilcp_register.php 22 Sep 2005 21:26:05 -0000 1.5 *************** *** 212,216 **** // break if error ! if ( $error ) message_die(GENERAL_ERROR, $error_msg); --- 212,216 ---- // break if error ! if ( $error ) mx_message_die(GENERAL_ERROR, $error_msg); Index: profilcp_profil_avatar.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/profilcp/profilcp_profil_avatar.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** profilcp_profil_avatar.php 29 Jun 2004 22:27:47 -0000 1.3 --- profilcp_profil_avatar.php 22 Sep 2005 21:26:05 -0000 1.4 *************** *** 95,104 **** } ! if ($error) message_die(GENERAL_ERROR, $error_msg); if ($avatar_sql != '') { $sql = "UPDATE " . USERS_TABLE . " SET $avatar_sql WHERE user_id=$view_user_id"; ! if ( !($result = $db->sql_query($sql)) ) message_die(GENERAL_ERROR, 'Could not update user table', '', __LINE__, __FILE__, $sql); } --- 95,104 ---- } ! if ($error) mx_message_die(GENERAL_ERROR, $error_msg); if ($avatar_sql != '') { $sql = "UPDATE " . USERS_TABLE . " SET $avatar_sql WHERE user_id=$view_user_id"; ! if ( !($result = $db->sql_query($sql)) ) mx_message_die(GENERAL_ERROR, 'Could not update user table', '', __LINE__, __FILE__, $sql); } |
|
From: Jon O. <jon...@us...> - 2005-09-22 21:26:14
|
Update of /cvsroot/mxbb/mx_profilecp/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5288/modules/mx_profilecp/tools Modified Files: tools_groules_buddy_list_to_pcp.php tools_niels_birthday_to_pcp.php Log Message: update Index: tools_groules_buddy_list_to_pcp.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/tools/tools_groules_buddy_list_to_pcp.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** tools_groules_buddy_list_to_pcp.php 29 Jun 2004 22:27:48 -0000 1.1 --- tools_groules_buddy_list_to_pcp.php 22 Sep 2005 21:26:05 -0000 1.2 *************** *** 27,31 **** $olds = array(); $sql = "SELECT * FROM " . $table_prefix . "buddies ORDER BY user_id, buddy_id"; ! if (!$result = $db->sql_query ($sql)) message_die (GENERAL_ERROR, 'Could not read old buddy list', __LINE__, __FILE__, $sql); while ($row = $db->sql_fetchrow($result) ) $olds[] = $row; --- 27,31 ---- $olds = array(); $sql = "SELECT * FROM " . $table_prefix . "buddies ORDER BY user_id, buddy_id"; ! if (!$result = $db->sql_query ($sql)) mx_message_die (GENERAL_ERROR, 'Could not read old buddy list', __LINE__, __FILE__, $sql); while ($row = $db->sql_fetchrow($result) ) $olds[] = $row; *************** *** 37,41 **** // check if exist $sql= "SELECT * FROM " . BUDDYS_TABLE . " WHERE user_id=$user_id and buddy_id=$buddy_id"; ! if (!$result = $db->sql_query ($sql)) message_die (GENERAL_ERROR, 'Could not read new buddy list', __LINE__, __FILE__, $sql); if ( !($row = $db->sql_fetchrow($result)) ) { --- 37,41 ---- // check if exist $sql= "SELECT * FROM " . BUDDYS_TABLE . " WHERE user_id=$user_id and buddy_id=$buddy_id"; ! if (!$result = $db->sql_query ($sql)) mx_message_die (GENERAL_ERROR, 'Could not read new buddy list', __LINE__, __FILE__, $sql); if ( !($row = $db->sql_fetchrow($result)) ) { *************** *** 52,56 **** 0 )"; ! if (!$result = $db->sql_query ($sql)) message_die (GENERAL_ERROR, 'Could not insert a guy in new buddy list', __LINE__, __FILE__, $sql); } } --- 52,56 ---- 0 )"; ! if (!$result = $db->sql_query ($sql)) mx_message_die (GENERAL_ERROR, 'Could not insert a guy in new buddy list', __LINE__, __FILE__, $sql); } } Index: tools_niels_birthday_to_pcp.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/tools/tools_niels_birthday_to_pcp.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** tools_niels_birthday_to_pcp.php 29 Jun 2004 22:27:48 -0000 1.1 --- tools_niels_birthday_to_pcp.php 22 Sep 2005 21:26:05 -0000 1.2 *************** *** 73,77 **** { $sql = "SELECT user_id, user_birthday_sav, user_birthday FROM " . USERS_TABLE . " ORDER BY user_id"; ! if ( !( $result = $db->sql_query($sql) ) ) message_die(GENERAL_ERROR, 'Wasn\'t able to read users table', '', __LINE__, __FILE__, $sql); while ($row = $db->sql_fetchrow($result)) { --- 73,77 ---- { $sql = "SELECT user_id, user_birthday_sav, user_birthday FROM " . USERS_TABLE . " ORDER BY user_id"; ! if ( !( $result = $db->sql_query($sql) ) ) mx_message_die(GENERAL_ERROR, 'Wasn\'t able to read users table', '', __LINE__, __FILE__, $sql); while ($row = $db->sql_fetchrow($result)) { *************** *** 83,87 **** { $sql = "UPDATE " . USERS_TABLE . " set user_birthday = '" . $user_birthday . "' WHERE user_id = " . $row['user_id']; ! if ( !($db->sql_query($sql)) ) message_die(GENERAL_ERROR, 'Wasn\'t able to update users table', '', __LINE__, __FILE__, $sql); $updated = true; $count_upd++; --- 83,87 ---- { $sql = "UPDATE " . USERS_TABLE . " set user_birthday = '" . $user_birthday . "' WHERE user_id = " . $row['user_id']; ! if ( !($db->sql_query($sql)) ) mx_message_die(GENERAL_ERROR, 'Wasn\'t able to update users table', '', __LINE__, __FILE__, $sql); $updated = true; $count_upd++; |
|
From: Jon O. <jon...@us...> - 2005-09-22 11:13:32
|
Update of /cvsroot/mxbb/core/modules/mx_navmenu In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21516/modules/mx_navmenu Added Files: NavigationMenu.pak Log Message: added --- NEW FILE: NavigationMenu.pak --- module=+:57=+:Navigation Menu=+:modules/mx_navmenu/=+:core navigation=+: New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 function=+:57=+:11=+:Navigation Menu=+:Menu Navigation=+:mx_menu_nav.php=+: parameter=+:11=+:63=+:menu_display_mode=+:Radio_single_select=+:Vertical=+:a:2:{i:0;s:8:"Vertical";i:1;s:10:"Horizontal";} parameter=+:11=+:64=+:menu_page_sync=+:Boolean=+:0=+: parameter=+:11=+:376=+:Nav menu=+:nav_menu=+:=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 block=+:=+:Demo - Navigation Menu=+:Demo block=+:11=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 function=+:0=+:0=+:0=+:endoflist=+:0=+:0 |
|
From: Jon O. <jon...@us...> - 2005-09-22 10:26:38
|
Update of /cvsroot/mxbb/mx_import_tools/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11758/modules/mx_import_tools/admin Modified Files: admin_import_members.php Log Message: updates Index: admin_import_members.php =================================================================== RCS file: /cvsroot/mxbb/mx_import_tools/admin/admin_import_members.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** admin_import_members.php 9 Jan 2005 21:39:39 -0000 1.1 --- admin_import_members.php 22 Sep 2005 10:26:27 -0000 1.2 *************** *** 95,99 **** $email = $member_data[1]; $user_password = $member_data[2]; ! */ $username = $member_data[0]; --- 95,99 ---- $email = $member_data[1]; $user_password = $member_data[2]; ! */ $username = $member_data[0]; *************** *** 110,113 **** --- 110,114 ---- { // Add to usergroup + // Get group id $user->add_to_group( $group_id ); } *************** *** 115,122 **** $user_check = $user->validate_user(); ! if ( $user_check ) { $user->insert_user(); } } } --- 116,145 ---- $user_check = $user->validate_user(); ! if ( $user_check['is_ok'] ) { + // + // Inserts new user (and adds to a group if $add_to_group == 'yes' ) + // + echo('<br>username inserted: ' . $this->username ); $user->insert_user(); } + else if ( !$user_check['username_ok']) + { + // + // If user already exists, update the user info + // + echo('<br>username updated: ' . $this->username ); + $user->update_user();; + } + + if ( !$user_check['username_ok'] && $add_to_group == 'yes' ) + { + // + // If user already exists, add/move the user to new group + // + echo('<br>username moved: ' . $this->username ); + $user->move_user();; + } + } } |
|
From: Jon O. <jon...@us...> - 2005-09-22 10:26:38
|
Update of /cvsroot/mxbb/mx_import_tools/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11758/modules/mx_import_tools/includes Modified Files: functions_mod_user.php Log Message: updates Index: functions_mod_user.php =================================================================== RCS file: /cvsroot/mxbb/mx_import_tools/includes/functions_mod_user.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** functions_mod_user.php 9 Jan 2005 21:39:39 -0000 1.1 --- functions_mod_user.php 22 Sep 2005 10:26:27 -0000 1.2 *************** *** 130,137 **** function validate_user() { $name_check = validate_username( stripslashes( str_replace( "''", "\'", $this->username ) ) ); if ( $name_check['error'] ) { ! return false; } --- 130,144 ---- function validate_user() { + $return_msg = array(); + $return_msg['is_ok'] = true; + $return_msg['username_ok'] = true; + $return_msg['mail_ok'] = true; + $name_check = validate_username( stripslashes( str_replace( "''", "\'", $this->username ) ) ); if ( $name_check['error'] ) { ! echo('<br><b>username validation failed</b>: ' . $this->username ); ! $return_msg['username_ok'] = false; ! $return_msg['is_ok'] = false; } *************** *** 139,145 **** if ( $email_check['error'] ) { ! return false; } ! return true; } // This is the function which actually inserts the user into the database --- 146,154 ---- if ( $email_check['error'] ) { ! echo('<br><b>mail validation failed</b>: ' . $this->username ); ! $return_msg['mail_ok'] = false; ! $return_msg['is_ok'] = false; } ! return $return_msg; } // This is the function which actually inserts the user into the database *************** *** 172,189 **** --- 181,205 ---- $sql = "INSERT INTO " . USERS_TABLE . " (user_id, username, user_regdate, user_password, user_email, user_icq, user_website, user_occ, user_from, user_interests, user_sig, user_sig_bbcode_uid, user_avatar, user_avatar_type, user_viewemail, user_aim, user_yim, user_msnm, user_attachsig, user_allowsmile, user_allowhtml, user_allowbbcode, user_allow_viewonline, user_notify, user_notify_pm, user_popup_pm, user_timezone, user_dateformat, user_lang, user_style, user_level, user_allow_pm, user_active, user_actkey, user_posts, user_realname) "; $sql .= "VALUES (" . $this->user_id . ", '" . $this->username . "', '" . $this->user_fields['user_regdate'] . "', '" . $this->user_password . "', '" . $this->user_email . "', '" . $this->user_fields['user_icq'] . "', '" . $this->user_fields['user_website'] . "', '" . $this->user_fields['user_occ'] . "', '" . $this->user_fields['user_from'] . "', '" . $this->user_fields['user_interests'] . "', '" . $this->user_fields['user_sig'] . "', '" . $this->user_fields['user_sig_bbcode_uid'] . "', '" . $this->user_fields['user_avatar'] . "', '" . $this->user_fields['user_avatar_type'] . "', " . $this->user_fields['user_viewemail'] . ", '" . str_replace( ' ', '+', $this->user_fields['user_aim'] ) . "', '" . $this->user_fields['user_yim'] . "', '" . $this->user_fields['user_msnm'] . "', " . $this->user_fields['user_attachsig'] . ", " . $this->user_fields['user_allowsmile'] . ", " . $this->user_fields['user_allowhtml'] . ", " . $this->user_fields['user_allowbbcode'] . ", " . $this->user_fields['user_allow_viewonline'] . ", " . $this->user_fields['user_notify'] . ", " . $this->user_fields['user_notify_pm'] . ", " . $this->user_fields['user_popup_pm'] . ", " . $this->user_fields['user_timezone'] . ", '" . $this->user_fields['user_dateformat'] . "', '" . $this->user_fields['user_lang'] . "', " . $this->user_fields['user_style'] . ", " . $this->user_fields['user_level'] . ", 1, 1, '', '" . $this->user_fields['user_posts'] . "', '" . $this->user_fields['user_realname'] . "')"; + // Insert the user + if ( !( $result = $db->sql_query( $sql, BEGIN_TRANSACTION ) ) ) { $error = true; } + // Insert the personal group $sql = "INSERT INTO " . GROUPS_TABLE . " (group_name, group_description, group_single_user, group_moderator) VALUES ('', 'Personal User', 1, 0)"; + if ( !( $result = $db->sql_query( $sql ) ) ) { + echo('error - couldn\'t insert user: ' . $this->username ); $error = true; } + $group_id = $db->sql_nextid(); + // Insert the user_group entry $sql = "INSERT INTO " . USER_GROUP_TABLE . " (user_id, group_id, user_pending) *************** *** 191,196 **** --- 207,214 ---- if ( !( $result = $db->sql_query( $sql, END_TRANSACTION ) ) ) { + echo('error - couldn\'t insert user group: ' . $this->username ); $error = true; } + // Add the user to any applicable groups for ( $i = 0; $i < count( $this->groups ); $i++ ) *************** *** 200,208 **** --- 218,332 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { + echo('error - couldn\'t insert user speciell group: ' . $this->username ); + $error = true; + } + } + + return ( $error == true ) ? false : true; + } + + // Returns true on success, false otherwise + function move_user() + { + global $db; + // Get the user_id if one has not already been set + if ( $this->user_id == '' ) + { + $sql = "SELECT user_id + FROM " . USERS_TABLE . " + WHERE username = '" . $this->username . "'" ; + + if ( !( $result = $db->sql_query( $sql ) ) ) + { + message_die( GENERAL_ERROR, 'Could not obtain user_id information', '', __LINE__, __FILE__, $sql ); + } + + if ( !( $row = $db->sql_fetchrow( $result ) ) ) + { + message_die( GENERAL_ERROR, 'Could not obtain user_id information', '', __LINE__, __FILE__, $sql ); + } + $this->user_id = $row['user_id']; + } + + // Add the user to any applicable groups + for ( $i = 0; $i < count( $this->groups ); $i++ ) + { + + // + // First check if user is already in group + // + $sql = "SELECT * + FROM " . USER_GROUP_TABLE . " + WHERE user_id = '" . $this->user_id . "' + AND group_id = '" . $this->groups[$i] . "'" ; + + if ( !( $result = $db->sql_query( $sql ) ) ) + { + message_die( GENERAL_ERROR, 'Could not obtain user_id information', '', __LINE__, __FILE__, $sql ); + } + + if ( ( $row = $db->sql_fetchrow( $result ) ) ) + { + echo('warning: user is already in this group'); + continue; + } + + // + // Move user to new group + // + $sql = "INSERT INTO " . USER_GROUP_TABLE . " (user_id, group_id, user_pending) + VALUES (" . $this->user_id . ", " . $this->groups[$i] . ", 0)"; + + if ( !( $result = $db->sql_query( $sql ) ) ) + { + echo('error - couldn\'t insert user speciell group: ' . $this->username ); $error = true; } } + return ( $error == true ) ? false : true; } + + // Returns true on success, false otherwise + function update_user() + { + global $db; + // Get the user_id if one has not already been set + if ( $this->user_id == '' ) + { + $sql = "SELECT user_id + FROM " . USERS_TABLE . " + WHERE username = '" . $this->username . "'" ; + + if ( !( $result = $db->sql_query( $sql ) ) ) + { + message_die( GENERAL_ERROR, 'Could not obtain user_id information', '', __LINE__, __FILE__, $sql ); + } + + if ( !( $row = $db->sql_fetchrow( $result ) ) ) + { + message_die( GENERAL_ERROR, 'Could not obtain user_id information', '', __LINE__, __FILE__, $sql ); + } + $this->user_id = $row['user_id']; + } + + $sql = "UPDATE " . USERS_TABLE . " + SET user_password = '" . $this->user_password . "' + WHERE user_id = '" . $this->user_id . "'"; + + $error = false; + + // + // Update the user + // + if ( !( $result = $db->sql_query( $sql, BEGIN_TRANSACTION ) ) ) + { + $error = true; + } + + return ( $error == true ) ? false : true; + } + + } // Now we have a few wrapper functions for those who don't need the full power *************** *** 254,258 **** global $db; ! $sql = "SELECT group_id, group_name FROM " . GROUPS_TABLE; --- 378,382 ---- global $db; ! $sql = "SELECT group_id, group_name, group_description FROM " . GROUPS_TABLE; *************** *** 276,280 **** $status = ''; } ! $grouplist .= '<option value="' . $row['group_id'] . '" ' . $status . '>' . $row['group_name'] . '</option>'; } } --- 400,404 ---- $status = ''; } ! $grouplist .= '<option value="' . $row['group_id'] . '" ' . $status . '>' . $row['group_name'] . ' (' . $row['group_description'] . ')' . '</option>'; } } |
|
From: Jon O. <jon...@us...> - 2005-09-22 10:24:06
|
Update of /cvsroot/mxbb/mx_smartor In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11207/modules/mx_smartor Modified Files: Smartor_album.pak db_install.php db_uninstall.php db_upgrade.php Log Message: updates Index: Smartor_album.pak =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/Smartor_album.pak,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Smartor_album.pak 15 Jan 2005 23:54:44 -0000 1.4 --- Smartor_album.pak 22 Sep 2005 10:23:55 -0000 1.5 *************** *** 7,23 **** function=+:44=+:51=+:Smartor_album_list=+:Smartor album toplists=+:album_lists.php=+: parameter=+:51=+:126=+:display_latest_posts=+:Boolean=+:TRUE=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:51=+:123=+:display_most_posts=+:Boolean=+:TRUE=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:51=+:124=+:display_random_posts=+:Boolean=+:TRUE=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:51=+:125=+:display_top_ranked=+:Boolean=+:TRUE=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:51=+:127=+:num_of_cols=+:Number=+:1=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:51=+:128=+:num_of_rows=+:Number=+:2=+: ! option=+:0=+:0=+:0=+:endoflist=+: ! parameter=+:51=+:149=+:target_block=+:Function=+:0=+:get_list_formatted("smartor","{parameter_value}","{parameter_id}[]") ! option=+:0=+:0=+:0=+:endoflist=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 block=+:=+:Demo - Smartor_album_list=+:Demo block=+:51=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 --- 7,16 ---- function=+:44=+:51=+:Smartor_album_list=+:Smartor album toplists=+:album_lists.php=+: parameter=+:51=+:126=+:display_latest_posts=+:Boolean=+:TRUE=+: parameter=+:51=+:123=+:display_most_posts=+:Boolean=+:TRUE=+: parameter=+:51=+:124=+:display_random_posts=+:Boolean=+:TRUE=+: parameter=+:51=+:125=+:display_top_ranked=+:Boolean=+:TRUE=+: parameter=+:51=+:127=+:num_of_cols=+:Number=+:1=+: parameter=+:51=+:128=+:num_of_rows=+:Number=+:2=+: ! parameter=+:51=+:149=+:target_block=+:Function=+:0=+:get_list_formatted("block_list","{parameter_value}","{parameter_id}[]", "album.php") parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 block=+:=+:Demo - Smartor_album_list=+:Demo block=+:51=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 Index: db_uninstall.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/db_uninstall.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** db_uninstall.php 16 Jan 2005 01:05:14 -0000 1.4 --- db_uninstall.php 22 Sep 2005 10:23:55 -0000 1.5 *************** *** 2,12 **** /** * * ------------------------------------------------------------------------ ! * subject : mx-portal, CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System * email : jon...@ho... * project site : www.mx-system.com * - * description : * ------------------------------------------------------------------------- * --- 2,11 ---- /** * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal * email : jon...@ho... * project site : www.mx-system.com * * ------------------------------------------------------------------------- * *************** *** 24,28 **** if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = '../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); --- 23,27 ---- if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = './../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); *************** *** 33,45 **** if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(3)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(4)" ); } // End session management } $sql = array( "DROP TABLE " . $mx_table_prefix . "smartor_album ", --- 32,45 ---- if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(1)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(2)" ); } // End session management } + $sql = array( "DROP TABLE " . $mx_table_prefix . "smartor_album ", *************** *** 55,67 **** ); - $n = 0; - $message = "<b>This list is a result of the SQL queries needed for smartor module</b><br /><br />"; - - $message .= mx_do_install_upgrade( $sql ); - echo "<br /><br />"; echo "<table width=\"90%\" align=\"center\" cellpadding=\"4\" cellspacing=\"1\" border=\"0\" class=\"forumline\">"; echo "<tr><th class=\"thHead\" align=\"center\">Module Installation/Upgrading/Uninstalling Information - module specific db tables</th></tr>"; ! echo "<tr><td class=\"row1\" align=\"left\"><span class=\"gen\">" . $message . "</span></td></tr>"; echo "</table><br />"; --- 55,62 ---- ); echo "<br /><br />"; echo "<table width=\"90%\" align=\"center\" cellpadding=\"4\" cellspacing=\"1\" border=\"0\" class=\"forumline\">"; echo "<tr><th class=\"thHead\" align=\"center\">Module Installation/Upgrading/Uninstalling Information - module specific db tables</th></tr>"; ! echo "<tr><td class=\"row1\" align=\"left\"><span class=\"gen\">" . mx_do_install_upgrade( $sql ) . "</span></td></tr>"; echo "</table><br />"; Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/db_install.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** db_install.php 6 Mar 2005 01:13:49 -0000 1.6 --- db_install.php 22 Sep 2005 10:23:55 -0000 1.7 *************** *** 2,12 **** /** * * ------------------------------------------------------------------------ ! * subject : mx-portal, CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System * email : jon...@ho... * project site : www.mx-system.com * - * description : * ------------------------------------------------------------------------- * --- 2,11 ---- /** * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal * email : jon...@ho... * project site : www.mx-system.com * * ------------------------------------------------------------------------- * *************** *** 22,32 **** define( 'IN_PORTAL', true ); - - $mx_module_version = 'mxBB Smartor Album Module 2.0.0'; - $mx_module_copy = 'Based on <a href="http://smartor.is-root.com" target="_blank">Smartor & Clown</a>'; - if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = '../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); --- 21,27 ---- define( 'IN_PORTAL', true ); if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = './../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); *************** *** 37,49 **** if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(3)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(4)" ); } // End session management } // If upgrading from old mx album if ( $result = $db->sql_query( "SELECT config_name from " . $mx_table_prefix . "album_config" ) ) --- 32,48 ---- if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(1)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(2)" ); } // End session management } + + $mx_module_version = 'mxBB Smartor Album Module 2.0.0'; + $mx_module_copy = 'Based on <a href="http://smartor.is-root.com" target="_blank">Smartor & Clown</a>'; + // If upgrading from old mx album if ( $result = $db->sql_query( "SELECT config_name from " . $mx_table_prefix . "album_config" ) ) Index: db_upgrade.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/db_upgrade.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** db_upgrade.php 6 Mar 2005 01:13:49 -0000 1.6 --- db_upgrade.php 22 Sep 2005 10:23:55 -0000 1.7 *************** *** 2,12 **** /** * * ------------------------------------------------------------------------ ! * subject : mx-portal, CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System * email : jon...@ho... * project site : www.mx-system.com * - * description : * ------------------------------------------------------------------------- * --- 2,11 ---- /** * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal * email : jon...@ho... * project site : www.mx-system.com * * ------------------------------------------------------------------------- * *************** *** 22,32 **** define( 'IN_PORTAL', true ); - - $mx_module_version = 'mxBB Smartor Album Module 2.0.0'; - $mx_module_copy = 'Based on <a href="http://smartor.is-root.com" target="_blank">Smartor & Clown</a>'; - if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = '../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); --- 21,27 ---- define( 'IN_PORTAL', true ); if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = './../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); *************** *** 37,50 **** if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(3)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(4)" ); } // End session management } $sql = array(); // Precheck --- 32,48 ---- if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(1)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(2)" ); } // End session management } + $mx_module_version = 'mxBB Smartor Album Module 2.0.0'; + $mx_module_copy = 'Based on <a href="http://smartor.is-root.com" target="_blank">Smartor & Clown</a>'; + $sql = array(); // Precheck |
|
From: Jon O. <jon...@us...> - 2005-09-22 10:16:25
|
Update of /cvsroot/mxbb/mx_quotations In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9643/modules/mx_quotations Modified Files: db_install.php db_uninstall.php db_upgrade.php Log Message: Updates Index: db_uninstall.php =================================================================== RCS file: /cvsroot/mxbb/mx_quotations/db_uninstall.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** db_uninstall.php 16 Jan 2005 01:04:32 -0000 1.3 --- db_uninstall.php 22 Sep 2005 10:16:17 -0000 1.4 *************** *** 2,12 **** /** * * ------------------------------------------------------------------------ ! * subject : mx-portal, CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System * email : jon...@ho... * project site : www.mx-system.com * - * description : * ------------------------------------------------------------------------- * --- 2,11 ---- /** * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal * email : jon...@ho... * project site : www.mx-system.com * * ------------------------------------------------------------------------- * *************** *** 24,28 **** if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = '../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); --- 23,27 ---- if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = './../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); *************** *** 33,54 **** if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(3)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(4)" ); } // End session management } $sql = array( "DROP TABLE " . $mx_table_prefix . "quotations " ); - $message .= mx_do_install_upgrade( $sql ); - echo "<br /><br />"; echo "<table cellpadding=\"4\" cellspacing=\"1\" border=\"0\" class=\"forumline\">"; echo "<tr><th class=\"thHead\" align=\"center\">Module Uninstallation Information</th></tr>"; ! echo "<tr><td class=\"row1\" align=\"center\"><span class=\"gen\">" . $message . "</span></td></tr>"; echo "</table><br />"; --- 32,52 ---- if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(1)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(2)" ); } // End session management } + $sql = array( "DROP TABLE " . $mx_table_prefix . "quotations " ); echo "<br /><br />"; echo "<table cellpadding=\"4\" cellspacing=\"1\" border=\"0\" class=\"forumline\">"; echo "<tr><th class=\"thHead\" align=\"center\">Module Uninstallation Information</th></tr>"; ! echo "<tr><td class=\"row1\" align=\"center\"><span class=\"gen\">" . mx_do_install_upgrade( $sql ) . "</span></td></tr>"; echo "</table><br />"; Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_quotations/db_install.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** db_install.php 6 Mar 2005 01:13:24 -0000 1.4 --- db_install.php 22 Sep 2005 10:16:17 -0000 1.5 *************** *** 2,12 **** /** * * ------------------------------------------------------------------------ ! * subject : mx-portal, CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System * email : jon...@ho... * project site : www.mx-system.com * - * description : * ------------------------------------------------------------------------- * --- 2,11 ---- /** * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal * email : jon...@ho... * project site : www.mx-system.com * * ------------------------------------------------------------------------- * *************** *** 22,40 **** define( 'IN_PORTAL', true ); - - $mx_module_version = 'mxBB Quotations Module 2.0.0'; - $mx_module_copy = 'Written by <a href="http://www.mx-system.com" target="_phpbb" >Jaime</a>'; - if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = '../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); // Start session management $userdata = session_pagestart( $user_ip, PAGE_INDEX ); ! mx_init_userprefs( $userdata ); // End session management } $sql = array( "CREATE TABLE " . $mx_table_prefix . "quotations ( quote_id int(11) unsigned NOT NULL auto_increment, --- 21,48 ---- define( 'IN_PORTAL', true ); if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = './../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); // Start session management $userdata = session_pagestart( $user_ip, PAGE_INDEX ); ! mx_init_userprefs( $userdata ); ! ! if ( !$userdata['session_logged_in'] ) ! { ! die( "Hacking attempt(1)" ); ! } ! ! if ( $userdata['user_level'] != ADMIN ) ! { ! die( "Hacking attempt(2)" ); ! } // End session management } + $mx_module_version = 'mxBB Quotations Module 2.0.0'; + $mx_module_copy = 'Written by <a href="http://www.mx-system.com" target="_phpbb" >Jaime</a>'; + $sql = array( "CREATE TABLE " . $mx_table_prefix . "quotations ( quote_id int(11) unsigned NOT NULL auto_increment, Index: db_upgrade.php =================================================================== RCS file: /cvsroot/mxbb/mx_quotations/db_upgrade.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** db_upgrade.php 6 Mar 2005 01:13:24 -0000 1.5 --- db_upgrade.php 22 Sep 2005 10:16:17 -0000 1.6 *************** *** 2,12 **** /** * * ------------------------------------------------------------------------ ! * subject : mx-portal, CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System * email : jon...@ho... * project site : www.mx-system.com * - * description : * ------------------------------------------------------------------------- * --- 2,11 ---- /** * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal * email : jon...@ho... * project site : www.mx-system.com * * ------------------------------------------------------------------------- * *************** *** 22,32 **** define( 'IN_PORTAL', true ); - - $mx_module_version = 'mxBB Quotations Module 2.0.0'; - $mx_module_copy = 'Written by <a href="http://www.mx-system.com" target="_phpbb" >Jaime</a>'; - if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = '../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); --- 21,27 ---- define( 'IN_PORTAL', true ); if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = './../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); *************** *** 37,49 **** if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(3)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(4)" ); } // End session management } // Precheck if ( $result = $db->sql_query( "SELECT quote_id from " . $mx_table_prefix . "quotations" ) ) --- 32,48 ---- if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(1)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(2)" ); } // End session management } + + $mx_module_version = 'mxBB Quotations Module 2.0.0'; + $mx_module_copy = 'Written by <a href="http://www.mx-system.com" target="_phpbb" >Jaime</a>'; + // Precheck if ( $result = $db->sql_query( "SELECT quote_id from " . $mx_table_prefix . "quotations" ) ) |