phpslash-commit Mailing List for phpSlash (Page 107)
Brought to you by:
joestewart,
nhruby
You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(11) |
Nov
(59) |
Dec
(60) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(52) |
Feb
(77) |
Mar
(118) |
Apr
(76) |
May
(106) |
Jun
(145) |
Jul
(9) |
Aug
(15) |
Sep
(78) |
Oct
(83) |
Nov
(105) |
Dec
(51) |
2003 |
Jan
(105) |
Feb
(100) |
Mar
(111) |
Apr
(149) |
May
(95) |
Jun
(56) |
Jul
(8) |
Aug
(2) |
Sep
|
Oct
(22) |
Nov
(117) |
Dec
(6) |
2004 |
Jan
(1) |
Feb
|
Mar
(3) |
Apr
(25) |
May
|
Jun
(11) |
Jul
(26) |
Aug
(85) |
Sep
(119) |
Oct
(312) |
Nov
(271) |
Dec
(5) |
2005 |
Jan
(6) |
Feb
|
Mar
|
Apr
(12) |
May
(7) |
Jun
(8) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2009 |
Jan
(5) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: nathan h. <nh...@us...> - 2001-11-24 15:05:09
|
Update of /cvsroot/phpslash/phpslash-ft/doc/changeHistory In directory usw-pr-cvs1:/tmp/cvs-serv6461/doc/changeHistory Added Files: CHANGES-05-061 Log Message: Doc work and cleanup in .docs/ --- NEW FILE: CHANGES-05-061 --- $Id: CHANGES-05-061,v 1.1 2001/11/24 15:05:05 nhruby Exp $ 2001-May-09 13:00 CDT Joe Stewart <jo...@be...> o [T] - Story.class - getRelated now uses much faster preg. Tweaked storyRelated.tpl and backendMozilla.tpl. 2001-May-02 16:19 CDT Joe Stewart <jo...@be...> o [T] - experimental - backend.php3 and associated templates have many more options for export. 2001-May-01 15:49 CDT Joe Stewart <jo...@be...> o [BT] - bugfix - Block_render_topic.class - "&" should have been "&" for IE. bugfix - articleEmailSent.tpl - removed send button. 2001-Apr-05 09:15 CDT Joe Stewart <jo...@be...> o [B] - bugfix - #404001 - Full text search of articles - search.php3. One more time. Full body text enabled and bug closed. [...2237 lines suppressed...] escape certain characters. 1999-Aug-06 Thomas T. Thai <moc...@ya...> o added 'rootdir' to slashdot.sql to fix URL references when PHPslash is installed in a user home dir o fixed config.php3 to properly add ?topic=TOPIC when the user clicks on the article image. 1999-Aug-06 Wai-Sun "Squidster" Chia <wai...@ms...> o Made/Fixed major sections of the administration page; i.e. variables, authors, blocks, sections, topics, new, and modify all now works. All the above is able to use the save, delete, and update functions. This has been released as 0.2.. 1999-Aug-06 kk Initial CVS release. Please remember to update the CHANGES file with your name and a data. New entries go first. |
From: nathan h. <nh...@us...> - 2001-11-24 14:26:18
|
Update of /cvsroot/phpslash/phpslash-ft/doc/changeHistory In directory usw-pr-cvs1:/tmp/cvs-serv31269/changeHistory Log Message: Directory /cvsroot/phpslash/phpslash-ft/doc/changeHistory added to the repository |
From: nathan h. <nh...@us...> - 2001-11-24 14:02:15
|
Update of /cvsroot/phpslash/phpslash-ft/public_html/templates/en/default In directory usw-pr-cvs1:/tmp/cvs-serv26650/public_html/templates/en/default Modified Files: searchPage.tpl Log Message: Add comment search Index: searchPage.tpl =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/public_html/templates/en/default/searchPage.tpl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** searchPage.tpl 2000/10/12 06:45:13 1.2 --- searchPage.tpl 2001/11/24 14:02:12 1.3 *************** *** 7,11 **** <td colspan="2"> <form action="{ACTION_URL}"> ! <input type="text" name="query" size="50" value="{QUERY_STRING}"> </td> <td> --- 7,13 ---- <td colspan="2"> <form action="{ACTION_URL}"> ! <input type="text" name="query" size="50" value="{QUERY_STRING}"><br> ! <input type="checkbox" name="use_comments"> ! Search Comments as well as stories </td> <td> |
From: nathan h. <nh...@us...> - 2001-11-24 14:02:15
|
Update of /cvsroot/phpslash/phpslash-ft/public_html In directory usw-pr-cvs1:/tmp/cvs-serv26650/public_html Modified Files: config.php3 search.php3 Log Message: Add comment search Index: config.php3 =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/public_html/config.php3,v retrieving revision 1.117 retrieving revision 1.118 diff -C2 -d -r1.117 -r1.118 *** config.php3 2001/11/18 01:07:48 1.117 --- config.php3 2001/11/24 14:02:12 1.118 *************** *** 16,20 **** // 1.1 Uncomment this only if you can't use a local php.ini or .htaccess ! //require('/home/nathan/webDevel/phplib-7.2c/php/prepend.php3'); // 1.11) Global Variables. (Don't add trailing slashes) --- 16,20 ---- // 1.1 Uncomment this only if you can't use a local php.ini or .htaccess ! require('/home/nathan/webDevel/php-lib-stable/php/prepend.php3'); // 1.11) Global Variables. (Don't add trailing slashes) *************** *** 34,38 **** // $basedir -> Complete filesystem path to the pages ! $_PSL[basedir] = '/home/httpd/htdocs/phpslash-ft/public_html'; // $templatedir -> Path to the templates directory --- 34,38 ---- // $basedir -> Complete filesystem path to the pages ! $_PSL[basedir] = '/home/nathan/webDevel/phpslash-ft/public_html'; // $templatedir -> Path to the templates directory *************** *** 40,47 **** // $classdir -> Path to the class directory ! $_PSL[classdir] = '/home/httpd/htdocs/phpslash-ft/class'; // $rooturl -> The base URL for the phpslash site ! $_PSL[rooturl] = 'http://superstar.odc.net/phpslash-ft/public_html'; // $adminurl -> The base URL for the admin pages --- 40,47 ---- // $classdir -> Path to the class directory ! $_PSL[classdir] = '/home/nathan/webDevel/phpslash-ft/class'; // $rooturl -> The base URL for the phpslash site ! $_PSL[rooturl] = 'http://fatboy.mystic/ft'; // $adminurl -> The base URL for the admin pages *************** *** 68,74 **** $_PSL[DB_Host] = "localhost"; ! $_PSL[DB_Database] = "authperm"; ! $_PSL[DB_User] = "root"; ! $_PSL[DB_Password] = ""; $_PSL[module][Glossary] = true; --- 68,74 ---- $_PSL[DB_Host] = "localhost"; ! $_PSL[DB_Database] = "phpslash"; ! $_PSL[DB_User] = "phpslash"; ! $_PSL[DB_Password] = "bar"; $_PSL[module][Glossary] = true; *************** *** 137,140 **** --- 137,142 ---- $_PSL[search_maxresults] = 20; /* the number of results to return when searching */ + + $_PSL[allow_comment_search] = TRUE; /* Do we allow search od the comments as well? */ /* if set to true then when you click "edit as story", the submission Index: search.php3 =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/public_html/search.php3,v retrieving revision 1.38 retrieving revision 1.39 diff -C2 -d -r1.38 -r1.39 *** search.php3 2001/09/11 16:38:53 1.38 --- search.php3 2001/11/24 14:02:12 1.39 *************** *** 10,13 **** --- 10,19 ---- $maxsearchresults = $_PSL[search_maxresults]; + if ($HTTP_GET_VARS[use_comments] == 'on' && $_PSL[allow_comment_search]) { + $search_comments = TRUE; + } else { + $search_comments = FALSE; + } + $topic_image_id = "18"; $topic_image_name = ""; *************** *** 310,313 **** --- 316,323 ---- psl_commentcount commentcount"; + if ($search_comments) { + $q .= ",psl_comment"; + } + if ($search_section_id != "") { $q .= ",psl_section_lut sections "; *************** *** 319,329 **** $q .="\n WHERE story.user_id = psl_author.author_id AND story.story_id = commentcount.count_id ! AND '$now' >= time "; ! if ($query != "") $q .= " AND (story.title LIKE \"%$query%\" OR story.intro_text LIKE \"%$query%\" ! OR story.body_text LIKE \"%$query%\" ! ) "; if ($search_author_id != "") $q .= " AND psl_author.author_id = \"$search_author_id\" "; --- 329,346 ---- $q .="\n WHERE story.user_id = psl_author.author_id AND story.story_id = commentcount.count_id ! AND '$now' >= time \n"; ! if ($query != "") { $q .= " AND (story.title LIKE \"%$query%\" OR story.intro_text LIKE \"%$query%\" ! OR story.body_text LIKE \"%$query%\""; ! /* Here is the comment search clause */ ! if ($search_comments) { ! $q .= " OR psl_comment.comment_text LIKE \"%$query%\""; ! } ! ! $q .= ") "; ! } ! if ($search_author_id != "") $q .= " AND psl_author.author_id = \"$search_author_id\" "; |
From: nathan h. <nh...@us...> - 2001-11-24 14:02:15
|
Update of /cvsroot/phpslash/phpslash-ft In directory usw-pr-cvs1:/tmp/cvs-serv26650 Modified Files: CHANGES Log Message: Add comment search Index: CHANGES =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/CHANGES,v retrieving revision 1.327 retrieving revision 1.328 diff -C2 -d -r1.327 -r1.328 *** CHANGES 2001/11/23 20:37:40 1.327 --- CHANGES 2001/11/24 14:02:12 1.328 *************** *** 13,16 **** --- 13,22 ---- 9 - Removal of something (kill -9 :) + 2001-Nov-24 8:49AM EST nathan hruby <na...@ds...> + [F] - [ #404002 ] no option to search comments + There is an option to search comments on the serch page and + a flag in config.php3 to turn it on/off. Needs work becasue + it searches a non-keyed field, please test! + 2001-Nov-23 3:28PM EST nathan hruby <na...@ds...> [W] - Made docs better in hope of centralizing the docs into the SGML |
From: nathan h. <nh...@us...> - 2001-11-23 20:37:43
|
Update of /cvsroot/phpslash/phpslash-ft/doc/html In directory usw-pr-cvs1:/tmp/cvs-serv24872/doc/html Modified Files: Makefile phpslash.sgml Log Message: Doc work Index: Makefile =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/doc/html/Makefile,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Makefile 2001/11/23 16:29:23 1.1 --- Makefile 2001/11/23 20:37:40 1.2 *************** *** 39,42 **** clean : @echo "----------- Removing all generated docs" ! rm -f *.html *.txt single/* --- 39,42 ---- clean : @echo "----------- Removing all generated docs" ! rm -f *.html *.txt single/phpslash.html Index: phpslash.sgml =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/doc/html/phpslash.sgml,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** phpslash.sgml 2001/11/23 17:54:14 1.7 --- phpslash.sgml 2001/11/23 20:37:40 1.8 *************** *** 15,23 **** <author> ! <url url="http://www.phpslash.org/" name="The phpSlash Group"> <date>v0.3, November 23, 2001 <abstract> ! phpSlash is a PHP weblog. Originally it was a port of Rob Malda's <url url="http://www.slashcode.org/" name="slashcode"> from perl to php. --- 15,23 ---- <author> ! <url url="http://phpslash.sourceforge.net/" name="The phpSlash Group"> <date>v0.3, November 23, 2001 <abstract> ! phpSlash is a PHP weblog and almost-CMS. Originally it was a port of Rob Malda's <url url="http://www.slashcode.org/" name="slashcode"> from perl to php. *************** *** 39,42 **** --- 39,178 ---- much further along then the slash-0.2 system. + <sect1> History + <p> + Every project has History. Here's the first and Second README's for phpSlash. + <sect2> README.php + <p> + PHPSlash v0.2, $Id$ + ******************************************************************* + This is my attempt to fix some of the bugs in the existing PHPSlash codebase + which has not been updated in coming almost to one year. Efforts to contact + Jay Bloodworth has come to null, so this is my humble effort to contribute + back to the PHP/PHPLIB communitity. :-) + + **Please see the changes file for current changes and enhancements + + Bugs fixed or feature made working: + * Upgraded for use with PHPLIB v7 which uses container classes. + + Fixed a bunch of stuff in the admin page, of note is the delete and update + mechanism. To delete a record just click on the checkbox at the side and + click "delete". Simple, huh? + + To save a record is also pretty intuitive, just fill the the fields and + click "save". To update an existing record is _NOT_ so intuitive in a sense + that I have no "update" button (soon!), but for now the "save" button also + acts as the "update" button.. + + Some notable fixes in the admin page: + * Variable management subsystem is now working (save/update, delete) + * Authors management subsystem is now working (save/update, delete) + * Blocks management subsystem is now working (save/update, delete) + * Sections management subsystem is now working (save/update, delete) + * Topics management subsystem is now working (save/update, delete) + + Schema changes: + * Implemented a unique bid on table blocks. Therefore the way index.php3 + displays blocks has also changed slightly. + + TODO: + * Continue fixing the remaining options of the admin page: i.e. list, new, + modify, submissions, poll. + * Can't see too far ahead in the future! ;-) + + Disclaimers: + Usual bunch of disclaimers. See below. + + + Bug reports, suggestions, compliments, constructive criticism to me. + Wai-Sun "Squidster" Chia + wai...@ms... + + + + **************************************************************************** + PHPSlash v0.1 September 23, 1998 + + "I'll take 'Questionable But Possibly Useful Hacks' for $600, Alex." + + "The answers is: You're looking at it right now." + + "What is the PHP3 port of the Slashdot code?" + + Yes, friends, if you were thrilled to learn that Rob Malda was + releasing the source code to his Pullet Surprise winning Slashdot site + but heartbroken to find out you'd have to perlify your lean, mean web + serving machine to use it, this may be your lucky day. + + Probably not though. + + But seriously. It's Slashdot, ported to PHP3. It attempts to be a + drop in replacement for the perl code (using the same databases and + such) and almost succeeds. It's a fairly naive port (line by line cut + and paste in many places), but I tried to improve things where I + could. In future releases I hope to neaten things up considerably and + bring the code closer to standard PHP3 idiom. + + Caveats + + 1) You need phplib, the 'sessions and more library' by Boris Erdman + and Kristian Kohntopp. Get it at phplib.netuse.de. I used phplib + because it makes the session stuff easy and the database stuff + portable. Future releases will use more phplib, so get it now and + learn to love it. You need a table in your slash db called + active_session as given in the phplib instructions. You can ditch the + session table given in the slash distro. + + 2) We're based on slash-0.2, which doesn't have the user account + features Slashdot has recently acquired. I'll add that kind of stuff + in a later release when I can do it sanely. + + 3) Most configuration goes on in config.php3, in the obvious places. + Note that the look and feel section is pretty sparse; I strated to + parameterize a number of the screens but got lazy. Again, wait for a + later release. + + 4) Slash uses a daemon to generate static files from the CGI's every + minute. PHPSlash doesn't. The perl slashd script should still work + (if you have the Slash perl code), but you have to change some php + code to point to the generated static files. Grep for $turl in the + .php3 files to find where to do this. + + 5) That's all the help I'm going to give you. If you're afraid to + look at the code and figure it out for yourself, you shouldn't be + using this software. + + Disclaimers + + The original Slash Perl code was written by Rob Malda and Dave + DeMaagd. Their notes appear in README.slash, even though their code + isn't in this distro. This is a derived work from their code, and + unless they grant otherwise, is still covered by their licence; you + must display the Slashdot logo and link to http://slashdot.org on your + page. There are no further restrictions due to my contribution. + + I make no guarantee and provide no warantee for this code, not even + an implied warantee of fitness for a particular purpose, nor any + assurance that this software will not damage your system. In + particular, I make no guarantee that this software will behave in + whole or in part like any version of the Slash software distributed by + Rob Malda and/or Dave DeMaagd. + + Future Plans + + As mentioned above: I'm planning on cleaning up the code to take + greater advantage of the features provided by PHP3. I also intend to + make the code more customizable and make it easier to integrate into + an existing site, in particular with regard to the session stuff. A + future release will probably require my Form Class library (I + originally thought it wouldn't help much, but in retrospect it would + have been quite useful). Some attempt will be made to track the + development of perl Slash, but not necessarily feature for feature. + + Bug reports, suggestions, compliments, constructive criticism to me. + + Jay Bloodworth + ja...@pa... + <!-- START SECTION: Installation --> <sect>Installation <label id="sec-install"> *************** *** 827,844 **** <!-- START SECTION: FAQ --> <sect>Frequently Asked Questions (FAQ) ! ! <sect1>What is phpSlash exactly? <p> It's a port of Rob Malda's slash-0.2 code (which runs the popular website <url url="http://www.slashdot.org/" name="Slashdot">to php3. It also ! tries to do things a better when it can. ! <sect1>Why shouldn't I use Rob's slash code. Isn't it better? <P> You can. It has its own issues which are not within the scope of this document. My best suggestion to sign up on the ! slash-help list and find out for your self. ! <sect1>Who did / does all this? <p> Jay Bloodworth did the original 0.1 port. A year after that Wai-Sun --- 963,987 ---- <!-- START SECTION: FAQ --> <sect>Frequently Asked Questions (FAQ) ! <p> ! Many of these Questions ans Answers have been pretty much cribbed ! directly from the mailing list, archives and other meial conversations. ! If they seems a bit conversationsal, that's why. ! <sect1> About phpSlash and its requirements. ! <sect2>What is phpSlash exactly? <p> It's a port of Rob Malda's slash-0.2 code (which runs the popular website <url url="http://www.slashdot.org/" name="Slashdot">to php3. It also ! tries to do things a better when it can. Since the original port ! phpSlash has slowly developed a bit of a CMS following. The current ! thinking is on enhancing these features. ! <sect2>Why shouldn't I use Rob's slash code. Isn't it better? <P> You can. It has its own issues which are not within the scope of this document. My best suggestion to sign up on the ! slash-help list and find out for your self. You may also want ! to look at <url url="http://www.slashcode.com" name="Slashcode">. ! <sect2>Who did / does all this? <p> Jay Bloodworth did the original 0.1 port. A year after that Wai-Sun *************** *** 846,860 **** CREDITS page to the current developers. ! <sect1>What do I need to use phpSlash? <p> You should read the <ref id="sec-install" name="Installation Section"> of this manual for a list of requirements for running phpSlash. ! <sect1>Can I use PHP4? <p> Yes. Currently PHPSlash is written for PHP4 then ported back to ! PHP3 if there are any issues. ! <sect1>Ok. so I have all these tarball's sitting here. What do I do with them? <p> Untar, configure, compile and install. There should be --- 989,1011 ---- CREDITS page to the current developers. ! <sect2>Why is your website so thin in the content department? ! <p> ! ! We write code, not HTML. :) Seriously, the phpslash.org site ! is always under development and if you want answers to questions ! then the best place is the mailing list. ! ! <sect2>What do I need to use phpSlash? <p> You should read the <ref id="sec-install" name="Installation Section"> of this manual for a list of requirements for running phpSlash. ! <sect2>Can I use PHP4? <p> Yes. Currently PHPSlash is written for PHP4 then ported back to ! PHP3 if there are any issues. This will chnage with version 0.7 of phpslash ! which will drop support for php3. You have been warned. ! <sect2>Ok. so I have all these tarball's sitting here. What do I do with them? <p> Untar, configure, compile and install. There should be *************** *** 864,868 **** everything else working right. ! <sect1>What about PHPLIB and gpc_magic_quotes? <p> --- 1015,1020 ---- everything else working right. ! <sect1> PHPLIB Related questions. ! <sect2>What about PHPLIB and gpc_magic_quotes? <p> *************** *** 874,878 **** gpc_magic_quotes = Off ! <sect1>What can I do to avoid using prepend.php3 on every page I serve? <p> Nothing. phpSlash needs much of phplib's functionality, --- 1026,1030 ---- gpc_magic_quotes = Off ! <sect2>What can I do to avoid using prepend.php3 on every page I serve? <p> Nothing. phpSlash needs much of phplib's functionality, *************** *** 887,891 **** line that require()'s prepend.php3 ! <sect1>Someone told me that if I just hardcode in an include() to phplib's ct_sql.inc class things will work ok. Why can't I do this? <p> It breaks phplib session and auth features which will soon be --- 1039,1043 ---- line that require()'s prepend.php3 ! <sect2>Someone told me that if I just hardcode in an include() to phplib's ct_sql.inc class things will work ok. Why can't I do this? <p> It breaks phplib session and auth features which will soon be *************** *** 895,901 **** time. ! <sect1>I read all your documentation TWICE and still can't figure this out!! <p> Try subscribing to the phpslash mailing list. To subscribe visit the <url url="http://www.phpslash.org" name="phpslash website"> --- 1047,1112 ---- time. ! <sect2> Performance Tuning <p> + <tscreen><verb> + > 1. Performance. Has anyone tested how much traffic + > phpslash can take. Granted, there are a lot of + > variables in a hosted environment, but all I'm looking + > for is a ball bark figure. In other words, of the + > sites currently running phpslash, what is your traffic + > level and are you satisfied with the performance? Now + > that I've got phpslash up and running, the *only* + > reservation I have is developing a popular site and + > then having it brought to it's knees. + > + </verb></tscreen> + + A goodly amount :) It really depends on the hardware and how much load + your db can take (Does php have a limited amount of connections to mysql?, + Is the db server already at it's mx load, etc..) use a benchmarking tool + like ab to get the specfics, and hit the list archive for last month, we + had a discussion about this. the short answer is that things start to + break on lighweight / overloaded servers at about 10-20 constant + concurrent connections (ie: getting slashdotted.. as long as there aren't + peopl pounding away at your index.php3 all the time, you'll probably be + alright) + + Run some stats like analog on your site to see when the "peak" hours + are. Then during those times watch your load and see if you need any + improving. Turn on the apache status support page to get a view of + what's going on inside the webserver. That's always helpful. Also, + check out the status on the MySQL server to see how loaded it is. + Since PHPSlash is very DB heavy, you don't want that to be the + bottleneck. + + There's already been a bunch of suggestions about improving + the speed so I'll add on s'more: + + - some php cache program. The Zend one is probably out of the question, + but there's APC and one other that I can't remember the name which are + free. If you've got a slow CPU then this would be the way to go. The + cache compiles the php script and stores it in memory so when the next + request comes in it doesn't need to recompile. Just make sure you don't + do this during development... + + - mod_gzip - if you're low on bandwidth, then install this and it will + compress the data before sending it across the wire. I've heard the CPU + load isn't that high, but YMMV. + - RAMDISKS - if you have slow-ass IDE disks (or the data on an NFS + partition like me) then you can put all the information onto a RAMDISK. + By default Redhat Makes a couple ramdisks and that should be enough to + mount and deploy a production site. + + - You can also move the database onto another machine. + + - Get all the static pages on your site and let the tux webserver run them. + This will lessen the load on Apache and make things *seem* zippier. + + + <sect1> Getting Help. + <sect2>I read all your documentation TWICE and still can't figure this out!! + <p> + Try subscribing to the phpslash mailing list. To subscribe visit the <url url="http://www.phpslash.org" name="phpslash website"> *************** *** 904,915 **** else has the same problem. ! <sect1>Why is your website so thin in the content department? ! <p> ! ! We write code, not HTML. :) Seriously, the phpslash.org site ! is always under development and if you want answers to questions ! then the best place is the mailing list. ! ! <sect1>How do I get the CVS Copy? <p> Visit the <url url="http://www.sourceforge.net/projects/phpslash/" --- 1115,1120 ---- else has the same problem. ! <sect1> Bugs, info, CVS and all things dev related ! <sect2>How do I get the CVS Copy? <p> Visit the <url url="http://www.sourceforge.net/projects/phpslash/" *************** *** 921,925 **** in developing stuff, check-out the phpslash-ft module. ! <sect1>I'm still having trouble with this stupid CVS thingie. Where do I go for more info? <P> --- 1126,1130 ---- in developing stuff, check-out the phpslash-ft module. ! <sect2>I'm still having trouble with this stupid CVS thingie. Where do I go for more info? <P> *************** *** 928,937 **** http://linuxdoc.org/HOWTO/CVS-RCS-HOWTO.html ! <sect1>So I found a bug (and fixed it). Now what? <P> File a bug report at our Sourceforge Site. You can attach ! patches to bug reports as well. ! <sect1>What's the deal with how new features get into the source? <P> --- 1133,1144 ---- http://linuxdoc.org/HOWTO/CVS-RCS-HOWTO.html ! <sect2>So I found a bug (and fixed it). Now what? <P> File a bug report at our Sourceforge Site. You can attach ! patches to bug reports as well. You'd also be wise to send ! a note to the phpslash-users list to discuss the fix. ! You may have just patched a feature :) ! <sect2>What's the deal with how new features get into the source? <P> *************** *** 963,975 **** layout code. ! <sect1>So, phpSlash is cool. When will it sport user customization and stuff like slashdot does now? <P> ! 0.6 has just been released and we're working on an overhaul of the ! authentication system which will have hooks for user accounts and all that ! great stuff! Look at the Roadmap for future development. <sect> Developer Documentation <sect1> Credits <sect1> CVS Commit Rules <sect1>Roadmap <P> --- 1170,1387 ---- layout code. ! <sect2>So, phpSlash is cool. When will it sport user customization and stuff like slashdot does now? <P> ! 0.6 has just been released and we're working on an overhaul of the ! authentication system which will have hooks for user accounts and all that ! great stuff! Look at the Roadmap for future development. + <sect1> Argh!!! I Don't Understand!! It's Broken! (Aka: The "WFT?" Section) + <sect2> Javascript and CSS in phpslash + <p> + The javascript I've put into the templates doesn't work. Why? + This is the template engine at work. There are two ways around this: + <sect3> Answer 1 + <p> + Yep I got this too trying to build a web editor for the templates, and it was + just deleting the {VARIABLES} after saving. + There are two different solutions to override this template bug : + 1) for editing purposes (text only, no html or javascript) : + replace "{" by "{" + replace "}" by "}" + 2) for displaying purposes : + isolate the { and the } on a different single line + instead of + <tscreen><verb> + function blah() { return 0; } + </verb></tscreen> + try this : + <tscreen><verb> + function blah() + { + return 0; + } + </verb></tscreen> + or this : + <tscreen><verb> + function blah() { + return 0; + } + </verb></tscreen> + + Just remember to avoid opening and closing + brackets on the same line..This works fine with css declaration so it + should work too with javascript. There is a version of phpslash saturated + with dhtml, css and javascript declarations here : + <url url="http://madchat.sourceforge.net" name="http://madchat.sourceforge.net"> + (you'll need IE5 or greater as it's not a compatible code). + <sect3> Answer 2 + <p> + Answer 2: + put all your jscript in seperate .js files and then put + #lt;script language="javascript" src="/path/to/myJavaScriptFile.js"> + </script> in the HTML template. It's functionally the same as adding the + jscript inline to your HTML document, but causes an additional HTTP + request per <script src=".."> </script> Note that this + will only let you add your function declerations, browser busting, + etc.. you'll still need to put function calls in the HTML tags as normal, + but they shouldn't present a problem.. it's the { } that are screwing up + your template engine. + + <sect2> What is extrans? + <p> + html tags are translated to html entities. i.e.: + '<' (less than) becomes '&lt;' + + <sect2> How come the parser doesn't insert <br> where <br> is needed when saving as html ? + <p> + Semantics. "html" does no formatting to the text. "plain text" + adds the break tags in place of line breaks. + + <sect2> Is there any way to make links in extended translation ? + <p> + Choose html and change the portion that should have ext translation. + + <sect2> How do I add a poll? It doesn't seem intuitive + <p> + Question: + I want to simply add a new poll. I am confused about what to enter in "data". + I looked at another poll and it has some ID information and some normal html. + Do I simply increment the ID? Where can I find more information on this? + Answer: + I wasn't too sure about what you meant by "data" but then I realized + that you were looking at the "block" section for the poll stuff. You + need to head on over to the "Polls" section, click "new", + then it willask you for the question and possible answers. If you select the + "current" box then the poll will show up on the main page. + See, the "poll" type in the block section just controls _how_ the + block is displayed on the main page. Like the title, caching, and it's + placement, the Poll Admin page does the main admin work like + adding/deleting polls. + + <sect2> Section Blocks do what? + <p> + Question: + Can someone explain how sections and blocks work? Say I want to make a section appear on the right side on the front page called "Book Reviews" that automatically does a query and shows the last 5 things with the topic "Book Review". How can I do that? + + Answer: + <tscreen><verb> + Type: query + Owned by Section: Home + Source URL: topic=Book%20Review&max=5 ( + Expire Length: 14400 ( just an example - cache results for 4 hours) + </verb></tscreen> + If you are using multiple block columns make sure you add a "column" + option with the "right" as the option + <sect> Developer Documentation <sect1> Credits + <p> + See the CREDITS file in the "docs" directory of your distro or see the + Developer page on the <url url="http://sourceforge.net/prohects/phpslash/" + name="phpslash Sourceforge project page"> <sect1> CVS Commit Rules + <p> + We're certinaly not as hard ass about the ruls as the PEAR folks are, + but please try to be kind, other people have to use / work / read your code too. + <tscreen><verb> + Some rules for phpSlash CVS committers: + + - All changes must be logged in the CHANGES file, at the top. + + - Keep your changes compatible. + + - Please try commit tested code that will work as expected. + + - Use meaningful log messages. They are collected and mailed + out to the mailing list, php...@li.... + + Coding Style: + ------------------------------------------ + Comments: + - Use C-Style /* */ and // comments only. # Should be phased out + - Use // for in code comments, but /* */ for headers and multi-line + comments (ie: turning off Debug features) + - Always include your initals or cvs username (if you have one) and + preferably your email address if it is not in the CREDITS file + - Please leave intelligent notes in comments. Refrain from: + /* I'm gonna do something cool, don't change this */ + A better way is: + /* nh: Don't touch, I'm working on making the fliberty thing flip as + * well as spin - Apr, 9, 2000 + */ + - Please leave comments for things that are not self evident + (esp. for Regular Expressions) + + Functions / Objects: + - Should be well commented as to their arguments, return value, what they do + and how they work. This should take place on the lines preceding the + function declaration. + - Should be as minimalistic as possible. If it can be bnroken into two + functions, please do so. + - Wrapper functions to provide multiple methods of output are highly + recommended. + - Functions should be named likeThis() and classes LikeThis. + + Variable Naming: + - Hungarian Notation is prefered for things that are gloablly + accessable. Private variables for objects and functions should be + named to something indicative of what they do. No cutesy crap that + we'll all forget in 6 months. + - Keep it short, but not incomprehensable. $tmp_cnt is better than + $temporaryVariableThatIsACounterForMeRightNow and better than $t + - Mixed case ($tmpCnt) or underscore ($tmp_cnt) usage only? + + Whitespace: + - USE IT!!!! + - Use a space between function parameters, and after a comma. + - Just becasue you can write a complex one-liner doesn't mean you have + to. Take the extra lines and use curly braces. + - Indent level of 3 + - No tabs anywhere, spaces only. + For Example: + someFunction() { + if ($someVar) { + doOtherFunction($foo, "bar"); + } else { + error("You *are* stupid! Don't do that"); + } + } + + Module / Class / Include file Format: + - Should start with a line(s) that tells a reader what it is, what + package it comes from, what it does, CVS $Id$ line + - Templates are an execption to that above rule. They should have an + HTML comment in them that points their ownership to a class + - Setup any needed variable first, then include() files, then declare + functions, then page processing, then page output. + + Docs: + - Always alert the doc maintainer when importing changes that break the + info covered in the docs. + + DB: + - Changes to the main db schema *require* a that an upgrade patch be + posted as well. Your change will be backed out if you don't provide a + patch as well. + - Queries should be presented in this format: + + $q = "SELECT story.title, + story.dept, + [...snip...] + FROM psl_story story, + [...snip...] + WHERE story.story_id = '$story_id' + AND authors.aid = story.user_id + [...snip...] + + It's a much easier read like this instead of having it compiled onto + one line. + + Debug: + - Leaving debug code in is ok for experimental features, please make + sure you submit your code with debug turned off / commented + out though. + </verb></tscreen> + <sect1>Roadmap <P> *************** *** 977,981 **** will available sooner.) ! <sect1>phpSlash 0.5x -> Burrito <P> <itemize> --- 1389,1393 ---- will available sooner.) ! <sect2>phpSlash 0.5x -> Burrito <P> <itemize> *************** *** 983,987 **** </itemize> ! <sect1>phpSlash 0.6 -> Fajita <P> <itemize> --- 1395,1399 ---- </itemize> ! <sect2>phpSlash 0.6 -> Fajita <P> <itemize> *************** *** 994,998 **** </itemize> ! <sect1>phpSlash 0.65 -> Steak Fajita <P> Expected release: 2 - 3 months after 0.6 --- 1406,1410 ---- </itemize> ! <sect2>phpSlash 0.65 -> Steak Fajita <P> Expected release: 2 - 3 months after 0.6 *************** *** 1004,1008 **** </itemize> ! <sect1>phpSlash 0.7 -> Chimichanga <P> [Expected Release: 3 -4 months after 0.65] --- 1416,1420 ---- </itemize> ! <sect2>phpSlash 0.7 -> Chimichanga <P> [Expected Release: 3 -4 months after 0.65] *************** *** 1013,1017 **** </itemize> ! <sect1>phpSlash 0.8 -> Gordita <P> [Expected Release: 3 - 4 months after 0.7] --- 1425,1429 ---- </itemize> ! <sect2>phpSlash 0.8 -> Gordita <P> [Expected Release: 3 - 4 months after 0.7] *************** *** 1028,1033 **** </itemize> ! <sect1>phpSlash 0.9 -> Salsa ! <P> [Expected Release: Depends on PeerPress Group] ( Note: PeerPress doesn't seem to be doing anything. this will be --- 1440,1445 ---- </itemize> ! <sect2>phpSlash 0.9 -> Salsa ! <p> [Expected Release: Depends on PeerPress Group] ( Note: PeerPress doesn't seem to be doing anything. this will be *************** *** 1045,1049 **** </itemize> ! <sect1>phpSlash 1.0 -> Margarita <P> [Expected Release: ASAP after 0.9] --- 1457,1461 ---- </itemize> ! <sect2>phpSlash 1.0 -> Margarita <P> [Expected Release: ASAP after 0.9] *************** *** 1053,1060 **** will be the next stable branch, evolved from 1.1.. So on and so forth. </itemize> ! <P> ! Unknowns so far ! (Allowable into pre-1.0 provided that it works well and doesn't require a major rewrite.) <itemize> <item>Moderation (Here we go again...) --- 1465,1472 ---- will be the next stable branch, evolved from 1.1.. So on and so forth. </itemize> ! <p> ! <sect2>Unknowns so far (Allowable into pre-1.0 provided that it works well and doesn't require a major rewrite.) + <p> <itemize> <item>Moderation (Here we go again...) *************** *** 1064,1068 **** </itemize> ! Post 1.0 Features: <itemize> <item>e-commerce integration? --- 1476,1481 ---- </itemize> ! <sect2>Post 1.0 Features ! <p> <itemize> <item>e-commerce integration? |
From: nathan h. <nh...@us...> - 2001-11-23 20:37:43
|
Update of /cvsroot/phpslash/phpslash-ft In directory usw-pr-cvs1:/tmp/cvs-serv24872 Modified Files: CHANGES Log Message: Doc work Index: CHANGES =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/CHANGES,v retrieving revision 1.326 retrieving revision 1.327 diff -C2 -d -r1.326 -r1.327 *** CHANGES 2001/11/23 18:59:24 1.326 --- CHANGES 2001/11/23 20:37:40 1.327 *************** *** 10,14 **** --- 10,21 ---- S - Database Schema R - RELEASE + W - General Work on something 9 - Removal of something (kill -9 :) + + 2001-Nov-23 3:28PM EST nathan hruby <na...@ds...> + [W] - Made docs better in hope of centralizing the docs into the SGML + Added a lot to doc/html/phpslash.sgml + [B] - There was an error in the Doc Makefile that casue it to die when + doing a "claen" 2001-Nov-23 1:51PM EST nathan hruby <na...@ds...> |
From: nathan h. <nh...@us...> - 2001-11-23 18:59:27
|
Update of /cvsroot/phpslash/phpslash-ft/contrib In directory usw-pr-cvs1:/tmp/cvs-serv4386/contrib Added Files: cronmail.php3 extchg.sh Log Message: added /contrib and some stuff for it. See CHNAGES --- NEW FILE: cronmail.php3 --- <?php // $Id: // TODO: Uses old style semantics. Does not use templates // WARNING: DO NOT PUT IN DOC ROOT!! CALL FROM CRON // Be sure to change this require("./config.php3"); /////////////////// send_mailing_list.php3 ///////////////////////// function format_mail($str, $char_len, $scrub) { if ($scrub) { $str = stripslashes($str); $str = strip_tags($str); $str = eregi_replace("\n"," ",$str); $str = eregi_replace("\t"," ",$str); $str = ereg_replace("\r\n"," ",$str); $str = eregi_replace("[[:space:]]+", " ", $str); //probably over done, maybe be better to str_replace here } // this strip slashes seems to be extra, but im not sure $str = stripslashes($str); while(strlen($str) != 0) { if (strlen($str) > $char_len) $len = strrpos(substr($str, 0, $char_len - 1), " "); else $len =0; // in case of no spaces if(!$len) { $len = $char_len - 1; } $str_out .= substr($str, 0, $len) . "\n"; $str = substr($str, $len, strlen($str)); } return $str_out; } function build_body($offset) { $slash_q = new slashDB; $bmonth = date("m"); $bday = date("d") - $offset; $byear = date("Y"); $emonth = date("m"); $eday = date("d"); $eyear = date("Y"); $begdate = date("Y-m-d H:i:s", mktime(0,0,0,$bmonth,$bday,$byear)); $enddate = date("Y-m-d H:i:s", mktime(0,0,0,$emonth,$eday + 1,$eyear)); $sql="SELECT sid, title, dept, aid, time, introtext FROM stories WHERE time >= '$begdate' AND time <= '$enddate' ORDER BY time desc"; $slash_q->query($sql); $site = "yourdamnsite.com"; while($slash_q->next_record()) { $headline = $slash_q->Record["title"] . "\n"; $headline .= " From the: \"" . $slash_q->Record["dept"] . "\" dept.\n"; $headline .= " Posted by: \"" . $slash_q->Record["aid"] . "\" on: " . $slash_q->Record["time"] . "\n"; $headline .= " Story: " . format_mail($slash_q->Record["introtext"],76,True) . "\n"; $headline .= " $site" . "article.php3?sid=" . $slash_q->Record["sid"] . "\n"; $headline .= "---------------------------------------------------------------------------------------------\n\n"; $headline = stripslashes($headline); $thisHead .= $headline; } return $thisHead; } $SLEEP = 1; // easier to use the external file, otherwise you gotta mod this file alot $NEWSLETTER_FILE_PATH = "./text/"; $header = "=================\n\n"; $footer = "+++++++++++++++++++++++++++\n"; if($file = fopen("./text/news_header.txt", "w+")) { //if opened header file if(!fputs($file, $header)) print("Header file could not be written to.<br>"); fclose($file); } //end if open header file else print("Header file could not be opened/created "); if($file = fopen("./text/news_footer.txt", "w+")) { //if opened footer file if(!fputs($file, $footer)) print("Footer file maybe empty."); fclose($file); } //end if opened file else print("Footer file could not be opened/created. "); if($header) { $header = format_mail($header, 700,False); } if($footer) { $footer = format_mail($footer, 76,False); } //-------------------------SEND MAIL $slash_q = new slashDB; if ($freqoverride){ //Mail testing Lines to Debug Put Here By Blake // $sql = "SELECT email, name FROM mailing_list"; //$sql = "SELECT 'ne...@li...', 'Mad Hatter'"; $body = build_body(0); } else { $sql .= "SELECT email, name, dayback, frequency "; $sql .= "FROM mailing_list, mailing_frequency "; $sql .= "WHERE mailing_list.id = mailing_frequency.id "; $sql .= "AND (mailing_frequency.frequency='" . date("l") . "' "; $sql .= "OR mailing_frequency.frequency = 'DAY' "; if (date("d") == 1) $sql .= "OR mailing_frequency.frequency = 'MONTH' "; $sql .= ") ORDER BY dayback, mailing_frequency.frequency"; } // $db_results = mysql_query($sql, $slash_q) or die(mysql_error()); $link = mysql_connect("location","Dbname","password"); $db_results = mysql("databse","SELECT email, name, dayback, frequency FROM mailing_list, mailing_frequency WHERE mailing_list.id = mailing_frequency.id AND (mailing_frequency.frequency = 'DAY' OR mailing_frequency.frequency = 'DAY') ORDER BY dayback, mailing_frequency.frequency;",$link); ignore_user_abort(); flush(); $tmpDay = ''; $sender = "who...@yo..."; while($row = mysql_fetch_row($db_results)) { set_time_limit(SLEEP + 30); if($freqoverride){ echo "TO: $row[0] Name: $row[1]"; } else{ if($row[2] != $tmpDay){ if (!$override) $body = build_body($row[2]); } /* if ($row[3] != "DAY"){ if ($row[3] != "MONTH"){ if ($row[2] != "7"){ $subject = "Headines for the past ". $row[2] . " days (" . date("m/d/Y") . ")";} else{ $subject = "Weekly Headlines (" . date("m/d/Y") . ")";} } else{ $subject = "Monthly Headlines (" . date("m/d/Y") . ")";} } */ // Debug Line Commented out--> //echo "\nTO: $row[0] Name: $row[1] DayBack: $row[2] Freq: $row[3]"; } $subject="Headlines For You"; if(mail($row[0], $subject, "Dear " . $row[1] . ",\n\n" . $header . "\n\n" . $body . "\n\n" . $footer, "From: " . $sender)) echo "\n" . $row[0] . "... sent"; else $errors[] = $row[0]; $tmpDay = $row[2]; if(SLEEP) { sleep(SLEEP); } } //-------------------------SEND MAIL // yes it's just a mail(), does not scale well, should use a CGI or something I guess $file = @fopen($NEWSLETTER_FILE_PATH . "send_log.txt", "w"); if($errors) { //if errors print("Some mail could not be sent:<p>\n"); for($i = 0; $i < count($errors); $i++) { //open for @fputs($file, $errors[$i] . " could not be sent.\n"); print($errors[$i] . " could not be sent.<br>\n"); } //close for } //end if errors else { //else errors print("\nList was sent out without errors.<br>"); @fputs($file, "List was sent out without errors.\n"); } //else errors fclose($file); ?> --- NEW FILE: extchg.sh --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <!-- Server: sf-web1 --> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <TITLE>SourceForge: Modify: 484890 - Script to change file extensions</TITLE> <SCRIPT language="JavaScript"> <!-- function help_window(helpurl) { HelpWin = window.open( 'https://sourceforge.net' + helpurl,'HelpWindow','scrollbars=yes,resizable=yes,toolbar=no,height=400,width=400'); } // --> </SCRIPT> <link rel="SHORTCUT ICON" href="/images/favicon.ico"> <style type="text/css"> <!-- OL,UL,P,BODY,TD,TR,TH,FORM { font-family: verdana,arial,helvetica,sans-serif; font-size:small; color: #333333; } H1 { font-size: x-large; font-family: verdana,arial,helvetica,sans-serif; } H2 { font-size: large; font-family: verdana,arial,helvetica,sans-serif; } H3 { font-size: medium; font-family: verdana,arial,helvetica,sans-serif; } H4 { font-size: small; font-family: verdana,arial,helvetica,sans-serif; } H5 { font-size: x-small; font-family: verdana,arial,helvetica,sans-serif; } H6 { font-size: xx-small; font-family: verdana,arial,helvetica,sans-serif; } PRE,TT { font-family: courier,sans-serif } SPAN.center { text-align: center } SPAN.boxspace { font-size: 2pt; } SPAN.osdn {font-size: x-small; font-family: verdana,arial,helvetica,sans-serif;} SPAN.search {font-size: x-small; font-family: verdana,arial,helvetica,sans-serif;} SPAN.slogan {font-size: large; font-weight: bold; font-family: verdana,arial,helvetica,sans-serif;} SPAN.footer {font-size: x-small; font-family: verdana,arial,helvetica,sans-serif;} A.maintitlebar { color: #FFFFFF } A.maintitlebar:visited { color: #FFFFFF } A.sortbutton { color: #FFFFFF; text-decoration: underline; } A.sortbutton:visited { color: #FFFFFF; text-decoration: underline; } .menus { color: #6666aa; text-decoration: none; } .menus:visited { color: #6666aa; text-decoration: none; } A:link { text-decoration:none } A:visited { text-decoration:none } A:active { text-decoration:none } A:hover { text-decoration:underline; color:#FF0000 } .tabs { color: #000000; } .tabs:visited { color: #000000; } .tabs:hover { color:#FF0000; } .tabselect { color: #000000; font-weight: bold; } .tabselect:visited { font-weight: bold;} .tabselect:hover { color:#FF0000; font-weight: bold; } .titlebar { text-decoration:none; color:#000000; font-family: Helvetica,verdana,arial,helvetica,sans-serif; font-size: small; font-weight: bold; } .develtitle { color:#000000; font-weight: bold; } .legallink { color:#000000; font-weight: bold; } .osdn-search { background-color:#fff; border:1px #666666 solid; font-size: 10px; color: #666666; //margin: 0px; font-family: arial,sans-serif; } input[type="text"].osdn-search { padding-top: 0.1em; padding-left: 0.2em; padding-right: 0.2em; } .osdn-button { margin-top: 1px; margin-bottom: 1px; } select.osdn-search { text-align: center; } .osdn-navtext {color: #666666; font-family: verdana, arial, sans-serif; font-size: 10px; text-decoration: none;} --> </style> </HEAD> <body text="#333333" link="#6666aa" alink="#aa6666" vlink="#6666aa" bgcolor="#6C7198" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0" marginwidth="0" marginheight="0"> <!-- OSDN navbar --> <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#ffffff"> <form action="http://www.osdn.com/osdnsearch.pl" method="POST"> <tr bgcolor="#999999"> <td colspan="5"><img src="/images/blank.gif" width="1" height="1" alt=""></td> </tr> <tr bgcolor="#eeeeee"> <td nowrap class="osdn-navtext"> <a href="http://www.osdn.com" class="osdn-navtext" title="click to visit OSDN.com!"><B>OSDN:</B> Open Source Development Network</a>: <a href="http://www.osdn.com/newsletters/">Newsletters</a> - <a href="http://jobs.osdn.com">Jobs</a> </td> <td align="right" valign="middle" width="100%" class="osdn-navtext"><B>SEARCH:</B> </td> <td align="right" valign="middle" nowrap class="osdn-navtext"> <select name="site" class="osdn-search"> <option value="all" SELECTED>All OSDN Sites</option> <option value="">-----------</option> <option value="Freshmeat">freshmeat</option> <option value="Jobs.OSDN.com">Jobs.OSDN.com</option> <option value="Kuro5hin">Kuro5hin</option> <option value="LinuxGram">LinuxGram</option> <option value="NewsForge">NewsForge</option> <option value="OSDN">OSDN.com</option> <option value="Slashcode">Slashcode</option> <option value="Slashdot">Slashdot</option> <option value="SourceForge">SourceForge.net</option> </select> <input type="text" name="query" size="12" class="osdn-search"> </td> <td nowrap width="40"><input type="image" border="0" name="Submit" value="GO" src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net/images/osdn_nav_go.gif" alt="Go" width="30" height="20" align="middle" class="osdn-button"></td> </tr> <tr bgcolor="#999999"> <td colspan="5"><img src="/images/blank.gif" width="1" height="1" alt=""></td> </tr> </form> </table> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td bgcolor="#d5d7d9" background="/images/steel3.jpg" WIDTH="70%" align="left"><a href="/"><IMG width=210 height=60 border=0 src="/images/sf_logo_metal2.jpg"></a></TD><TD bgcolor="#d5d7d9" background="/images/steel3.jpg" WIDTH="30%"> <IFRAME SRC="https://sfads.osdn.com/1.html" width="468" height="60" frameborder="no" border="0" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="no"><A HREF="https://sfads.osdn.com/cgi-bin/ad_default.pl?click"><IMG SRC="https://sfads.osdn.com/cgi-bin/ad_default.pl?display" border=0 height="60" width="468"></A> </IFRAME> </td><td bgcolor="#d5d7d9" background="/images/steel3.jpg" width=20><img src="/images/blank.gif" width="20" height="1" alt=""></td> </tr> </table> <!-- End OSDN NavBar --><img src="/images/blank.gif" width="100" height="5" alt=""><br> <!-- start page body --> <div align="center"> <table cellpadding="0" cellspacing="0" border="0" width="99%"> <tr> <td background="//a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/tbar1.png" width="1%" height="17"><IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/tleft1.png" border=0 width=17 height=17></td> <td background="//a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/tbar1.png" align="center" colspan="3" width="99%"><IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/tbar1.png" border=0 width=1 height=17></td> <td><IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/tright1.png" border=0 width=17 height=17></td> </tr> <tr> <td width="17" background="//a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/leftbar1.png" align="left" valign="bottom"><IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/leftbar1.png" border=0 width=17 height=25></td> <td colspan="3" bgcolor="#ffffff"> <!-- start main body cell --> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tr> <td width="141" background="//a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/steel3.jpg" bgcolor="#cfd1d4" align="left" valign="top"> <!-- VA Linux Stats Counter --> <IMG src="https://www2.valinux.com/clear.gif?id=105" width=140 height=1 alt="Counter"><BR> <P> <!-- menus --> <table cellpadding="0" cellspacing="0" border="0" width="140"> <tr> <td align="left" valign="middle"><b>Logged In: nhruby</b><br></td> </tr> <tr> <td align="right" valign="middle"> <A class="menus" href="/account/logout.php">Logout</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> <A class="menus" href="/register/">Register New Project</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> <A class="menus" href="/account/">Account Maintenance</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br><P> <A class="menus" href="/themes/">Change My Theme</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> <A class="menus" href="/my/">My Personal Page</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br><P> <A class="menus" href="/my/bookmark_add.php?bookmark_url=%2Ftracker%2Findex.php%3Ffunc%3Ddetail%26aid%3D484890%26group_id%3D10566%26atid%3D310566&bookmark_title=Modify%3A+484890+-+Script+to+change+file+extensions">Bookmark this page</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> <BR> </td> </tr> </table> <table cellpadding="0" cellspacing="0" border="0" width="140"> <tr> <td align="left" valign="middle"><b>Search</b><br></td> </tr> <tr> <td align="right" valign="middle"> <CENTER> <FONT SIZE="1"> <FORM action="/search/" method="POST" target="_blank"> <SELECT name="type_of_search"> <OPTION value="artifact">Patches</OPTION> <OPTION value="soft">Software/Group</OPTION> <OPTION value="people">People</OPTION> <OPTION value="freshmeat">Freshmeat.net</OPTION> </SELECT><BR> <INPUT TYPE="CHECKBOX" NAME="exact" VALUE="1" CHECKED> Require All Words<BR> <INPUT TYPE="HIDDEN" VALUE="10566" NAME="group_id"> <INPUT TYPE="HIDDEN" VALUE="310566" NAME="atid"> <INPUT TYPE="text" SIZE="12" NAME="words" VALUE=""><BR><INPUT TYPE="submit" NAME="Search" VALUE="Search"></FORM></FONT> <BR> </td> </tr> </table> <table cellpadding="0" cellspacing="0" border="0" width="140"> <tr> <td align="left" valign="middle"><b>Project: phpSlash</b><br></td> </tr> <tr> <td align="right" valign="middle"> <A class="menus" href="/projects/phpslash/">Project Summary</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br><P> <A class="menus" href="/project/admin/?group_id=10566">Project Admin</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> <BR> </td> </tr> </table> <table cellpadding="0" cellspacing="0" border="0" width="140"> <tr> <td align="left" valign="middle"><b>Software</b><br></td> </tr> <tr> <td align="right" valign="middle"> <A class="menus" href="/softwaremap/">Software Map</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> <A class="menus" href="/new/">New Releases</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> <A class="menus" href="/docman/display_doc.php?docid=6041&group_id=1">Other Site Mirrors</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> <A class="menus" href="/snippet/">Code Snippet Library</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> <BR> </td> </tr> </table> <table cellpadding="0" cellspacing="0" border="0" width="140"> <tr> <td align="left" valign="middle"><b>SourceForge.net</b><br></td> </tr> <tr> <td align="right" valign="middle"> <A class="menus" href="/docman/?group_id=1"><b>Site Docs</b></A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> <A class="menus" href="/docman/display_doc.php?docid=7438&group_id=1">Work for Sourceforge!</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> <A class="menus" href="/forum/?group_id=1">Discussion Forums</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> <A class="menus" href="/people/">Project Help Wanted</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> <A class="menus" href="/top/">Top Projects</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> <A class="menus" href="/docman/display_doc.php?docid=2352&group_id=1">Site Status</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> <A class="menus" href="/docman/display_doc.php?docid=7632&group_id=1">Contact Support</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br><P> <A class="menus" href="http://jobs.osdn.com">jobs.osdn.com</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br><P> <A class="menus" href="/docman/display_doc.php?docid=762&group_id=1">Compile Farm</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br><P> <A class="menus" href="/docman/display_doc.php?docid=7632&group_id=1">Contact SourceForge.net</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> <A class="menus" href="/docman/display_doc.php?docid=6025&group_id=1">About SourceForge.net</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> <BR> </td> </tr> </table> <table cellpadding="0" cellspacing="0" border="0" width="140"> <tr> <td align="left" valign="middle"><b>SourceForge.net Foundries</b><br></td> </tr> <tr> <td align="right" valign="middle"> <A class="menus" href="/docman/display_doc.php?docid=6029&group_id=1">About Foundries</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br><P> <A class="menus" href="http://foundries.sourceforge.net/clusters/">Clustering</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> <A class="menus" href="http://foundries.sourceforge.net/distributed/">Distributed Computing</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> <A class="menus" href="http://foundries.sourceforge.net/large/">Linux on Large Systems</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> <A class="menus" href="/foundry/linuxkernel/">Linux Kernel</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> <A class="menus" href="/foundry/linuxdrivers/">Linux Drivers</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> <A class="menus" href="/foundry/3d/">3D</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> <A class="menus" href="/foundry/games/">Games</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> <A class="menus" href="/foundry/java/">Java</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> <A class="menus" href="/foundry/printing/">Printing</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> <A class="menus" href="/foundry/storage/">Storage</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> <BR> </td> </tr> </table> <P> </TD> <td width="20" background="//a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/fade1.png" nowrap> </td> <td valign="top" bgcolor="#FFFFFF" width="99%"> <BR> <b>Project: phpSlash</b> <h2>Trackers</h2> </H2> <P> <HR SIZE="1" NoShade> <A class=tabs href="/projects/phpslash/">Summary</A> | <A class=tabs href="/project/admin/?group_id=10566">Admin</A> | <A class=tabs href="http://phpslash.sourceforge.net">Home Page</A> | <A class=tabselect href="/tracker/?group_id=10566">Tracker</A> | <A class=tabs href="/tracker/?group_id=10566&atid=110566">Bugs</A> | <A class=tabs href="/tracker/?group_id=10566&atid=310566">Patches</A> | <A class=tabs href="/mail/?group_id=10566">Lists</A> | <A class=tabs href="/docman/?group_id=10566">Docs</A> | <A class=tabs href="/news/?group_id=10566">News</A> | <A class=tabs href="/cvs/?group_id=10566">CVS</A> | <A class=tabs href="/project/showfiles.php?group_id=10566">Files</A> | <HR SIZE="1" NoShade><BR><B><A HREF="/tracker/?func=add&group_id=10566&atid=310566">Submit New</A> | <A HREF="/tracker/?func=browse&group_id=10566&atid=310566">Browse</A> | <A HREF="/tracker/reporting/?group_id=10566&atid=310566">Reporting</A> | <A HREF="/tracker/admin/?group_id=10566">Admin</A></B><P> <H2>[ #484890 ] Script to change file extensions</H2> <TABLE WIDTH="100%"> <FORM ACTION="/tracker/index.php?group_id=10566&atid=310566" METHOD="POST"> <INPUT TYPE="HIDDEN" NAME="func" VALUE="monitor"> <INPUT TYPE="HIDDEN" NAME="artifact_id" VALUE="484890"> <TR> <TD COLSPAN=2"> <INPUT TYPE="SUBMIT" NAME="SUBMIT" VALUE="Monitor"> <A href="javascript:help_window('/help/tracker.php?helpname=monitor')"><B>(?)</B></A> </FORM> </TD> </TR> <FORM ACTION="/tracker/index.php?group_id=10566&atid=310566" METHOD="POST" enctype="multipart/form-data"> <INPUT TYPE="HIDDEN" NAME="func" VALUE="postmod"> <INPUT TYPE="HIDDEN" NAME="artifact_id" VALUE="484890"> <TR> <TD><B>Submitted By:</B><BR>Joe Stewart (<tt>joestewart</tt>)</TD> <TD><B>Date Submitted:</B><BR> 2001-11-23 10:46 </TD> </TR> <TR> <TD><B>Data Type: <A href="javascript:help_window('/help/tracker.php?helpname=data_type')"><B>(?)</B></A></B><BR> <SELECT NAME="new_artfact_type_id"> <OPTION VALUE="110566">Bugs</OPTION> <OPTION VALUE="360566">Feature Requests</OPTION> <OPTION VALUE="310566" SELECTED>Patches</OPTION> <OPTION VALUE="210566">Support Requests</OPTION> </SELECT> </TD> <TD> <INPUT TYPE="SUBMIT" NAME="SUBMIT" VALUE="Submit Changes"> </TD> </TR> <TR> <TD><B>Category: <A href="javascript:help_window('/help/tracker.php?helpname=category')"><b>(?)</b></a></B><BR> <SELECT NAME="category_id"> <OPTION VALUE="100">None</OPTION> </SELECT> <A HREF="/tracker/admin/?group_id=10566&atid=310566&add_cat=1">(admin)</A> </TD> <TD><B>Group: <A href="javascript:help_window('/help/tracker.php?helpname=group')"><b>(?)</b></a></B><BR> <SELECT NAME="artifact_group_id"> <OPTION VALUE="100">None</OPTION> </SELECT> <A HREF="/tracker/admin/?group_id=10566&atid=310566&add_group=1">(admin)</A> </TD> </TR> <TR> <TD><B>Assigned To: <A href="javascript:help_window('/help/tracker.php?helpname=assignee')"><b>(?)</b></a></B><BR> <SELECT NAME="assigned_to"> <OPTION VALUE="100">None</OPTION> <OPTION VALUE="70334">ajayrockrock</OPTION> <OPTION VALUE="71233">cmalamas</OPTION> <OPTION VALUE="77269">joestewart</OPTION> <OPTION VALUE="19736">nhruby</OPTION> <OPTION VALUE="72345">trollboy</OPTION> </SELECT> <A HREF="/tracker/admin/?group_id=10566&atid=310566&update_users=1">(admin)</A> </TD><TD> <B>Priority: <A href="javascript:help_window('/help/tracker.php?helpname=priority')"><b>(?)</b></a></B><BR> <SELECT NAME="priority"> <OPTION VALUE="1">1 - Lowest</OPTION> <OPTION VALUE="2">2</OPTION> <OPTION VALUE="3">3</OPTION> <OPTION VALUE="4">4</OPTION> <OPTION VALUE="5" SELECTED>5 - Medium</OPTION> <OPTION VALUE="6">6</OPTION> <OPTION VALUE="7">7</OPTION> <OPTION VALUE="8">8</OPTION> <OPTION VALUE="9">9 - Highest</OPTION> </SELECT> </TD> </TR> <TR> <TD> <B>Status: <A href="javascript:help_window('/help/tracker.php?helpname=status')"><b>(?)</b></a></B><BR> <SELECT NAME="status_id"> <OPTION VALUE="1" SELECTED>Open</OPTION> <OPTION VALUE="2">Closed</OPTION> <OPTION VALUE="3">Deleted</OPTION> <OPTION VALUE="4">Pending</OPTION> </SELECT> </TD> <TD> <B>Resolution: <A href="javascript:help_window('/help/tracker.php?helpname=resolution')"><b>(?)</b></a></B><BR> <SELECT NAME="resolution_id"> <OPTION VALUE="102">Accepted</OPTION> <OPTION VALUE="101">Duplicate</OPTION> <OPTION VALUE="1">Fixed</OPTION> <OPTION VALUE="2">Invalid</OPTION> <OPTION VALUE="4">Later</OPTION> <OPTION VALUE="100" SELECTED>None</OPTION> <OPTION VALUE="103">Out of Date</OPTION> <OPTION VALUE="104">Postponed</OPTION> <OPTION VALUE="105">Rejected</OPTION> <OPTION VALUE="5">Remind</OPTION> <OPTION VALUE="3">Wont Fix</OPTION> <OPTION VALUE="6">Works For Me</OPTION> </SELECT> </TD> </TR> <TR> <TD COLSPAN="2"><B>Summary: <A href="javascript:help_window('/help/tracker.php?helpname=summary')"><b>(?)</b></a></B><BR> <INPUT TYPE="TEXT" NAME="summary" SIZE="45" VALUE="Script to change file extensions" MAXLENGTH="60"> </TD> </TR> <TR><TD COLSPAN="2"> Script from phpMyAdmin to change file extenstions and <br> alll references to them. <br> <br> Useful for changing from .php3 to .php <br> <br> http://cvs.sourceforge.net/cgi- <br> bin/viewcvs.cgi/phpmyadmin/phpMyAdmin/scripts/extchg.sh <br> <br> extchg.sh <br> <br> </TD></TR> <TR><TD COLSPAN="2"> <B>Use Canned Response: <A href="javascript:help_window('/help/tracker.php?helpname=canned_response')"><b>(?)</b></a></B><BR> <SELECT NAME="canned_response"> <OPTION VALUE="100">None</OPTION> </SELECT> <A HREF="/tracker/admin/?group_id=10566&atid=310566&add_canned=1">(admin)</A> <P> <B>OR Attach A Comment: <A href="javascript:help_window('/help/tracker.php?helpname=comment')"><b>(?)</b></a></B><BR> <TEXTAREA NAME="details" ROWS="7" COLS="60" WRAP="HARD"></TEXTAREA> <P> <H3>Followups:</H3> <P> <H3>No Followups Have Been Posted</H3> </TD></TR> <TR><TD COLSPAN=2> <B>Check to Upload & Attach File:</B> <input type="checkbox" name="add_file" VALUE="1"> <A href="javascript:help_window('/help/tracker.php?helpname=attach_file')"><b>(?)</b></a><BR> <P> <input type="file" name="input_file" size="30"> <P> <B>File Description:</B><BR> <input type="text" name="file_description" size="40" maxlength="255"> <P> <H4>Existing Files:</H4> <TABLE WIDTH="100%" BORDER="0" CELLSPACING="1" CELLPADDING="2"> <TR BGCOLOR="#D1D5D7"> <TD ALIGN="MIDDLE"><FONT COLOR="#333333"><B>Delete</B></FONT></TD> <TD ALIGN="MIDDLE"><FONT COLOR="#333333"><B>Name</B></FONT></TD> <TD ALIGN="MIDDLE"><FONT COLOR="#333333"><B>Description</B></FONT></TD> <TD ALIGN="MIDDLE"><FONT COLOR="#333333"><B>Download</B></FONT></TD></TR><TR><TD><INPUT TYPE="CHECKBOX" NAME="delete_file[]" VALUE="13716"> Delete</TD><TD>extchg.sh</TD> <TD>extchg.sh - extension change shell script</TD> <TD><A HREF="/tracker/download.php?group_id=10566&atid=310566&file_id=13716&aid=484890">Download</A></TD></TR> </TABLE> </TD><TR> <TR><TD COLSPAN="2"> <H4>Change Log:</H4> <TABLE WIDTH="100%" BORDER="0" CELLSPACING="1" CELLPADDING="2"> <TR BGCOLOR="#D1D5D7"> <TD ALIGN="MIDDLE"><FONT COLOR="#333333"><B>Field</B></FONT></TD> <TD ALIGN="MIDDLE"><FONT COLOR="#333333"><B>Old Value</B></FONT></TD> <TD ALIGN="MIDDLE"><FONT COLOR="#333333"><B>Date</B></FONT></TD> <TD ALIGN="MIDDLE"><FONT COLOR="#333333"><B>By</B></FONT></TD></TR> <TR BGCOLOR="#FFFFFF"><TD>File Added</TD><TD>13716: extchg.sh</TD><TD>2001-11-23 10:46</TD><TD>joestewart</TD></TR> </TABLE> </TD></TR> <TR><TD COLSPAN="2" ALIGN="MIDDLE"> <INPUT TYPE="SUBMIT" NAME="SUBMIT" VALUE="Submit Changes"> </FORM> </TD></TR> </TABLE> <!-- end content --> <p> </p> </td> <td width="9" bgcolor="#FFFFFF"> </td> </tr> </table> </td> <td width="17" background="//a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/rightbar1.png" align="right" valign="bottom"><IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/rightbar1.png" border=0 width=17 height=17></td> </tr> <tr> <td background="//a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/bbar1.png" height="17"><IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/bleft1.png" border=0 width=17 height=17></td> <td background="//a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/bbar1.png" align="center" colspan="3"><IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/bbar1.png" border=0 width=1 height=17></td> <td background="//a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/bbar1.png" bgcolor="#7c8188"><IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/bright1.png" border=0 width=17 height=17></td> </tr> </table> </div> <!-- themed page footer --> <P><A HREF="/source.php?page_url=/tracker/index.php"><B><FONT COLOR="WHITE">Show Source</FONT></B></A><P><P class="footer"> <font face="arial, helvetica" size="1" color="#cccccc"> VA Linux Systems and SourceForge are trademarks of VA Linux Systems, Inc. Linux is a registered trademark of Linus Torvalds. All other trademarks and copyrights on this page are property of their respective owners. For information about other site Content ownership and sitewide terms of service, please see the <a href="/docman/display_doc.php?docid=6048&group_id=1" class="legallink">SourceForge.net Terms of Service</a>. For privacy policy information, please see the <a href="/docman/display_doc.php?docid=6049&group_id=1 " class="legallink" >SourceForge.net Privacy Policy</a>. Content owned by VA Linux Systems is copyright 1999, 2000, 2001 VA Linux Systems, Inc. All rights reserved. </font> <BR> </body> </html> |
From: nathan h. <nh...@us...> - 2001-11-23 18:59:27
|
Update of /cvsroot/phpslash/phpslash-ft In directory usw-pr-cvs1:/tmp/cvs-serv4386 Modified Files: CHANGES README Log Message: added /contrib and some stuff for it. See CHNAGES Index: CHANGES =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/CHANGES,v retrieving revision 1.325 retrieving revision 1.326 diff -C2 -d -r1.325 -r1.326 *** CHANGES 2001/11/23 18:00:44 1.325 --- CHANGES 2001/11/23 18:59:24 1.326 *************** *** 12,15 **** --- 12,21 ---- 9 - Removal of something (kill -9 :) + 2001-Nov-23 1:51PM EST nathan hruby <na...@ds...> + [F] - Added patch -> [ #407326 ] This FILE a cronjob for the mail list + Added the cronmail.php3 script to a new directory /contrib + [F] - Added patch -> [ #484890 ] Script to change file extensions + It's in contrib/ + 2001-Nov-23 12:52PM EST nathan hruby <na...@ds...> [B] - Fixed Bug -> [ #470426 ] Glossary query error Index: README =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/README,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** README 2000/10/25 20:31:55 1.4 --- README 2001/11/23 18:59:24 1.5 *************** *** 13,21 **** the FAQ, Install Guide, some history about slash and phpSlash and other goodies. ! Please look at the docs *before* getting started. class ----------> The phpslash class library. ! (Currently empty, will be used soon. Classes are ! currently in public_html) public_html ----> The working phpslash code. This should be what you --- 13,24 ---- the FAQ, Install Guide, some history about slash and phpSlash and other goodies. ! ! Please look at the docs in docs/html *before* getting ! started. class ----------> The phpslash class library. ! ! contrib --------> Place for contributed patches and other bits that are ! useful but not needed for a normail install. public_html ----> The working phpslash code. This should be what you *************** *** 49,52 **** website and CVS ! Website --------> http://www.phpslash.org/ Info, demo, downloads, logos, fun --- 52,55 ---- website and CVS ! Website --------> http://phpslash.sourceforge.net/ Info, demo, downloads, logos, fun |
From: nathan h. <nh...@us...> - 2001-11-23 18:45:05
|
Update of /cvsroot/phpslash/phpslash-ft/contrib In directory usw-pr-cvs1:/tmp/cvs-serv1616/contrib Log Message: Directory /cvsroot/phpslash/phpslash-ft/contrib added to the repository |
From: nathan h. <nh...@us...> - 2001-11-23 18:00:46
|
Update of /cvsroot/phpslash/phpslash-ft/class In directory usw-pr-cvs1:/tmp/cvs-serv23598/class Modified Files: Glossary.class Log Message: Fix [ #470426 ] Glossary query error Index: Glossary.class =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/class/Glossary.class,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Glossary.class 2001/08/15 00:52:06 1.4 --- Glossary.class 2001/11/23 18:00:44 1.5 *************** *** 168,171 **** --- 168,173 ---- )); + clean($search); + if ($search == "") { $q = "SELECT * |
From: nathan h. <nh...@us...> - 2001-11-23 18:00:46
|
Update of /cvsroot/phpslash/phpslash-ft In directory usw-pr-cvs1:/tmp/cvs-serv23598 Modified Files: CHANGES Log Message: Fix [ #470426 ] Glossary query error Index: CHANGES =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/CHANGES,v retrieving revision 1.324 retrieving revision 1.325 diff -C2 -d -r1.324 -r1.325 *** CHANGES 2001/11/23 17:54:14 1.324 --- CHANGES 2001/11/23 18:00:44 1.325 *************** *** 12,15 **** --- 12,19 ---- 9 - Removal of something (kill -9 :) + 2001-Nov-23 12:52PM EST nathan hruby <na...@ds...> + [B] - Fixed Bug -> [ #470426 ] Glossary query error + Added a clean() call to the search terms + 2001-Nov-23 12:46PM EST nathan hruby <na...@ds...> [B] - Fixed Bug -> #482172 ] auto-related links undocumented |
From: nathan h. <nh...@us...> - 2001-11-23 17:54:17
|
Update of /cvsroot/phpslash/phpslash-ft In directory usw-pr-cvs1:/tmp/cvs-serv21945 Modified Files: CHANGES Log Message: fixed #482172 ] auto-related links undocumented Index: CHANGES =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/CHANGES,v retrieving revision 1.323 retrieving revision 1.324 diff -C2 -d -r1.323 -r1.324 *** CHANGES 2001/11/23 17:43:55 1.323 --- CHANGES 2001/11/23 17:54:14 1.324 *************** *** 12,15 **** --- 12,19 ---- 9 - Removal of something (kill -9 :) + 2001-Nov-23 12:46PM EST nathan hruby <na...@ds...> + [B] - Fixed Bug -> #482172 ] auto-related links undocumented + Added a section to the SGML docs under Admin->blocks + 2001-Nov-23 12:31PM EST nathan hruby <na...@ds...> [B] - Fixed bug -> [ #405903 ] Mailing List Descriptions |
From: nathan h. <nh...@us...> - 2001-11-23 17:54:17
|
Update of /cvsroot/phpslash/phpslash-ft/doc/html In directory usw-pr-cvs1:/tmp/cvs-serv21945/doc/html Modified Files: phpslash.sgml Log Message: fixed #482172 ] auto-related links undocumented Index: phpslash.sgml =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/doc/html/phpslash.sgml,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** phpslash.sgml 2001/06/14 17:55:26 1.6 --- phpslash.sgml 2001/11/23 17:54:14 1.7 *************** *** 16,20 **** <author> <url url="http://www.phpslash.org/" name="The phpSlash Group"> ! <date>v0.2, June 12, 2001 <abstract> --- 16,20 ---- <author> <url url="http://www.phpslash.org/" name="The phpSlash Group"> ! <date>v0.3, November 23, 2001 <abstract> *************** *** 560,564 **** the submissions. ! <sect1>Blocks <sect2> Block Options <p> --- 560,564 ---- the submissions. ! <sect1> Blocks <sect2> Block Options <p> *************** *** 588,591 **** --- 588,600 ---- into the block for parsing. </descrip> + + <sect2>The Related Links Block + <p> + The "Related Links" block is a special block added to every article when + listed with the article.php3 page. It automatically generates links to + the "Email This Page to a Friend" and "Printer Friendly" pages. This + block also parses the story text for all of the links that are present in + the text and then adds them to that block. There is nothing special that + you have to do to get this functionality, it's automagic. <!-- |
From: nathan h. <nh...@us...> - 2001-11-23 17:43:58
|
Update of /cvsroot/phpslash/phpslash-ft In directory usw-pr-cvs1:/tmp/cvs-serv19072 Modified Files: CHANGES Log Message: Fix: [ #405903 ] Mailing List Descriptions Index: CHANGES =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/CHANGES,v retrieving revision 1.322 retrieving revision 1.323 diff -C2 -d -r1.322 -r1.323 *** CHANGES 2001/11/23 16:29:23 1.322 --- CHANGES 2001/11/23 17:43:55 1.323 *************** *** 12,15 **** --- 12,19 ---- 9 - Removal of something (kill -9 :) + 2001-Nov-23 12:31PM EST nathan hruby <na...@ds...> + [B] - Fixed bug -> [ #405903 ] Mailing List Descriptions + Added some extra text so things aren't as mysterious + 2001-Nov-23 11:17AM EST nathan hruby <na...@ds...> [9] - Removed *.html from doc/html |
From: nathan h. <nh...@us...> - 2001-11-23 17:43:58
|
Update of /cvsroot/phpslash/phpslash-ft/public_html/templates/en/default In directory usw-pr-cvs1:/tmp/cvs-serv19072/public_html/templates/en/default Modified Files: mailinglistMessageForm.tpl Log Message: Fix: [ #405903 ] Mailing List Descriptions Index: mailinglistMessageForm.tpl =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/public_html/templates/en/default/mailinglistMessageForm.tpl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** mailinglistMessageForm.tpl 2000/12/03 21:32:35 1.2 --- mailinglistMessageForm.tpl 2001/11/23 17:43:55 1.3 *************** *** 49,53 **** <tr align="center"> <td colspan = "2"> ! Check here to override frequency <input type ="checkbox" name ="freqoverride" value ="true"> </td> --- 49,53 ---- <tr align="center"> <td colspan = "2"> ! Check here to override frequency (will send to all list recpients regardless of what day they requested to have headlines sent to them) <input type ="checkbox" name ="freqoverride" value ="true"> </td> *************** *** 55,59 **** <tr align="center"> <td colspan = "2"> ! Check here to override dates <input type ="checkbox" name ="dateoverride" value ="true" checked> </td> --- 55,59 ---- <tr align="center"> <td colspan = "2"> ! Check here to override the rage of dates sent in the news letter <input type ="checkbox" name ="dateoverride" value ="true" checked> </td> |
From: nathan h. <nh...@us...> - 2001-11-23 16:29:25
|
Update of /cvsroot/phpslash/phpslash-ft/doc/html In directory usw-pr-cvs1:/tmp/cvs-serv1973/doc/html Added Files: Makefile Removed Files: phpslash-1.html phpslash-2.html phpslash-3.html phpslash-4.html phpslash-5.html phpslash-6.html phpslash-7.html phpslash-8.html phpslash.html Log Message: Adding Makefile for doc autogeneration --- NEW FILE: Makefile --- # # $Id: Makefile,v 1.1 2001/11/23 16:29:23 nhruby Exp $ # phpSlash Documentation Makefile # nathan hruby <nh...@ds...> # It's wise to note that the rules in this Makefile will *allways* # evaluate to TURE, and therefore be "made" becasue the targets of the # rules do not exsist in the filesystem. Thus entering "make" for # anything will result in it being remade fromt he SGML source # Location/name of master file master = phpslash.sgml # Make all the docs all : clean check longhtml html txt check : $(master) @echo "----------- Checking SGML Source" sgmlcheck $(master) # Make one big html file of stuff longhtml : $(master) @echo "----------- Making single page HTML doc from SGML in single/" cp $(master) single/ cd single ; sgml2html -s 0 $(master) ; cd ../ rm single/$(master) # Make seperate html files html : $(master) @echo "----------- Making multi page HTML doc from SGML" sgml2html -s 1 $(master) # Make a text version too txt : $(master) @echo "----------- Making single page text docs from SGML" sgml2txt $(master) clean : @echo "----------- Removing all generated docs" rm -f *.html *.txt single/* --- phpslash-1.html DELETED --- --- phpslash-2.html DELETED --- --- phpslash-3.html DELETED --- --- phpslash-4.html DELETED --- --- phpslash-5.html DELETED --- --- phpslash-6.html DELETED --- --- phpslash-7.html DELETED --- --- phpslash-8.html DELETED --- --- phpslash.html DELETED --- |
From: nathan h. <nh...@us...> - 2001-11-23 16:29:25
|
Update of /cvsroot/phpslash/phpslash-ft In directory usw-pr-cvs1:/tmp/cvs-serv1973 Modified Files: CHANGES Makefile Log Message: Adding Makefile for doc autogeneration Index: CHANGES =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/CHANGES,v retrieving revision 1.321 retrieving revision 1.322 diff -C2 -d -r1.321 -r1.322 *** CHANGES 2001/11/23 15:08:05 1.321 --- CHANGES 2001/11/23 16:29:23 1.322 *************** *** 11,17 **** R - RELEASE 9 - Removal of something (kill -9 :) ! 2001-Nov-23 9:58AM EST nathan hruby <na...@ds...> ! 9 - Removed logging_mod. It's dead, doesn't work, no one feels like maintaining it. Can be resurrected if someone =feels like caring for it. --- 11,24 ---- R - RELEASE 9 - Removal of something (kill -9 :) ! ! 2001-Nov-23 11:17AM EST nathan hruby <na...@ds...> ! [9] - Removed *.html from doc/html ! [F] - Added a doc/html/single and a doc/html/Makefile which will ! automagically check and build html and text versions of the ! docs in /doc/html/phpslash.sgml. This has been turned on in the ! master makefile as well. (make is some pretty nifty stuff) ! 2001-Nov-23 9:58AM EST nathan hruby <na...@ds...> ! [9] - Removed logging_mod. It's dead, doesn't work, no one feels like maintaining it. Can be resurrected if someone =feels like caring for it. Index: Makefile =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/Makefile,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Makefile 2000/04/08 17:23:09 1.2 --- Makefile 2001/11/23 16:29:23 1.3 *************** *** 38,47 **** rm .filelist find ${DISTDIR} -name CVS -type d | xargs rm -rf ! # ${MAKE} -C ${DISTDIR}/doc doc tar cvf ${BSF}.tar ${DISTDIR} > /dev/null gzip -c9 ${BSF}.tar > ${BSF}.tar.gz ! # bzip2 -c9 ${BSF}.tar > ${BSF}.tar.bz2 ! # zip -r9 ${BSF}.zip ${DISTDIR} &> /dev/null ! # shar -z ${DISTDIR} > ${BSF}.shar 2>/dev/null rm ${BSF}.tar rm -rf ${DISTDIR} --- 38,49 ---- rm .filelist find ${DISTDIR} -name CVS -type d | xargs rm -rf ! ${MAKE} -C ${DISTDIR}/doc/html all tar cvf ${BSF}.tar ${DISTDIR} > /dev/null gzip -c9 ${BSF}.tar > ${BSF}.tar.gz ! @# We don't build these for phpslash ! @#bzip2 -c9 ${BSF}.tar > ${BSF}.tar.bz2 ! @#zip -r9 ${BSF}.zip ${DISTDIR} &> /dev/null ! @#shar -z ${DISTDIR} > ${BSF}.shar 2>/dev/null ! rm ${BSF}.tar rm -rf ${DISTDIR} |
From: nathan h. <nh...@us...> - 2001-11-23 16:23:38
|
Update of /cvsroot/phpslash/phpslash-ft/doc/html/single In directory usw-pr-cvs1:/tmp/cvs-serv744/single Log Message: Directory /cvsroot/phpslash/phpslash-ft/doc/html/single added to the repository |
From: nathan h. <nh...@us...> - 2001-11-23 15:08:07
|
Update of /cvsroot/phpslash/phpslash-ft In directory usw-pr-cvs1:/tmp/cvs-serv16580 Modified Files: CHANGES Log Message: Removed logging_mod Index: CHANGES =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/CHANGES,v retrieving revision 1.320 retrieving revision 1.321 diff -C2 -d -r1.320 -r1.321 *** CHANGES 2001/11/20 14:49:23 1.320 --- CHANGES 2001/11/23 15:08:05 1.321 *************** *** 10,13 **** --- 10,19 ---- S - Database Schema R - RELEASE + 9 - Removal of something (kill -9 :) + + 2001-Nov-23 9:58AM EST nathan hruby <na...@ds...> + 9 - Removed logging_mod. It's dead, doesn't work, no one feels like + maintaining it. Can be resurrected if someone =feels like caring for + it. 2001-Nov-20 8:40AM CST Joe Stewart <jo...@be...> |
From: Joe S. <joe...@us...> - 2001-11-20 14:50:00
|
Update of /cvsroot/phpslash/phpslash-ft/tables/0.65 In directory usw-pr-cvs1:/tmp/cvs-serv7767 Modified Files: 6_to_65.sql Log Message: upgrade bugfix - seclev -> perms Index: 6_to_65.sql =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/tables/0.65/6_to_65.sql,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** 6_to_65.sql 2001/09/24 16:32:06 1.3 --- 6_to_65.sql 2001/11/20 14:49:57 1.4 *************** *** 5,6 **** --- 5,13 ---- ALTER TABLE psl_topic_lut ADD INDEX(story_id); ALTER TABLE psl_author ADD perms VARCHAR (255); + update psl_author set perms='nobody,user,topic,story' where seclev > '9' and seclev < '100'; + update psl_author set perms='nobody,user,topic,story,submission' where seclev > '99' and seclev < '1000'; + update psl_author set perms='nobody,user,topic,story,submission,section,block,poll' where seclev > '999' and seclev < '10000'; + + update psl_author set perms='nobody,user,topic,story,section,submission,block,poll,author,variable,glossary,mailinglist,logging,comment' where seclev > '9999' and seclev < '1000000'; + + update psl_author set perms='root,nobody,user,topic,story,section,submission,block,poll,author,variable,glossary,mailinglist,logging,comment' where seclev > '999999'; |
From: Joe S. <joe...@us...> - 2001-11-20 14:49:26
|
Update of /cvsroot/phpslash/phpslash-ft In directory usw-pr-cvs1:/tmp/cvs-serv7654 Modified Files: CHANGES Log Message: upgrade bugfix - seclev -> perms Index: CHANGES =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/CHANGES,v retrieving revision 1.319 retrieving revision 1.320 diff -C2 -d -r1.319 -r1.320 *** CHANGES 2001/11/18 01:08:05 1.319 --- CHANGES 2001/11/20 14:49:23 1.320 *************** *** 11,14 **** --- 11,17 ---- R - RELEASE + 2001-Nov-20 8:40AM CST Joe Stewart <jo...@be...> + [B] - 6_65.sql - author perms updated from seclevs. + 2001-Nov-17 7:00PM CST Joe Stewart <jo...@be...> [B] - config.php3 - disabled Variable menu item. |
From: Joe S. <joe...@us...> - 2001-11-18 01:08:08
|
Update of /cvsroot/phpslash/phpslash-ft In directory usw-pr-cvs1:/tmp/cvs-serv26486 Modified Files: CHANGES Log Message: bugfix - removed Variable from menu Index: CHANGES =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/CHANGES,v retrieving revision 1.318 retrieving revision 1.319 diff -C2 -d -r1.318 -r1.319 *** CHANGES 2001/11/17 17:17:33 1.318 --- CHANGES 2001/11/18 01:08:05 1.319 *************** *** 11,14 **** --- 11,17 ---- R - RELEASE + 2001-Nov-17 7:00PM CST Joe Stewart <jo...@be...> + [B] - config.php3 - disabled Variable menu item. + 2001-Nov-17 11:15AM CST Joe Stewart <jo...@be...> [B] - functions.inc - setLantTpl still wasn't setting the language dir |
From: Joe S. <joe...@us...> - 2001-11-18 01:07:51
|
Update of /cvsroot/phpslash/phpslash-ft/public_html In directory usw-pr-cvs1:/tmp/cvs-serv26415/public_html Modified Files: config.php3 Log Message: bugfix - removed Variable from menu Index: config.php3 =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/public_html/config.php3,v retrieving revision 1.116 retrieving revision 1.117 diff -C2 -d -r1.116 -r1.117 *** config.php3 2001/11/13 22:01:27 1.116 --- config.php3 2001/11/18 01:07:48 1.117 *************** *** 83,87 **** $_PSL[module][Submission] = true; $_PSL[module][Infolog] = true; ! $_PSL[show_admin_on_navbar] = true; // turns the Admin link on in the navbar --- 83,87 ---- $_PSL[module][Submission] = true; $_PSL[module][Infolog] = true; ! $_PSL[module][Variable] = false; $_PSL[show_admin_on_navbar] = true; // turns the Admin link on in the navbar *************** *** 299,303 **** link => $_PSL['adminurl'] . "/variableAdmin.php3", perm => "variable", ! module => "" ); $menuitem[] = array( --- 299,303 ---- link => $_PSL['adminurl'] . "/variableAdmin.php3", perm => "variable", ! module => "Variable" ); $menuitem[] = array( |
From: Joe S. <joe...@us...> - 2001-11-17 23:38:56
|
Update of /cvsroot/phpslash/phpslash-ft/class In directory usw-pr-cvs1:/tmp/cvs-serv10304 Modified Files: functions.inc Log Message: bugfix - no browser lang (typo) Index: functions.inc =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/class/functions.inc,v retrieving revision 1.81 retrieving revision 1.82 diff -C2 -d -r1.81 -r1.82 *** functions.inc 2001/11/17 17:17:03 1.81 --- functions.inc 2001/11/17 23:38:51 1.82 *************** *** 970,974 **** // no directory traversal if( $new_skin == "..") { ! $new_skin = $_PSL[defaultskin; } if($new_skin) { --- 970,974 ---- // no directory traversal if( $new_skin == "..") { ! $new_skin = $_PSL[defaultskin]; } if($new_skin) { |