Page 1 of 1

Follow a specific user's posts

Posted: Wed May 27, 2020 12:15 pm
by mattf789
Is there a way to subscribe to posts from a specific user? There are some users here who consistently post great advice / input and it would be nice to be alerted whenever they post.

Re: Follow a specific user's posts

Posted: Wed May 27, 2020 4:41 pm
by devilyoudont
mattf789 wrote:Is there a way to subscribe to posts from a specific user? There are some users here who consistently post great advice / input and it would be nice to be alerted whenever they post.

This won't alert you, but if you go to someone's profile then click search users posts, it should show all their posts with the most recent first.

As an example, here's the listing of all my posts: https://forum.language-learners.org/sea ... 7&sr=posts

Re: Follow a specific user's posts

Posted: Wed May 27, 2020 5:01 pm
by mattf789
devilyoudont wrote:
mattf789 wrote:Is there a way to subscribe to posts from a specific user? There are some users here who consistently post great advice / input and it would be nice to be alerted whenever they post.

This won't alert you, but if you go to someone's profile then click search users posts, it should show all their posts with the most recent first.

As an example, here's the listing of all my posts: https://forum.language-learners.org/sea ... 7&sr=posts


Yeah I'd seen that, but I'm lazy and forgetful and would love a notification :D

Re: Follow a specific user's posts

Posted: Thu May 28, 2020 7:39 am
by dicentra8
Maybe try the feature "add friend". I've never used it but here's the info from the FAQ.
What are my Friends and Foes lists?
You can use these lists to organise other members of the board. Members added to your friends list will be listed within your User Control Panel for quick access to see their online status and to send them private messages. Subject to template support, posts from these users may also be highlighted. If you add a user to your foes list, any posts they make will be hidden by default.

How can I add / remove users to my Friends or Foes list?
You can add users to your list in two ways. Within each user’s profile, there is a link to add them to either your Friend or Foe list. Alternatively, from your User Control Panel, you can directly add users by entering their member name. You may also remove users from your list using the same page.

Re: Follow a specific user's posts

Posted: Thu May 28, 2020 4:42 pm
by Doitsujin
I've created a very simple GreaseMonkey/TamperMonkey script that'll higlight all posts written by certain user(s). I'll also highlight replies, but only if their reply is the last reply.

Code: Select all

// ==UserScript==
// @name        LLORG Highlighter
// @include     *forum.language-learners.org*
// ==/UserScript==

var posts = document.querySelectorAll("li.row"), i;

for (i = 0; i < posts.length; ++i) {

     if (/Iversen|Chung/.test(posts[i].innerHTML)) {
        title = posts[i].querySelector("a.topictitle");
        title.setAttribute('style', 'background-color: #FFFF00;');
    }

}

var posts = document.querySelectorAll("div.post"), i;

for (i = 0; i < posts.length; ++i) {

     if (/Iversen|Chung/.test(posts[i].innerHTML)) {
        title = posts[i].querySelector("a.topictitle");
        title.setAttribute('style', 'background-color: #FFFF00;');
    }

}


(You'll need to replace /Iversen|Chung/ with the name(s) of the user(s) that you want to follow.)

It looks like this:

Re: Follow a specific user's posts

Posted: Thu May 28, 2020 6:52 pm
by mattf789
Doitsujin wrote:I've created a very simple GreaseMonkey/TamperMonkey script that'll higlight all posts written by certain user(s). I'll also highlight replies, but only if their reply is the last reply.

Code: Select all

// ==UserScript==
// @name        LLORG Highlighter
// @include     *forum.language-learners.org*
// ==/UserScript==

var posts = document.querySelectorAll("li.row"), i;

for (i = 0; i < posts.length; ++i) {

     if (/Iversen|Chung/.test(posts[i].innerHTML)) {
        title = posts[i].querySelector("a.topictitle");
        title.setAttribute('style', 'background-color: #FFFF00;');
    }

}

var posts = document.querySelectorAll("div.post"), i;

for (i = 0; i < posts.length; ++i) {

     if (/Iversen|Chung/.test(posts[i].innerHTML)) {
        title = posts[i].querySelector("a.topictitle");
        title.setAttribute('style', 'background-color: #FFFF00;');
    }

}


(You'll need to replace /Iversen|Chung/ with the name(s) of the user(s) that you want to follow.)

It looks like this:


That's awesome! I'm a complete dummy with stuff like this though, where do I paste the code please?

Re: Follow a specific user's posts

Posted: Thu May 28, 2020 7:13 pm
by Doitsujin
mattf789 wrote:That's awesome! I'm a complete dummy with stuff like this though, where do I paste the code please?
1. You'll need to install a Greasemonkey/Tampermonkey add-on for your browser. (The both work more or less the same.)
2. If you've installed GreaseMonkey, select New User Script, delete the default code, paste the script code and click the disk icon to save the script. (Make sure to copy and paste the complete script):

Code: Select all

// ==UserScript==
// @name        LLORG Filter
// @include     *forum.language-learners.org*
// ==/UserScript==

var posts = document.querySelectorAll("li.row"), i;
for (i = 0; i < posts.length; ++i) {
     if (/Iversen|Chung/.test(posts[i].innerHTML)) {
        title = posts[i].querySelector("a.topictitle");
        title.setAttribute('style', 'background-color: #FFFF00;');
    }
}

var posts = document.querySelectorAll("div.post"), i;
for (i = 0; i < posts.length; ++i) {
     if (/Iversen|Chung/.test(posts[i].innerHTML)) {
        title = posts[i].querySelector("a.topictitle");
        title.setAttribute('style', 'background-color: #FFFF00;');
    }
}

Re: Follow a specific user's posts

Posted: Thu May 28, 2020 7:31 pm
by mattf789
Doitsujin wrote:
mattf789 wrote:That's awesome! I'm a complete dummy with stuff like this though, where do I paste the code please?
1. You'll need to install a Greasemonkey/Tampermonkey add-on for your browser. (The both work more or less the same.)
2. If you've installed GreaseMonkey, select New User Script, delete the default code, paste the script code and click the disk icon to save the script. (Make sure to copy and paste the complete script):

Code: Select all

// ==UserScript==
// @name        LLORG Filter
// @include     *forum.language-learners.org*
// ==/UserScript==

var posts = document.querySelectorAll("li.row"), i;
for (i = 0; i < posts.length; ++i) {
     if (/Iversen|Chung/.test(posts[i].innerHTML)) {
        title = posts[i].querySelector("a.topictitle");
        title.setAttribute('style', 'background-color: #FFFF00;');
    }
}

var posts = document.querySelectorAll("div.post"), i;
for (i = 0; i < posts.length; ++i) {
     if (/Iversen|Chung/.test(posts[i].innerHTML)) {
        title = posts[i].querySelector("a.topictitle");
        title.setAttribute('style', 'background-color: #FFFF00;');
    }
}


Brilliant, thank you!