Pagina 1 di 2 1 2 ultimoultimo
Visualizzazione dei risultati da 1 a 10 su 14

Discussione: Calendario eventi

  1. #1

    Calendario eventi

    ciao a tutti! sto facendo un sito per una squadra di volley ( sto cominciando ora a fare siti, quindo ho poca esperienza) dovrei aggiungere il calendario eventi e non so come fare, qualcuno potrebbe darmi una dritta
    o un posto dovre prendere questo tipo di risorsa gratuitamente?
    il calendario deve avere un'anteprima nella home e è poi cliccando nell giorno si apre il pop un e si vede che c'è in quel giocno, spero d'essermi spiegata per bene... attendo anziosa vostri consigli!

  2. #2
    per fare un calendario eventi ti occorre un linguaggio latoserver: PHP ASP.

    Di quale puoi disporre?

    ciaux

  3. #3
    Io ho uno script per un calendario che si collega all'ora del server però necessita di ASP, tu lo puoi usare ASP????
    FEDERIX.IT - [Pillola] GRAFICA DEI FORM

    ...ho ancora quella forza che ti serve, quando dici "Si comincia!"

  4. #4

    allora

    io sono un puo nuova di questo mondo... io opero su altervista in htm, non ho mai fatto nulla in php, se mi aiutate a capire ne sarei grata... mi basta che mi spiegate qualcosina e poi faccio da sola... io ho trovato file in php ma non so come inserirli... mamma mia mi sento piccina piccina! help me!

  5. #5
    ok: per iniziare ti occorre il php che già hai, e un database, che dovrai attivare. (contatta / consulta il rivenditore). Il Database MySQL serve per memorizzare i dati del tuo calendario.

    fai questo primo passo poi proseguiamo.

    ps sposto la discussione sul forum PHP

    ciaux

  6. #6
    non sei stato molto chiaro... come ho gia detto prima, finchè è html ok
    il php lo comprendo poco, anzi zero, potresti essere più dettagliato?

  7. #7
    per fare il calendario eventi, hai bisogno di due cose;
    1) Il PHP, e il tuo spazio web già ne è dotato;
    2) ti occorre un Database di tipo "MySQL"
    per averlo devi contattare o cercare sul sito che ti ospita. Dovrai cercare: Attiva Database MySQL.

    Quando sei riuscita ad attivare il Database, passiamo alla fase successiva, che sarà quella di trovare uno script per il tuo calendario eventi

    ciaux

  8. #8
    ok lo cerco subito:P

  9. #9

    fatto!

    ok ho attivato il server mysql,
    lo scrpt io l'ho trovato su questo sito... my agend si chiama, mocome lo inserisco?

  10. #10
    Allora: prima buona abitudine è leggere i file: install.txt - readme.txt ecc
    di seguito riporto il file install.txt dello script che hai scelto, così lo teniamo a portata di mano, e chiaramente anche per eventuali volenterosi che vogliano partecipare all'evento...



    codice:
    #############################################################################
    
    # myAgenda v1.0																#
    
    # =============																#
    
    # Copyright (C) 2002  Mesut Tunga - mesut@tunga.com							#
    
    # http://www.tunga.com														#
    
    #																			#
    
    # This program is free software. You can redistribute it and/or modify		#
    
    # it under the terms of the GNU General Public License as published by 		#
    
    # the Free Software Foundation; either version 2 of the License.       		#
    
    #############################################################################
    
    
    
    SYSTEM REQUIREMENTS
    
    --------------------------------------------------------------------
    
    * MySQL
    
    * PHP 4.0 or later, compiled with MySQL support
    
    * Linux Cron access or similar schedule program
    
    
    
    INSTALL
    
    --------------------------------------------------------------------
    
    * Open files/config.php with your favorite text editor and edit variables
    
    
    
    * Create or choose a database to use with the myAgenda tables.
    
      For creating a new db, firstly login to MySql server:
    
     /path/to/your/mysql -ppassword
    
    
    
    on your MySql shell type:
    
    mysql> create database myagenda;
    
    
    
    * Then you need to configure the mysql server to grant access priveleges on myagenda database
    
      to whatever username you configured in config.php $sql_user variable and also whatever password 
    
      you set with $sql_pass. To do this, login to mysql server and type the commands below.
    
    
    
    mysql> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, ALTER
    
           ON agenda.*
    
           TO agenda@localhost
    
           IDENTIFIED BY 'agenda';
    
           exit;
    
    
    
     If you do not have root or create access to MySql server then use the db 
    
     you already have. Do not forget to set them in config.php
    
    
    
    * Run 
    
    /path/to/your/mysql -ppassword yourdb < /path/to/myAgenda/myAgenda.sql
    
      This will create all the tables myAgenda needs. Remove myAgenda.sql after
    
      you have finished your work with that file. (This is just let another people
    
      not to view your sql structure via web).
    
    
    
      P.S: I have tested the above command on a Win98/MySql. All the uppercase 
    
      letters turned to lowercase. This will crash the program. Be aware. All the
    
      letters shoud be as same as in myAgenda.sql
    
    
    
    * To send reminders, add a cron entry like below. This will check every day at 8.15 am
    
      if there is a reminder; then sr.php will do the work. One more point is the user/pass
    
      we set in config.php with $auth_us/$auth_ps. Write these variables values to your cron
    
      entry also. text.txt is a null value. Never mind it.
    
      
    
      15 8 * * * /usr/bin/lynx -auth=agenda:agenda -dump http://www.yourdomain.com/agenda/sr.php >  text.txt
    
    
    
    * Upload all the scripts to your web directory. 
    
    	   
    
    * Go http://yourdomain.com/path/to/myAgenda/ and see your agenda.

    allora, il primo punto dell'installazione dice:

    * Open files/config.php with your favorite text editor and edit variables


    Apri: file/config.php e modifica le variabili.

    allego anche il file config.php sempre per i motivi di cui sopra:

    codice:
    <?php
    
    #############################################################################
    
    # myAgenda v1.0																#
    
    # =============																#
    
    # Copyright (C) 2002  Mesut Tunga - mesut@tunga.com							#
    
    # http://www.tunga.com														#
    
    #																			#
    
    # This program is free software. You can redistribute it and/or modify		#
    
    # it under the terms of the GNU General Public License as published by 		#
    
    # the Free Software Foundation; either version 2 of the License.       		#
    
    #############################################################################
    
    
    
    # MySql authentication variables
    
    $sql_host = "localhost";
    
    $sql_db = "agenda";
    
    $sql_user = "agenda";
    
    $sql_pass = "agenda";
    
    
    
    # Authentication user/pass for sr.php. Use same values on your cron entry
    
    $auth_us = "agenda";
    
    $auth_ps = "agenda";
    
    
    
    # The name of this application
    
    $MyAgenda_name = "myAgenda";
    
    
    
    # The URL to your phpAds-installation
    
    $myAgenda_url = "http://yourdomain.com";
    
    
    
    # Local mode myAgenda directory
    
    $myAgenda_server_path = "/system/path/to/myagenda/";
    
    
    
    # Admin's email address (used to set the FROM-address when sending email)
    
    $myAgenda_admin_email = "info@yourdomain.com";
    
    
    
    # Your language file
    
    $myAgenda_language = "english";
    
    
    
    # Week starts with monday. else set it to 0
    
    $monday = 1;
    
    
    
    # MyAgenda database tables
    
    # If you change these names, don't forget to change table names in myAgenda.sql
    
    $myAgenda_tbl_reminders = "myagenda_reminders";
    
    $myAgenda_tbl_users = "myagenda_users";
    
    
    
    # Mail Headers for sending email
    
    $myAgenda_email_from = "From: $myAgenda_name <$admin_email> \n";
    
    
    
    # If your server time is different then your country 
    
    # use this variable like this : time() + (3600*2)
    
    # 2 is the hour
    
    $TimeOffSet = time();
    
    
    
    # Users time out 
    
    $TimeOut = 1800; // As seconds
    
    
    
    # Pages bgcolor
    
    $bg_color = "#DADADA";
    
    
    
    # Pages Character Set
    
    $CharSet = "ISO-8859-9";
    
    ?>

    # MySql authentication variables

    $sql_host = "qui il nome del tuo localhost";

    $sql_db = "qui il nome del tuo database MySQL";

    $sql_user = "qui il nome del tuo utente per l'accesso al database";

    $sql_pass = "qui la tua password di accesso al database";



    fai questo poi andiamo avanti

    ciaux

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.