Changeset 28
- Timestamp:
- 11/07/07 17:36:03 (10 months ago)
- Files:
-
- trunk/INSTALL (modified) (3 diffs)
- trunk/TODO (modified) (1 diff)
- trunk/apps/frontend/config/app.yml.sample (modified) (1 diff)
- trunk/apps/frontend/modules/sfSimpleForum/templates/forumListSuccess.php (modified) (1 diff)
- trunk/apps/frontend/modules/user/actions/actions.class.php (modified) (1 diff)
- trunk/apps/frontend/modules/user/templates/askConfirmationSuccess.php (modified) (1 diff)
- trunk/apps/frontend/modules/user/templates/registrationConfirmationSuccess.php (modified) (1 diff)
- trunk/apps/frontend/templates/layout.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/INSTALL
r27 r28 1 Installing Mot yle1 Installing Motilee 2 2 ================= 3 3 4 Mot yle is a regular symfony application. It requires only the files located under its own folder. Installing Motyle is quite straightforward if you already configured a symfony application before. If you don't know symfony, just follow this step-by-step tutorial and you should be done in a matter of minutes.4 Motilee is a regular symfony application. It requires only the files located under its own folder. Installing Motilee is quite straightforward if you already configured a symfony application before. If you don't know symfony, just follow this step-by-step tutorial and you should be done in a matter of minutes. 5 5 6 6 Installation requirements 7 7 ------------------------- 8 8 9 Mot yle is a PHP5 forum relying on the symfony framework. The framework files are bundled with the application, so you don't need to install symfony before installing Motyle. However, you will definitely need a server capable of running PHP5 scripts, preferably Apache with `mod_php`. Recommended PHP version is 5.2.3.10 11 As for the database, Mot yle comes with a bundled SQLite databae, but can run on MySQL, SQLServer, PostgreSQL, and Oracle.12 13 Eventually, Mot yle is system agnostic, so it will run on *nix systems a well as on Windows systems.9 Motilee is a PHP5 forum relying on the symfony framework. The framework files are bundled with the application, so you don't need to install symfony before installing Motilee. However, you will definitely need a server capable of running PHP5 scripts, preferably Apache with `mod_php`. Recommended PHP version is 5.2.3. 10 11 As for the database, Motilee comes with a bundled SQLite databae, but can run on MySQL, SQLServer, PostgreSQL, and Oracle. 12 13 Eventually, Motilee is system agnostic, so it will run on *nix systems a well as on Windows systems. 14 14 15 15 Reminder on symfony deployment 16 16 ------------------------------ 17 17 18 Mot yle doesn't come with a graphical user interface for installation, because you should not let your server change files that are not under the public web root. Only the files located under the `motyle/web/` directory should be directly accessible from the web.19 20 This means that an installation of Mot yle requires in two steps:21 22 - Unpack, configure and test Mot yle on a local server, for instance on your very desktop computer. You should have access to a command line on this server, especially if you want to run the application on MySQL. The server configuration should be as similar as possible to the production one.18 Motilee doesn't come with a graphical user interface for installation, because you should not let your server change files that are not under the public web root. Only the files located under the `motyle/web/` directory should be directly accessible from the web. 19 20 This means that an installation of Motilee requires in two steps: 21 22 - Unpack, configure and test Motilee on a local server, for instance on your very desktop computer. You should have access to a command line on this server, especially if you want to run the application on MySQL. The server configuration should be as similar as possible to the production one. 23 23 24 24 - When the application runs locally, transfer the files to production, either via (S)FTP, or via the preferred rsync-over-ftp method recommended by symfony. … … 170 170 ---------------------- 171 171 172 By default, Mot yle runs a SQLite database located under `motyle/data/sandbox.db`. If your forum has a relatively low activity or if you don't want to setup a database, you can just keep the configuration as it is and upload the `sandbox.db` with the rest of the files. The application will run smoothly without further configuration.172 By default, Motilee runs a SQLite database located under `motyle/data/sandbox.db`. If your forum has a relatively low activity or if you don't want to setup a database, you can just keep the configuration as it is and upload the `sandbox.db` with the rest of the files. The application will run smoothly without further configuration. 173 173 174 174 If you want tu use another database vendor, you will need to edit two files located in `motyle/config/`. The first one is `propel.ini`. Symfony uses this file to determine the database connection when called via the Command Lne Interface (CLI). It will help you define a database structure in a list of SQL statements adapted to your database vendor. For instance, if you want to use a MySQL database: … … 223 223 all: 224 224 sfSimpleForumPlugin: 225 forum_name: Mot yle forums225 forum_name: Motilee forums 226 226 display_categories: true 227 227 use_feeds: true # requires sfFeed2Plugin trunk/TODO
r27 r28 1 * Create Example config files fir app.yml, databases.yml, etc., to allow better configuration with SVN dependency2 1 * Rich text in posts with sfSimpleForum_PayloadFilterChain 3 2 * Mail alerts with sfPropelNotificationBehaviorPlugin 4 3 * Implement emails with Swift 5 * Make a default module for 404 and secure pages, with Mot yle design4 * Make a default module for 404 and secure pages, with Motilee design trunk/apps/frontend/config/app.yml.sample
r27 r28 1 1 all: 2 name: Mot yleee2 name: Motilee 3 3 mail: 4 registration_confirmation_name: Mot yleee forums4 registration_confirmation_name: Motilee forums 5 5 registration_confirmation_email: no-reply@motyleee.com 6 6 7 7 sfSimpleForumPlugin: 8 forum_name: Mot yle forums8 forum_name: Motilee forums 9 9 display_categories: true 10 10 use_feeds: true trunk/apps/frontend/modules/sfSimpleForum/templates/forumListSuccess.php
r8 r28 1 1 <?php use_helper('I18N', 'sfSimpleForum') ?> 2 2 3 <?php $sf_context->getResponse()->setTitle('Mot yle forums') ?>3 <?php $sf_context->getResponse()->setTitle('Motilee forums') ?> 4 4 5 5 <div class="sfSimpleForum"> trunk/apps/frontend/modules/user/actions/actions.class.php
r27 r28 66 66 $mail->setSender( 67 67 sfConfig::get('app_mail_registration_confirmation_email', 'no-reply@motyle.com'), 68 sfConfig::get('app_mail_registration_confirmation_name', 'Mot yle forums'));68 sfConfig::get('app_mail_registration_confirmation_name', 'Motilee forums')); 69 69 $mail->setFrom( 70 70 sfConfig::get('app_mail_registration_confirmation_email', 'no-reply@motyle.com'), 71 sfConfig::get('app_mail_registration_confirmation_name', 'Mot yle forums'));71 sfConfig::get('app_mail_registration_confirmation_name', 'Motilee forums')); 72 72 $mail->addReplyTo( 73 73 sfConfig::get('app_mail_registration_confirmation_email', 'no-reply@motyle.com'), 74 sfConfig::get('app_mail_registration_confirmation_name', 'Mot yle forums'));74 sfConfig::get('app_mail_registration_confirmation_name', 'Motilee forums')); 75 75 $mail->addAddress($this->getRequestParameter('user_email')); 76 76 sfLoader::loadHelpers(array('I18N')); 77 $mail->setSubject(__('%forum_name% registration confirmation', array('%forum_name%' => sfConfig::get('app_name', 'Mot yle'))));77 $mail->setSubject(__('%forum_name% registration confirmation', array('%forum_name%' => sfConfig::get('app_name', 'Motilee')))); 78 78 $this->mail = $mail; 79 79 trunk/apps/frontend/modules/user/templates/askConfirmationSuccess.php
r26 r28 4 4 <p><?php echo __('An email has been sent to %email_address%. It contains an activation link for your %forum_name% account.', array( 5 5 '%email_address%' => $sf_params->get('email'), 6 '%forum_name%' => sfConfig::get('app_name', 'Mot yle')6 '%forum_name%' => sfConfig::get('app_name', 'Motilee') 7 7 )) ?></p> 8 8 9 <p><?php echo __('To complete your registration, you must go to your mailbox, open the email sent by "%forum_name%", and click on the activation link.', array('%forum_name%' => sfConfig::get('app_mail_registration_confirmation_name', 'Mot yle forums'))) ?></p>9 <p><?php echo __('To complete your registration, you must go to your mailbox, open the email sent by "%forum_name%", and click on the activation link.', array('%forum_name%' => sfConfig::get('app_mail_registration_confirmation_name', 'Motilee forums'))) ?></p> trunk/apps/frontend/modules/user/templates/registrationConfirmationSuccess.php
r27 r28 1 1 <?php use_helper('I18N') ?> 2 <p><?php echo __('Dear %forum_name% user,', array('%forum_name%' => sfConfig::get('app_name', 'Mot yle'))) ?></p>2 <p><?php echo __('Dear %forum_name% user,', array('%forum_name%' => sfConfig::get('app_name', 'Motilee'))) ?></p> 3 3 4 <p><?php echo __('To complete your registration to the %forum_name%, you must click on the following link:', array('%forum_name%' => sfConfig::get('app_mail_registration_confirmation_name', 'Mot yle forums'))) ?>4 <p><?php echo __('To complete your registration to the %forum_name%, you must click on the following link:', array('%forum_name%' => sfConfig::get('app_mail_registration_confirmation_name', 'Motilee forums'))) ?> 5 5 6 6 <p><?php echo link_to('', 'user/confirmRegistration?username='.$username.'&key='.$key, array('absolute' => true)) ?></p> 7 7 8 <p><?php echo __('See you soon on %forum_name%!', array('%forum_name%' => sfConfig::get('app_name', 'Mot yle'))) ?></p>8 <p><?php echo __('See you soon on %forum_name%!', array('%forum_name%' => sfConfig::get('app_name', 'Motilee'))) ?></p> trunk/apps/frontend/templates/layout.php
r25 r28 32 32 </ul> 33 33 <div id="main_title"> 34 <?php echo link_to(image_tag('motile.gif', 'align=absbottom') . ' Mot yle', 'sfSimpleForum/forumList') ?>34 <?php echo link_to(image_tag('motile.gif', 'align=absbottom') . ' Motilee', 'sfSimpleForum/forumList') ?> 35 35 </div> 36 36 </div> … … 45 45 46 46 <div id="footer"> 47 <?php echo __('Powered by %sfSimpleForum%', array('%sfSimpleForum%' => link_to('Mot yle', 'http://trac.symfony-project.com/wiki/sfSimpleForumPlugin'))) ?>47 <?php echo __('Powered by %sfSimpleForum%', array('%sfSimpleForum%' => link_to('Motilee', 'http://trac.symfony-project.com/wiki/sfSimpleForumPlugin'))) ?> 48 48 </div> 49 49
