Commit Graph

699 Commits (d3c14ad6fefc670709b16cb2efdb165b8aa45a3c)

Author SHA1 Message Date
Steven Wittens 62baf4c24e Added my new theme "Goofy". It's bright and very summer-ish.
Test it out :) (I wouldn't put it on drop.org yet)
2001-03-20 23:40:13 +00:00
Steven Wittens c79e114b9b oops small typo 2001-03-20 22:33:32 +00:00
Steven Wittens 5f1f1b88ed Theme update:
- added a small 'info header' in comments... might be better for when we get more themes.
2001-03-20 20:45:21 +00:00
Steven Wittens c0751ec2b2 theme update:
- removed the department stuff
 - boxed the comment controls
2001-03-20 18:10:03 +00:00
Dries Buytaert a6466b68e0 - removed useless slashes 2001-03-19 10:07:15 +00:00
Jeroen Bensch f96497e214 Hey,
Fixed jeroen.theme.

1. comment() function only gets 2 arguments. And as I made example.theme from jeroen.theme I don't see how thread got in there.

2. That must have sneaked in while I stripped down my theme to get to example.theme.

3. Fixed, it was already done in my top-right navigation box, but I must've forgotten it at the bottom.

4. OK, no more variable timestamp but straigt in the code. :)

Jeroen.
2001-03-12 17:12:36 +00:00
Dries Buytaert ef0e2d167b During my nigthly session I fixed a few glitches in the example theme.
Read them carefully because the other theme might need updating too (I
don't think so though).  I could only commit it now because I didn't
had the time to write up these comments/remarks yet.  So here goes:

1. the comment() function only takes 2 arguments - $thread is no longer
   needed and shouldn't be used in the code either.

2. I added 2 COLSPAN's to fix a <TD> problem in the story() function.

3. <A HREF="">home</A> is will not work properly when using drupal in
   a subdirectory!  Simply use <A HREF="index.php">home</A> instead -
   it does matters. ;-)

4. Removed the $timestamp = format_timestamp(...)'s and used them
   "directly" just like this is done for format_username and others.
   It's generally more consistent now. :-)
2001-03-12 16:40:33 +00:00
Jeroen Bensch 17718e1842 Hey,
did some stupid things in my previous update. But now it's OK (I did </BR> instead of <BR>.

Jeroen.
2001-03-11 20:54:59 +00:00
Jeroen Bensch 74bfacf8cc Hey,
OK, this is perfectionism. I had http://jeroen.drop.org/ validated once again, and noticed an error with a </P>, it said that the paragraph wasn't opened. But it occured near a story as we do <P> check_output(story->abstract) </P> I was pretty certain the paragraph was open. :) OK, so it wasn't the theme's fault, neither was it the engine. Then I went to take a look at the actual story and what did I see. It used a BLOCKQUOTE. After deleting the BLOCKQUOTE, messing around with the HTML, trying to insert it again. It always gave me the error when it was inserted... What's my conclusion? BLOCKQUOTE isn't allowed inside a paragraph...
Solution? We could take the option to use the blockquote HTML tag in a story or comment out of drupal. But I really like blockquote. So I now changed <P> check_output(story->abstract) </P> to <BR> check_output(story->abstract) </BR> because, basicly, that does the same thing. I'd advise you to do so too, I might do it for you if you please. Not that I really care about it, but lately we've got some queer w3-lovers on our back. Let's shake them off, allright? ;)

Jeroen.
2001-03-11 19:57:07 +00:00
Jeroen Bensch b873cb9e6d Hey,
If we're lucky this tiny jeroen.theme update might just save us from 5 HTML 4.01 bugs.
If we're very lucky it'll solve 7.
If we're unlucky only the code has improved.

Jeroen.
2001-03-11 18:47:18 +00:00
Jeroen Bensch f9841d8aac Hi,
OK and this should be marvin.theme. We gained like 20 lines or so. But there aren't many graphics in marvin and a lot of stuff I'd put on several lines, Dries doesn't. Nevertheless, a good optimalization. Glad Dries came up with this. :)

Jeroen.
2001-03-11 11:06:49 +00:00
Jeroen Bensch d7a363338d Hi,
OK I fixed UnConeD's theme. Let's hope I didn't break anything. It were 256 lines and now there are 227 left. A save of 30 lines. Not too bad huh?
Let me check Dries' theme now.

Jeroen.
2001-03-11 10:56:43 +00:00
Jeroen Bensch 02e344403a OK, lets hope this works... I should've added a directory example/ in themes/ and in example/ there should be example.theme
Jeroen.
2001-03-10 15:14:08 +00:00
Jeroen Bensch 529f5a9532 Tidyed up the code a bit, so it'd generate less errors when running it throught w3's HTML validator. Couldn't check it because I don't have any working webspace, so Dries, upload it and I'll check, I am pretty certain that it'll solve a whole lot of errors, since I fixed a bug in story... story being generated about ten times in the HTML code on drop's main page. I expect about 30 errors less...
Jeroen.

P.S.: I don't think I'll get unconed.theme and marvin.theme updated today. But I promise I'll do it tomorrow. Had to go eat with my family, just got back and in 2 hours I am leavin for the movies. Hope you don't mind, but it's always cooler to commit patches closer to the release date... gives you this "rush" feeling. Ahh, deliberately doing stuff on  the nick of time... sweet :)
2001-03-10 15:11:12 +00:00
Dries Buytaert accd5f0c31 - applied David Norman's patch to turn all <?'s into fully qualified
<?php's.
2001-03-10 11:07:52 +00:00
Jeroen Bensch 473198178d I think you all read the mail about what has changed, I also did the tiny abstract/Editor's note update. :)
Jeroen.
2001-03-09 15:59:44 +00:00
Dries Buytaert 3958a714cd - some important changes to our theme API which can be summerized as:
abstract() + article() = story()

  abstract() and article() have been merged into a new function story()
  which looks like:

  function story($story_object, $reply) {
    if (!reply) {
       // full story
    }
    else {
       // main page version / abstract
    }
  }

  This should allow you to "compress" your theme as abstract() and
  article() tended to be 98% identical.

  => I didn't really merge your themes so I leave it up to *you* to
     improved the code!!! Do it ASAP as we release drupal 2.00 in 7
     days.

  In future we'll have similar functions for other content types as
  for example:

     review($review, $reply);
     enquete($enquete, $reply);
     ...
2001-03-08 08:16:23 +00:00
Jeroen Bensch 93d51ba977 Oh, yes, I remember, I took away the drop META tags as Dries requested, also I changed the ALT="drop.org logo" to ALT="". But Dries, I can't make everything drop independant. Since I work with the random logo's...
Also removed a style tag that I didn't use.

Jeroen.
2001-03-05 22:05:22 +00:00
Jeroen Bensch 79733aec5f Has he gone insane! No. I just (but that's just my opinion) made a major improvement to my theme. In one of my unentertained moments I often just browse to drop and stare at my theme for a while. ;) Then I saw that the border around my boxes was 2 pixels wide and grey. Cool. But I thought, let's try it the same way as I do the stories. With a slick 1 pixel wide black border. And so I did. And I admit, it just looks a whole lot better, slicker, smoother, professional. You probably won't notice it at all, and probably no-one would notice. But again, I'd advise you to take a look at http://jeroen.drop.org and look at the boxes before Dries updates these .gifs. Another thing, Unconed, you probably know more or this. What do you think I should use for my images? .gif or .png. What's the advantage of .png, and most of all, is it smaller in size?
Jeroen.

P.S.: another jeroen.theme is coming up. Don't even know what I changed anymore but I changed something...
2001-03-05 22:03:29 +00:00
Jeroen Bensch d9289f51af Hey,
I updated some things, remove some PHP lines in the comment function, that I think weren't necessary (did that in the previous commit but forgot to mention it) also I renamed all the PHP?> tags to ?>. I read in the docs at http://php.net that this is the way to go. Also I renamed all <? to <?PHP. I added a BCGOLOR again, so my theme's build up is a little nicer again. Spotted four (yes 4) bugs. I now use regular HTML to assign colors but in abstract and article, the sections were still done the old way. Fixed that now, but left them black. Oh yeah, I fixed that weird rendering of my theme I think Dries was talking about. He didn't exactly mention what was wrong but I assume that it were the links in abstract and article that didn't display at the right of the story. Because I deleted some tables I had to add COLSPAN="2". However, when I loaded my page locally on eden it displayed correct. But when I browsed to drop it didn't (in the same browser) Do you get it? I sure don't. It was the same HTML code, but seems differently parsed when coming from an outside server. Allthough I don't see why Netscape would see apache locally as something different than another one. Nevertheless, I think it's fixed.

Jeroen.
2001-03-05 20:46:29 +00:00
Jeroen Bensch 830e9b3f4f Hi all,
I tweaked my theme a bit, don't know if it'll help much but I was able to squeeze a table out of abstract and article. So what you'd say? Well, since the abstract function is called for every post on the main page, I thought that it'd improve it a bit. Of course it isn't much but less tables to show the same is always a good thing. Also, due of the deleted table, I could delete some backgrounds (less traffic from the server to the client) and placed them once in a TABLE header. OK, but a cool side-effect is that it's more HTML 4.01 compliant. Because BACKGROUNDs are allowed in TABLEs and I think it's a bit unclear if they can be in TD yes or no. Either way, this brought to my attention that my !DOCTYPE is strict... I started of strict though... But I think it's a better idea to switch to transitional/loose. OK I think that was it... Oh also because of the changed TABLE structure I had to delete some BGCOLORs. Again, it might be a teeny weeny bit faster, but when you see my site being build up it isn't that nice anymore. (bgcolors are displayed faster than backgrounds). Nevertheless its the result that counts not? Let's hope everything still works.

Jeroen.
2001-03-05 13:56:41 +00:00
Dries Buytaert d684b1f10a - various smaller updates before I start watching Formula 1 with [a] a
0.5 liter box of Haagen-Dhaz (Belgian Choclate) and [b] my laptop on
  my lap for drupal hacking.  Life hardly can get any better than this.
2001-03-04 12:06:13 +00:00
Dries Buytaert 87cfda720e code revision:
- small "path"-fix with logo which could have triggered when running
    drupal in a subdirectory
2001-03-03 15:28:52 +00:00
Dries Buytaert fa26457895 - As I'm working down my TODO list, I updated your themes:
$theme->comment() only takes 2 parameters ever since the comment
    system rewrite 2 months ago. Make sure to update your local tree
    before you start hacking away on your themes.
2001-03-03 12:17:12 +00:00
Steven Wittens 4df5b8532a Added 3D drop :) 2001-03-02 23:23:57 +00:00
Dries Buytaert a388735b57 - removed all hardcoded references to "drop.org" from my theme 2001-03-02 08:17:32 +00:00
Dries Buytaert 73de7628ed - forgot to wrap the links in the footer and header in t()-functions
(Is your theme 100% translatable or not?)
2001-03-02 08:14:42 +00:00
Dries Buytaert 728249cbc4 - fixed small translation glitch in format_interval
- added a couple of missing t() functions
- improved the comments module, fixed the score problem Jeroen
  reported earlier -> it's slicker but I hope it won't break anything
2001-03-01 21:34:09 +00:00
Jeroen Bensch 48e489763b Should be OK now, also put a TD and a TR on seperate lines somewhere... seems to fix a little graphical glitch I somethimes have, but I could've just been lucky too when I reloaded last times. :)
Jeroen.
2001-02-28 18:07:29 +00:00
Jeroen Bensch 9d66a204ae Changed a gif a bit...
Another jeroen.theme commit is coming up since I made some changes to test the gif I changed and didn't undo them.

Jeroen.
2001-02-28 18:05:42 +00:00
Jeroen Bensch 33b571a3f6 It looks like the subject in the comments still don't show, this is because i did $comment->$subject instead of $comment->subject
Ai ai.

Jeroen.
2001-02-28 18:02:06 +00:00
Jeroen Bensch c1edcf5d83 I say Unconed's little drops and said: "Damn, how come that he, with so few pixels can create something that smooth...". That's why I went down in my .gif archive and smoothed the drop in footerleft.gif, (the pipe with the open end in which you see a drop). It looks better now, maybe you won't see it but I do. :) I have drawn every gif pixelbased and that's why it's difficult to smoothen edges and stuff. I can't work well with the gimp and if you want certain cool effects you have to know how. Since creating a cool effect with the gimp takes like 15 weird tricks and layershuffles and filters and merges and keep transparancies and you don't get any result before you do that final step which suddenly gives you this wonderful thing. I think it's just too hard for me...
Nevertheless, here's the new footerleft.gif, you might want to check out htpp://jeroen.drop.org before Dries loads it up, otherwise you'll probably think I'm crazy :)

Jeroen.
2001-02-28 10:54:58 +00:00
Jeroen Bensch 45d8ee3e7d Fixed a small bug, there was a ';' too much in a echo "" which would just be printed like normal HTML text in the abstracts' and articles' headers...
Jeroen.
2001-02-28 09:16:47 +00:00
Steven Wittens df8523661e Updated the stupid fonts issue (the conclusion was to use *EVEN* font sizes and not uneven as Dries recommended... bah! :)
I also added a small icon (like marvin.theme) to spice it up a bit.
2001-02-28 00:45:38 +00:00
Steven Wittens daaa729cc7 Removed useless images (that stupid theme.gif that looked cool, but was unimplementable in NS) and added a cool icon.gif 2001-02-28 00:44:42 +00:00
Jeroen Bensch 994869d5f5 OK I wrote a lengthy text with my previous commit, but due to an Up-to-date check failure it got aborted. So here it is in short. I added the translation functionality and fixed a bug that would cause the comment's subjects not to display. Apparantly it's comment->subject instead of just subject. I also wanted to make something in the comment header a bit more clear I already changed some colors but I would want the comment's rating/score to display black. It's grey now and on a grey background it isn't so clear to read (lisible in decent english?). So I added something that I thought would paint it black, but obviously it didn't. It's still grey. I didn't remove the code, it's only two lines, because it also works this way. For the rest I don't think that anything changed.
Jeroen.

P.S.: Dries, I think we can release it tomorrow, but wait and upload it to http://jeroen.drop.org first so I can check. And at noon we'll let it out. It's yearning to, I can here it growl and make roaring noises in my laptop...
2001-02-28 00:29:57 +00:00
Dries Buytaert 6f140c2a92 - removed the "colour sets" from my theme: the color variables (except for
$link) are no longer needed by the engine so I decided to tidy them up -
  I recommand you to do same if you feel like it (and if you haven't
  already done so).
2001-02-27 21:28:05 +00:00
Dries Buytaert 57e5f6a4d1 - fixed bug in block placement when (1) using a theme with 2 side bars
and (2) being logged out.
  (reported by Jeroen)
- themed "Editor's note" in theme marvin.
  (reported by Jeroen)
2001-02-27 20:58:51 +00:00
Jeroen Bensch 3207add702 <MINDOFEVERYONE>Oh, no not again, not him.</MINDOFEVERYONE>
OK, now it's finished, really. Fixed a small gfx glitch, and the categories seem to be called sections now...

It's done, and ready for release. Really.

Jeroen.
2001-02-27 18:02:36 +00:00
Jeroen Bensch 40ddbc95f7 Ehm, of course I had to forget something.
I placed all the blocks left, regardless if their region was left or right, what I did was this:
theme_blocks("all", $this);
in my left <TD>.

Now I changed it to
theme_block("left", $this);
in the left <TD> and
theme_blocks("right", $this);
in the right. If everything was this easy.

OK, really, this theme is NS4.7 NS4.76 mozilla (but mozilla 0.8 cuz he's buggy as hell with the BACKGROUNDS in TDs) and IE comliant or compatible, whatever it's being called.

Jeroen. -- Happy.
2001-02-27 16:55:37 +00:00
Jeroen Bensch 8315663966 Houston, we have a theme.
Jeroen.
2001-02-27 16:23:34 +00:00
Dries Buytaert 4d31d27ff0 - added comment index for performance sake
- improved comment module - code revision
- improved backend module - moreover headlines now work
- (automatically) stripped tabs and trailing whitespaces from
  Jeroen's theme.
2001-02-27 07:45:03 +00:00
Jeroen Bensch 3364e84317 This solves the _my_footer_pipe_was_one_pixel_too_low_ problem. It should display OK now. For the weird upper-right navigation box Dries, I really wouldn't know what goes wrong. I don't have the problem. Haven't changed a thing on the boxes, My winme's IE doesn't have the problem... Maybe netscape 4.7 just displayed it wrong only once. Try it again, and if it keeps going wrong. I'll download NS 4.7 and will try to fix it. (That'll be my fourth browser then)
Jeroen.

P.S.: I think my theme is completed... Of course the code might need some cleaning up but I think it is ready to be used by droppies without giving away the code. That'll be in the next drupal release.
2001-02-26 18:37:50 +00:00
Jeroen Bensch 2aed0d94f1 Deleting redundant .gifs since now I work with that table in table thing to create borders around boxes. Nothing has changed with newsmiddle.gif so don't expect the backgrounds behind the stories' titles to differ.
Jeroen.
2001-02-26 16:00:54 +00:00
Jeroen Bensch ff2d276021 Small bug fixes, added some NOWRAPs and other stuff. This is also an attempt to fix the widths of the boxes on the sides... I don't know if it'll work, and frankly I doubt if it would... Let me elaborate... You know that I have three colums, one for the left boxes, the middle for the stories and one for the right boxes... I didn't provide a width for any of these <TD>s. That's why it chose it's width randomly. Then I set them to these values, respectively 20 60 and 20%. That went OK, but another problem occurred. We only have boxes on the main page. And on the other pages. e.g. faq, submit news, search... we only have the <user>'s account box on the right. This results in a large white border on the left (lost space). That's why I did the following... but I am afraid it won't work... I set the widths to: <no width> 100% 20% So, now, when we have boxes on the left it'll display them, when there aren't any, the middle <TD> will take up the rest op the space, being 100%, it worked fine on my computer with my browsers... But since I use the kind of browser no-one else uses (linux mozilla 0.8 which sucks and linux NS6.01) it is no reference. I would want to stress again that my theme isn't mozilla compatible or how do you say that, in fact it'd better be mozilla isn't jeroen.theme compatible, it's buggy as hell with the backrounds. OK enough for now, let's see if anything good happens to my theme.
Dries, be so kind to get my jeroen.theme working at http://jeroen.drop.org.

Jeroen.
2001-02-26 15:43:42 +00:00
Jeroen Bensch 4511ddbfc3 Made some "major" changes in how I display comments, articles, abstracts. It won't show much different but the ones that know my theme a bit will se a small change. I don't use .gifs anymore to display the borders of the articles e.g. but a table in a table, so you get a small black border. It looks nicer, and you need less .gifs, which is, in my theme an improvement :) I also themed the comments, they weren't yet, and I didn't know it was my thing to do. I still ain't happy with the comment's headers, but it's a start. Just check it out at http://jeroen.drop.org . Things to do, get the footer's navigation bar display nicely and find a better way to display the comment's header. Nevertheless I think it's doable. It's 01.40 now I think I'm going to sleep. But first commit and delete some .gifs from zind.net.
Jeroen.
2001-02-26 00:39:47 +00:00
Steven Wittens a66fb3a902 changed small/big fontsizes to uneven 2001-02-21 15:47:18 +00:00
Dries Buytaert 52a1d1bbe8 - More updates on the translation support 2001-02-17 12:59:24 +00:00
Dries Buytaert 77ed531035 - added new feature for evaluating purpose: user rating (mojo, karma)!
- removed tabs from Jeroen's theme
2001-02-07 22:01:57 +00:00
Jeroen Bensch 72e8fa574f OK, this is the third time I'm trying to get my theme submitted. It should work now.
It's ready for public release and can be added the the drupal CVS releases. First however, make sure you check htpp://jeroen.drop.org first and let me know if you find any more bugs. I still have to change a bit one a .gif before my footer is correct but that won't be a problem.
And thanks to Dries for solving some theme-problems.

Jeroen
2001-02-05 13:21:11 +00:00
Dries Buytaert de2e393933 - various updates, bugfixes and improvements 2001-02-04 22:09:38 +00:00
Dries Buytaert 32c89442d3 - removed all tabs 2001-01-26 14:41:44 +00:00
Dries Buytaert f974e58dbf *** empty log message *** 2001-01-26 13:58:01 +00:00
Dries Buytaert d386c110f4 - removed redundant spaces 2001-01-26 13:38:46 +00:00
Dries Buytaert 9d108b4071 - removed warning in theme unconed when using 4.0.4 2001-01-23 22:39:24 +00:00
Jeroen Bensch 15d5995ece Another round of themeing and this is where I got, there are still some "minor" box-gfx glitches, about which I will talk to Dries cuz I got them away, but then something else went wrong. It's an IMG vs. BACKGROUND thing. And if you click a read more link, I got some error in include.inc of which I don't I can help it... Well, apart from that everything should work. So try out http://jeroen.drop.org and let me know if anything weird happens...
Jeroen.
2001-01-22 20:56:51 +00:00
Dries Buytaert ea97888533 I know, I know, it is getting nasty lately but I have another large commit after nothing but code.
This time I redid the "category"-stuff.  Categories - from now on called sections - are now maintained from the admin pages, can have their own post, dump and timout thresholds as discussed earlier (some weeks ago).  By tomorrow evening users will be able to enable or disable section as well - i.e. to customize the content of drop.org.
2001-01-21 19:41:11 +00:00
Dries Buytaert 7cc7b405e3 - fixed some bugs in the new comment/discussion code and added a few
enhancements
2001-01-21 09:26:06 +00:00
Dries Buytaert 2952d16f78 - updated/improved discussion engine: it needs additional fine-tuning
though but I think this is stable enough for public consumption and
  real-life testing.
   ==> a first big step towards a flexible comment engine.

IMPORTANT:
  - Required theme updatins:

    UnConeD: check your $theme->controls() as I added a very, very
             dummy implementation

  - Required database updates:

    alter table users modify mode tinyint(1) DEFAULT '' NOT NULL;
    alter table comments change sid lid int(6) DEFAULT '0' NOT NULL;
    alter table comments add link varchar(16) DEFAULT '' NOT NULL;
    update comments set link = 'story';
2001-01-20 12:20:31 +00:00
Steven Wittens e6c85d875d forgot a checkoutput() in article... 2001-01-15 18:35:15 +00:00
Jeroen Bensch 6891448fc6 OK, check out this version of my theme. Everything "should" work now. Only it looks real buggy, at least in mozilla, so if you could (you don't have to) have a look at it in your own... I also indented differently, on one space but two each time I needed to indent. I thought it'd make it somewhat clearer with such a complicated/tabled theme as mine. Also when opening PHP I put the <? and ?> tags at the beginning of a new line. Again to make it more clear. All I have to do now it get the looks of the theme right. But do have a look at it.
Jeroen.

P.S.: I might even get this thing finished, imagine that. :)
2001-01-15 11:20:58 +00:00
Dries Buytaert c38cfa8b22 - Oops, forgot to remove a debug statement ;) 2001-01-13 16:41:35 +00:00
Dries Buytaert 8b4c95b259 - rewrote the block placement stuff and updated the themes.
IMPORTANT: you have to drop 2 tables "blocks" and "layout"
             and you have to recreate them again with those
             in database/database.mysql
- integrated the documentation written by UnConeD
2001-01-13 16:33:19 +00:00
Dries Buytaert 55679210c2 - created 2 new functions; check_textfield() and check_textarea() and
integrated them were appropriate.  It works better and the code is
  more readable then it used to be:
    (see http://drop.org/discussion.php?id=44&pid=0#0)

- story authors can no longer moderate their own stories
    (requested by Natrak)

- fix inie-winnie small detail in theme marvin
2001-01-13 08:29:50 +00:00
Jeroen Bensch f1a8ab536c I removed my theme.class.php, now if someone changes my Jeroen dir into jeroen everything should be back in order. I don't think it would be a good idea to remove all of Jeroen and commit all of jeroen, would it. :)
Now you can release rc2. :)
2001-01-10 18:58:17 +00:00
Jeroen Bensch 16a6ea28e1 As I wrote in the mail, this is my .theme for now. Rather than sending the screenshot to all of you seperately, maybe you could just add a line for my theme in your <hostname>.conf and test it. This for example:
"Jeroen"  => array(
           "themes/jeroen/jeroen.theme",
           "piped theme, grey/rusty, pretty nifty"));
2001-01-10 18:51:15 +00:00
Dries Buytaert 8511d9fb45 A batch of patches:
- configuration:
    + renamed $db_name to $db_user
    + renamed $db_base to $db_name
  - fixed small diary glitch
  - fixed initial-comment-score problem
  - fixed comment rating bug: improved the API and updated the
    themes
  - removed some tabs from Steven ;)
  - fixed backend warnings and improved robustness
    I'm not happy yet with the headline grabber - it generates
    too many SQL errors.
  - some small cosmetic changes in comment.module
  - fixed minor glitch in format_interval()
2001-01-06 11:39:43 +00:00
Steven Wittens fbb5370581 Category bug fixed. 2001-01-04 15:27:26 +00:00
Dries Buytaert 5c44a206c6 - removed text in upper-right corner 2000-12-29 11:57:54 +00:00
Dries Buytaert fd64164419 Surprise, surprise. After nothing but code, a large batch of changes:
- removed droplets
 - added (optional) admin_blocks module
 - added (optional) affiliate module
 - added (optional) about module (only placeholder, under construction)
 - fixed some tiny bugs (e.g. quote bug in search.php)
 - partionally rewrote some modules to be big, bad and better
 - partionally rewrote some modules to be more uniform
 - added GNU GPL license to CVS

Also:
 - installed PHP 4.0.4 on my localhost and now working
   towards PHP 4.0.4 compatibility.
 - I think I'll baptize the engine "drupal".  If you have a
   better idea, try convincing me ASAP.

Todo:
 - more testing (also with PHP 4.0.4)
 - make "project"-module: download, info, blah blah
 - complete documentation
2000-12-29 11:00:56 +00:00
Dries Buytaert 2714fae603 - small bugfixes and standarized "export" routines for modules to use. 2000-12-27 12:44:27 +00:00
Dries Buytaert 524773f6da Yet another large batch of updates:
- I rearranged some of the code and clean-up some of the mess.

 - Added "blocks" which can be user defined/controlled: check
   to see.  The positioning of blocks is rather basic for the
   moment, so I'm all open for input on that.
2000-12-23 23:25:28 +00:00
Dries Buytaert 0cadc4e683 - intermediate commit: some bugfixes, changes and some drastic
changes to block and module support
2000-12-23 15:13:34 +00:00
Dries Buytaert c1a88d5d67 Again, a large batch of updates - I'm twisting things around here:
1. improved .htaccess to be more "secure": to keep prying
    eyes out

 2. rewrote the administration section from scratch using a
    modular approach

 3. improved the information gathered by error.php - we can
    now (hopefully) track what bots are crawling us.

 4. fixed a bug in submit.php, fixed a bug in theme zaphod,
    fixed a bug in theme marvin.

 5. rewrote cron from scratch - it now interfaces with
    modules as it should have been from the beginning.
    Very cool if you ask me - it can use UNIX/Linux
    crontabs.

 6. updated widget.inc to be module aware - needs more
    work though - maybe this afternoon?

 7. updated most modules: small bugfixes, improvements, and
    even the documentation

 8. removed diary.php and made it a module - you can now
    run a drop.org site without a diary system if someone
    would prefer so

 9. updated all themes to use the new modules where
    appropriate

 10. added a robots.txt because the error message in the
     watchdog become annoying.

 11. added the new configuration system (mutliple vhosts
     on the same source tree) - use hostname.conf instead
     of config.inc

 12. removed calendar.inc and made it a module

 13. added format_interval() to functions.inc (UnConeD)

 14. whatever I forgot ...
2000-12-16 08:39:01 +00:00
Dries Buytaert 8a77861958 - large batch of updates 2000-12-14 14:20:06 +00:00
Dries Buytaert 8b68d11dba - changed quite a lot of things around, including small bug fixes (nothing)
critical and module support.  The faq.php will - for instance - become a
  module
2000-12-07 13:08:07 +00:00
Steven Wittens 0d4e75269a little bugger bug 2000-11-26 15:22:23 +00:00
Dries Buytaert 086e72d4b1 - Redid most of account.php and fixed quite some bugs!
Check out your new user account stuff and give me some feedback.
2000-11-25 12:56:04 +00:00
Steven Wittens 01018b6830 Fixed the "below your threshold" bug... it still had an old method in there. Zaphod is outdated as well, and Marvin doesn't contain a check for 0 in there. 2000-11-21 16:53:32 +00:00
Steven Wittens c3e6f00141 theme tweaking 2000-11-13 19:26:17 +00:00
Steven Wittens 5ae598c910 theme enlargement 2000-11-13 19:10:25 +00:00
Dries Buytaert 9559f61fca Another batch with a lot of internal updates, yet no visual changes to the
site:

- watchdog (rewrite):
   + the collected information provides more details and insights
     for post-mortem research
   + input limitation
- database abstraction layer:
   + mysql errors are now verbose and is no longer displayed in a
     browser - fixes a possible security risk
- admin.php:
   + updated watchdog page
   + fixed security flaw
- diary.php:
   + fixed nl2br problem
- themes:
   + fixed comment bug in all 3 themes.
- misc:
   + renamed some global variables for sake of consistency:
      $sitename  -->  $site_name
      $siteurl   -->  $site_url
   + added input check where (a) exploitable and (b) possible
   + added input size check
   + various small improvements
   + fixed various typoes

... and much, much more in fact.
2000-11-13 08:17:45 +00:00
Dries Buytaert d4fc1dfa88 * small improvements to my themes:
- they now use 'discussion_num_filtered()' to display the number
     of filtered comments.
2000-11-07 08:59:36 +00:00
Steven Wittens 234981df56 - Removed preview()
- Updated comment() for the new comment-class
- Fixed the funky indentation :) (the blame goes to this weird text-editor)
2000-11-03 23:19:26 +00:00
Dries Buytaert 7f2e4572fa - fixed bug in search.php
- fixed bug in discussion.php
- theme update: comment() now takes 3 arguments:
    $comment - an object with comment data
    $link    - a link to the reply form of that particular
               comment
    $thread  - the subthread of that particular comment
- theme 'marvin' and theme 'zaphod' are updated, theme
  'unconed' is left to be done
2000-11-03 07:57:28 +00:00
Dries Buytaert 8a866e6d51 - Fixed quote bug in the comment tracker.
(suggestion UnConeD)
- Added anchors to comment links to easy comment navigation.
  (suggestion UnConeD)
- Fixed duplicate `you voted' after moderating a story.
  (suggestion UnConeD)
- Fixed quote bug in administration center.
- Expanded user administration with timezone information.
- Improved the theme system by eliminating the "preview" function.
  Let's not make the system more complex then it ought to be.
- Refined watchdog administration.
- ...
2000-11-02 09:23:07 +00:00
Steven Wittens 70520c7b05 funky theme bug makes netscape look ugly 2000-11-01 21:48:38 +00:00
Dries Buytaert 6a6e9cc8a2 * fixed quote bug just reported by UnConeD. 2000-11-01 15:22:41 +00:00
Dries Buytaert 9cf30ab8bf * fixed the slash-bug just reported by UnConeD. 2000-11-01 15:09:05 +00:00
Dries Buytaert 28bf9e8999 - fixed a bug in check_input: html stripping was not 100% correct.
- fixed a bug in account.php: the confirmation url is now correct.
- improved error checking + security in diary.php.
- fixed a bug in the html code of theme zaphod.
- improved the date handling: always call format_date().
- expanded account information in administration pages.
- added a new variable $siteurl to ./includes/config.inc.
- added comment moderation to theme zaphod.
- "alter table users add timezone varchar(8);"

- !!! added new timezone feature !!! :o)
2000-10-30 16:18:39 +00:00
Dries Buytaert 716bc2016c added nl2br()'s where appropriate!
UnConeD: will you add the nl2br()'s to your theme or do you want
         me to do so?  Remark that it will look screwed up (too
         many <br>'s) with the current stories but it won't with
         new entries ...
2000-10-24 15:07:29 +00:00
Steven Wittens 6f6cc6401b Comment control-box update... 2000-10-24 14:57:36 +00:00
Dries Buytaert 34494acf70 * added a 'DOCTYPE' statement 2000-10-21 13:34:28 +00:00
Dries Buytaert 2d56415ae9 Fixed 4 tiny bugs in unconed.theme:
+ 'nocomments' should be removed as it's no longer supported.
 + '$sid' should be passed or you'll get moderation errors.
 + 'get' should be 'post' in the control form.
 + renamed the 'Refresh'-button to 'Save'.
2000-10-21 13:29:52 +00:00
Dries Buytaert e156b0c414 - fixed a bug in unconed.theme 2000-10-21 12:54:08 +00:00
Dries Buytaert 11ee95dadc A big, fat commit with a shitload of internal changes. Not that much
visual changes:

- removed redundant files user.class.php, calendar.class.php
  and backend.class.php.
- converted *all* mysql queries to queries supported by the
  database abstraction layer.
- expanded the watchdog to record more information on what
  actually happened.
- bugfix: anonymous readers where not able to view comments.
- bugfix: anonymous readers could gain read-only access to
  the submission queue.
- bugfix: invalid includes in backend.php
- bugfix: invalid use of '$user->block'

and last but not least:

- redid 50% of the user account system
2000-10-19 13:31:23 +00:00
Dries Buytaert cb37021a63 ... and the winner is ... 2000-10-10 16:41:19 +00:00
Dries Buytaert 4a6c6de758 Huge update - I don't have time to write everything down but the directory
structure changes, some sections are expanded.  Take a look at the source
code or ask me to elaborate on certain issues/topics.
2000-10-10 10:52:19 +00:00
Dries Buytaert e7019c2577 Changelog
---------
- improved the user information page.
- improved the story submission page.
- fixed comments score bug: '.00' --> 'x.00'
- tried fixing the calendar wrapping - UnConeD, is it fixed now?
- provided a link back to the submission queue after having voted
  for a story.
- fixed comment subject bug (and security flaw) by replacing
  quotes by &quot;.
- updated theme 'zaphod': fixed 2 bugs.
- updated theme 'marvin': fixed 1 bug and improved the layout so
  things wrap (hopefully) better in Windows.
- comments have by default no subject pre-set - if no subject is
  provided, the user is warned and when a comment eventually got
  submitted without a subject, a subject is composed using the x
  first characters of the comment's body.
- improved comments on submit.php
- corrected a typo in the FAQ.

UnConeD
-------
- replace 'article.php' by 'discussion.php'
- comment() still uses old references to account.php: the
  parameters you supply to account.php does no longer hold.
  You have to update those links to the new syntax.
- commentcontrol() is outdated - copy paste the one of
  theme 'marvin' and adjust it to your likings.
2000-10-02 07:32:17 +00:00
Dries Buytaert 5fc99970ab I just commit everything what was queued in my backlog:
- Added a basic implementation of comment moderation
- Updated and renamed my 2 themes: I removed redundant boxes and tried to
  work towards simplicity.
- Disabled the other themes as they are broken (I gave you sufficent time
  to update them).
- Removed redundant files.
- Added security checks with regard to the usage of HTML tags.
2000-09-26 07:34:33 +00:00
Dries Buytaert 1f0a87f4e7 Over the last 2 days I redid and reorganized an afwul lot of code and
made quite a lot of additions.   The most remarkable addition is the
diary server, which I slapped together in less then 40 minutes.   Most
of the other changes are however `unvisible' for the user but add much
value to a better maintainability from a developer's objective.  Like
always, I fixed quite a number of small bugs that creeped into the code
so we should have a bigger, better and more stable drop.org.

Unfortunatly, some theme update _are_ required:


REQUIRED THEME UPDATES:
=======================

* use format_username() where usernames are used
* use format_date() where timestamps/dates are used
* use format_email() where e-mail addresses are displayed
* use format_url() where url are displayed
* replace 'formatTimestamp' with format_date
* replace 'morelink_*' with 'display_morelink'

[most of these functions are in function.inc or template.inc]

___PLEASE___ (<- this should get your attention ;) update your themes
as soon as possible - it only takes 30 min. to get in sync with the
other themes.  Don't start whining about the fact you don't know what
to change ... either eat the source cookie, or ask me to elaborate on
a few changes.  Just let me know what's puzzling you and I'll try to
help you out!


TODO LIST FOR NEXT WEEK
=======================
* Add checks for max. text length in textarea's?  Is there an HMTL
  attribute for this or ...?
* Comment moderation + mojo
* Edit/admin user accounts: block, delete, change permissions, ...
* E-mail password, change password, change e-mail address -> extra
  checks and routines to validate such `special' changes.
* Input checking - input filter: bad words, html tags, ...
2000-09-11 07:45:22 +00:00
Dries Buytaert e214bd06c6 Updates:
--------

* URI/URL enhancements to make the URLs more comprehensive and shorter.
* Fixed a bug in submit.php that slipped in during the latest commit.
* Changed a few tidbits on the calendar.
* Fixed a bug in most themes:
    $tid       --> $cid
    COUNT(tid) --> COUNT(cid)
  Updated most themes except for UnConeD's.
* Fixed a handful of problems with Jeroen's theme.  However, Jeroen's
  theme is still not working yet - some features are completly missing,
  making the theme not very useful ...

Any known bugs left?  If not, I'll head on tonight and add some new
features.  I'll probably add basic admin tools to edit articles and
such.  Once done, we can start on the comment moderation.
2000-07-13 07:21:57 +00:00
Jeroen Bensch 90e8ad2790 for the third time... 2000-06-23 08:20:13 +00:00
Jeroen Bensch f0f1f9638e *** empty log message *** 2000-06-22 19:21:11 +00:00
Jeroen Bensch 0d1fbc4059 This is a logo being randomly generated, if it appears there is a cork stuck
in the pipe and no drop will leak out of it.
2000-06-22 19:19:39 +00:00
Jeroen Bensch 518229c488 Changed my theme so you could vote submissions. 2000-06-13 13:55:21 +00:00
Jeroen Bensch 7ae0cff395 renamed my theme.class 2000-06-05 16:27:20 +00:00
Dries Buytaert 50fc563bff * Enhancement: removed themes/list.php by integrating it directly into
account.php.  list.php was just being clumpsy and did simply not
  belong in the themes/-directory.
2000-06-05 15:49:35 +00:00
Jeroen Bensch efee3baf98 My theme with the calendar... 2000-06-04 15:08:10 +00:00
Jeroen Bensch 85594eb9a1 like this? 2000-06-04 12:20:44 +00:00
Jeroen Bensch eaafc01bce Removed the NOWRAP tag in the subheader but I have to find a better way, it
doesnt look good in NS.
2000-06-04 12:09:05 +00:00
Jeroen Bensch e658c51aa0 Found a floating colored pixel in the logo + I typed the text in courier...
I think this looks a bit better.
2000-06-04 11:41:36 +00:00
Jeroen Bensch b6dd527adc This is the theme.class that I tried to change so it'd work under IE. 2000-06-04 11:25:42 +00:00
Jeroen Bensch 48141624c3 hope and pray my friends, I shuffled my theme.class around a bit and i hope
this is the good one.
2000-06-03 09:30:50 +00:00
Jeroen Bensch e1a7c7a6f7 Uploaded 3 .giffies for the navigation bar at the bottom I left borders on 1
because i still have to check out some table problems with that navigation
bar.
2000-06-03 09:17:54 +00:00
Jeroen Bensch 221a2b87af sorry wrong font size 2000-06-03 09:12:59 +00:00
Jeroen Bensch 00d5b2571b theme.class update, added a stylesheet to avoid font size problems between
browser, but now the Status box show in 9pt too and I dont want that, does
anyone know how to break out a stylesheet so you still can assign font sizes
within the body, without them being overruled by the stylesheet?
2000-06-03 09:10:14 +00:00
natrak 1b12175140 Think this is all of it :) 2000-06-02 18:36:50 +00:00
Jeroen Bensch 052757e291 - Tweaked my logo a teeny bit.
- Fixed some table errors in the article and comment-control section form
theme.class.
2000-05-29 09:51:52 +00:00
natrak 005267568d Just testing something :) 2000-05-28 21:37:07 +00:00
Jeroen Bensch b956695c8b The three leftover gifs are removed... 2000-05-28 19:10:57 +00:00
Jeroen Bensch bc79f8c21b Removed all the old giffies if it still works now it is a miracle.
Hope and pray...
2000-05-28 15:23:12 +00:00
Jeroen Bensch a04b2b6d4a A load of renamed giffies... 2000-05-28 14:47:01 +00:00
Jeroen Bensch cfe8e43fcd A pretty final version of the theme.class...
I replaced much of the giffies filenames with more human-readable ones.
Yes this implies a lot of removing and replacing giffies. Expect some more
cvs updates. :)
2000-05-28 14:40:40 +00:00
Jeroen Bensch 684adf9ee3 the giffies to come with the updated theme.class
too bad you cant see it yet
2000-05-28 10:06:03 +00:00
Jeroen Bensch 0f7000a4f8 - Added:
more random thingies...
   comment control...
   themed webboard...
   themed comments...
2000-05-28 10:03:23 +00:00
Jeroen Bensch 9286bfc10e Mes excuses mais c'est la derniere fois... 2000-05-27 09:46:14 +00:00
Jeroen Bensch 5a70a5f2b3 Another two giffies... 2000-05-27 09:45:23 +00:00
Jeroen Bensch 621e438e22 - Errrr... kinda forgot one giffie... 2000-05-27 09:36:22 +00:00
Jeroen Bensch 7e47749be8 - removed all of my old giffies...
- hope and pray my people.
2000-05-27 09:30:04 +00:00
Jeroen Bensch 163fcebafb - Another load of gifs...
- I'll remove the ones of my first theme.
2000-05-27 09:19:05 +00:00
Jeroen Bensch e1c2498f14 Uploaded the theme.class 2000-05-27 09:03:04 +00:00
Jeroen Bensch 6aed99f8c4 All the giffies.... again 2000-05-26 14:42:22 +00:00
Jeroen Bensch c0eca9affd Another final commitment, this time factor 10 as good.
Enjoy.
2000-05-26 14:40:09 +00:00
Jeroen Bensch 09956643f7 - I uploaded all of my .giffies, most of the theme should work now.
- Only the webboard is still ugly and you cant read/post comments for now.
- I still have to copy/paste the comment thing.
2000-05-26 09:16:25 +00:00
Jeroen Bensch 5489f8f297 - Uploaded my final theme.class (for now)
- I especcially left one buggy thing in it... if you find it tell me...
2000-05-26 09:11:39 +00:00
Jeroen Bensch 8a815fedba Uploaded the .gifs for my theme 2000-05-25 21:26:53 +00:00
Jeroen Bensch ad89f47b48 I uploaded a pretty final version of my theme... some minor errors though.
Let me know how it looks in IE ok? *being frightened*
2000-05-25 21:25:03 +00:00
Jeroen Bensch 6590fec2e0 Removed old .php files and added some gifs 2000-05-25 14:11:01 +00:00
Jeroen Bensch 80399f6305 How about a slight theme-update? 2000-05-25 14:10:08 +00:00
Jeroen Bensch 4688f4335a fingers crossed 2000-05-22 09:53:08 +00:00
Jeroen Bensch 1a757c97d6 fewsa 2000-05-22 09:43:52 +00:00
Jeroen Bensch d32e6aa9db ewsabeasw 2000-05-22 09:41:29 +00:00
Jeroen Bensch d43baa9e10 fewsagbna 2000-05-22 09:31:01 +00:00
Jeroen Bensch c3edc25010 testing... 2000-05-22 09:15:12 +00:00
Jeroen Bensch 03eced9e96 another try... 2000-05-22 09:07:29 +00:00
Jeroen Bensch 655be71c67 and again... 2000-05-22 09:01:12 +00:00
Jeroen Bensch a2a6de8369 Tried out how to commit stuff. 2000-05-22 08:55:00 +00:00
Dries Buytaert 2569242afd Imported sources 2000-05-18 19:52:00 +00:00