openfirst-cvscommit Mailing List for openFIRST (Page 77)
Brought to you by:
xtimg
You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(41) |
Jun
(210) |
Jul
(39) |
Aug
(153) |
Sep
(147) |
Oct
(173) |
Nov
(81) |
Dec
(163) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(33) |
Feb
(18) |
Mar
|
Apr
(62) |
May
|
Jun
(100) |
Jul
(38) |
Aug
(58) |
Sep
(1) |
Oct
|
Nov
(25) |
Dec
(172) |
2005 |
Jan
(31) |
Feb
(12) |
Mar
(67) |
Apr
(92) |
May
(247) |
Jun
(34) |
Jul
(36) |
Aug
(192) |
Sep
(15) |
Oct
(42) |
Nov
(92) |
Dec
(4) |
2006 |
Jan
|
Feb
(21) |
Mar
|
Apr
|
May
|
Jun
(53) |
Jul
(7) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2007 |
Jan
|
Feb
|
Mar
(4) |
Apr
(4) |
May
|
Jun
(15) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <dav...@us...> - 2003-09-29 23:26:43
|
Update of /cvsroot/openfirst/manual/openfirst.projects In directory sc8-pr-cvs1:/tmp/cvs-serv11779 Modified Files: projects.php Log Message: Added a How To for the projects module manual. Index: projects.php =================================================================== RCS file: /cvsroot/openfirst/manual/openfirst.projects/projects.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** projects.php 29 Sep 2003 21:40:54 -0000 1.1 --- projects.php 29 Sep 2003 23:26:40 -0000 1.2 *************** *** 33,37 **** <h2>openFIRST Manual Module</h2> <table width="700" cellpadding="4"> ! <tr><th>openFIRST.projects</th></tr> <tr> <td><div align="center"><img src="screen1.png" width="267" height="222"><img src="screen2.png" width="267" height="222"><br> --- 33,39 ---- <h2>openFIRST Manual Module</h2> <table width="700" cellpadding="4"> ! <tr> ! <th>openFIRST.projects</th> ! </tr> <tr> <td><div align="center"><img src="screen1.png" width="267" height="222"><img src="screen2.png" width="267" height="222"><br> *************** *** 63,68 **** ofirst_projects_tasks<br> ofirst_projects_projects<br> ! ofirst_projects_meetings </p> ! </td> </tr> <tr> --- 65,69 ---- ofirst_projects_tasks<br> ofirst_projects_projects<br> ! ofirst_projects_meetings </p></td> </tr> <tr> *************** *** 101,106 **** systems. The Win32 equivelent would possibly be Microsoft Event Schedule. There are also 3rd party softwares which can be downloaded to perform ! events based on time.</p> ! </td> </tr> <tr> --- 102,106 ---- systems. The Win32 equivelent would possibly be Microsoft Event Schedule. There are also 3rd party softwares which can be downloaded to perform ! events based on time.</p></td> </tr> <tr> *************** *** 120,125 **** </tr> <tr> ! <td><p>none</p> ! </td> </tr> <tr> --- 120,124 ---- </tr> <tr> ! <td><p>none</p></td> </tr> <tr> *************** *** 143,151 **** </tr> <tr> ! <td class='sub'><strong>Related Modules <font size="2">(required for ! using this module)</font></strong></td> </tr> ! <tr> <td>openFIRST.base, openFIRST.members</td> </tr> </table> --- 142,200 ---- </tr> <tr> ! <td class='sub'><strong>Related Modules <font size="2">(required for using ! this module)</font></strong></td> </tr> ! <tr> <td>openFIRST.base, openFIRST.members</td> + </tr> + <tr> + <td class='sub'><strong><a name='howto'>How to Use Projects</a></strong></td> + </tr> + <tr> + <td><p>Projects is a very powerful module. At times it may seem confusing + but generally it is simple and easy to use. The important thing to note + about the projects module is that it has more than one function. It acts + as an action register and meeting tracker.</p> + <p>The action register is exactly what the word says it to be: a database + of registered actions. In order to make things easier every single user + has to be organized into a specific group. Only administrators have the + option of creating new groups. When assigning groups/projects you must + give each group/project a moderator and assign certain users to do specific + tasks.</p> + <p>Once you have a group created you may begin assigning projects. Projects + may have target dates. One of the upcoming features in projects is warning + users on upcoming project due dates. Only members assigned to the specific + group can be added to projects under each group.</p> + <p>Tasks may be assigned to specific members who were listed within the + related project. It is important to remember that if you do not assign + someone at the beginning, then you will not get a chance to add/remove + him later (this feature will also be implemented in future releases).</p> + <p>Only members assigned to the specific task and create notes. Any user + within groups below what they are assigned can change/add information. + The only place where a regular member can't add anything is making new + groups.</p> + <p>The project system has a future which allows you to view newly added + content. When you are viewing a table of information, such as notes, you + may notice that it turns to a different color. This color change represents + that that particular bit of information was added in that particular day.</p> + <p>Whenever you see a checkmark on a project/task you should know that it + means that project/task is finished. Even though the project is finished + you will still have the option of adding information within it. This was + allowed to give extra notes after a project is completed. If you see a + lock image beside the project/task it means that the project is pending + for another project/task.</p> + <p>Pending is an important feature. It does not allow any adding/editing + to it if the project its related to is completed. The only way to unlock + a pending project is to give its related project a 100% completion. If + this completion amount is removed then the pend will then be activated + once more.</p> + <p>In order to find a list of what exact changes were made for the entire + day you can use the Todays Changes feature. Your My Tasks feature lists + all the information related to you specifically. Please note that the + website administrator may have activated automatic action register mailing. + In order for you to receive these updates you must activate your account + preferences in the projects module. The update will be sent to your main + accounts e-mail address.</p> + </td> </tr> </table> |
From: <dav...@us...> - 2003-09-29 21:42:03
|
Update of /cvsroot/openfirst/manual/openfirst.sidebars In directory sc8-pr-cvs1:/tmp/cvs-serv23387 Modified Files: openfirst.sidebars.html Added Files: sidebars.php Log Message: Removing old named manual file and replacing with new file. --- NEW FILE: sidebars.php --- <?php /* * openFIRST.manual - /openfirst.sidebars/sidebars.php * * Copyright (C) 2003, * openFIRST Project * Original Author: David Di Biase <dav...@ea...> * * 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, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ include("../../config/globals.php"); include("$header"); ?> <h2>openFIRST Manual Module</h2> <table width="68%" cellpadding="4"> <tr><th>openFIRST.sidebars</th></tr> <tr> <td><div align="center"> <p> </p> <p>[ No screenshots ]</p> <p> </p> </div></td> </tr> <tr> <td class='sub'><strong>Description:</strong></td> </tr> <tr> <td>The openFIRST.sidebars is used to provide information from modules directly within the main contant of the entire openFIRST system. This is a great feature because it keeps the website dynamic and up-to-date with the latest news. </td> </tr> <tr> <td class='sub'><strong>Developed By:</strong></td> </tr> <tr> <td>Tim Ginn of openFIRST</td> </tr> <tr> <td class='sub'><strong>Database Tables</strong></td> </tr> <tr> <td><p>none</p> </td> </tr> <tr> <td class='sub'><strong>Includes</strong></td> </tr> <tr> <td>none</td> </tr> <tr> <td class='sub'><strong>How It Works</strong></td> </tr> <tr> <td><p>The sidebars module creates information specific to each module and displays it on the side of the website this way visitors can view information quicker.</p> </td> </tr> <tr> <td class='sub'><strong>Upcoming Module Requests</strong></td> </tr> <tr> <td><p>none</p> </td> </tr> <tr> <td class='sub'><strong>Module Defined Variables</strong></td> </tr> <tr> <td><p>none</p> </td> </tr> <tr> <td class='sub'><strong>Module Scripts</strong></td> </tr> <tr> <td>index.php - basic view of the sidebars<br> sidebar.php - performs all the functions for editing the sidebars<br> preview.php - allows us to preview the sidebars</td> </tr> <tr> <td class='sub'><strong>Related Modules <font size="2">(required for using this module)</font></strong></td> </tr> <tr> <td>openFIRST.base</td> </tr> </table> <p><strong></strong></p> <?php include("$footer"); ?> Index: openfirst.sidebars.html =================================================================== RCS file: /cvsroot/openfirst/manual/openfirst.sidebars/openfirst.sidebars.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** openfirst.sidebars.html 14 Sep 2003 03:22:16 -0000 1.1 --- openfirst.sidebars.html 29 Sep 2003 21:41:59 -0000 1.2 *************** *** 5,9 **** </tr> <tr> ! <td bgcolor="#CCCCCC"><strong>Description:</strong></td> </tr> <tr> --- 5,9 ---- </tr> <tr> ! <td ><strong>Description:</strong></td> </tr> <tr> *************** *** 14,18 **** </tr> <tr> ! <td bgcolor="#CCCCCC"><strong>Developed By:</strong></td> </tr> <tr> --- 14,18 ---- </tr> <tr> ! <td ><strong>Developed By:</strong></td> </tr> <tr> *************** *** 20,24 **** </tr> <tr> ! <td bgcolor="#CCCCCC"><strong>Database Tables</strong></td> </tr> <tr> --- 20,24 ---- </tr> <tr> ! <td ><strong>Database Tables</strong></td> </tr> <tr> *************** *** 27,31 **** </tr> <tr> ! <td bgcolor="#CCCCCC"><strong>Includes</strong></td> </tr> <tr> --- 27,31 ---- </tr> <tr> ! <td ><strong>Includes</strong></td> </tr> <tr> *************** *** 33,37 **** </tr> <tr> ! <td bgcolor="#CCCCCC"><strong>How It Works</strong></td> </tr> <tr> --- 33,37 ---- </tr> <tr> ! <td ><strong>How It Works</strong></td> </tr> <tr> *************** *** 42,46 **** </tr> <tr> ! <td bgcolor="#CCCCCC"><strong>Upcoming Module Requests</strong></td> </tr> <tr> --- 42,46 ---- </tr> <tr> ! <td ><strong>Upcoming Module Requests</strong></td> </tr> <tr> *************** *** 49,53 **** </tr> <tr> ! <td bgcolor="#CCCCCC"><strong>Module Defined Variables</strong></td> </tr> <tr> --- 49,53 ---- </tr> <tr> ! <td ><strong>Module Defined Variables</strong></td> </tr> <tr> *************** *** 56,60 **** </tr> <tr> ! <td bgcolor="#CCCCCC"><strong>Module Scripts</strong></td> </tr> <tr> --- 56,60 ---- </tr> <tr> ! <td ><strong>Module Scripts</strong></td> </tr> <tr> *************** *** 64,68 **** </tr> <tr> ! <td bgcolor="#CCCCCC"><strong>Related Modules <font size="2">(required for using this module)</font></strong></td> </tr> --- 64,68 ---- </tr> <tr> ! <td ><strong>Related Modules <font size="2">(required for using this module)</font></strong></td> </tr> |
From: <dav...@us...> - 2003-09-29 21:41:38
|
Update of /cvsroot/openfirst/manual/openfirst.search In directory sc8-pr-cvs1:/tmp/cvs-serv23296 Added Files: search.php Removed Files: openfirst.search.html Log Message: Removing old named manual file and replacing with new file. --- NEW FILE: search.php --- <?php /* * openFIRST.manual - /openfirst.search/search.php * * Copyright (C) 2003, * openFIRST Project * Original Author: David Di Biase <dav...@ea...> * * 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, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ include("../../config/globals.php"); include("$header"); ?> <h2>openFIRST Manual Module</h2> <table width="68%" cellpadding="4"> <tr><th>openFIRST.search</th></tr> <tr> <td><p> </p> <p align="center">[ No screenshots ]</p> <p> </p></td> </tr> <tr> <td class='sub'><strong>Description:</strong></td> </tr> <tr> <td>The openFIRST.search is used to search the entire database for information pertaining to the particular search.</td> </tr> <tr> <td class='sub'><strong>Developed By:</strong></td> </tr> <tr> <td>Tim Ginn of openFIRST</td> </tr> <tr> <td class='sub'><strong>Database Tables</strong></td> </tr> <tr> <td><p>none</p> </td> </tr> <tr> <td class='sub'><strong>Includes</strong></td> </tr> <tr> <td>none</td> </tr> <tr> <td class='sub'><strong>How It Works</strong></td> </tr> <tr> <td><p>The search module simply searches through the database and tries to find information particular to the search. It then displays the information for the user to browse through.</p> </td> </tr> <tr> <td class='sub'><strong>Upcoming Module Requests</strong></td> </tr> <tr> <td><p>none</p> </td> </tr> <tr> <td class='sub'><strong>Module Defined Variables</strong></td> </tr> <tr> <td><p>none</p> </td> </tr> <tr> <td class='sub'><strong>Module Scripts</strong></td> </tr> <tr> <td>index.php - the base script that performs most of the search and preview functions </td> </tr> <tr> <td class='sub'><strong>Related Modules <font size="2">(required for using this module)</font></strong></td> </tr> <tr> <td>openFIRST.base</td> </tr> </table> <p><strong></strong></p> <?php include("$footer"); ?> --- openfirst.search.html DELETED --- |
From: <dav...@us...> - 2003-09-29 21:40:58
|
Update of /cvsroot/openfirst/manual/openfirst.projects In directory sc8-pr-cvs1:/tmp/cvs-serv23139 Added Files: projects.php Removed Files: openfirst.projects.html Log Message: Removing old named manual file and replacing with new file. --- NEW FILE: projects.php --- <?php /* * openFIRST.manual - /openfirst.projects/projects.php * * Copyright (C) 2003, * openFIRST Project * Original Author: David Di Biase <dav...@ea...> * * 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, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ include("../../config/globals.php"); include("$header"); ?> <h2>openFIRST Manual Module</h2> <table width="700" cellpadding="4"> <tr><th>openFIRST.projects</th></tr> <tr> <td><div align="center"><img src="screen1.png" width="267" height="222"><img src="screen2.png" width="267" height="222"><br> <img src="screen3.png" width="267" height="222"></div></td> </tr> <tr> <td class='sub'><strong>Description:</strong></td> </tr> <tr> <td>The openFIRST.projects module intergrates with the openFIRST.members module to provide a very effective module. The entire system is used to manage team progession and its projects. It has a built in action register system, a meeting organizer, and automated daily updates e-mail system (uses Crontab/MS Schedular). This script is highly advanced and evolved, so please be careful in reading and modifying it.</td> </tr> <tr> <td class='sub'><strong>Developed By:</strong></td> </tr> <tr> <td>David Di Biase of openFIRST</td> </tr> <tr> <td class='sub'><strong>Database Tables</strong></td> </tr> <tr> <td><p>ofirst_projects_groups<br> ofirst_projects_notes<br> ofirst_projects_tasks<br> ofirst_projects_projects<br> ofirst_projects_meetings </p> </td> </tr> <tr> <td class='sub'><strong>Includes</strong></td> </tr> <tr> <td>none</td> </tr> <tr> <td class='sub'><strong>How It Works</strong></td> </tr> <tr> <td><p>The projects module is midly complex. It helps organize data efficiently. Information is organized in this basic hierarchy: groups, projects, tasks and notes. Groups must be created and members must be assigned to these groups. Under these groups an administrative may assign particular projects. Projects may be tracked by their completion. If an administrative wishes he can make a project wait (or pend) until one project is done for the other to become active. In order for a project to be complete it must be set to 100%. If a project is lowered from 100% then then the projects that pend on it will be set back to pending (even if they are finished or close to finished).</p> <p>Only users who were assigned to the particular group can add/modify projects under each group. A member who is now assigned to the project may create tasks and assign other people to it. Tasks have the same rules of pending just like projects do. Now in order to keep track of task completion members may commit notes and information to each task. Again only members assigned to that task have privileges to add a note.</p> <p>The projects module also has a meeting organizer which users may add meetings or declare as past. This feature is important because it provides and online and remote record for reference at any time.</p> <p>The meetings and action register system are all included into the daily updates system. In order for a webmaster to setup the update system they are required to create a crontab schedule which passes the updates.php script through the PHP Zend Engine. Crontab is only available on Unix systems. The Win32 equivelent would possibly be Microsoft Event Schedule. There are also 3rd party softwares which can be downloaded to perform events based on time.</p> </td> </tr> <tr> <td class='sub'><strong>Upcoming Module Requests</strong></td> </tr> <tr> <td><p>We are planning to expand this module by adding a crontab and MS Event Schedular install script. The module will also be modified with image/document uploading features to allow for better documentation and system tracking. We also plan to add a complete projects logger which tracks every little change made by every user.</p> <p>We are also planning to create an automatic crontab setup script for Unix systems only. This will be unveiled in the next openFIRST release.</p></td> </tr> <tr> <td class='sub'><strong>Module Defined Variables</strong></td> </tr> <tr> <td><p>none</p> </td> </tr> <tr> <td class='sub'><strong>Module Scripts</strong></td> </tr> <tr> <td>index.php - provides a module introduction<br> groups.php - views a list of current groups in the action register system<br> projects.php - views a list of projects related to a specific group<br> tasks.php - views a list of current tasks related to a project of a group.<br> notes.php - views a list of notes commited which are related to a specific task of a project of a group.<br> preferences.php - allows users to update their daily updates options for the action register.<br> updates.php - a scrip which should be used with Crontab/MS Schedular to send out daily updates by e-mail<br> viewmeeting.php - indepth information on a particular meeting<br> mytask.php - make a list of current tasks related to the particular user<br> today.php - make a list of all the changes commited for the particular day<br> meetings.php - list all current and past meetings with a history</td> </tr> <tr> <td class='sub'><strong>Related Modules <font size="2">(required for using this module)</font></strong></td> </tr> <tr> <td>openFIRST.base, openFIRST.members</td> </tr> </table> <p><strong></strong></p> <?php include("$footer"); ?> --- openfirst.projects.html DELETED --- |
From: <dav...@us...> - 2003-09-29 21:40:29
|
Update of /cvsroot/openfirst/manual/openfirst.photogallery In directory sc8-pr-cvs1:/tmp/cvs-serv23057 Added Files: photogallery.php Removed Files: openfirst.photogallery.html Log Message: Removing old named manual file and replacing with new file. --- NEW FILE: photogallery.php --- <?php /* * openFIRST.manual - /openfirst.photogallery/photogallery.php * * Copyright (C) 2003, * openFIRST Project * Original Author: David Di Biase <dav...@ea...> * * 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, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ include("../../config/globals.php"); include("$header"); ?> <h2>openFIRST Manual Module</h2> <table width="65%" cellpadding="4"> <tr><th>openFIRST.photogallery</th></tr> <tr> <td><div align="center"><img src="screen1.png" width="267" height="222"></div></td> </tr> <tr> <td class='sub'><strong>Description:</strong></td> </tr> <tr> <td>The openFIRST.photogallery is a very powerful photo gallery system designed specifically for the openFIRST system. The gallery comes with every feature you could possibly need. Features included are: thumbnail maker (switching GD functions depending on which GD gallery you have installed, automatically sets itself), gallery manager back-end, user comments, an advanced image naming and descriptions and a send-to-a-friend feature.</td> </tr> <tr> <td class='sub'><strong>Developed By:</strong></td> </tr> <tr> <td>David Di Biase of openFIRST</td> </tr> <tr> <td class='sub'><strong>Database Tables</strong></td> </tr> <tr> <td>ofirst_photogallery_comments<br> ofirst_photogallery_galleries<br> ofirst_photogallery_image </td> </tr> <tr> <td class='sub'><strong>Includes</strong></td> </tr> <tr> <td>photogallery.php - provides functions for viewing specific gallery images. This was developed to allow quick and easy image reference without the webmaster having to type in the direct path to the image. Simple use the functions within this script.</td> </tr> <tr> <td class='sub'><strong>How It Works</strong></td> </tr> <tr> <td><p>The photo gallery is feature-rich. It allows you to create a gallery with a description and date. It then allows you to upload images to it. After you upload images you will have an option to make thumbnails for them. You can make specific thumbnails or you can may them en mass. Thumbnails do NOT override the original image. Whenever a gallery is created a folder is created under the gallery folder. All images are uploaded to the respective gallery folder. If you choose to make a thumbnail GD will shrink the image and place it in /thumbs in the particular gallery folder.</p> <p>The thumbs image has the same exact name as the original image. When you view the gallery images if a thumbnail is present the system will use the thumbnail. If a thumbnail is not present it will revert to using the large image.</p> <p>When adding information to your image (name, description, author etc.) you will have an option of extracting the image description from a text file. There are many other gallery systems that teams use that make use of text files. We have implemented this feature to make the lives of webmasters easier. If you wish to use text file extraction you must name the text file the exact same thing as the image.</p> <p>Once images are completely uploaded and setup in the system visitors will be able to send them to friends and/or comment on them as they please.</p> </td> </tr> <tr> <td class='sub'><strong>Upcoming Module Requests</strong></td> </tr> <tr> <td>We are planning to expand this module by adding new features such as: image voting, top images of the month, and a newly added images feature. The randomimg() function will also be completed to allow you to preview random images anywhere on the website.</td> </tr> <tr> <td class='sub'><strong>Module Defined Variables</strong></td> </tr> <tr> <td><p>function galleryimage([gallery id],[image name],[thumnail/large image option],[height][width]) - this function can be used to preview images from the gallery simply by using this function.</p> </td> </tr> <tr> <td class='sub'><strong>Module Scripts</strong></td> </tr> <tr> <td>index.php - view the current galleries installed<br> gallery.php - view the current photos listed in the gallery<br> email.php - allows users to e-mail photo's to friends<br> viewphoto.php - view individual photos<br> photogallery.php - the system include file that is carried through the website by the base module. It allows simple access to any gallery image.<br> admin/cleargallery.php - clears all the photos in the gallery<br> admin/edit.php - edit gallery information<br> admin/editphoto.php - edit information about the current photo<br> admin/galleryglobals.php - a file that contains all the globals related to the photogallery module<br> admin/index.php - an admin index page<br> admin/makethumb.php - creates thumbnails, calls preview.php to create thumbs with GD<br> admin/newgallery.php - allows users to create new galleries<br> admin/preview.php - the thumbnail maker which contains the GD function switcher and functions</td> </tr> <tr> <td class='sub'><strong>Related Modules <font size="2">(required for using this module)</font></strong></td> </tr> <tr> <td>openFIRST.base</td> </tr> </table> <p><strong></strong></p> <?php include("$footer"); ?> --- openfirst.photogallery.html DELETED --- |
From: <dav...@us...> - 2003-09-29 21:40:07
|
Update of /cvsroot/openfirst/manual/openfirst.news In directory sc8-pr-cvs1:/tmp/cvs-serv22884 Modified Files: screen1.png Added Files: news.php screen2.png Removed Files: openfirst.news.html Log Message: Removing old named manual file and replacing with new file. --- NEW FILE: news.php --- <?php /* * openFIRST.manual - /openfirst.news/news.php * * Copyright (C) 2003, * openFIRST Project * Original Author: David Di Biase <dav...@ea...> * * 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, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ include("../../config/globals.php"); include("$header"); ?> <h2>openFIRST Manual Module</h2> <table width="65%" cellpadding="4"> <tr><th>openFIRST.news</th></tr> <tr> <td><div align="center"><img src="screen1.png" width="267" height="222"><img src="screen2.png" width="267" height="222"></div></td> </tr> <tr> <td class='sub' ><strong>Description:</strong></td> </tr> <tr> <td>The openFIRST.news allows for a simple and effective news managing system. The news module comes with an RSS feeder which supports RSS 0.91, 1.0 and 2.0. </td> </tr> <tr> <td class='sub' ><strong>Developed By:</strong></td> </tr> <tr> <td>Tim Ginn of openFIRST</td> </tr> <tr> <td class='sub' ><strong>Database Tables</strong></td> </tr> <tr> <td>ofirst_news</td> </tr> <tr> <td class='sub' ><strong>Includes</strong></td> </tr> <tr> <td>none</td> </tr> <tr> <td class='sub' ><strong>How It Works</strong></td> </tr> <tr> <td>The news module asks the administrative to enter new news then inserts it into the databae. There are functions included in the module that allow the system to preview headlines. These functions may be used by webdevelopers in their own modules.</td> </tr> <tr> <td class='sub' ><strong>Upcoming Module Requests</strong></td> </tr> <tr> <td>The news module has many new changes coming its way. In the coming future we plan to update it with image relations to the photogallery system, or photo uploads directly from the module, new headline viewing system, a headline include file that lists news on demand of a function.</td> </tr> <tr> <td class='sub' ><strong>Module Defined Variables</strong></td> </tr> <tr> <td><p>function shownews()</p> </td> </tr> <tr> <td class='sub' ><strong>Module Scripts</strong></td> </tr> <tr> <td>index.php - views a list of all current news headlines<br> admin/index.php - allows admins to edit/add/delete news headlines<br> rssfeed.php - allows users to find links to RSS feeds<br> /rss/rss.php - the actual RSS feed file which displays daily news.</td> </tr> <tr> <td class='sub' ><strong>Related Modules <font size="2">(required for using this module)</font></strong></td> </tr> <tr> <td>openFIRST.base</td> </tr> </table> <p><strong></strong></p> <?php include("$footer"); ?> --- NEW FILE: screen2.png --- (This appears to be a binary file; contents omitted.) Index: screen1.png =================================================================== RCS file: /cvsroot/openfirst/manual/openfirst.news/screen1.png,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvs4oWsEI and /tmp/cvsobBqIg differ --- openfirst.news.html DELETED --- |
From: <dav...@us...> - 2003-09-29 21:38:55
|
Update of /cvsroot/openfirst/manual/openfirst.messenger In directory sc8-pr-cvs1:/tmp/cvs-serv22748 Added Files: messenger.php Removed Files: openfirst.messenger.html Log Message: Removing old named manual file and replacing with new file. --- NEW FILE: messenger.php --- <?php /* * openFIRST.manual - /openfirst.messenger/messenger.php * * Copyright (C) 2003, * openFIRST Project * Original Author: David Di Biase <dav...@ea...> * * 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, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ include("../../config/globals.php"); include("$header"); ?> <h2>openFIRST Manual Module</h2> <table width="65%" cellpadding="4"> <tr><th>openFIRST.messenger</th></tr> <tr> <td><center><img src="screen1.png" width="267" height="222"><img src="screen2.png" width="267" height="222"></center></td> </tr> <tr> <td class='sub' ><strong>Description:</strong></td> </tr> <tr> <td>The openFIRST.messenger is an internal messaging and member tracking system. The system works to provide users easy contact.</td> </tr> <tr> <td class='sub' ><strong>Developed By:</strong></td> </tr> <tr> <td>Tim Ginnof openFIRST</td> </tr> <tr> <td class='sub' ><strong>Database Tables</strong></td> </tr> <tr> <td>ofirst_messenger_messeges<br> ofirst_messenger_users</td> </tr> <tr> <td class='sub' ><strong>Includes</strong></td> </tr> <tr> <td>none</td> </tr> <tr> <td class='sub' ><strong>How It Works</strong></td> </tr> <tr> <td>The messenger module carries an include throughout the entire website and constantly updates information whenever the user refreshes the page. This ensures that the most current information is updated about the user. The user can then be presented with new inbox messages directly on any page.</td> </tr> <tr> <td class='sub' ><strong>Upcoming Module Requests</strong></td> </tr> <tr> <td>The module will be updated to allow members to send messeges to other membres </td> </tr> <tr> <td class='sub' ><strong>Module Defined Variables</strong></td> </tr> <tr> <td><p>variable $usersonline - a list of how many users are on the website<br> variable $usersonpage - a list of users currently on the particular page</p> </td> </tr> <tr> <td class='sub' ><strong>Module Scripts</strong></td> </tr> <tr> <td>index.php - lists all the current users online<br> messenger.php - the system include file carried through the website from base. It basically checks the database to see if the current user has a record in the database. It also checks the users inbox and provides them with a new messege screen.<br> newmsg.php - allows users to send messeges between each other<br> viewmsg.php - allows users to view messeges sent to them<br> inbox.php - allows users to view a current list of messeges</td> </tr> <tr> <td class='sub' ><strong>Related Modules <font size="2">(required for using this module)</font></strong></td> </tr> <tr> <td>openFIRST.base, openFIRST.members</td> </tr> </table> <p><strong></strong></p> <?php include("$footer"); ?> --- openfirst.messenger.html DELETED --- |
From: <dav...@us...> - 2003-09-29 21:38:24
|
Update of /cvsroot/openfirst/manual/openfirst.members In directory sc8-pr-cvs1:/tmp/cvs-serv22673 Added Files: members.php Removed Files: openfirst.members.html Log Message: Removing old named manual file and replacing with new file. --- NEW FILE: members.php --- <?php /* * openFIRST.manual - /openfirst.members/members.php * * Copyright (C) 2003, * openFIRST Project * Original Author: David Di Biase <dav...@ea...> * * 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, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ include("../../config/globals.php"); include("$header"); ?> <h2>openFIRST Manual Module</h2> <table width="65%" cellpadding="4"> <tr><th>openFIRST.members</th></tr> <tr> <td><div align="center"><img src="screen1.png" width="267" height="222"><img src="screen2.png" width="267" height="222"><br> <img src="screen3.png" width="267" height="222"><img src="screen4.png" width="267" height="222"> </div></td> </tr> <tr> <td class='sub' ><strong>Description:</strong></td> </tr> <tr> <td>The openFIRST.members module is the base system for all member related information. This module intergrates with many openFIRST modules. The module provides user permission tracking, individual user workspaces and website options, profile editing and viewing. It also allows for easy implemetation into newly developed modules.</td> </tr> <tr> <td class='sub' ><strong>Developed By:</strong></td> </tr> <tr> <td>Tim Ginn of openFIRST</td> </tr> <tr> <td class='sub' ><strong>Database Tables</strong></td> </tr> <tr> <td>ofirst_members<br> ofirst_divisions<br> ofirst_workspace_files<br> ofirst_workspace_users </td> </tr> <tr> <td class='sub' ><strong>Includes</strong></td> </tr> <tr> <td>none</td> </tr> <tr> <td class='sub' ><strong>How It Works</strong></td> </tr> <tr> <td>The member module is the base of many other modules. In order to run those other modules you will require to have this module properly setup and running on your server. The user workspace allows individial users to store files related to specific divisions, personal page files and group files.</td> </tr> <tr> <td class='sub' ><strong>Upcoming Module Requests</strong></td> </tr> <tr> <td>Updates are scheduled for the module with specific new requests.</td> </tr> <tr> <td class='sub' ><strong>Module Defined Variables</strong></td> </tr> <tr> <td><p>variable $user - allows easy access in any script over the website to the current users information</p> </td> </tr> <tr> <td class='sub' ><strong>Module Scripts</strong></td> </tr> <tr> <td>index.php - provides introduction to members module<br> workspace.php - allows users to manage their member workspace and website options<br> web.php - users can use this script to edit website scripts<br> divisions.php - allows webmasters to manage team divisions<br> updateprofile.php - a script used to update a person profile<br> logout.php - ends all sessions and ensures the user has to login again<br> skills.php - allows users to edit their skills on the profile<br> links.php - a list of current links listed for the website</td> </tr> <tr> <td class='sub' ><strong>Related Modules <font size="2">(required for using this module)</font></strong></td> </tr> <tr> <td>openFIRST.base</td> </tr> </table> <p><strong></strong></p> <?php include("$footer"); ?> --- openfirst.members.html DELETED --- |
From: <dav...@us...> - 2003-09-29 21:37:12
|
Update of /cvsroot/openfirst/manual/openfirst.logger In directory sc8-pr-cvs1:/tmp/cvs-serv22400 Added Files: logger.php Removed Files: openfirst.logger.html Log Message: Removing old named manual file and replacing with new file. --- NEW FILE: logger.php --- <?php /* * openFIRST.manual - /openfirst.logger/logger.php * * Copyright (C) 2003, * openFIRST Project * Original Author: David Di Biase <dav...@ea...> * * 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, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ include("../../config/globals.php"); include("$header"); ?> <h2>openFIRST Manual Module</h2> <table width="65%" cellpadding="4"> <tr><th>openFIRST.logger</th></tr> <tr> <td><div align="center"><img src="screen1.png" width="267" height="222"><img src="screen2.png" width="267" height="222"></div></td> </tr> <tr> <td class='sub' ><strong>Description:</strong></td> </tr> <tr> <td>The openFIRST.logger allows for an organized interface to help track visitors to your website. The module tracks a wide range of different information such as: visitor IP, host-looup, page visited, visitor browser, query-string value for page they visited. It then allows for a feature to track each page the person visited.</td> </tr> <tr> <td class='sub' ><strong>Developed By:</strong></td> </tr> <tr> <td>David Di Biase of openFIRST</td> </tr> <tr> <td class='sub' ><strong>Database Tables</strong></td> </tr> <tr> <td>ofirst_logger</td> </tr> <tr> <td class='sub' ><strong>Includes</strong></td> </tr> <tr> <td>logger.php</td> </tr> <tr> <td class='sub' ><strong>How It Works</strong></td> </tr> <tr> <td>The logger script does not have a visitor page. This module was mostly designed for administrators to preview who visits their website. You should <em>NOT </em>show the logger module on the menu, so please make sure you deactivate it in the module selector in <em>config</em>. The module basically carries logger.php through the entire website via the globals script. It logs all the information retrieved when its on the page, then puts it in the database.</td> </tr> <tr> <td class='sub' ><strong>Upcoming Module Requests</strong></td> </tr> <tr> <td>A new update will be made available that allows webmasters to calculate bandwidth used on the website, number of total hits, and page views. It will provide this information in a graphical chart format.</td> </tr> <tr> <td class='sub' ><strong>Module Defined Variables</strong></td> </tr> <tr> <td><p>variable $IP - the IP address of the current visitor<br> variable $HOST - the host-lookup of the current visitor<br> variable $SCRIPT - the current script the user is on<br> variable $BROWSER - provides information about the current browser visiting the website</p> </td> </tr> <tr> <td class='sub' ><strong>Module Scripts</strong></td> </tr> <tr> <td>index.php - the first script that allows you to view a list of visitors to your website<br> rawdata.php - view hit by hit in order without grouping values<br> logger.php - the include file which is carried through the website by base. Once this script is called it logs the person who visits the page into the database.<br> track.php - allows you to track indepth information about the visiting user.<br> reset.php - resets the entire logger so that no hits are logged</td> </tr> <tr> <td class='sub' ><strong>Related Modules <font size="2">(required for using this module)</font></strong></td> </tr> <tr> <td>openFIRST.base</td> </tr> </table> <p><strong></strong></p> <?php include("$footer"); ?> --- openfirst.logger.html DELETED --- |
From: <dav...@us...> - 2003-09-29 21:36:01
|
Update of /cvsroot/openfirst/manual/openfirst.guestbook In directory sc8-pr-cvs1:/tmp/cvs-serv22146 Added Files: guestbook.php Removed Files: openfirst.guestbook.html Log Message: Removing old named manual file and replacing with new file. --- NEW FILE: guestbook.php --- <?php /* * openFIRST.manual - /openfirst.guestbook/guestbook.php * * Copyright (C) 2003, * openFIRST Project * Original Author: David Di Biase <dav...@ea...> * * 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, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ include("../../config/globals.php"); include("$header"); ?> <h2>openFIRST Manual Module</h2> <table width="65%" cellpadding="4"> <tr><th>openFIRST.guestbook</th></tr> <tr> <td><div align="center"><img src="screen1.png" width="267" height="222"></div></td> </tr> <tr> <td class='sub' ><strong>Description:</strong></td> </tr> <tr> <td>The openFIRST.guestbook module was designed to allow visitors a chance to sign your guestbook and provide information about the user.</td> </tr> <tr> <td class='sub' ><strong>Developed By:</strong></td> </tr> <tr> <td>Tim Ginn of openFIRST</td> </tr> <tr> <td class='sub' ><strong>Database Tables</strong></td> </tr> <tr> <td>ofirst_guestbook</td> </tr> <tr> <td class='sub' ><strong>Includes</strong></td> </tr> <tr> <td>none</td> </tr> <tr> <td class='sub' ><strong>How It Works</strong></td> </tr> <tr> <td>This guestbook was designed to incorporate many feature that enhance the websites response from visitors. The guestbook organizes and displays peoples comments on a public page.</td> </tr> <tr> <td class='sub' ><strong>Upcoming Module Requests</strong></td> </tr> <tr> <td>none</td> </tr> <tr> <td class='sub' ><strong>Module Defined Variables</strong></td> </tr> <tr> <td><p>none</p> </td> </tr> <tr> <td class='sub' ><strong>Module Scripts</strong></td> </tr> <tr> <td>index.php - allows a basic front-end to the module<br> deleteyes.php - confirm the delete of a particular post<br> sign.php - allows user options to sign the guestbook<br> signthanks.php - provides the user with a thank you page for signing the guestbook<br> emoticons.php - n/a<br> deleteentry.php - allows the deletion of an entry placed in the database</td> </tr> <tr> <td class='sub' ><strong>Related Modules <font size="2">(required for using this module)</font></strong></td> </tr> <tr> <td>openFIRST.base</td> </tr> </table> <p><strong></strong></p> <?php include("$footer"); ?> --- openfirst.guestbook.html DELETED --- |
From: <dav...@us...> - 2003-09-29 21:34:30
|
Update of /cvsroot/openfirst/manual/openfirst.feedback In directory sc8-pr-cvs1:/tmp/cvs-serv21810 Added Files: feedback.php Removed Files: openfirst.feedback.html Log Message: Removing old named manual file and replacing with new file. --- NEW FILE: feedback.php --- <?php /* * openFIRST.manual - /openfirst.feedback/feedback.php * * Copyright (C) 2003, * openFIRST Project * Original Author: David Di Biase <dav...@ea...> * * 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, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ include("../../config/globals.php"); include("$header"); ?> <h2>openFIRST Manual Module</h2> <table width="65%" cellpadding="4"> <tr><th>openFIRST.feedback</th></tr> <tr> <td><div align="center"><img src="screen1.png" width="267" height="222"></div></td> </tr> <tr> <td class='sub' ><strong>Description:</strong></td> </tr> <tr> <td>The openFIRST.feedback module was designed to allow webmasters to receive easy bug reports, suggestions or comments.</td> </tr> <tr> <td class='sub' ><strong>Developed By:</strong></td> </tr> <tr> <td>Tim Ginn of openFIRST</td> </tr> <tr> <td class='sub' ><strong>Database Tables</strong></td> </tr> <tr> <td>ofirst_feedback</td> </tr> <tr> <td class='sub' ><strong>Includes</strong></td> </tr> <tr> <td>none</td> </tr> <tr> <td class='sub' ><strong>How It Works</strong></td> </tr> <tr> <td>The feedback module simply retrieves information from the user and places it in the database. It then attempts to send feedback information to users on the website.</td> </tr> <tr> <td class='sub' ><strong>Upcoming Module Requests</strong></td> </tr> <tr> <td>We are planning to incorporate a much more advanced feedback system, which sends responses back by e-mail.</td> </tr> <tr> <td class='sub' ><strong>Module Defined Variables</strong></td> </tr> <tr> <td><p>none</p> </td> </tr> <tr> <td class='sub' ><strong>Module Scripts</strong></td> </tr> <tr> <td>index.php - allows you to insert your comments into the database.<br> admin/index.php - allows an administrative back-end to the feedback module.</td> </tr> <tr> <td class='sub' ><strong>Related Modules <font size="2">(required for using this module)</font></strong></td> </tr> <tr> <td>openFIRST.base</td> </tr> </table> <p><strong></strong></p> <?php include("$footer"); ?> --- openfirst.feedback.html DELETED --- |
From: <dav...@us...> - 2003-09-29 21:33:42
|
Update of /cvsroot/openfirst/manual/openfirst.emoticon In directory sc8-pr-cvs1:/tmp/cvs-serv21584 Added Files: emoticon.php Removed Files: openfirst.emoticon.html Log Message: Removing old named manual file and replacing with new file. --- NEW FILE: emoticon.php --- <?php /* * openFIRST.manual - /openfirst.emoticon/emoticon.php * * Copyright (C) 2003, * openFIRST Project * Original Author: David Di Biase <dav...@ea...> * * 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, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ include("../../config/globals.php"); include("$header"); ?> <h2>openFIRST Manual Module</h2> <table width="65%" cellpadding="4"> <tr><th>openFIRST.emoticon</th></tr> <tr> <td><div align="center"><img src="screen1.png" width="267" height="222"></div></td> </tr> <tr> <td class='sub' ><strong>Description:</strong></td> </tr> <tr> <td>The openFIRST.emoticons is to allow easy access and managment of smilies that enhance your websites functionality and design.</td> </tr> <tr> <td class='sub' ><strong>Developed By:</strong></td> </tr> <tr> <td>Tim Ginn of openFIRST</td> </tr> <tr> <td class='sub' ><strong>Database Tables</strong></td> </tr> <tr> <td>ofirst_emoticons<br> ofirst_slurblock</td> </tr> <tr> <td class='sub' ><strong>Includes</strong></td> </tr> <tr> <td>emoticonf.php</td> </tr> <tr> <td class='sub' ><strong>How It Works</strong></td> </tr> <tr> <td>The emoticon system replaces certain characters in strings passed through the functions with links to emoticons. Emoticon also has a slur blocking system, which does the same exact thing. All slurs and emoticon references are stored in the module tables.</td> </tr> <tr> <td class='sub' ><strong>Upcoming Module Requests</strong></td> </tr> <tr> <td>We are planning to incorporate catagory selection for awards, this we you can organize awards based on competitions, years etc.</td> </tr> <tr> <td class='sub' ><strong>Module Defined Variables</strong></td> </tr> <tr> <td><p>function emoticon_translate - loops through all the emoticons listed in ofirst_emoticons and replaces the text with an image which corresponds with it in the database.</p> <p>function emoticon_preview - this function is used to provide a list of emoticons that a user can use in the website. It predefines the limit and start of which emoticons to preview.</p> <p>function slur_block - checks for related slurs in the ofirst_slurblock table then replaces whatever it finds with its cover up value.</p></td> </tr> <tr> <td class='sub' ><strong>Module Scripts</strong></td> </tr> <tr> <td>index.php - allows you to view and sort through the emoticons currently listed in your database.<br> emoticonf.php - this is the module include file. This file is carried throughout the website via the base module. The actual file contains 3 important functions vital to for using the entire module.</td> </tr> <tr> <td class='sub' ><strong>Related Modules <font size="2">(required for using this module)</font></strong></td> </tr> <tr> <td>openFIRST.base</td> </tr> </table> <p><strong></strong></p> <?php include("$footer"); ?> --- openfirst.emoticon.html DELETED --- |
From: <dav...@us...> - 2003-09-29 21:32:55
|
Update of /cvsroot/openfirst/manual/openfirst.base In directory sc8-pr-cvs1:/tmp/cvs-serv21338 Added Files: base.php Removed Files: openfirst.base.html Log Message: Removing old named manual file and replacing with new file. --- NEW FILE: base.php --- <?php /* * openFIRST.manual - /openfirst.base/base.php * * Copyright (C) 2003, * openFIRST Project * Original Author: David Di Biase <dav...@ea...> * * 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, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ include("../../config/globals.php"); include("$header"); ?> <h2>openFIRST Manual Module</h2> <table width="65%" cellpadding="4"> <tr><th>openFIRST.base</th></tr> <tr> <td><div align="center"><img src="screen1.png" width="267" height="222"><img src="screen2.png" width="267" height="222"><br> <img src="screen3.png" width="267" height="222"><img src="screen4.png" width="267" height="222"> </div></td> </tr> <tr> <td class='sub'><strong>Description:</strong></td> </tr> <tr> <td>The openFIRST.base is the biggest most important module in all of openFIRST. Its function is to provide a foundation for all the other openFIRST modules..</td> </tr> <tr> <td class='sub'><strong>Developed By:</strong></td> </tr> <tr> <td>Tim Ginn and David Di Biase of openFIRST</td> </tr> <tr> <td class='sub'><strong>Database Tables</strong></td> </tr> <tr> <td>ofirst_config</td> </tr> <tr> <td class='sub'><strong>Includes</strong></td> </tr> <tr> <td>none</td> </tr> <tr> <td class='sub'><strong>How It Works</strong></td> </tr> <tr> <td>All the important facts about base are described in the main openFIRST manual page.</td> </tr> <tr> <td class='sub'><strong>Upcoming Module Requests</strong></td> </tr> <tr> <td>New updates are planned to upgrade the header control system.</td> </tr> <tr> <td class='sub'><strong>Module Defined Variables</strong></td> </tr> <tr> <td> <p>variable $title<br> variable $version<br> variable $sqlserver<br> variable $sqluser<br> variable $sqlpassword<br> variable $sqldatabase<br> variable $home<br> variable $header<br> variable $footer<br> variable $mailnotify<br> variable $mailfrom<br> variable $basepat<br> variable $fbasepath<br> variable $currentmodule<br> function ofirst_query()<br> function ofirst_mysql_query()<br> function ofirst_num_rows()<br> function ofirst_error()<br> function ofirst_fetch_object()<br> function checkform();<br> function make_wysiwyg()<br> function multipartmail()</p> </td> </tr> <tr> <td class='sub'><strong>Module Scripts</strong></td> </tr> <tr> <td>index.php - acts as a main page for the entire website<br> auth.php - used to validate members who visit the website<br> footers.php - encases the footers for the website<br> headers.php - encases the headers for the website<br> globals-default.php - a fallback script just in case globals.php is broken<br> install.php - used to setup modules .mysql setup files<br> modules.php - activates modules to use on site<br> globals.php - contains all the global declaration and include looping scripts<br> first.php - the very first file used to install the openfirst system<br> dbase.php - used to store the function for querying databses<br> version.php - checks the current version of the entire system and updates it<br> functions/wysiwyg.php - contains a function for previewing the wysiwyg system<br> functions/forms.php - contains a function for form checking<br> functions/mail.php - contains the multipartmail function</td> </tr> <tr> <td class='sub'><strong>Related Modules <font size="2">(required for using this module)</font></strong></td> </tr> <tr> <td>openFIRST.members</td> </tr> </table> <p><strong></strong></p> <?php include("$footer"); ?> --- openfirst.base.html DELETED --- |
From: <dav...@us...> - 2003-09-29 21:31:58
|
Update of /cvsroot/openfirst/manual/openfirst.awards In directory sc8-pr-cvs1:/tmp/cvs-serv21002 Added Files: awards.php Removed Files: openfirst.awards.html Log Message: Removing old named manual file and replacing with new file. --- NEW FILE: awards.php --- <?php /* * openFIRST.manual - /openfirst.awards/awards.php * * Copyright (C) 2003, * openFIRST Project * Original Author: David Di Biase <dav...@ea...> * * 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, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ include("../../config/globals.php"); include("$header"); ?> <h2>openFIRST Manual Module</h2> <table width="65%" cellpadding="4"> <tr> <th>openFIRST.awards</th> </tr> <tr> <td><div align="center"><img src="screen1.png" width="267" height="222"><img src="screen2.png" width="267" height="222"></div></td> </tr> <tr> <td class='sub' ><strong>Description:</strong></td> </tr> <tr> <td>The openFIRST.awards module was designed to manage team awards and accomplishments in a neat and organized manner. The module presents the awards to visitors and hides management options.</td> </tr> <tr> <td class='sub' ><strong>Developed By:</strong></td> </tr> <tr> <td>David M.Di Biase of openFIRST</td> </tr> <tr> <td class='sub' ><strong>Database Tables</strong></td> </tr> <tr> <td>ofirst_awards</td> </tr> <tr> <td class='sub' ><strong>Includes</strong></td> </tr> <tr> <td>none</td> </tr> <tr> <td class='sub' ><strong>How It Works</strong></td> </tr> <tr> <td>This is a very basic script that inserts and views award data in ofirst_awards. It uses images to depict 1st, 2nd and 3rd positions.</td> </tr> <tr> <td class='sub' ><strong>Upcoming Module Requests</strong></td> </tr> <tr> <td>We are planning to incorporate catagory selection for awards, this we you can organize awards based on competitions, years etc.</td> </tr> <tr> <td class='sub' ><strong>Module Defined Variables</strong></td> </tr> <tr> <td>none</td> </tr> <tr> <td class='sub' ><strong>Module Scripts</strong></td> </tr> <tr> <td>index.php - allows users to view awards<br> admin/index.php - allows administrators to edit award information</td> </tr> <tr> <td class='sub' ><strong>Related Modules <font size="2">(required for using this module)</font></strong></td> </tr> <tr> <td>openFIRST.base</td> </tr> </table> <p><strong></strong></p> <?php include("$footer"); --- openfirst.awards.html DELETED --- |
From: <dav...@us...> - 2003-09-29 21:20:13
|
Update of /cvsroot/openfirst/manual In directory sc8-pr-cvs1:/tmp/cvs-serv17685 Modified Files: index.php Added Files: flowchart.gif Removed Files: openfirst.html Log Message: Added new graphic to advanced openFIRST information. Made index.php the main script to look at. Separated information and options actually within the index page to make navigation and reading easier. --- NEW FILE: flowchart.gif --- (This appears to be a binary file; contents omitted.) Index: index.php =================================================================== RCS file: /cvsroot/openfirst/manual/index.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** index.php 23 Aug 2003 20:23:25 -0000 1.3 --- index.php 29 Sep 2003 21:19:45 -0000 1.4 *************** *** 5,9 **** * Copyright (C) 2003, * openFIRST Project ! * Original Author: Tim Ginn <tim...@po...> * * This program is free software; you can redistribute it and/or modify --- 5,9 ---- * Copyright (C) 2003, * openFIRST Project ! * Original Author: David Di Biase <dav...@ea...> * * This program is free software; you can redistribute it and/or modify *************** *** 26,141 **** * */ include("../config/globals.php"); ! include($header); ! ?> ! <h1>Manual</h1> <?php - if(isset($_GET["chapter"]) == false && isset($_GET["id"]) == false && isset($_POST["ID"]) == false && isset($_GET["doc"]) == false) { - echo("<p>The following manuals exist, and are able to be read and commented on:</p>"); - $query = ofirst_dbquery("SELECT document FROM ofirst_manual GROUP BY document;"); - if(ofirst_dbnum_rows($query) == 0) { echo("<p>There is currently no documentation available.</p>"); } - while($q = ofirst_dbfetch_object($query)) { - echo($q->document); - } - } - if(isset($_GET["chapter"]) == false && isset($_GET["id"]) == false && isset($_POST["ID"]) == false && isset($_GET["doc"]) == true) { - echo("<h2>Table of Contents</h2>"); - $query = "SELECT ID, title, chapter FROM ofirst_manual ORDER BY chapter, title WHERE document='" . $_GET["doc"] . "';"; - $q = ofirst_dbquery($query); - while($t = ofirst_dbfetch_object($q)) { - if($t->chapter != $lastchapter) { - echo("<h3>Chapter $t->chapter</h3>"); - } - echo("<br /><a href='./?id=$t->ID'>$t->title</a>"); - $lastchapter = $t->chapter; } ! } elseif(isset($_GET["id"]) == true || isset($_POST["ID"]) == true) { ! if(isset($_POST["ID"]) == true) { ! $id = $_POST["ID"]; ! $doc = $_POST["doc"]; ! echo("<p><strong>Note Added.</strong></p>"); ! $query = "SELECT notes FROM ofirst_manual WHERE ID='$id';"; ! $q = ofirst_dbquery($query); ! $t = ofirst_dbfetch_object($q); ! ! $query = "UPDATE ofirst_manual SET notes='$t->notes [note-break]<strong>" . ! $_POST["title"] ! . "</strong> - " . ! $_POST["name"] . " - " . ! $_POST["email"] . "<br /> " . ! $_POST["note"] . "' WHERE ID='$id' AND document='$doc';"; ! $q = ofirst_dbquery($query); ! } else { ! $id = $_GET["id"]; } ! ! $query = "SELECT * FROM ofirst_manual WHERE ID='$id' AND document='" . $doc . "';"; ! $q = ofirst_dbquery($query); ! $f = ofirst_dbfetch_object($q); ! echo("<h2>$f->title</h2> ! <h3>$f->functionname</h3> ! <p>Maintainer: $f->maintainer ! <br />Original Author: $f->creator</p> ! "); ! if(isset($f->syntax) == true) { ! echo("<div style='background-color: #f0f0f0;'> ! <p> ! <strong>Syntax:</strong> ! <br /><code> ! $f->syntax ! </code> ! </p> ! </div> ! "); ! } ! echo("<h3>Description</h3> ! <p> ! $f->description ! </p> ! "); ! ! echo("<h3>User Contributed Notes</h3>"); ! ! if(isset($f->notes) == true) { ! $note = explode("[note-break]", $f->notes); ! ! $notecount = count($note); ! ! for($x = 0; $x <= $notecount; $x++) { ! if(((int) ($x/2)) == ($x/2)) { ! echo("<div style='background-color: #888888;'>"); ! } else { ! echo("<div style='background-color: #f3f3f3;'>"); ! } ! echo("<p>$note[$x]</p> ! </div> ! "); ! ! } ! } else { ! echo("<p>There are no user contributed notes</p>"); ! } ! ! echo(" ! <form action='./' method='post'> ! <table> ! <tr><td><input type='hidden' name='ID' value='$f->ID'>Note Title ! <input type='hidden' name='doc' value='$f->document'> ! </td><td> <input type='text' name='title' /> ! </td></tr><tr><td>Your E-mail Address</td><td><input type='text' name='email' /> ! </td></tr><tr><td>Your Name</td><td><input type='text' name='name' /> ! </td></tr><tr><td>Note</td><td><textarea rows='10' cols='25' name='note'>Type your note here.</textarea> ! </td></tr><tr><td> </td><td><input type='submit' value='Add note'> <input type='reset' ! value='Clear note'> ! </td></tr> ! </table> ! </form> ! "); ! ! ! } ?> <?php ! include($footer); ?> --- 26,285 ---- * */ + include("../config/globals.php"); ! include("$header"); ! ?> ! <h1 align="center">openFIRST Manual Module</h1> ! ! <table width="68%"> ! <?php if(! isset($_GET['manual'])){ ?> ! <tr> ! <th>Introduction</th> ! </tr> ! <tr> ! <td><p>Welcome to the openFIRST Portal System manual. We hope that this manual ! will cover any questions and information that you have concerning the ! openFIRST Portal System. If there is an issue that you do not find documented ! within this manual then please contact our support group by visiting <a href="http://www.openfirst.org">http://www.openfirst.org</a>.</p> ! <p>openFIRST was founded by David Di Biase and Tim Ginn of the <a href="http://www.archangelrobotics.com">Archangel ! Robotics Team</a> and the <a href="http://www.portperryrobotics.ca">Port ! Perry Robotics Team</a>. As of September 30th 2003 openFIRST has a total ! of 4 supporting developers. The goal of the founders was to provide teams ! with an easy and efficient way of hosting and managing a website. Instead ! of worrying about the nitty-gritty aspects of a website any team can effectively ! and efficiently start a website and concentrate on getting their message ! out.</p> ! <p>If you have any information about the openFIRST Development Team then ! please visit our website. Also note that we are always looking for new ! and interesting modules. If your team has coded and founded a new module ! then please send it to openFIRST and have it implemented into the system.</p> ! <p>On behalf of the openFIRST Development Team, good luck and enjoy!</p></td> ! </tr> ! <?php } ?> ! <tr> ! <th><p>Table of Contents</p></th> ! </tr> ! <tr> ! <td width="92%"> <ol> ! <p> <strong>Basic Manuals</strong></p> ! <li><a href="index.php?manual=setup">How to Setup openFIRST</a></li> ! <li><a href="index.php?manual=modules">Modules and Components</a></li> ! <li><a href="index.php?manual=customize">How to Customize Your Website</a></li> ! <li><a href="index.php?manual=advanced">The Nitty-Gritty of openFIRST</a><br> ! <br> ! <strong>Module Manuals and Documentation</strong><br> ! <br> ! </li> ! <li><a href="openfirst.base/base.php">openFIRST.base</a></li> ! <li><a href="openfirst.messenger/messenger.php">openFIRST.messenger</a></li> ! <li><a href="openfirst.members/members.php">openFIRST.members</a></li> ! <li><a href="openfirst.awards/awards.php">openFIRST.awards</a></li> ! <li><a href="openfirst.projects/projects.php">openFIRST.projects</a></li> ! <li><a href="openfirst.guestbook/guestbook.php">openFIRST.guestbook</a></li> ! <li><a href="openfirst.logger/logger.php">openFIRST.logger</a></li> ! <li><a href="openfirst.feedback/feedback.php">openFIRST.feedback</a></li> ! <li><a href="openfirst.news/news.php">openFIRST.news</a></li> ! <li><a href="openfirst.photogallery/photogallery.php">openFIRST.photogallery</a></li> ! <li><a href="openfirst.search/search.php">openFIRST.search</a></li> ! <li><a href="openfirst.sidebars/sidebars.php">openFIRST.sidebars</a></li> ! <li><a href="openfirst.emoticon/emoticon.php">openFIRST.emoticon </a></li> ! </ol> ! <p> </p></td> ! </tr> ! <?php if(isset($_GET['manual']) && $_GET['manual'] == "setup"){ ?> ! <tr> ! <th>How to Setup openFIRST</th> ! </tr> ! <tr> ! <td>openFIRST as of this version has 13 complete modules. At the bottom of ! this page you will see a complete list of the modules and links to their ! manual references. The openFIRST system has many complex functions and is ! completely intergrated for allowing ease of use for webmasters. ! <p>The first step to setting up openFIRST is downloading and arranging the ! files according. For Unix users there is a module called bashinstall written ! by Tim Ginn that automatically retrieves and arranges the files. Unfortunately ! there is no equivelent for our Windows users, therefor we will have to ! do it the older fashioned way. Follow the following steps to ensure that ! you are installing and preparing your computer properly:</p> ! <ol> ! <li>Visit http://www.openfirst.org or http://www.openfirst.org/nightly/ ! and download the latest version of the full openFIRST system.</li> ! <li>Its time to configure your system with the proper software. Click ! on one of the following links to learn how to setup your webserver technology: ! IIS/PWS with PHP on Windows, Apache with PHP on Windows, Apache with ! PHP on Linux.</li> ! <li>Click on one of the following links to learn how to setup your webserver ! with a database technology: MySQL on Windows, MySQL on Linux, MSSQL ! on Windows, ODBC on Windows, ODBC on Linux.</li> ! <li>Now that you have your webserver and database software setup and running ! properly lets unpack the files that you download in Step 1 and place ! the files somewhere in your root directory. For IIS/PWS users you may ! find this at c:/inetpub/wwwroot/ for Apache users on Windows your root ! is located at c:/Apache Group/Apache/htdocs/, for Apache users on Linux ! your root would be /home/apache/htdocs/.<br> ! <br> ! If you are using another server technology then you must find the root ! folder by reading their supplied help documents. openFIRST has been ! tested on IIS/PWS, Apache and Sambar using MySQL, MSSQL and ODBC. If ! you find any complications in compatibility contact our development ! team as soon as possible.</li> ! <li>This is a good time to make sure that all read/write permission on ! files are set properly. You will want to make sure that you have write ! capability set for the globals file located at /config/globals.php.</li> ! <li>Now that you have your webserver, database and openFIRST base files ! in place we may begin the actual installation process.</li> ! <li>Open your database software and prepare your username and password ! for you will have to enter them into the openFIRST installer.</li> ! <li> If you are running opeFIRST on a local system you can use (http://localhost ! or 127.0.0.1) to access your webserver files. Open your web browser ! and navigate yourself localhost/config/index.php which should automatically ! direct you to the install shield.</li> ! <li>At this point you will be able to use our installer to guide you through ! the installation process.<br> ! <br> ! Note: Please be very careful when entering file locations and connecting ! files to the openFIRST system. If you conect the files incorrectly you ! will receive a slew of errors. If this is your case you will have refresh ! first.php and try again.</li> ! <li>If you have completed the install correctly the system should bring ! you to the next page error free. This page will prompt you for a username ! and password. By default openFIRST sets an admin account for you. Login ! with this information: username: admin, password: openfirst.</li> ! <li>You should make sure there are no security holes by remove the write ! permissions to config/global.php or deleting config/first.php. We are ! not responsible for any damaged websites or webservers if this security ! hole is not closed.</li> ! <li>openFIRST is designed to allow you to have control over the content ! and features on the website. When you unpackaged the file to the root ! directory you basically placed all the modules that come with the system ! in their correct spots. Now you will have to actually install the modules ! you wish to use. Click Install Components. Select the modules which ! you would like to run on the openFIRST system. Note that you dont have ! to use all the modules that come with openFIRST. There are many people ! who would just like to use our modules for specific reasons. For more ! information on how to do this read the Modules & Components section ! of the manual.</li> ! <li>Once you have the modules installed you have to activate them and ! decide if you want them shown on the menu. Click Module Administration. ! A list of all the currently installed modules will be shown.</li> ! <li>Click on the checkboxes that correspond to each module. The Includes ! File texbox is used to edit the includes that each module are required ! to use. We added this feature to give webmasters more control over which ! functions to be included into the system. The files you list in the ! includes textbox will be found in the directory of the module. For example ! the logger module has an include file called logger.php. This file may ! be found iat/logger/logger.php.</li> ! <li>Congratulations, you have just installed openFIRST, the first open-source ! robotics driven website for teams and students of the FIRST Robotics ! Competition.</li> ! </ol> ! <p>Note: The openFIRST Configuration Area also has another nifty feature. ! It has an openFIRST Version Check and Update System which automatically ! scans the version numbers of your module scripts and lets you know if ! there are any new versions that you can download.</p> ! <p>If you are still having problems with installing openFIRST then please ! review the steps over one more time and read carefully. If all else fails ! please report the problem to our technical support staff at http://www.openfirst.org.</p> ! <p>Thank you for using openFIRST and enjoy!</p></td> ! </tr> <?php } ! if(isset($_GET['manual']) && $_GET['manual'] == "modules"){ ! ?> ! <tr> ! <th>Modules and Components</th> ! </tr> ! <tr> ! <td>So you like a few openFIRST modules but you dont want to have to use the ! entire system. We are perfectly fine with this; in fact we have developed ! openFIRST to enocourage this. In order to use just a few modules all you ! have to do is download the base module, pop it into your website root and ! run the install shield. You can use headers and footers directly from your ! website or you can modify our headers and footers directly. ! <p>You can even use your original website database. All you have to do is ! use the same connection information. We made sure that openfirst tables ! wouldnt interfere with your websites table so we named each of our tables ! with a prefix of ofirst_.</p> ! <p>Its that easy. Just download and install the modules you want and viola!</p></td> ! </tr> ! <?php } ! if(isset($_GET['manual']) && $_GET['manual'] == "customize"){ ?> + <tr> + <th>How to Customize openFIRST</th> + </tr> + <tr> + <td>openFIRST was designed to allow the manipulation and/or addition to the + system without interfering with important system functions. We enourage + anyone who is fluent in PHP to help develop and expand the openFIRST Portal + System. If a developer comes up with a quality module the openFIRST team + will take the module into consideration and adopt it as a certified module. + <p>Now you may have noticed that the portal system asks you for links to + a header and footer. What we suggest is that webmasters take our headers + and edit them to their own specifications, in this case you wont have + to make extra code for displaying information such as header links. If + you already have a website then you could adapt your header and footer + files to work seemlesly with the openFIRST system. The headers and footers + you specify are adapted everywhere on the system. Even the e-mail outputs + include the system headers.</p> + <p>Our team has adopted CSS in the headers because we wanted to give our + users more power in the design and look of the website. You will have + to code the CSS to our specifications but atleast you will be able to + control colors, backgrounds etc.</p></td> + </tr> <?php ! } ! if(isset($_GET['manual']) && $_GET['manual'] == "advanced"){ ?> + <tr> + <th>The Nitty-Gritty of openFIRST</th> + </tr> + <tr> + <td><p>There is more to this system then just the fancy HTML and front-ends. + openFIRST has a complex internal structure. The entire system works off + relative path linking to make reference to scripts easy. The most important + foundation of the system is the config folder, obviously. /config contains + all the main files for installation, headers, footers, global files, and + functions. The functions folder (/config/functions/) contains files which + are automatically included into the globals. When globals is first called + the system scans the folder and includes the functions. Functions in this + folder are usually vital to the overall system. They provide the system + with functions such like multipartmail(), the openFIRST mail function + and make_wysiwyg(), which is the basic WYSIWYG function.</p> + <p>Although if you would like you may remove the file with the function + you wish to disable. The great thing about this is that even though you + remove the function files the system has a fall-back function. For example + the openFIRST WYSIWYG feature is used to replace almost every text area + on the site. If you were to remove this function the WYSIWYG box would + automatically revert to using a normal text box.</p> + <p>Each module uses relative paths to configure the modules which means + that you have o have the module folders in the systems base root. This + is because when globals runs it depends on the include value from the + ofirst_config which will automatically include module specific include + files from each folder. For example logger has an include that is carried + throughout the website to help log visitors. When globals is called it + automatically gets the logger include files from the databaes and includes + /logger/logger.php. It was programmed this way so that users will have + more power over increasing the systems features and power.</p> + <p>Another great feature that we implemented into openFIRST is the database + selection. openFIRST supports MySQL, MSSQL and ODBC. The way this works + is that all the database related functions are run through openFIRST functions + first (ie. ofirst_dbquery). The function itself checks if the system is + setup to run MySQL, MSSQL or ODBC and selects between them. It then returns + the data to the original function.</p> + <p>Here is a basic diagram of how openFIRST works:</p> + <p align="center"><img src="flowchart.gif" width="398" height="308"></p> + <p align="left">So as you can see openFIRST is very extensible and neatly + coded to allow for PHP programmers to easily develop something or adapt + to the website. Note: this chart does not list all the avaiable variables/functions + avaiable globally throughout the website. You must read the descriptions + of each individual module manual to get that information.</p> + <p align="left">Be creative and have fun with your coding!</p></td> + </tr> + </table> + + <?php + } ?> + <?php include("$footer"); ?> \ No newline at end of file --- openfirst.html DELETED --- |
From: <xt...@us...> - 2003-09-28 17:35:38
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1:/tmp/cvs-serv21590 Modified Files: version.php Log Message: Make the versions script actually as expected, it will now prevent huge listings of good files, unless an option to have them listed is turned on. Index: version.php =================================================================== RCS file: /cvsroot/openfirst/base/config/version.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** version.php 30 Aug 2003 18:25:02 -0000 1.1 --- version.php 28 Sep 2003 17:33:22 -0000 1.2 *************** *** 32,35 **** --- 32,56 ---- if(isset($user->user) == true && $user->membertype == "administrator") { + + // Recursive glob functionality based on original code from: + // st...@to... + // as posted to php.net manual for glob() function reference. + + function rglob($sDir, $sPattern, $nFlags = NULL) { + $sDir = escapeshellcmd($sDir); + + $aFiles = glob("$sDir/$sPattern", $nFlags); + + foreach (glob("$sDir/*", GLOB_ONLYDIR) as $sSubDir) { + $aSubFiles = rglob($sSubDir, $sPattern, $nFlags); + $aFiles = array_merge($aFiles, $aSubFiles); + } + + // The array we return contains the files we found, and the + // files all of our children found. + + return $aFiles; + } + ?> *************** *** 42,91 **** <?php if(function_exists("glob")) { ! foreach (glob("../*/*/*/*/*/*/*") as $filename) { ! if(is_file($filename)) { ! $mod = str_replace("../", "", $filename); ! $mod = substr($mod, 0, strpos($mod, "/", 2)); ! $fil = str_replace("../$mod/", "", $filename); ! @include("http://update.openfirst.org/versions.php?md5=" . md5_file($filename) . "&module=$mod&file=$fil"); ! } ! } ! foreach (glob("../*/*/*/*/*/*") as $filename) { ! if(is_file($filename)) { ! $mod = str_replace("../", "", $filename); ! $mod = substr($mod, 0, strpos($mod, "/", 2)); ! $fil = str_replace("../$mod/", "", $filename); ! @include("http://update.openfirst.org/versions.php?md5=" . md5_file($filename) . "&module=$mod&file=$fil"); ! } ! } ! foreach (glob("../*/*/*/*/*") as $filename) { ! if(is_file($filename)) { ! $mod = str_replace("../", "", $filename); ! $mod = substr($mod, 0, strpos($mod, "/", 2)); ! $fil = str_replace("../$mod/", "", $filename); ! @include("http://update.openfirst.org/versions.php?md5=" . md5_file($filename) . "&module=$mod&file=$fil"); ! } ! } ! foreach (glob("../*/*/*/*") as $filename) { ! if(is_file($filename)) { ! $mod = str_replace("../", "", $filename); ! $mod = substr($mod, 0, strpos($mod, "/", 2)); ! $fil = str_replace("../$mod/", "", $filename); ! @include("http://update.openfirst.org/versions.php?md5=" . md5_file($filename) . "&module=$mod&file=$fil"); ! } ! } ! foreach (glob("../*/*/*") as $filename) { ! if(is_file($filename)) { ! $mod = str_replace("../", "", $filename); ! $mod = substr($mod, 0, strpos($mod, "/", 2)); ! $fil = str_replace("../$mod/", "", $filename); ! @include("http://update.openfirst.org/versions.php?md5=" . md5_file($filename) . "&module=$mod&file=$fil"); ! } ! } ! foreach (glob("../*") as $filename) { if(is_file($filename)) { $mod = str_replace("../", "", $filename); $mod = substr($mod, 0, strpos($mod, "/", 2)); $fil = str_replace("../$mod/", "", $filename); ! @include("http://update.openfirst.org/versions.php?md5=" . md5_file($filename) . "&module=$mod&file=$fil"); } } --- 63,73 ---- <?php if(function_exists("glob")) { ! foreach (rglob("..", "*") as $filename) { if(is_file($filename)) { $mod = str_replace("../", "", $filename); $mod = substr($mod, 0, strpos($mod, "/", 2)); $fil = str_replace("../$mod/", "", $filename); ! @include("http://update.openfirst.org/versions.php?showgood=f&md5=" . md5_file($filename) . "&module=$mod&file=$fil"); ! unset($filename); } } |
From: <dav...@us...> - 2003-09-28 16:26:23
|
Update of /cvsroot/openfirst/news/setup In directory sc8-pr-cvs1:/tmp/cvs-serv9658 Modified Files: setup.mysql Log Message: Added creation command for comment table. Index: setup.mysql =================================================================== RCS file: /cvsroot/openfirst/news/setup/setup.mysql,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** setup.mysql 28 Sep 2003 15:40:00 -0000 1.5 --- setup.mysql 28 Sep 2003 16:25:08 -0000 1.6 *************** *** 1,3 **** --- 1,4 ---- CREATE TABLE IF NOT EXISTS `ofirst_news` (`ID` int(6) unsigned NOT NULL auto_increment, `date` TINYTEXT, `poster` TINYTEXT, `title` TINYTEXT, `news` TEXT, PRIMARY KEY (`ID`)) Type=MyISAM; ALTER TABLE ofirst_news ADD COLUMN image TEXT; + CREATE TABLE `ofirst_news_comments` (`ID` tinyint(3) unsigned NOT NULL default '0', `Author` TEXT, `EMail` TINYTEXT, `Website` TINYTEXT, `Comment` TEXT, `Date` TEXT, PRIMARY KEY (`ID`)) TYPE=MyISAM; INSERT INTO ofirst_config SET modulename='news',showonmenu='0',active='0',adminnavigation='<a href="$basepath/news/admin/">Edit News</a>',modulenavigation='<a href="$basepath/news/">Current News</a> | <a href="$basepath/news/rssfeed.php">Steam our News</a>',includes='viewnews.php'; |
From: <dav...@us...> - 2003-09-28 16:19:38
|
Update of /cvsroot/openfirst/news In directory sc8-pr-cvs1:/tmp/cvs-serv8584 Modified Files: viewnews.php Log Message: Changed the view news is viewed. Index: viewnews.php =================================================================== RCS file: /cvsroot/openfirst/news/viewnews.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** viewnews.php 28 Sep 2003 15:30:57 -0000 1.6 --- viewnews.php 28 Sep 2003 16:19:24 -0000 1.7 *************** *** 37,54 **** while($news = ofirst_dbfetch_object($query)){ echo("<br><table width='500'> ! <tr> ! <th><strong>$news->title</strong></th> ! </tr> ! <tr> ! <td>Posted on $news->date by $news->poster</td> ! </tr> ! <tr> ! <td><img src='$news->image' alt='$news->title'>$news->news</td> ! </tr> </table><br>"); } } else { ! echo("There is not yet any news."); } return(0); --- 37,49 ---- while($news = ofirst_dbfetch_object($query)){ echo("<br><table width='500'> ! <tr><th><strong>$news->title</strong></th></tr> ! <tr><td><center><img src='$news->image' alt='$news->title'></center></td></tr> ! <tr><td class='sub'>Posted on $news->date by $news->poster</td></tr> ! <tr><td>$news->news<br><br><center>[ <a href='$basepath/news/comments.php?ID=$news->ID'>View Comments</a> ]</center></td></tr> </table><br>"); } } else { ! echo("There is not yet any news.<br><br>"); } return(0); |
From: <dav...@us...> - 2003-09-28 16:17:42
|
Update of /cvsroot/openfirst/news/admin In directory sc8-pr-cvs1:/tmp/cvs-serv8182 Modified Files: index.php Log Message: Added design table. Index: index.php =================================================================== RCS file: /cvsroot/openfirst/news/admin/index.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** index.php 13 Sep 2003 16:33:43 -0000 1.8 --- index.php 28 Sep 2003 16:17:27 -0000 1.9 *************** *** 36,55 **** ?> <form method="post" action="index.php"> ! Message Title: <input name="title" type="text" value="openFIRST News" style="width: 250px;"> ! <br />Image: <input type="text" name="image" value="<?php echo $basepath . "/images/openfirst.png"; ?>" ! style="width: 250px;"> ! <br /> ! <br /><?php if(function_exists("make_wysiwyg") == true) { ! make_wysiwyg("news", 500, 300, "Insert your news here."); ! } else { ! ?> ! <textarea name="news" cols="60" rows="20">Insert your news here.</textarea> ! <?php ! } ?> ! <br /> ! ! <input name="news" type="submit" id="news" value="Add News Item" /> ! <input type="reset" value="Clear News Item" /> ! </form> <?php } else { --- 36,71 ---- ?> <form method="post" action="index.php"> ! <p><br /> ! <br /> ! </p> ! <table width="618" align="center"> ! <tr> ! <th> </th> ! <th>Add News</th> ! </tr> ! <tr> ! <td><div align="right">Headline:</div></td> ! <td><input name="title" type="text" value="openFIRST News" style="width: 250px;"></td> ! </tr> ! <tr> ! <td width="156"><div align="right">Image:</div></td> ! <td width="332"> <input type="text" name="image" value="<?php echo $basepath . "/images/openfirst.png"; ?>" ! style="width: 250px;"> </td> ! </tr> ! <tr> ! <td valign="top"> ! <div align="right">Descriptions</div></td> ! <td> ! <textarea name="news" cols="60" rows="20">Insert your news here.</textarea> ! </td> ! </tr> ! <tr> ! <td> </td> ! <td><input name="news2" type="submit" id="news" value="Add News Item" /> ! <input name="reset" type="reset" value="Clear News Item" /> </td> ! </tr> ! </table> ! <p> </p> ! </form> <?php } else { |
From: <xt...@us...> - 2003-09-28 15:42:20
|
Update of /cvsroot/openfirst/members In directory sc8-pr-cvs1:/tmp/cvs-serv15602 Modified Files: profile.php index.php divisions.php Log Message: Add isset checking, make sure text is not rendered unreadable by colours which may conflict with a site's chosen background colour, change ISSET to isset, make no photograph image used (so teams can easily switch the image to a silhouette like in the ICQ profiles), update MS-SQL setup script. Index: profile.php =================================================================== RCS file: /cvsroot/openfirst/members/profile.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** profile.php 26 Sep 2003 03:26:42 -0000 1.14 --- profile.php 28 Sep 2003 14:05:42 -0000 1.15 *************** *** 96,100 **** </tr> <?php ! if(! ISSET($_GET["orderby"])) { $_GET["orderby"] = "user"; } if(isset($extra) == true && $extra != "") { $query = ofirst_dbquery("SELECT * FROM ofirst_members where " . $_GET["orderby"] . " is NOT NULL $extra ORDER BY " . $_GET["orderby"] . ";"); --- 96,100 ---- </tr> <?php ! if(! isset($_GET["orderby"])) { $_GET["orderby"] = "user"; } if(isset($extra) == true && $extra != "") { $query = ofirst_dbquery("SELECT * FROM ofirst_members where " . $_GET["orderby"] . " is NOT NULL $extra ORDER BY " . $_GET["orderby"] . ";"); *************** *** 125,129 **** echo("<table width='600'><tr><th></th><th width='70%'>Member Information</th></tr><tr><td style='vertical-align: top;'>"); if($q->picturelocation == "") { ! echo("No photograph provided."); } else { echo("<img src='$q->picturelocation' alt='$q->firstname $q->lastname' />"); --- 125,129 ---- echo("<table width='600'><tr><th></th><th width='70%'>Member Information</th></tr><tr><td style='vertical-align: top;'>"); if($q->picturelocation == "") { ! echo("<img src='nophoto.png' alt='No photograph provided'>"); } else { echo("<img src='$q->picturelocation' alt='$q->firstname $q->lastname' />"); Index: index.php =================================================================== RCS file: /cvsroot/openfirst/members/index.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** index.php 13 Sep 2003 15:38:25 -0000 1.7 --- index.php 28 Sep 2003 14:05:42 -0000 1.8 *************** *** 43,47 **** You are logged in as: <?php ! echo("<font color='green'>$user->user</font> the <font color='green'>$user->membertype</font> of the <font color='green'>$user->division division of team $user->team.</font>"); ?> </p> --- 43,47 ---- You are logged in as: <?php ! echo("<strong>$user->user</strong> the <strong>$user->membertype</strong> of the <strong>$user->division</strong> division of team <strong>$user->team.</strong>"); ?> </p> Index: divisions.php =================================================================== RCS file: /cvsroot/openfirst/members/divisions.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** divisions.php 13 Sep 2003 15:38:25 -0000 1.3 --- divisions.php 28 Sep 2003 14:05:42 -0000 1.4 *************** *** 35,39 **** if(isset($user->division) == true) { $division = $user->division; } if(isset($_GET["division"]) == true) { $division = $_GET["division"]; } ! if($division != "") { $div = ofirst_dbfetch_object(ofirst_dbquery("SELECT * FROM ofirst_divisions WHERE division='$division';")); echo("<h2>$div->division</h2> --- 35,39 ---- if(isset($user->division) == true) { $division = $user->division; } if(isset($_GET["division"]) == true) { $division = $_GET["division"]; } ! if(isset($division) == true && $division != "") { $div = ofirst_dbfetch_object(ofirst_dbquery("SELECT * FROM ofirst_divisions WHERE division='$division';")); echo("<h2>$div->division</h2> |
From: <xt...@us...> - 2003-09-28 15:40:45
|
Update of /cvsroot/openfirst/members/setup In directory sc8-pr-cvs1:/tmp/cvs-serv15602/setup Modified Files: setup.mssql Log Message: Add isset checking, make sure text is not rendered unreadable by colours which may conflict with a site's chosen background colour, change ISSET to isset, make no photograph image used (so teams can easily switch the image to a silhouette like in the ICQ profiles), update MS-SQL setup script. Index: setup.mssql =================================================================== RCS file: /cvsroot/openfirst/members/setup/setup.mssql,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** setup.mssql 23 Aug 2003 20:31:16 -0000 1.1 --- setup.mssql 28 Sep 2003 14:05:42 -0000 1.2 *************** *** 1,4 **** INSERT INTO ofirst_config SET modulename='members',showonmenu='0',active='0'; ! UPDATE ofirst_config SET modulenavigation='<a href="$basepath/members/workspace.php">Workspace</a> | <a href="$basepath/members/divisions.php">Divisions</a> | <a href="$basepath/members/profile.php">Profile</a> | <a href="$basepath/members/links.php">Links</a> | <a href="$basepath/members/skills.php">Skills</a> | <a href="$basepath/members/updateprofile.php">Update Profile</a> | <a href="$basepath/members/logout.php">Logout</a>',adminnavigation='<a href="$basepath/members/adduser.php">Add Users</a> | <a href="$basepath/config/">Configuration</a>' where modulename='members'; CREATE TABLE IF NOT EXISTS ofirst_workspace_users (quota BIGINT, user CHAR(128), virtfspath TEXT, frozen INT(1)); CREATE TABLE IF NOT EXISTS ofirst_workspace_files(size BIGINT, name TEXT, location TEXT, owner TEXT, division TEXT, permissions TEXT, date TEXT, description TEXT, filetype TEXT); --- 1,4 ---- INSERT INTO ofirst_config SET modulename='members',showonmenu='0',active='0'; ! UPDATE ofirst_config SET modulenavigation='<a href="$basepath/members/workspace.php">My Workspace</a> | <a href="$basepath/members/divisions.php">Team Divisions</a> | <a href="$basepath/members/profile.php">Member List</a> | <a href="$basepath/members/links.php">Site Links</a> | <a href="$basepath/members/skills.php">My Skills</a> | <a href="$basepath/members/updateprofile.php">My Profile</a> | <a href="$basepath/members/logout.php">Logout</a>',adminnavigation='<a href="$basepath/members/adduser.php">Add Users</a> | <a href="$basepath/config/">Site Configuration</a>' where modulename='members'; CREATE TABLE IF NOT EXISTS ofirst_workspace_users (quota BIGINT, user CHAR(128), virtfspath TEXT, frozen INT(1)); CREATE TABLE IF NOT EXISTS ofirst_workspace_files(size BIGINT, name TEXT, location TEXT, owner TEXT, division TEXT, permissions TEXT, date TEXT, description TEXT, filetype TEXT); |
From: <dav...@us...> - 2003-09-28 15:40:14
|
Update of /cvsroot/openfirst/news/setup In directory sc8-pr-cvs1:/tmp/cvs-serv31905 Modified Files: setup.mysql Log Message: Added links for RSS steaming and changed link for admin edit. Index: setup.mysql =================================================================== RCS file: /cvsroot/openfirst/news/setup/setup.mysql,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** setup.mysql 29 Jul 2003 15:32:49 -0000 1.4 --- setup.mysql 28 Sep 2003 15:40:00 -0000 1.5 *************** *** 1,3 **** CREATE TABLE IF NOT EXISTS `ofirst_news` (`ID` int(6) unsigned NOT NULL auto_increment, `date` TINYTEXT, `poster` TINYTEXT, `title` TINYTEXT, `news` TEXT, PRIMARY KEY (`ID`)) Type=MyISAM; ALTER TABLE ofirst_news ADD COLUMN image TEXT; ! INSERT INTO ofirst_config SET modulename='news',showonmenu='0',active='0',adminnavigation='<a href="$basepath/news/admin/">Admin Main</a>',modulenavigation='<a href="$basepath/news/">Current News</a>',includes='viewnews.php'; --- 1,3 ---- CREATE TABLE IF NOT EXISTS `ofirst_news` (`ID` int(6) unsigned NOT NULL auto_increment, `date` TINYTEXT, `poster` TINYTEXT, `title` TINYTEXT, `news` TEXT, PRIMARY KEY (`ID`)) Type=MyISAM; ALTER TABLE ofirst_news ADD COLUMN image TEXT; ! INSERT INTO ofirst_config SET modulename='news',showonmenu='0',active='0',adminnavigation='<a href="$basepath/news/admin/">Edit News</a>',modulenavigation='<a href="$basepath/news/">Current News</a> | <a href="$basepath/news/rssfeed.php">Steam our News</a>',includes='viewnews.php'; |
From: <dav...@us...> - 2003-09-28 15:34:06
|
Update of /cvsroot/openfirst/news/rss In directory sc8-pr-cvs1:/tmp/cvs-serv30680 Added Files: class.RSSBuilder.inc.php rss.php Log Message: RSS Class and the RSS viewer. --- NEW FILE: class.RSSBuilder.inc.php --- <?php /* vim: set expandtab tabstop=4 shiftwidth=4: */ //+----------------------------------------------------------------------+ //| WAMP (XP-SP1/1.3.27/4.0.12/4.3.2) | //+----------------------------------------------------------------------+ //| Copyright (c) 1992-2003 Michael Wimmer | //+----------------------------------------------------------------------+ //| I don't have the time to read through all the licences to find out | //| what the exactly say. But it's simple. It's free for non commercial | //| projects, but as soon as you make money with it, i want my share :-) | //| (License : Free for non-commercial use) | //+----------------------------------------------------------------------+ //| Authors: Michael Wimmer <fl...@gm...> | //+----------------------------------------------------------------------+ // // $Id: class.RSSBuilder.inc.php,v 1.1 2003/09/28 15:33:53 daviddibiase Exp $ /** * @package RSSBuilder [...1700 lines suppressed...] * @since 1.001 - 2003-05-30 */ function getComments() { return (string) $this->comments; } // end function /** * Returns $image variable * * @desc Returns $image variable * @return string $image * @see $image * @since 1.002 - 2003-06-26 */ function getImage() { return (string) $this->image; } // end function /**#@-*/ } // end class RSSItem ?> --- NEW FILE: rss.php --- <?php /* * openFIRST.news - rss/rss.php * * Copyright (C) 2003, * openFIRST Project * Original Author: David Di Biase <dav...@ea...> * * 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, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ include("../../config/globals.php"); ob_start(); session_start(); // Include system RSSBuilder Class include("class.RSSBuilder.inc.php"); // Create the object - remember, not all attibutes are supported // by every rss version. just hand over an empty string if you // don't need a specific attribute $encoding =(string) 'ISO-8859-1'; $about = (string) $home; $title = (string) $title." News"; $description = (string) 'This is the '.$title.' News RSS Feed'; $image_link = (string) ''; $category = (string) ''; // (only rss 2.0) $cache = (string) 60; // in minutes (only rss 2.0) $rssfile = new RSSBuilder($encoding, $about, $title, $description, $image_link, $category, $cache); // If you want you can add additional Public Core data to the basic rss file // (if rss version supports it) $publisher = (string) $title; // person, an organization, or a service $creator = (string) ''; // person, an organization, or a service $date = (string) date('Y-m-d\TH:i:sO'); $language = (string) 'en'; $rights = (string) 'Copyright © 2003 '.$title.' ('.$home.')'; $coverage = (string) ''; // spatial location , temporal period or jurisdiction $contributor = (string) ''; // person, an organization, or a service $rssfile->addDCdata($publisher, $creator, $date, $language, $rights, $coverage, $contributor); // If you want you can add additional Syndication data to the basic // rss file (if rss version supports it) $period = (string) 'daily'; // hourly / daily / weekly / ... $frequency = (int) 5; // every X hours/days/... $base = (string) date('Y-m-d\TH:i:sO'); $rssfile->addSYdata($period, $frequency, $base); // Data for a single RSS item $query = ofirst_dbquery("SELECT * FROM ofirst_news LIMIT 0,5"); while($news = ofirst_dbfetch_object($query)){ $about = $link = $home.$base.'/news/readnews.php?ID='.$news->ID; $title = (string) $news->title; $description = (string) $news->news; $subject = (string) ''; // optional DC value $date = (string) date('Y-m-d\TH:i:sO'); // optional DC value $author = (string) $news->poster; // author of item $comments = (string) ''; // url to comment page rss 2.0 value $image = (string) $home.$base.'/news/images/'.$news->image; // optional mod_im value for dispaying a different pic for every item $rssfile->addItem($about, $title, $link, $description, $subject, $date, $author, $comments, $image); } // If you don't want to directly output the content, but instead work with the string (for example write it to a cache file) use // $rssfile->getRSSOutput($version); $version = $_GET['rss']; $rssfile->outputRSS($version); ob_end_flush(); ?> |
From: <dav...@us...> - 2003-09-28 15:31:12
|
Update of /cvsroot/openfirst/news In directory sc8-pr-cvs1:/tmp/cvs-serv30323 Modified Files: index.php viewnews.php Added Files: rssfeed.php Log Message: Made some minor changes, added RSS feature. --- NEW FILE: rssfeed.php --- <?php /* * openFIRST.news - index.php * * Copyright (C) 2003, * openFIRST Project * Original Author: David Di Biase <dav...@ea...> * * 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, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ include("../config/globals.php"); include($header); ?> <h2>RSS Feed Option</h2> <p>Stay up-to-date with the latest information released directly from our teams<br> very own news system using RSS technology. If you are unsure of how to use<br> RSS technology then please visit this link to learn more.</p> <?php if(isset($_POST['get'])){ if(isset($_POST['all'])){ $numhead = "all"; }else{ $numhead = $_POST['headlines']; } $link = $home.$basepath."/news/rss/rss.php?headlines=".$numhead."&rss=".$_POST['version']; ?> <table width="500" align="center" cellpadding="0"> <tr> <th>Your RSS Customized Link</th> </tr> <tr> <td><?php echo $link; ?></td> </tr> <tr> <td><div align="center">[ <a href="<?php echo $link; ?>">View RSS Data</a> ]</div></td> </tr> </table> <?php } ?> <form method="POST" action="rssfeed.php"> <table width="39%" align="center"> <tr> <th width="43%"> </th> <th width="57%">RSS Custom Link</th> </tr> <tr> <td><div align="right"># of headlines to show::</div></td> <td><input name="headlines" type="text" id="headlines" size="5" maxlength="5"> or <input name="all" type="checkbox" id="all2" value="all"> All</td> </tr> <tr> <td><div align="right">RSS Version:</div></td> <td><select name="version" id="version"> <option>0.91</option> <option selected>1.0</option> <option>2.0</option> </select></td> </tr> <tr> <td><div align="right"></div></td> <td><input name="get" type="submit" id="get" value="Get RSS Link"></td> </tr> </table> </form> <p><br> <br> </p> <?php include($footer); ?> Index: index.php =================================================================== RCS file: /cvsroot/openfirst/news/index.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** index.php 28 Sep 2003 14:32:29 -0000 1.6 --- index.php 28 Sep 2003 15:30:57 -0000 1.7 *************** *** 32,37 **** Here are the top 5 most important news outbreaks.<br><br> <?php ! shownews(5); // Shows 5 pieces of news. ! include($footer); ! ?> \ No newline at end of file --- 32,43 ---- Here are the top 5 most important news outbreaks.<br><br> <?php ! if(isset($_GET['show'])){ ! shownews(99999); ! }else{ ! shownews(5); // Shows 5 pieces of news. ! } ! ?> ! [ <a href="index.php?show=all">Show All News</a> ] ! <?php include($footer); ! ?> Index: viewnews.php =================================================================== RCS file: /cvsroot/openfirst/news/viewnews.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** viewnews.php 13 Sep 2003 15:38:25 -0000 1.5 --- viewnews.php 28 Sep 2003 15:30:57 -0000 1.6 *************** *** 36,43 **** while($news = ofirst_dbfetch_object($query)){ ! echo("<br><table> ! <tr><th> </th><th><strong>$news->title</strong></th></tr> ! <tr><th> </th><th>Posted on $news->date by $news->poster</th></tr> ! <tr><th><img src='$news->image' alt='$news->title'></th><td>$news->news</td></tr> </table><br>"); } --- 36,49 ---- while($news = ofirst_dbfetch_object($query)){ ! echo("<br><table width='500'> ! <tr> ! <th><strong>$news->title</strong></th> ! </tr> ! <tr> ! <td>Posted on $news->date by $news->poster</td> ! </tr> ! <tr> ! <td><img src='$news->image' alt='$news->title'>$news->news</td> ! </tr> </table><br>"); } *************** *** 48,50 **** return(0); } ! ?> --- 54,56 ---- return(0); } ! ?> \ No newline at end of file |
From: <dav...@us...> - 2003-09-28 15:30:40
|
Update of /cvsroot/openfirst/news/rss In directory sc8-pr-cvs1:/tmp/cvs-serv30264/rss Log Message: Directory /cvsroot/openfirst/news/rss added to the repository |