New Greens and Purples?

Have something to say about forums.debian.net itself?

Re: New Greens and Purples?

Postby saulgoode » 2013-01-26 15:44

dasein wrote:(Though I confess that it never occurred to me that spamhunters actually have to see nuked spam in the topic list. UI fail.)

Here is a Greasemonkey script which will hide the "nuked spam" while you are viewing new posts. There are a couple of other GM scripts in the Team Chat forum that you might find helpful (they eliminate some typing and cut mouse clicks in half when removing spam).

Code: Select all
/ ==UserScript==
// @name           Debian Hide Spam
// @namespace      http://flashingtwelve.brickfilms.com
// @description    Hide threads in the Spam Forum when viewing new posts
// @include        http://forums.debian.net/search.php?search_id=newposts*
// ==/UserScript==

var fields;

fields = document.getElementsByClassName('topictitle')

for (var i = 0; i < fields.length; i++) {
  if ( fields[i].href.substring (0, 43) == "http://forums.debian.net/viewtopic.php?f=27") {
    var p = fields[i].parentNode;
    var gp = p.parentNode;
    var ggp = gp.parentNode;
    ggp.removeChild(gp);
    i = Math.min (0, i - 1); // backup index so that elements aren't skipped
    }
  }
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. -- Brian Kernighan
User avatar
saulgoode
 
Posts: 1545
Joined: 2007-10-22 11:34

Re: New Greens and Purples?

Postby dasein » 2013-01-26 15:46

Yes, I saw that, have already installed it, and nominated you for sainthood.

A True Blessing.
User avatar
dasein
 
Posts: 7775
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: New Greens and Purples?

Postby craigevil » 2013-01-26 17:31

How do you save or install it to Greasemonkey?
Debian Sid KDE Kernel 3.17 Thinkpad R40 Intel M 1.3 CPU 2GB RAM Radeon Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Debian upgrade script smxi | sysinfo script inxi
User avatar
craigevil
 
Posts: 5192
Joined: 2006-09-17 03:17
Location: Oz

Re: New Greens and Purples?

Postby dasein » 2013-01-26 18:20

Check yer PMs :D
User avatar
dasein
 
Posts: 7775
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: New Greens and Purples?

Postby dilberts_left_nut » 2013-01-26 21:02

dasein wrote:Yes, I saw that, have already installed it, and nominated you for sainthood.

A True Blessing.
+1

craigevil wrote:How do you save or install it to Greasemonkey?

Save it as a *.user.js then drag & drop on the browser window or 'File - open'
Note: the 'select all' code box tag added 4 blanks to the start of each line which prevented it being recognised when I did it first.
AdrianTM wrote:There's no hacker in my grandma...
User avatar
dilberts_left_nut
 
Posts: 5080
Joined: 2009-10-05 07:54
Location: enzed

Re: New Greens and Purples?

Postby confuseling » 2013-01-28 04:13

So, while the powers that be are paying attention, can we fix the ridiculously broken search? Or even just link it to a custom google search or something.

How many duplicate threads do we think this situation creates?

search.php?keywords=usb
The Forum's search box is terrible. Use site specific search, e.g.
https://www.google.com/search?q=site%3A ... terms+here
confuseling
 
Posts: 2143
Joined: 2009-10-21 01:03

Re: New Greens and Purples?

Postby Absent Minded » 2013-01-28 05:07

custom google search... put
Code: Select all
http://www.google.com
in your browser address bar, enter your search terms in the feild provided, add
Code: Select all
site:forums.debian.net
to the end of your search criteria...

I am hoping that the recent additions in staff will help our spam problem.

In all fairness I think we forget that all of the staff here are volinteer and not paid site admins. Our admins, at least most of them have full-time jobs in addition to being developers for Debian. By the time one gets home from work often 10+ hours of ones day has been shot. Making time for family and still donating time to develop for Debian quite honestly doesn't leave a whole lot of time for much else I would imagine. This is the first time the forum has been able to add a few administrators that are not active DDs. I do hope you all will concider these things before you pass judgment on the admins that quite honestly saved this forum from extinction just a few short years ago. Yes, things have been rough at times but the forum is still here to be used. If not for Mez and the other admins that felt this forum still offered some value to our community and the Debian project this forum would not exist today as the original founders up and abandoned the forum when things became too rough for them. I haven't forgotten and you all shouldn't either.

Best regards,
AM
Serving the community the best way I can.
Spreading the tradition of Community Spirit.
Please read some Basic Forum Philosophy
Give a man a fish, he eats for a day. Teach him how to fish, he eats for life.
Updated Nov. 19, 2012
User avatar
Absent Minded
 
Posts: 3757
Joined: 2006-07-09 08:50
Location: Washington State U.S.A.

Re: New Greens and Purples?

Postby confuseling » 2013-01-28 05:27

I have nothing useful to add about the politics, so let's not go there...

I'm not asking how to do a google search. I'm pointing out that the built in search is fundamentally broken. Having a button labelled 'search' which doesn't work is perverse, and must create many duplicate threads. How many frustrated new users are going to type search terms into what looks to all intents and purposes like the official forum for a major Linux distribution, come up blank, and think "Well, maybe I won't start a new thread quite yet, perhaps the search box doesn't work"?

I'm almost tempted to say we'd be better off if you just got rid of it, assuming nobody wants to fix it.
The Forum's search box is terrible. Use site specific search, e.g.
https://www.google.com/search?q=site%3A ... terms+here
confuseling
 
Posts: 2143
Joined: 2009-10-21 01:03

Re: New Greens and Purples?

Postby Soapm » 2013-01-28 05:37

vbrummond wrote:Ride now! Ride to victory against the viagra hordes!


Poor Dilbert, first someone took his left nut now we're cutting off his recreational meds...
User avatar
Soapm
 
Posts: 582
Joined: 2012-05-22 04:23

Re: New Greens and Purples?

Postby dasein » 2013-01-28 05:42

confuseling wrote:I'm almost tempted to say we'd be better off if you just got rid of it, assuming nobody wants to fix it.

Or maybe replace it with a custom Google search box? (Dunno how mechanically difficult it'd be to implement. Not that most folks bother to search anyway, but for those that do, and all that.)
User avatar
dasein
 
Posts: 7775
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: New Greens and Purples?

Postby confuseling » 2013-01-28 05:45

Good idea!

confuseling wrote:...Or even just link it to a custom google search or something.


:wink:
The Forum's search box is terrible. Use site specific search, e.g.
https://www.google.com/search?q=site%3A ... terms+here
confuseling
 
Posts: 2143
Joined: 2009-10-21 01:03

Re: New Greens and Purples?

Postby dasein » 2013-01-28 05:50

Sorry if I missed an earlier mention of a custom Google search. I'm a little distracted these days, wielding the Hammer of SpamBeGone against the Viagran hordes.
User avatar
dasein
 
Posts: 7775
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: New Greens and Purples?

Postby Randicus » 2013-01-28 06:14

Absent Minded wrote:In all fairness I think we forget that all of the staff here are volinteer and not paid site admins. Our admins, at least most of them have full-time jobs in addition to being developers for Debian.

I am in no way intending to insult the admins. I sympathise with the situation you describe, but the simple truth is, if they do not have any time to devote to the board, the problem is easily rectified. Add people to the position who do have time to administer the board. That would be a winning scenario for everyone. The old admins would not need to worry about the board, the new admins could improve the board, and the members would be happy having a better board. I do not know what new powers have been granted to the people in green, but I hope they are enough to make a difference. Good luck guys.
Randicus
 
Posts: 2664
Joined: 2011-05-08 09:11

Re: New Greens and Purples?

Postby saulgoode » 2013-01-28 06:30

confuseling wrote:I'm not asking how to do a google search. I'm pointing out that the built in search is fundamentally broken. Having a button labelled 'search' which doesn't work is perverse, and must create many duplicate threads.

Isn't the problem with your example that your search term ("usb") is too short? If it is something else, perhaps you could elaborate? I have not noticed a failing of the search utility on this forum that isn't typical of every other PHPBB forum I've used.
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. -- Brian Kernighan
User avatar
saulgoode
 
Posts: 1545
Joined: 2007-10-22 11:34

Re: New Greens and Purples?

Postby nadir » 2013-01-28 08:45

Absent Minded wrote:If not for Mez and the other admins that felt this forum still offered some value to our community and the Debian project this forum would not exist today as the original founders up and abandoned the forum when things became too rough for them. I haven't forgotten and you all shouldn't either.

Best regards,
AM


Let me add this:
Without users there is no forum either.
One shouldn't forget that.

On a site note:
Why most, if not all, Gnu/Linux forums ( a free OS, the RevolutionOS ) are handled like a third world junta is beyond me.
Obviously i am the only one who sees it like that. Or only of few.
And no, i am not exaggerating: "You agree that “Debian User Forums” have the right to remove, edit, move or close any topic at any time should we see fit."
That, the default phpbb agreement says: all rules are null and void for us. We can do what we want (either explain it by rules, or without any explanation, because we want to. Yes, we can).
Compare it with this: "By contrast, the GNU General Public License is intended to guarantee your freedom ... To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. "
Do both rules speak in the name of the same spirit?
But that is me. Obviously i lost contact to reality."The same rules are valid for everyone. Even the ones in power". Who has ever hurd of such a nonsense?


yabba da hut,
JustAnotherLinuxUser
"I am not fine with it, so there is nothing for me to do but stand aside." M.D.
User avatar
nadir
 
Posts: 5964
Joined: 2009-10-05 22:06
Location: away

PreviousNext

Return to Forum stuff & feedback

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable