You can subscribe to this list here.
| 2001 |
Jan
|
Feb
(30) |
Mar
(123) |
Apr
(188) |
May
(90) |
Jun
(68) |
Jul
(129) |
Aug
(72) |
Sep
(97) |
Oct
(99) |
Nov
(168) |
Dec
(35) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2002 |
Jan
(75) |
Feb
(55) |
Mar
(104) |
Apr
(49) |
May
(12) |
Jun
(11) |
Jul
(47) |
Aug
(104) |
Sep
(14) |
Oct
(26) |
Nov
(31) |
Dec
(10) |
| 2003 |
Jan
(78) |
Feb
(76) |
Mar
(47) |
Apr
(30) |
May
(19) |
Jun
(36) |
Jul
(48) |
Aug
(43) |
Sep
(54) |
Oct
(25) |
Nov
(79) |
Dec
(39) |
| 2004 |
Jan
(43) |
Feb
(14) |
Mar
(17) |
Apr
(15) |
May
(18) |
Jun
(20) |
Jul
(7) |
Aug
(30) |
Sep
(49) |
Oct
(17) |
Nov
(14) |
Dec
(72) |
| 2005 |
Jan
(55) |
Feb
(27) |
Mar
(34) |
Apr
(15) |
May
(8) |
Jun
(23) |
Jul
(7) |
Aug
(19) |
Sep
(3) |
Oct
(44) |
Nov
(3) |
Dec
|
| 2006 |
Jan
(20) |
Feb
(5) |
Mar
(8) |
Apr
(12) |
May
(16) |
Jun
(22) |
Jul
(39) |
Aug
(65) |
Sep
(4) |
Oct
(11) |
Nov
|
Dec
(5) |
| 2007 |
Jan
(2) |
Feb
(2) |
Mar
(8) |
Apr
(3) |
May
(28) |
Jun
(6) |
Jul
(3) |
Aug
(9) |
Sep
(15) |
Oct
|
Nov
(12) |
Dec
(2) |
| 2008 |
Jan
(3) |
Feb
(14) |
Mar
|
Apr
(4) |
May
|
Jun
(12) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(1) |
| 2009 |
Jan
|
Feb
(2) |
Mar
(4) |
Apr
|
May
|
Jun
(14) |
Jul
|
Aug
(1) |
Sep
(66) |
Oct
(21) |
Nov
|
Dec
(1) |
| 2010 |
Jan
(2) |
Feb
(2) |
Mar
(2) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2011 |
Jan
|
Feb
(100) |
Mar
(17) |
Apr
(1) |
May
(1) |
Jun
|
Jul
(3) |
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
|
From: Chris N. <pu...@po...> - 2001-04-12 19:24:55
|
At 21:46 +0200 2001.04.12, as...@en... wrote: >I'm not after anything fancy, just the usual behavior from Slash1, but as it >stands, magic is always off and sections don't ever appear as part of >titles. I changed the code as you point out in Slash.pm, but still none. >Basically, I want it off everywhere except on the front page, and the magic >=> code is a little beyond me. OK, I made the change noted in the email (just now, not when you checked) on slashcode.com, and it is working now. The sticky bit is that if the title contains ":", then it will not print the section. This is so people won't have "YASS: YASS: Cool new site". So on http://slashcode.com/index.pl, you see the first Ask Slashcode story "Site Violates Slash License: What to do?" and the second "Ask Slashcode: Specifying the Charset". Again, here is the correct code to use: magic => (!$full && index($story->{title}, ':') == -1 && ($story->{section} ne $constants->{defaultsection}) && ($story->{section} ne $form_section)), There were some extra, errant parentheses in the old version. -- Chris Nandor pu...@po... http://pudge.net/ Open Source Development Network pu...@os... http://osdn.com/ |
|
From: Delrin K. <del...@ho...> - 2001-04-12 19:04:38
|
<html><DIV> <P><BR><mailto:sla...@li...?subject=help><mailto:sla...@li...><mailto:sla...@li...?subject=subscribe><mailto:sla...@li...?subject=unsubscribe>Just a note to everyone on the project (OSDN, slashcode). I love slashcode, thanks for all the work, I'm really having a ball with the software on my little redhat box!!</mailto:sla...@li...?subject=unsubscribe></mailto:sla...@li...?subject=subscribe></mailto:sla...@li...></mailto:sla...@li...?subject=help></P> <P><mailto:sla...@li...?subject=help><mailto:sla...@li...><mailto:sla...@li...?subject=subscribe><mailto:sla...@li...?subject=unsubscribe>Happy holidays everyone!</mailto:sla...@li...?subject=unsubscribe></mailto:sla...@li...?subject=subscribe></mailto:sla...@li...></mailto:sla...@li...?subject=help></P> <P><mailto:sla...@li...?subject=help><mailto:sla...@li...><mailto:sla...@li...?subject=subscribe><mailto:sla...@li...?subject=unsubscribe></mailto:sla...@li...?subject=unsubscribe></mailto:sla...@li...?subject=subscribe></mailto:sla...@li...></mailto:sla...@li...?subject=help><mailto:sla...@li...?subject=help><mailto:sla...@li...><mailto:sla...@li...?subject=subscribe><mailto:sla...@li...?subject=unsubscribe>Delrin</P></DIV></mailto:sla...@li...?subject=unsubscribe></mailto:sla...@li...?subject=subscribe></mailto:sla...@li...></mailto:sla...@li...?subject=help><br clear=all><hr>Get Your Private, Free E-mail from MSN Hotmail at <a href="http://www.hotmail.com">http://www.hotmail.com</a>.<br></p></html> |
|
From: <as...@en...> - 2001-04-12 19:00:08
|
> > does index.pl also know the section's display title?
> [% USE Slash; sections = Slash.db.getDescriptions("sections") %]
>
> [% sections.${form.section} %]
>
> Now, there is an extra performance hit to call the getDescriptions method
> (did you know you can call any Slash::DB method that way?), but the data
is
> cached, so it is not a big hit as far as data access is concerned.
>
> Chris Nandor
Works very nicely. Just right, and no I didn't know, but now I do! (I'm
using it for a "Home > Sham Supersection > Section" navigation tree at the
top of each screen.)
Thanks a lot,
Adam K
as...@en...
|
|
From: <as...@en...> - 2001-04-12 18:49:09
|
Pudge responds:
> Well, you can just add that logic to the template itself. For example,
you
> have now:
>
> [% IF magic;
> title = "...";
> ELSE;
> title = story.title;
> END %]
>
> You can add on top of that:
>
> [% IF foo == 1;
> magic = 1;
> ELSE;
> magic = 0;
> END %]
>
> However, I am not sure what you want to do, exactly. It looks like the
> behavior you want is the behavior that it has right now. How exactly
would
> you want to change the behavior?
>
> Although now that I look at it, the code in dispStory() looks busted. It
> looks like:
>
> magic => (!$full && index($story->{title}, ':') == (-1
> && ($story->{section} ne $constants->{defaultsection})
> && ($story->{section} ne $form_section))),
>
> But should be this:
>
> magic => (!$full && index($story->{title}, ':') == -1
> && ($story->{section} ne $constants->{defaultsection})
> && ($story->{section} ne $form_section)),
>
> Anyway, if you can help me out with your needs, maybe we can figure it
out.
I'm not after anything fancy, just the usual behavior from Slash1, but as it
stands, magic is always off and sections don't ever appear as part of
titles. I changed the code as you point out in Slash.pm, but still none.
Basically, I want it off everywhere except on the front page, and the magic
=> code is a little beyond me.
I'm looking at Slashcode to see if it's working there and yes it is. But I
notice that on one YASS story (NoLogo.org up and running with Bender), YASS
appears both in the title and in the storylink although there are no
comments. But in LinuxHardware.org Is A Slashsite, YASS doesn't appear in
storylink. Do you reckon magic is just not set up right at the moment?
Adam
as...@en...
|
|
From: Chris N. <pu...@po...> - 2001-04-12 18:32:24
|
At 21:15 +0200 2001.04.12, as...@en... wrote:
>> Well, if index.pl is set to a particular section, you should be able to
>get
>> it with $form.section, since that is the only way I know of to set
>index.pl
>> to a particular section.
>>
>> Chris Nandor pu...@po...
>
>Ah yes, form.section does the trick! Thank you.
>
>Well, half of it: does index.pl also know the section's display title? I
>don't have too many so I can just do a loop within the template, ie,
>
>[% IF form.section == "courses"]
>Seminars & Courses
>[% END %]
>
>but I'd prefer to do it more cleanly if the data's accessible.
[% USE Slash; sections = Slash.db.getDescriptions("sections") %]
[% sections.${form.section} %]
Now, there is an extra performance hit to call the getDescriptions method
(did you know you can call any Slash::DB method that way?), but the data is
cached, so it is not a big hit as far as data access is concerned.
--
Chris Nandor pu...@po... http://pudge.net/
Open Source Development Network pu...@os... http://osdn.com/
|
|
From: <as...@en...> - 2001-04-12 18:17:29
|
> Well, if index.pl is set to a particular section, you should be able to get > it with $form.section, since that is the only way I know of to set index.pl > to a particular section. > > Chris Nandor pu...@po... Ah yes, form.section does the trick! Thank you. Well, half of it: does index.pl also know the section's display title? I don't have too many so I can just do a loop within the template, ie, [% IF form.section == "courses"] Seminars & Courses [% END %] but I'd prefer to do it more cleanly if the data's accessible. AsK as...@en... |
|
From: Chris N. <pu...@po...> - 2001-04-12 17:43:20
|
At 19:29 +0200 2001.04.12, as...@en... wrote: >I'm trying to refer to a section's name from within the index.pl file. This >works nicely from article.pl -- $section.title and $section.section -- but >index.pl seems blind to its origins. I see that slashdisplay is what sends >the template its variables, but I don't understand how the DBI works enough >to be able to add to the variables that the index template receives. >Can anyone help? It should only be a line or two of code added index.pl . In >fact, maybe index.pl already does know its own section but it's simply >accessed another way. Well, if index.pl is set to a particular section, you should be able to get it with $form.section, since that is the only way I know of to set index.pl to a particular section. -- Chris Nandor pu...@po... http://pudge.net/ Open Source Development Network pu...@os... http://osdn.com/ |
|
From: Chris N. <pu...@po...> - 2001-04-12 17:43:19
|
At 20:10 +0200 2001.04.12, as...@en... wrote:
>I'm wondering where to switch on the 'magic' variable, which appears at the
>beginning of the displaystory template to toggle whether a story's section
>gets displayed as part of its title. I'd like to have it off for individual
>articles and particular indexes, but on for the front page, where stories
>appear from various sections. I can't think how best to do this. How can
>displaystory know when it's being called from the front page?
Well, you can just add that logic to the template itself. For example, you
have now:
[% IF magic;
title = "...";
ELSE;
title = story.title;
END %]
You can add on top of that:
[% IF foo == 1;
magic = 1;
ELSE;
magic = 0;
END %]
However, I am not sure what you want to do, exactly. It looks like the
behavior you want is the behavior that it has right now. How exactly would
you want to change the behavior?
Although now that I look at it, the code in dispStory() looks busted. It
looks like:
magic => (!$full && index($story->{title}, ':') == (-1
&& ($story->{section} ne $constants->{defaultsection})
&& ($story->{section} ne $form_section))),
But should be this:
magic => (!$full && index($story->{title}, ':') == -1
&& ($story->{section} ne $constants->{defaultsection})
&& ($story->{section} ne $form_section)),
Anyway, if you can help me out with your needs, maybe we can figure it out.
--
Chris Nandor pu...@po... http://pudge.net/
Open Source Development Network pu...@os... http://osdn.com/
|
|
From: Chris N. <pu...@po...> - 2001-04-12 17:35:13
|
At 20:20 +0200 2001.04.12, as...@en... wrote: >> Can anyone who has seen the problem of new stories being posted, but not >> displaying on index.pl, give me any details beyond this short description >> of what is happening? Maybe check writestatus/displaystatus of the >records >> in both the stories and newstories tables? > >I think it's because the default setting for the number of articles that a >section displays is set to 1 or something. I changed it to 60 or something >high and now stories display fine. I am pretty sure there is something else. I remember posting stories on /code and seeing them not show up until I went in and hit "Update" on the story editing screen. I should have looked at the data in the DB before making changes, but I didn't. -- Chris Nandor pu...@po... http://pudge.net/ Open Source Development Network pu...@os... http://osdn.com/ |
|
From: <as...@en...> - 2001-04-12 17:22:33
|
> Can anyone who has seen the problem of new stories being posted, but not > displaying on index.pl, give me any details beyond this short description > of what is happening? Maybe check writestatus/displaystatus of the records > in both the stories and newstories tables? I think it's because the default setting for the number of articles that a section displays is set to 1 or something. I changed it to 60 or something high and now stories display fine. Adam K as...@en... |
|
From: <as...@en...> - 2001-04-12 17:12:32
|
I'm wondering where to switch on the 'magic' variable, which appears at the beginning of the displaystory template to toggle whether a story's section gets displayed as part of its title. I'd like to have it off for individual articles and particular indexes, but on for the front page, where stories appear from various sections. I can't think how best to do this. How can displaystory know when it's being called from the front page? Adam K as...@en... |
|
From: <as...@en...> - 2001-04-12 16:32:12
|
I'm trying to refer to a section's name from within the index.pl file. This works nicely from article.pl -- $section.title and $section.section -- but index.pl seems blind to its origins. I see that slashdisplay is what sends the template its variables, but I don't understand how the DBI works enough to be able to add to the variables that the index template receives. Hope I'm being clear. Can anyone help? It should only be a line or two of code added index.pl . In fact, maybe index.pl already does know its own section but it's simply accessed another way. Adam as...@en... |
|
From: tompoe <to...@so...> - 2001-04-12 15:53:59
|
On Thu, 12 Apr 2001, you wrote: > > On Thu, Apr 12, 2001 at 06:33:12AM -0700, tompoe wrote: > > I asked this on the SuSE list, but would like to now move forward and seek the > > experts' opinion, here, if I may: > > > > I'm running SuSE7.0, which uses Yast to install packages. Apache and mod_perl > > along with MySQL are easily installed with this setup. Now, anyone have any > > experience with adjusting the configurations to run Slashcode? Also, would it > > be better to use .tar.gz or rpm to install Slashcode? I'm leaning towards > > .tar.gz, but would like your input, please. Thanks, from this humble newbie. > > Tom > > P.S. I'll be using it to track gov procurement messages, if that makes a > > difference. > > > > _______________________________________________ > > Slashcode-general mailing list > > Sla...@li... > > http://lists.sourceforge.net/lists/listinfo/slashcode-general > > The RPM was built on a Redhat 7 machine. I don't know the differences > between SuSE and Red Hat these days (does SuSE still keep the init in > /sbin/init.d ?) but I imagine that could throw you for a loop. > > I'd recommend the tarball for now, although making a SuSE rpm wouldn't be > difficult. It would just require access to a SuSE machine, which is > something I don't have atm, and some minor tweaking to the rpm spec file. > Hey, Cowboy - - - Oh, no, that greeting's usually something coming from cute, single, young, rich girls. Anyway, I have a mish-mash setup here, but, you're welcome to dial in on pcaw [if you have it] from Windoze, then access the linux box that way. I've got vnc working on the linux box, and can set up the Windoze box also. Or, if you want the CD's for SuSE7.0Pro, I can either get a copy made or send them to you for the project you describe above. What's your flavor? Thanks, Tom P.S. in the meantime, it sounds like .tar.gz is the next step for me. |
|
From: Chris N. <pu...@po...> - 2001-04-12 15:36:08
|
Can anyone who has seen the problem of new stories being posted, but not displaying on index.pl, give me any details beyond this short description of what is happening? Maybe check writestatus/displaystatus of the records in both the stories and newstories tables? -- Chris Nandor pu...@po... http://pudge.net/ Open Source Development Network pu...@os... http://osdn.com/ |
|
From: Jonathan P. <pa...@sl...> - 2001-04-12 14:45:17
|
On Thu, Apr 12, 2001 at 06:33:12AM -0700, tompoe wrote: > I asked this on the SuSE list, but would like to now move forward and see= k the > experts' opinion, here, if I may: >=20 > I'm running SuSE7.0, which uses Yast to install packages. Apache and mod= _perl > along with MySQL are easily installed with this setup. Now, anyone have = any > experience with adjusting the configurations to run Slashcode? Also, wou= ld it > be better to use .tar.gz or rpm to install Slashcode? I'm leaning towards > .tar.gz, but would like your input, please. Thanks, from this humble new= bie.=20 > Tom > P.S. I'll be using it to track gov procurement messages, if that makes a > difference. >=20 > _______________________________________________ > Slashcode-general mailing list > Sla...@li... > http://lists.sourceforge.net/lists/listinfo/slashcode-general The RPM was built on a Redhat 7 machine. I don't know the differences between SuSE and Red Hat these days (does SuSE still keep the init in /sbin/init.d ?) but I imagine that could throw you for a loop. I'd recommend the tarball for now, although making a SuSE rpm wouldn't be difficult. It would just require access to a SuSE machine, which is something I don't have atm, and some minor tweaking to the rpm spec file. hope this helps, --=20 Jonathan "CowboyNeal" Pater | pa...@sl... http://cowboyneal.org/ | http://slashdot.org/ "I sometimes go to my own little world, but that's okay, they know me there." -- Joel Hodgson |
|
From: tompoe <to...@so...> - 2001-04-12 14:28:57
|
I asked this on the SuSE list, but would like to now move forward and seek the experts' opinion, here, if I may: I'm running SuSE7.0, which uses Yast to install packages. Apache and mod_perl along with MySQL are easily installed with this setup. Now, anyone have any experience with adjusting the configurations to run Slashcode? Also, would it be better to use .tar.gz or rpm to install Slashcode? I'm leaning towards .tar.gz, but would like your input, please. Thanks, from this humble newbie. Tom P.S. I'll be using it to track gov procurement messages, if that makes a difference. |
|
From: Jim P. <ji...@ya...> - 2001-04-12 05:26:34
|
Apache won't start if the following line exists in httpd.conf PerlModule Slash::Apache - There are no errors in the apache log files, none, zilch. - This is a fresh install of Debian Potato, immediately upgraded with apt-get update/upgrade. - Only the modules listed in the INSTALL.debian and INSTALL \ files have been installed, as well as an update of Bundle::CPAN. - slash-2.0.0-pre1 builds successfully. Any clues? __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ |
|
From: <as...@en...> - 2001-04-12 03:39:07
|
The dispStory template begins with: [% IF magic; title = "<A CLASS=\"system11\" HREF=\"$constants.rootdir/$story.section\">$section.title</A><BR>$story.title"; ELSE; title = "$story.title"; END %] But how does one switch this magic on? Adam K as...@en... |
|
From: <as...@en...> - 2001-04-11 16:13:22
|
Howdies, I'd like to be able to tweak stories to have additional features, and I = see from the editStory template that there does indeed look to be a good = means of doing that with the extracolumn_flag variable. But I can't figure out how where to add these extra columns. Should they = be added directly to the MySQL table, and the code automatically spots = them? What should they be called? Adam K |
|
From: Chris N. <pu...@po...> - 2001-04-10 20:42:40
|
OK, several people had problems with IndexHandler working. If you want to try out the latest from CVS and give it a shot, please do and report back to us if it is working or not. Just update and install the new code, it crosses a few different modules. Thanks, -- Chris Nandor pu...@po... http://pudge.net/ Open Source Development Network pu...@os... http://osdn.com/ |
|
From: Brian A. <br...@ta...> - 2001-04-09 22:20:07
|
Cliff Wood wrote: > > On Fri, 6 Apr 2001, Travis Stockwell wrote: > > > How do I get slash to list comments in flat mode (instead of threaded) by > > default? Yes, I know threaded is cooler - but the guy paying the bills wants > > it flat. > > > > Change the setting for the anonymous user. Unfortunately, you'll have to > do this by hand from your database backend: > > UPDATE users_comments SET mode='flat' WHERE uid=0; > > This applies to all settings that deal with story and comment display. That assumes your anonymous user is at uid 0. Replace 0 with whatever your anon user's uid is. -Brian |
|
From: Cliff W. <cb...@ex...> - 2001-04-09 22:11:47
|
On Fri, 6 Apr 2001, Travis Stockwell wrote: > How do I get slash to list comments in flat mode (instead of threaded) by > default? Yes, I know threaded is cooler - but the guy paying the bills wants > it flat. > Change the setting for the anonymous user. Unfortunately, you'll have to do this by hand from your database backend: UPDATE users_comments SET mode='flat' WHERE uid=0; This applies to all settings that deal with story and comment display. - Cliff |
|
From: Chris N. <pu...@po...> - 2001-04-09 19:08:44
|
At 18:29 +0200 2001.04.06, as...@en... wrote: ><x-html><!x-stuff-for-pete base="" src="" id="0" >charset="windows-1255"><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 >Transitional//EN"> ><HTML><HEAD> Ack. No HTML on public lists, please. ><DIV><FONT face=Fixedsys size=2>I installed two Slash2 sites but didn't >(and >still don't really) understand the relationship between >SlashVirtualUsers, a >Hostname and a Sitename. Can someone explain their >functions?</FONT></DIV> A virtual user is the user stored in DBIx::Password. See the docs for DBIx::Password, the Slash INSTALL, and slashstyle for more information. The latter is here: http://slashcode.com/docs/slashstyle.html#terminology A virtual user stores the database type, hostname, database user name, database password, database table, etc. ><DIV><FONT face=Fixedsys size=2>What else should I do to start again >properly?</FONT></DIV> Each needs a proper virtual user in DBIx::Password, and matching virtual user in the httpd.conf file (which should be set when you run install-slashsite, as you give it the virtual user name). -- Chris Nandor pu...@po... http://pudge.net/ Open Source Development Network pu...@os... http://osdn.com/ |
|
From: Chris N. <pu...@po...> - 2001-04-09 18:58:57
|
At 16:15 -0600 2001.04.06, Travis Stockwell wrote: >How do I get slash to list comments in flat mode (instead of threaded) by >default? Yes, I know threaded is cooler - but the guy paying the bills wants >it flat. You should be able to do that by setting it to flat for the Anonymous Coward user, and maybe as the default for that column in the database itself. Find out which column it is, and do a search in the source for it to be sure you get all the places it might need to be changed. I am sorry I can't tell you exactly where it is at the moment, but hopefully this will get you going. If you need more help than this, please give what version of Slash you are running. -- Chris Nandor pu...@po... http://pudge.net/ Open Source Development Network pu...@os... http://osdn.com/ |
|
From: Brian A. <br...@ta...> - 2001-04-06 22:23:58
|
Travis Stockwell wrote: > > How do I get slash to list comments in flat mode (instead of threaded) by > default? Yes, I know threaded is cooler - but the guy paying the bills wants > it flat. Assuming this is 2.0, just change your AC users preference. -Brian -- _______________________________________________________ Brian Aker, br...@ta... Slashdot Senior Developer Seattle, Washington http://tangent.org/~brian/ http://slashdot.org/ _______________________________________________________ You can't grep a dead tree. |