[x] Navigation

[x] Languages

[x] Design
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.

events4u_config table: weekend or weekbeginn?

This forum is locked: you cannot post, reply to, or edit topics.    This topic is locked: you cannot edit posts or make replies.    Printer Friendly Page     Forum Index ›  Events 4U

View previous topic :: View next topic  
Author Message
liqweed
Investigator
Investigator

Offline Offline
Joined: May 27, 2004
Posts: 4

PostPosted: 09.06.2004 20:29
Post subject: events4u_config table: weekend or weekbeginn?

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?)?


liqweed please enter your server specs in your user profile! Crying or Very sad
Back to top
View user's profile Visit poster's website
Ertan
Webmaster
Webmaster

Offline Offline
Joined: Mar 19, 2004
Posts: 1264
Location: Germany
PostPosted: 10.06.2004 13:20
Post subject: Re: events4u_config table: weekend or weekbeginn?

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)
)";


Ertan's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Send e-mail Visit poster's website Photo Gallery
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.    This topic is locked: you cannot edit posts or make replies.    Printer Friendly Page    Forum Index ›  Events 4U
Page 1 of 1
All times are GMT + 1 Hour



Jump to:  


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum




Interactive software released under GNU GPL, Code Credits, Privacy Policy