PDA

View Full Version : [FRD] Kill File v0.9a


09-25-2000, 11:29 PM
Name: Kill File 0.9b
Author: shabang@Overgrow.com
Status: in Beta Phase

This is really just a modification or an addition onto the wildly succesful PM hack. The PM hack is a pre-requisite to installing the Kill File.

Design Doc:

-Allow any registered and cookied user to selectively ignore any poster.
-The handle ignored can be either registered or unregistered.
-Database is already in place with PM, just need to integrate with forums.
-User can edit the ignore list in PM.
-At the bottom of every post will be an ignore button to turn it on.
-If a post is ignored, the message will not be displayed.
-Instead of the message a link to bypass the ignore setting is used.
-This link would then display the message regardless of the ignore.

See it in action:

Edge Forums (http://www.overgrow.com/edge/index.php)


If there is interest, I will release this quick hack to the public after it passes the Beta phase. It requires the addition of one template and modifications to showthread and private.php.

09-26-2000, 12:00 AM
I was about ready to work on exactly that! If yours works then share the wealth! It'll save me some effort at least! ;)

09-26-2000, 02:16 AM
I for one would like to see this ;)

09-26-2000, 07:08 AM
I just registered and checked your modification out.

A W E S O M E !

I hope you plan to share it. I would be very grateful. Once again...great job! ;)

09-26-2000, 12:46 PM
That's very cool.

Any chance of you making the PM folders hack you have on your boards available as well? :)

09-26-2000, 12:48 PM
This is a very nice feature, I've seen it requested here before a few times.

-Chris

09-26-2000, 02:01 PM
I've added a few more things, including the ability for a registered user to ignore all non-registered posts. This is settable by adding one line to your ignore list such as:

ignoreallguests

This is in a variable that you, the admin, can change if you choose. I may go a little further in modifying the PM side of the hack.. such as after you modify your ignore list, it would forward you back to the thread instead of back to the PMs.

Glad there is interest.. I've been waiting to code this ever since I saw vB. I'm so glad we finally made the switch.

re: PM Folder hack--

What is that? I didn't install our PM-- the techgeek Herb did. I didn't realize that our PM's were different. I logged into Ed's board and it seemed to have the same folder abilities ours does.

09-26-2000, 02:09 PM
It does? I don't think it's part of the official hack...anyone here willing to share it with us? :D

09-26-2000, 02:25 PM
Oh and by the way: you have the nicest damn forums I've ever seen. The colors and layout are superb!

Do you mine if I ever "borrow" your color scheme? I must have it! :)

09-26-2000, 03:09 PM
Hey thanks for the kind words. I have no copyright on good taste ;) please feel free to use the color scheme if you like. I used to do the white/green on black scheme myself.. Have you seen the Unreal Forums? The actual URL slips my mind, but the webmaster posts here. That is the best on-black board I've seen to date.

09-26-2000, 03:17 PM
I have a bug in my showthread.php that I am trying to track down.. that is what's holding up the development of Kill File. This bug was here before I did the optimization hack and before I did the Kill File hack, so I don't think the new code is causing it-- but I want to be sure.

My "goto=lastpost" is no longer working. The arrows have the correct link and thread referenced, but when that info gets to showthread it is looking up the wrong post#. The query looks correct.. anyway, I will work on tracking that bug down and finishing Kill File after that. This bug is possibly from our 50,000 post UBB import, but I'm not sure how the linking would be all fouled up.

09-26-2000, 03:51 PM
How do all..

TWTCommish - That PM hack is ed's hack.. I download the latest version a few weeks back and followed his 1st time install instructions.. The folders came with it..

BTW Ed - Very nice hack..

Herb

09-26-2000, 04:55 PM
TWT - yeah, that's stock 1.2.0 stuff. 0.9.x didn't have it.

Herb - thanks.

This is a nice hack too! I have some people I could use it on :)

09-26-2000, 05:30 PM
Kill File is such a simple extension of the ignore system you built into PM, I'm quite surprised no one has done it before.

While I have your eye, do you see any problem with these proposed hacks to the PM:

In private.php under doeditignore, I removed the check to see if your newly ignored person is actually a registered user. I want the users to be able to ignore guests as well.

Also I'm adding guest usernames to the ignorelist and not just registration numbers, which seemed fine since the field is initially setup as Mediumtext.

** ONE REQUEST ** to ask of anyone who can answer:

Why do some users complain that the site scrolls horizontally on a 15-inch monitor. I've tried all browsers at 800 x 600 and can't get it to scroll with the window maximized. (ahh perhaps their window isn't fully maximized).. but anyway, if you have a 15-inch screen, please take a look at 800 x 600 and tell me if it scrolls.

P.S. Fixed my showthread bug, will continue work on Kill File (inbetween real work projects LOL)

[Edited by Overgrow on 09-26-2000 at 02:46 PM]

09-26-2000, 06:14 PM
Actually, that should work. I'm not sure. You'll have to find the query that grabs the ignore list and make sure it doesn't do any further queries with derived info (or, if it does, add some check in)

09-26-2000, 06:16 PM
On my generic 15 inch monitor with a Diamond Viper (800x600) in Windows 98 using the latest release of IE 5.5, the board is scrolling slightly to the right. The page ends right where the rounded corner starts. No text is cut off, but the graphics go off the right side a little.

09-26-2000, 06:34 PM
Same here...I think my monitor is 15 inches...might be 17 though, I'm not totally sure, and don't feel like making sure either. :)

It definetly scrolls to the right a bit, though.

09-27-2000, 12:32 PM
I don't think it matters what size monitor it is. It could be a 32" monitor, but if the resolution is 800x600, it's the same on every monitor.

Amazingly, a lot of people don't maximize their browsers... especially the AOLers. AOL, by default, opens the browser in a little window. Probably to keep you in their own little world so you never forget you are in AOL.

My feeling though, from a design viewpoint is, that it's not going to matter much. Those people are used to seeing most websites like that. Think of the WebTV users. They don't even have a concept of what the sites are really supposed to look like. :)

If the horizontal scroll concerns you, check all of your table settings, and the size of your graphics. Those will decide the absolute width of the page.

If all the tables are set to 100%. but the graphics, when lined up, equal more than '800', you're gonna get scroll.

09-27-2000, 01:04 PM
I don't think it matters what size monitor it is. It could be a 32" monitor, but if the resolution is 800x600, it's the same on every monitor.


Of course that's what I thought too. I tried every browser at that resolution and couldn't get a scroll.

But what about the other people in this thread? Did you have your windows totally maximized when you saw the scroll?


My feeling though, from a design viewpoint is, that it's not going to matter much. Those people are used to seeing most websites like that.


LOL.. why give em a steak if they're used to eating Big Macs?


If the horizontal scroll concerns you, check all of your table settings, and the size of your graphics. Those will decide the absolute width of the page.

If all the tables are set to 100%. but the graphics, when lined up, equal more than '800', you're gonna get scroll.


I know the graphic width is under 800.. but one main table in the header contains all of the rest of the page. This is unfortunate since it doesn't allow the postbit tables to draw themselves independently-- they must wait for them all to be filled in before the overall table is drawn. Just a negative aspect to the design that wasn't caught in planning.

That main table was 97% width. I just changed it to 94%. Can the friends that saw the scroll yesterday please give it another look and see if it still scrolls?

(oooo what a cheap ploy to get hits on his site).. PS Thanks Brian

09-27-2000, 01:14 PM
I will package it up and release it today if work doesn't get in the way.

09-27-2000, 01:37 PM
Side scrolling is still there - sorry :(

As for "being used to it"...that only holds true with 640x480 users - 800x600 users are not used to it and all, and have not come to expect/accept it. Most sites fit within this size.

09-27-2000, 01:50 PM
Thanks Chris.. if I could see it myself, I'm sure I could fix it.

Is it on every single page of the forums? Or just on certain ones?

09-27-2000, 01:54 PM
I've been waiting to hear this news. Thanks. I can't wait.

09-27-2000, 05:46 PM
Every page as far as I've seen...

09-27-2000, 10:03 PM
Yikes I wish I could PM one of you fellas instead of replying here... but....

How about now? Is the scrolling fixed?

I swear at 800x600 I've never seen any horizontal scrolling, but many obviously do. OK, I cut 15 pixels off of the top images, I think that should do it?

09-28-2000, 12:36 AM
Less scrolling now - but still some...only a little less then before. Sorry :(