Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
February 12, 2012, 12:37:37 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Interested in joining the WebsiteBaker team?
For more Information read
here
or on our
new website
.
149636
Posts in
21099
Topics by
7538
Members
Latest Member:
ionline
WebsiteBaker Community Forum
English
Archive (posts up to 2007)
(Moderator:
Argos
)
New Event Calendar v1.21b up to V1.3
Pages:
1
...
5
6
[
7
]
Go Down
Author
Topic: New Event Calendar v1.21b up to V1.3 (Read 46867 times)
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7661
Re: New Event Calendar v1.21b up to V1.3
«
Reply #150 on:
July 29, 2006, 07:47:47 AM »
Hello John,
for better compatibility with mysql 4 and mysql 5 stefan meant to change the install scripts. The main changes where to delete at all INT fields the NOT NULL and to add to all TEXT and VARCHAR fields DEFAULT \'\'. In different posts we now have problems with creating tables depending on the mysql (i think in combination with the php version) versions. So I'm not shur how to get this solved in the modules. As i See we need different install scripts to get the modules correct installing on all versions. Or is it possible to check in the install script wich mysql version is installed and depending on the result create the tables in different ways. The script you released above is a mixture from the old install scripts and the new install scripts. Did you think we solve this for all other modules with a similar mixture too?
Matthias
Logged
pcwacht
Guest
Re: New Event Calendar v1.21b up to V1.3
«
Reply #151 on:
July 29, 2006, 02:48:20 PM »
This was the error I corrected:
Quote
All parts of a PRIMARY KEY must be NOT NULL
So when using something as a primary ley the NOT NULL must be there!
I allso included some code right after the db code to show errors if there are any, wich is handy for (module)developers...
Code:
$database->query($mod_event);
// Check if there is a db error
if($database->is_error()) {
echo 'Table settings : '.$database->get_error();
}
The first is definitly a must, the second is just handy...
John
PS Will dig into this when I have diff mysql servers running so I can see what is the best practice to create tables from within php
Logged
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7661
Re: New Event Calendar v1.21b up to V1.3
«
Reply #152 on:
July 29, 2006, 02:58:10 PM »
Thanks John,
so it could be, that only give the primary the value NOT NULL could solve this problems? will try and look, because I've changed this in different modules.
Matthias
Logged
cmiper
Offline
Posts: 34
Re: New Event Calendar v1.21b up to V1.3
«
Reply #153 on:
August 22, 2006, 07:50:22 PM »
Hey guys, I hate to float this one up to the top again, but I have an older install of WB running one a site that never used the Event Calendar since I set it up. It was updated to 1.21c and I would like to bring it up to date, but cannot find the 1.21b - 1.3 update anywhere, which I need before I can run the 1.62 version.
Any help would be appreciated.
Thanks
*by "older install of WB" I meant that it is current, just an install that I had done a while back..just to clarify
«
Last Edit: August 22, 2006, 08:22:05 PM by cmiper
»
Logged
kweitzel
Forum administrator
Offline
Posts: 6820
Re: New Event Calendar v1.21b up to V1.3
«
Reply #154 on:
August 22, 2006, 09:18:36 PM »
now, if that site never used the eventcalendar, the quickest way is to uninstall and then reinstall the latest available version.
On the other hand, I have some older modules on my personal webspace here:
Nethome of Claudia & Klaus - Download Section
but since it has not been maintained since about march this year, no guarantee that you find what you need. Also lot's of modules from the 2.5.2 times and modules which never made it out of release state.
cheers
Klaus
Logged
WebsiteBaker Org e.V. - for WebsiteBaker
cmiper
Offline
Posts: 34
Re: New Event Calendar v1.21b up to V1.3
«
Reply #155 on:
August 31, 2006, 02:27:46 PM »
Thanks Klaus, found what I needed and got up to date.
They had a few old event posts so I went with the update method.
Thanks again.
Logged
YeShakka
Offline
Posts: 146
Still not fixed...
«
Reply #156 on:
January 21, 2007, 05:19:53 PM »
Hi!
Quote from: YeShakka on July 19, 2006, 11:06:36 AM
* When I am in the actual (current) month the shouldn't be a message saying "Back to current month"
The current month is still shown when I am on the events page.
E.g.: When I view the Events page for January I get the message "Back to current month".
Greetings,
YeShakka
Logged
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7661
Re: New Event Calendar v1.21b up to V1.3
«
Reply #157 on:
January 21, 2007, 05:25:57 PM »
Hello,
Again did you use the latest version of this modul?
Matthias
Logged
YeShakka
Offline
Posts: 146
Re: New Event Calendar v1.21b up to V1.3
«
Reply #158 on:
January 21, 2007, 05:28:50 PM »
I am just updating every think on my page.
So these are the new files downloaden from addons.* today.
EDIT: here goes the code of the view.php as stored on my server:
Code:
<table border="0" cellpadding="0" cellspacing="0" width="95%">
<tr>
<td class="eventheading" width="5%">
<?php
$monthchange
=
$monthno
-
1
;
$yearchange
=
$year
;
if (
$monthchange
==
0
) {
$monthchange
=
12
;
$yearchange
=
$year
-
1
;
} else {
$yearchange
=
$year
;
}
?>
<a href="
<?php
echo
'?monthno='
.
$monthchange
.
'&year='
.
$yearchange
;
?>
"><img src="
<?php
echo
$WB_URL
;
?>
/modules/event/leftarrow.gif" border="0" alt="
<?php
echo
date
(
M
,
mktime
(
0
,
0
,
0
,
$monthchange
,
1
,
$yearchange
)).
" "
.
$yearchange ?>
"></img></a>
</td>
<td class="eventheading" width="90%">
<a href="
<?php
echo
'?'
;
?>
">
<?php
echo
$EVTEXT
[
'TODAY'
]
?>
</a>
</td>
<td class="eventheading" width="5%">
<?php
$monthchange
=
$monthno
+
1
;
if (
$monthchange
==
13
) {
$monthchange
=
1
;
$yearchange
=
$year
+
1
;
} else {
$yearchange
=
$year
;
}
?>
<a href="
<?php
echo
'?monthno='
.
$monthchange
.
'&year='
.
$yearchange
;
?>
"><img src="
<?php
echo
$WB_URL
;
?>
/modules/event/rightarrow.gif" border="0" alt="
<?php
echo
date
(
M
,
mktime
(
0
,
0
,
0
,
$monthchange
,
1
,
$yearchange
)).
" "
.
$yearchange ?>
"></img></a>
</td>
</tr>
</table>
My suggestion is to use a css like style=display:none if we are in the current month.
Do you know how to switch style=display:none to style=display:inline via PHP?
Code:
<td class="eventheading" width="90%" style=display:none>
<a href="
<?php
echo
'?'
;
?>
">
<?php
echo
$EVTEXT
[
'TODAY'
]
?>
</a>
... just an idea...
Maybe you know better how to do this.
«
Last Edit: January 21, 2007, 05:48:54 PM by YeShakka
»
Logged
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7661
Re: New Event Calendar v1.21b up to V1.3
«
Reply #159 on:
January 21, 2007, 06:34:31 PM »
Hello,
so the modul is working as it should and you only wanna have the additional feature that of you are in the current month the message "Back to current month" isn't displayed?
Maybe in a next version we could add this.
Matthias
Logged
YeShakka
Offline
Posts: 146
Re: New Event Calendar v1.21b up to V1.3
«
Reply #160 on:
January 21, 2007, 07:36:42 PM »
Sorry, Mathias.
We were misunderstanding each other.
Yes, that's want I am suggesting.
My PHP-knowledge is too limited too do this now...
Logged
bgg
Offline
Posts: 101
Re: New Event Calendar v1.21b up to V1.3
«
Reply #161 on:
February 21, 2007, 09:06:28 AM »
Is there a way to mix-up both this Event calendar module with the Calendar module?? i.e. clickable dates (when there is any event) to the event details ,, and the calendar .. we can choose to place on the homepage..
Logged
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7661
Re: New Event Calendar v1.21b up to V1.3
«
Reply #162 on:
February 21, 2007, 09:16:57 AM »
Hello,
as this are two different modules a mixing is not possibel.
Sorry
Matthias
Logged
bgg
Offline
Posts: 101
Re: New Event Calendar v1.21b up to V1.3
«
Reply #163 on:
February 21, 2007, 09:50:35 AM »
or can a events be displayed within a calendar format?
Logged
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7661
Re: New Event Calendar v1.21b up to V1.3
«
Reply #164 on:
February 21, 2007, 10:02:01 AM »
Hello,
again no, for this please use the calendar modul. I hope we release in the next days (weekend) a new version of calendar modul with a lot of fixes and new features from funky_mf.
Matthias
Logged
bgg
Offline
Posts: 101
Re: New Event Calendar v1.21b up to V1.3
«
Reply #165 on:
February 21, 2007, 10:42:47 AM »
I just figured it out with the calendar module:
http://www.wb.asiasrc.org/pages/events.php
but the default display it not nice and does not look like a WB type module (dirty URL!!)
May be the Event Calendar Module can give a similar solution!
Thanks
Logged
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7661
Re: New Event Calendar v1.21b up to V1.3
«
Reply #166 on:
February 21, 2007, 10:49:37 AM »
Hello,
as i said, Event Calendar does not get this output!!
For better results in Calendar Modul search the forum or wait to the next release as i wrote above.
Matthias
Logged
Pages:
1
...
5
6
[
7
]
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
-----------------------------
English
-----------------------------
=> Help & Support
-----------------------------
General
-----------------------------
=> WebsiteBaker Website Showcase
-----------------------------
English
-----------------------------
=> Modules
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
-----------------------------
General
-----------------------------
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
-----------------------------
General
-----------------------------
=> Security Announcements
-----------------------------
Deutsch (German)
-----------------------------
=> Hilfe/Support
-----------------------------
General
-----------------------------
=> Documentation
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
=> Module & Snippets
-----------------------------
English
-----------------------------
=> Archive (posts up to 2007)
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Deutsch (German)
-----------------------------
=> jQuery
=> Tutorials
=> Templates & Design
-----------------------------
English
-----------------------------
=> jQuery
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
===> Suggestions
-----------------------------
Deutsch (German)
-----------------------------
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
===> Vorschläge
-----------------------------
English
-----------------------------
===> Software bugs
-----------------------------
Deutsch (German)
-----------------------------
===> Softwarefehler
=====> Module / Extensions
-----------------------------
English
-----------------------------
=====> Modules / Extensions
-----------------------------
Deutsch (German)
-----------------------------
===> Erfahrungs und Testberichte
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...