Can't add someone to my foes list

Comments on the new forum software, and technical questions about the forum software.
Post Reply
User avatar
Citroen
SpamTeam
Posts: 8077
Joined: March 16th, 2006, 3:28 pm
Location: A small cave in deepest darkest Basingstoke, UK

Can't add someone to my foes list

Post by Citroen » March 5th, 2010, 5:11 am

When I tried to add a user to my "foes list" it barfed with

You cannot add administrators and moderators to your foes list.

Can we fix that? There's someone's noise that I'm not interested in so I'd like to hide his/her posts and my Greasemonkey script doesn't work on phpBB3. I wonder if the user I'm trying to hide is assigned to the wrong group.
Dougie Lawson
61yrs, 172cm, Almost LWt (in my dreams).
Twitter: @DougieLawson

User avatar
David Hart
Paddler
Posts: 46
Joined: March 30th, 2006, 5:05 am

Re: Can't add someone to my foes list

Post by David Hart » March 5th, 2010, 7:26 am

OK; solved the issue with some user groups. This should work fine now.

--David
David Hart

User avatar
jliddil
6k Poster
Posts: 717
Joined: February 7th, 2008, 11:44 am
Location: North Haven, CT

Re: Can't add someone to my foes list

Post by jliddil » March 5th, 2010, 3:47 pm

What a great feature!

JD
JD
Age: 51; H: 6"5'; W: 172 lbs;

gooseflight
2k Poster
Posts: 256
Joined: April 2nd, 2006, 3:53 am
Location: Scotland

Re: Can't add someone to my foes list

Post by gooseflight » March 8th, 2010, 8:04 am

Here's the Greasemonkey fix for the new skin:

Code: Select all

// ==UserScript==
// @name           Hydrangea
// @description    Hide ranger posts
// @namespace      http://www.machars.net
// @include        http://www.c2forum.com/viewtopic.php*
// ==/UserScript==

var paras = document.getElementsByTagName("p");
var parent = null;

for (var i=0;i<paras.length;i++)
{
    if (paras[i].className == "author" && paras[i].innerHTML.search(/ranger/) > -1)
    {
        parent = paras[i].parentNode.parentNode.parentNode;
        parent.style.display = "none";
    }
}
Roy Walter
M55 | 185cm | 90kg | Journeyman Erger
PBs (2004): 6:38 (2K) | 5:22.9 (mile) | 17:39.6 (5K) | 8323 (30 mins) | 36:52 (10K) | 1:22:03 (HM '05)

User avatar
Citroen
SpamTeam
Posts: 8077
Joined: March 16th, 2006, 3:28 pm
Location: A small cave in deepest darkest Basingstoke, UK

Re: Can't add someone to my foes list

Post by Citroen » March 8th, 2010, 9:55 am

gooseflight wrote:Here's the Greasemonkey fix for the new skin:

Code: Select all

// @include        http://www.c2forum.com/viewtopic.php*
You probably want to change that to

Code: Select all

// @include        http://*c2forum.com/viewtopic.php*
for the folks who've ditched the www's

gooseflight
2k Poster
Posts: 256
Joined: April 2nd, 2006, 3:53 am
Location: Scotland

Re: Can't add someone to my foes list

Post by gooseflight » March 8th, 2010, 10:21 am

Citroen wrote:
gooseflight wrote:Here's the Greasemonkey fix for the new skin:

Code: Select all

// @include        http://www.c2forum.com/viewtopic.php*
You probably want to change that to

Code: Select all

// @include        http://*c2forum.com/viewtopic.php*
for the folks who've ditched the www's
Makes no difference. Dropping the www still puts you back at the www. host header. But no harm either way.
Roy Walter
M55 | 185cm | 90kg | Journeyman Erger
PBs (2004): 6:38 (2K) | 5:22.9 (mile) | 17:39.6 (5K) | 8323 (30 mins) | 36:52 (10K) | 1:22:03 (HM '05)

Post Reply