Can't add someone to my foes list

Comments on the new forum software, and technical questions about the forum software.

Can't add someone to my foes list

Postby 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
54yrs, 172cm, Almost LWt (in my dreams).
Twitter: @DougieLawson
Image
User avatar
Citroen
SpamTeam
 
Posts: 5078
Joined: March 16th, 2006, 3:28 pm
Location: Basingstoke, UK

Re: Can't add someone to my foes list

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

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

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

Re: Can't add someone to my foes list

Postby jliddil » March 5th, 2010, 3:47 pm

What a great feature!

JD
JD
Age: 51; H: 6"5'; W: 172 lbs;
User avatar
jliddil
6k Poster
 
Posts: 715
Joined: February 7th, 2008, 11:44 am
Location: North Haven, CT

Re: Can't add someone to my foes list

Postby 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)
gooseflight
2k Poster
 
Posts: 204
Joined: April 2nd, 2006, 3:53 am
Location: Scotland

Re: Can't add someone to my foes list

Postby 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
User avatar
Citroen
SpamTeam
 
Posts: 5078
Joined: March 16th, 2006, 3:28 pm
Location: Basingstoke, UK

Re: Can't add someone to my foes list

Postby 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)
gooseflight
2k Poster
 
Posts: 204
Joined: April 2nd, 2006, 3:53 am
Location: Scotland


Return to Forum use, comments and suggestions

Who is online

Users browsing this forum: No registered users and 1 guest