events4u_config table: weekend or weekbeginn?
-> Events 4U

#1: events4u_config table: weekend or weekbeginn? Author: liqweed PostPosted: 09.06.2004 20:29
    ----
Hi,

In events4u.php in function CalendarConfigSave($pvs) (around line 562) it says:
Array:
$sql = "UPDATE ".$prefix."_events4u_config  SET defaultview='$defaultview', minuterange='$minuterange', usetopics='$usetopics', allowaddarticle='$allowaddarticle', allowuserpost='$allowuserpost', userautoactive='$userautoactive',  allowanonpost='$allowanonpost', anonautoactive='$anonautoactive', AdminEditAll='$AdminEditAll', [b]weekbeginn='$weekbeginn'[/b], interdate='$interdate', AdminType='$AdminType', listcount='$listcount', listStarttime='$listStarttime', listEnddate='$listEnddate', listEndtime ='$listEndtime', listEnddate2='$listEnddate2', listBrTime='$listBrTime', catListCols='$ListCols', TextEvents='$TextEvents', ShowPopup='$ShowPopup', showlinks='$showlinks', showblock='$showblock' , TimeArray='$TimeArray' , searchcount='$searchcount', searchTopics='$searchTopics'  WHERE id='1'";

the cpg_inst.php for Events4u says:
Array:
$queries[] = "CREATE TABLE ".$prefix."_events4u_config (
  id int(9) NOT NULL auto_increment,
  defaultview varchar(25) NOT NULL default 'day',
  minuterange int(10) NOT NULL default '10',
  usetopics int(1) NOT NULL default '1',
  allowaddarticle int(1) NOT NULL default '1',
  allowuserpost int(1) NOT NULL default '1',
  userautoactive int(1) NOT NULL default '0',
  allowanonpost int(1) NOT NULL default '1',
  anonautoactive int(1) NOT NULL default '0',
  AdminEditAll int(1) NOT NULL default '1',
  [b]weekend[/b] int(1) NOT NULL default '0',
  interdate int(1) NOT NULL default '1',
  AdminType varchar(25) NOT NULL default 'radminsuper',
  listcount int(10) NOT NULL default '4',
  listStarttime int(1) NOT NULL default '1',
  listEnddate int(1) NOT NULL default '0',
  listEndtime int(1) NOT NULL default '0',
  listEnddate2 int(1) NOT NULL default '0',
  listBrTime int(1) NOT NULL default '0',
  catListCols int(3) NOT NULL default '4',
  TextEvents int(1) NOT NULL default '1',
  ShowPopup int(1) NOT NULL default '0',
  showlinks int(1) NOT NULL default '0',
  showblock int(1) NOT NULL default '1',
  TimeArray text NOT NULL,
  searchcount int(5) NOT NULL default '30',
  searchTopics int(1) NOT NULL default '1',
  PRIMARY KEY  (id))";

Elsewhere it is related to as weekbeginn.
...so which one is it? weekend or weekbeginn (why not weekbegin?)?

#2: Re: events4u_config table: weekend or weekbeginn? Author: ErtanLocation: Germany PostPosted: 10.06.2004 13:20
    ----
you are right Wink

this is fixed in the new cpg_inst.php

$queries[] = "CREATE TABLE ".$prefix."_events4u_config (
id int(9) NOT NULL auto_increment,
defaultview varchar(25) NOT NULL default 'day',
minuterange int(10) NOT NULL default '10',
usetopics int(1) NOT NULL default '1',
allowaddarticle int(1) NOT NULL default '1',
allowuserpost int(1) NOT NULL default '1',
userautoactive int(1) NOT NULL default '0',
allowanonpost int(1) NOT NULL default '1',
anonautoactive int(1) NOT NULL default '0',
AdminEditAll int(1) NOT NULL default '1',
weekbeginn int(1) NOT NULL default '0',
interdate int(1) NOT NULL default '1',
AdminType varchar(25) NOT NULL default 'radminsuper',
listcount int(10) NOT NULL default '4',
listStarttime int(1) NOT NULL default '1',
listEnddate int(1) NOT NULL default '0',
listEndtime int(1) NOT NULL default '0',
listEnddate2 int(1) NOT NULL default '0',
listBrTime int(1) NOT NULL default '0',
catListCols int(3) NOT NULL default '4',
TextEvents int(1) NOT NULL default '1',
ShowPopup int(1) NOT NULL default '0',
showlinks int(1) NOT NULL default '0',
showblock int(1) NOT NULL default '1',
TimeArray text NOT NULL,
searchcount int(5) NOT NULL default '30',
searchTopics int(1) NOT NULL default '1',
PRIMARY KEY (id)
)";



-> Events 4U

All times are GMT + 1 Hour

Page 1 of 1