Verfasst: 18.07.2003 09:29
Da kommt wohl nix mehr... 

phpBB.de - Die deutsche phpBB-Community
https://www.phpbb.de/community/
Code: Alles auswählen
###############################################
## Title: Event Kalender
## Version: 1.5
## Author: neo18tildie <neo18tildie@web.de>
## Demo: http://www.party-cam.org/events.php
##
## Description:
## Event Kalender, basierend auf dem MyCalendar Mod.
## (Benötigt daher das MyCalendar Mod)
##
## Features:
## - Monats- & Tagesansicht
## - Location, Ort, ... kann angegeben werden
##
##
## Installation Level: easy
## Installation Time: ? Minutes
##
## Included Files:
##
## /events.php
## /mycalendar_mod/mycalendar_functions.php
## /templates/XXX/event_body.tpl
##
## Files To Edit: 2
## /includes/page_header.php
## /includes/constants.php
## /templates/XXX/posting.tpl
##
##
##
###############################################
***************** MYSQL COMMANDS ******************
ALTER TABLE `phpbb_mycalendar` ADD `location` VARCHAR( 255 ) NOT NULL ;
ALTER TABLE `phpbb_mycalendar` ADD `eintritt` VARCHAR( 255 ) NOT NULL ;
ALTER TABLE `phpbb_mycalendar` ADD `stadt` VARCHAR( 255 ) NOT NULL ;
ALTER TABLE `phpbb_mycalendar` ADD `url` VARCHAR( 255 ) NOT NULL ;
************** UPLOAD INCLUDES FILES **************
OVERWRITE ORIGINAL /mycalendar_mod/mycalendar_functions.php !!!
******* FIND IN includes/page_header.php ***********
include($phpbb_root_path . 'mini_cal.'.$phpEx);
****************************************************
DELETE COMPLETE LINE; SAVE AS includes/page_event.php
****************************************************
******* FIND IN includes/constants.php ***********
// Page numbers for session handling
******************** ADD AFTER *********************
define('PAGE_EVENT', -17);
****** FIND IN templates/XXX/posting.tpl ***********
{L_CAL_REPEAT_FOREVER}</span>
</td>
</tr>
******************** ADD AFTER *********************
<tr>
<td class="row1" rowspan=2>
<span class="gen"><b>Location:</b></span>
</td>
<td class="row2" style="vertical-align: top;">
<span class="gensmall">
<select name="cal_location">
<option value="{CAL_LOCATION}" class="genmed">{CAL_LOCATION}</option>
<option value="" class="genmed">-------</option>
<option value="andere" class="genmed">andere...</option>
<option value="" class="genmed">-------</option>
<option value="AAA" class="genmed">AAA</option>
<option value="BBB" class="genmed">BBB</option>
</select>
</td></tr><tr> <td class="row2" style="vertical-align: top;">
<input type="text" name="andere_location" size="35" maxlength="60" class="post" value="" />
<br> <small>Sollte deine Location nicht vorhanden sein, so wähle "andere..." und trage die Location im Textfeld ein.</small>
</span>
</td>
</tr>
<tr>
<td class="row1">
<span class="gen"><b>Homepage:</b></span>
</td>
<td class="row2" style="vertical-align: middle;">
<span class="gensmall">
<input type="text" name="cal_url" size="35" maxlength="60" class="post" value="{CAL_URL}" />
</span>
</td>
</tr>
<tr>
<td class="row1">
<span class="gen"><b>Stadt:</b></span>
</td>
<td class="row2" style="vertical-align: middle;">
<span class="gensmall">
<input type="text" name="cal_stadt" size="25" maxlength="60" class="post" value="{CAL_STADT}" />
</span>
</td>
</tr>
<tr>
<td class="row1">
<span class="gen"><b>Eintritt:</b></span>
</td>
<td class="row2" style="vertical-align: middle;">
<span class="gensmall">
<input type="text" name="cal_eintritt" size="10" maxlength="20" class="post" value="{CAL_EINTRITT}" />
</span>
</td>
</tr>
******************** SAVE & CLOSE ********************
Code: Alles auswählen
****** FIND IN templates/XXX/posting.tpl ***********
{L_CAL_REPEAT_FOREVER}</span>
</td>
</tr>