Welcome, Guest. Please login or register.
Did you miss your activation email?
May 25, 2012, 12:06:08 PM

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.
155504 Posts in 21710 Topics by 7736 Members
Latest Member: deenangle
* Home Help Search Login Register
Pages: 1 2 [3] 4 5   Go Down
Print
Author Topic: New calendar module "concert calendar"  (Read 11319 times)
dbs
WebsiteBaker Org e.V.

Online Online

Posts: 3714


WWW
« Reply #50 on: February 07, 2011, 06:55:10 PM »

thx for the feedback boudi.
the module should now go to AMASP.

time for droplet...
Logged

dbs
WebsiteBaker Org e.V.

Online Online

Posts: 3714


WWW
« Reply #51 on: February 14, 2011, 08:00:28 PM »

could somebody test the droplet. http://www.websitebaker2.org/forum/index.php/topic,13792.msg140452.html#msg140452
don't forget to change/add the right path to concertcalendar-page.

it works for me, but don't work for user D72.
Logged

Vincent

Offline Offline

Posts: 360


WWW
« Reply #52 on: February 15, 2011, 09:47:24 AM »

Hi dbs,

I used it here: http://www.vasilenedea.com (dit it a couple of months ago) and it always worked fine there (I mean also the older version of module itself).

Regard, thanks for this fine droplet,

Vincent
Logged
dbs
WebsiteBaker Org e.V.

Online Online

Posts: 3714


WWW
« Reply #53 on: February 15, 2011, 01:38:37 PM »

thx vincent, good to hear it works.
you have only one next concert. the effect of the droplet is better to see with more as one next concerts.
nice site. wink

dbs
Logged

novacultura

Offline Offline

Posts: 6


« Reply #54 on: March 10, 2011, 11:33:44 AM »

Great calendar module. (nearly) exactly what I needed for my site. Congratulations!

But one suggestion: Is there a possibility to show date, event name AND place (city) in the list of the upcoming events? I suppose it should be easy - if I only knew how  sad

Thanx for suggestions
Michael
Logged
dbs
WebsiteBaker Org e.V.

Online Online

Posts: 3714


WWW
« Reply #55 on: March 10, 2011, 02:31:59 PM »

hi, you can change the view.php at line 94.
old:
Code:
$content .= " <a class='toggle' onclick='toggle_visibility(".$divtxt.");'>".$data['concert_name']."</a>";
new:
Code:
$content .= " <a class='toggle' onclick='toggle_visibility(".$divtxt.");'>".$data['concert_name']."&nbsp;&nbsp;" .$data['concert_place']."</a>";
Logged

novacultura

Offline Offline

Posts: 6


« Reply #56 on: March 10, 2011, 07:40:52 PM »

Hey, great!
Thanks a lot for melping an semi-analphabet in php.
The result can shortly be seen here: http://novacultura.de/wb/pages/agenda.php
Thanks to that modified module I can now run my website with 100% WebsiteBaker.
Thank you very much.
Michael
Logged
dbs
WebsiteBaker Org e.V.

Online Online

Posts: 3714


WWW
« Reply #57 on: March 10, 2011, 07:52:38 PM »

nice smiley

but a little bit more css-styling for the concertcalendar is needed.

and i am a php-analphabet too.
Logged

berny

Offline Offline

Posts: 21


« Reply #58 on: March 20, 2011, 10:15:53 PM »

I have a problem:

If i want to add a concert, there is a error:
notice: Undefined variable: concert_id in modules/concert/add_concert.php on line 32

There ist a Problem with the
concert_id = $database->get_one("SELECT LAST_INSERT_ID()");

I think, the server dont serve the last id...
what could this be Huh

If i add a new concert, i have the error, but the concert will be saved in the database.
But if a other user want to add a new concert, it will not be saved...

i dont know, whow to solve this problem....
Logged
dbs
WebsiteBaker Org e.V.

Online Online

Posts: 3714


WWW
« Reply #59 on: March 20, 2011, 10:38:45 PM »

hi, you are right. look here:
http://www.websitebaker2.org/forum/index.php/topic,13792.msg107078.html#msg107078

but i don't have problems with more as one user.
Logged

berny

Offline Offline

Posts: 21


« Reply #60 on: March 21, 2011, 10:18:51 AM »

The Problem with more user:
when i am logged in as admin, i have no problem.
When at the same time a other User ist logged in, and also administrate the calender, he has this Problem.
This could be a random..

I think:
last_Insert_id()
in the normal way, this must be requestet direct after the mysql-Statement.
Maybe here is the Problem, beacause the last Id will be asked with a function, maybe there is an other Statement between the two requests, and produced this error?

how to request the Last id without this functions (direkt request in the module?)
is there a posibillity to solve this Problem on this way?

sorry, for my bad english wink
Logged
dbs
WebsiteBaker Org e.V.

Online Online

Posts: 3714


WWW
« Reply #61 on: March 21, 2011, 11:55:37 AM »

my english is also bad.

you will become problems in many modules if 2 users work at the same time.
i am not a coder, maybe the thread-opener ist the right adress.

dbs
(my german is better)
Logged

berny

Offline Offline

Posts: 21


« Reply #62 on: March 23, 2011, 08:56:53 AM »

OK, i have an issue, but i dont know, that it works correkt..

it make no sense to get the Last-id in the select.
The concert_id is a parameter in the select query and also the parameter for the last_id
this cannot work.

Issue:
add_concert.php line 32:
delete the " 'concert_id', " and the " '$concert_id', " in the select query.
The concert_id is auto increment, it will be get a new ID, therefore i dont have to predefine ist.

Next Problem:
In the save_concert.php line 53:
If there ist no date defined, it make no sense to compare a non defined Parameter.
Therfore replace:
(isset($concert_date) AND $concert_date == $fulldate)
Than the parser compare only, if the Parameter $concert_date is set.

This works fine, but i dont know, if this issue works also correct, because i dont know this script very well.
Maybe the Coder will read this an maybe he can repair this in a correct way wink

greetings from austria
Berny
Logged
dbs
WebsiteBaker Org e.V.

Online Online

Posts: 3714


WWW
« Reply #63 on: March 23, 2011, 02:40:13 PM »

you could share your changes here (the file) and maybe a lot of people test it.
i will do it.

there is also another problem:
if you make a new entry with day 29 or 30 or 31 and you edit this concert later, the date in the backend displays automacally the day 1. and not 29. or 30. or 31.

in change_concert.php is a javascript- and a php-function for days after 28., but i can't solve this.
Logged

berny

Offline Offline

Posts: 21


« Reply #64 on: March 26, 2011, 11:51:21 AM »

Update the concert-kalendar

Please attention, use this issue of your own risk!

Changes:
Solve a Problem with the Last_insert_ID
Solve a Problem with the date.

I can reproduce the javascript Problem, but i am not very good in javascript therefor i also dont know an issue.
Maybe someone have a idea, to solve this Problem by activating the script only when focus the date-selects.
Then this javascript will be only active, when someone clicks on the Date so the Problem will only be secundare.
dirty, but maybe it works, untill the coder will have more time wink
(dont stress him, he have to do some other important things!!!  cool )
Logged
dbs
WebsiteBaker Org e.V.

Online Online

Posts: 3714


WWW
« Reply #65 on: March 26, 2011, 12:07:09 PM »

hi, can't update with this version-number. the -a is deadly. *g*
maybe wb don't like this.
edit: you must also change the info.php

for me is good to have the 2 changed files.  wink
« Last Edit: March 26, 2011, 12:25:08 PM by dbs » Logged

marmot

Offline Offline

Posts: 205


« Reply #66 on: March 29, 2011, 11:45:05 PM »

Hi,

did some code cleaning and hopefully solved the issue concerning days 29 to 31.

Changed files are:
add_concert.php
change_concert.php
save_concert.php
info.php

regards
Logged
dbs
WebsiteBaker Org e.V.

Online Online

Posts: 3714


WWW
« Reply #67 on: March 30, 2011, 07:04:10 AM »

thx marmot & berny,

but it's crazy, at the moment there are no problems with days from 29 - 31.
without changes at version 2.1.3.

i must wait until next month for more tests.
Logged

dbs
WebsiteBaker Org e.V.

Online Online

Posts: 3714


WWW
« Reply #68 on: April 01, 2011, 05:09:56 PM »

today the old problem is again there.
after update with version 2.1.4 from marmot the problem is solved.

good work, THX  smiley

dbs
« Last Edit: April 01, 2011, 05:16:24 PM by dbs » Logged

vixrealitum

Offline Offline

Posts: 9


« Reply #69 on: May 04, 2011, 11:18:06 AM »

hello I made a Polish translation of the concert calendar (version 2.1.4)
« Last Edit: May 05, 2011, 05:44:47 PM by vixrealitum » Logged
dbs
WebsiteBaker Org e.V.

Online Online

Posts: 3714


WWW
« Reply #70 on: May 04, 2011, 03:08:44 PM »

hi vixrealitum,

have you made a pl.php for translating or more other changes in the module?
what is new in the droplet-code?

dbs
Logged

vixrealitum

Offline Offline

Posts: 9


« Reply #71 on: May 05, 2011, 12:36:20 PM »

hi dbs

came the language file pl.php rest of the files is unchanged. Module and the droplet are working properly, shows links to the addresses of the date of events.


I have a question, I would like to add on the home page droplet concert consisting only of miniature posters acting as a link to the module. Is it possible to display thumbnails of such events in droplet?
Logged
dbs
WebsiteBaker Org e.V.

Online Online

Posts: 3714


WWW
« Reply #72 on: May 05, 2011, 01:33:14 PM »

hi, if i understand you right: you have created a language-file (pl.php).
it would be better if you make a zip (contains only the pl.php) and in a next version of concertcalender it will be included.

in the droplet-code you have changed the path to the calender-page? but it is the same code like this droplet?
http://www.websitebaker2.org/forum/index.php/topic,13792.msg140452.html#msg140452

hm, everybody must change the path in droplet-code for own use. the title of the calendar-page can/will be different.

sorry for my english, thx for your work.  wink

dbs
Logged

vixrealitum

Offline Offline

Posts: 9


« Reply #73 on: May 05, 2011, 05:47:24 PM »

droplet is the same as in the official final version, I changed the path.

In a previous post, I changed the link only to the Polish language version.
Logged
dbs
WebsiteBaker Org e.V.

Online Online

Posts: 3714


WWW
« Reply #74 on: May 05, 2011, 06:04:44 PM »

Quote
In a previous post, I changed the link only to the Polish language version.
it's maybe a mistake, but the path is for the page with concertcalendar. the language of this page you choose in page-settings (or global settings).
« Last Edit: May 05, 2011, 08:07:55 PM by dbs » Logged

Pages: 1 2 [3] 4 5   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!