Requested feature in the Forum
-
@Han-Solo Ask and you shall recive - ignore users plugin installed. If you look closely at the end of a persons name in posts, there is an eye patch icon - click that and the user will ignore/unignored. You can also go to their profile and ignore them in posts or chats.
-
Nice, but that little eye is too close to the name for my taste. Haitcho.
-
-
@daWallet Unfortunately there is no config for the plugin, I'll go through the code if I can and see if it can be moved over a little.
@ccminer - try a Ctrl F5 to refresh.
-
@haitch Now I can see it ehehe thx
Started to use the new awesome feature right now!!!!
-
:v only thing is you should not be able to ignore admins.
-
@haitch Is there any way that persons who are targeted by this new feature to be aware of how many people has use it in regards to them?
If I know that 20 people (not knowing who) let's say, has desided to block me maybe I will take great care next time when I will post anything. Will help to bring a bit more awarness to those who lack of...
Maybe I ask to much. :)Thank You and have a nice one.
P.S. Check with @ccminer about my new proposition regarding the pool.
-
@Han-Solo I don't believe it shows the ignored person they've been ignored, but does keep track of who you have ignored
-
@haitch It would be nice to. Anyhow nice one. Thank You again.
-
Haitchø
How is the space doing. ;)
-
@daWallet It's driving me a little nuts .....
Can some JavaScript programmer please explain how I put a space before the icon in this command, I'd really appreciate it:
//We add the element on the page, in the place we want $('li[component="post"][data-pid="'+post.pid+'"]').find('a[itemprop="author"]').after('<a href="#" itemprop="ignorespot" data-uid="'+post.uid+'" class="fa '+icon+' '+className+'"></a>'); if(config['theme:id']!=='nodebb-theme-lavender'){ $('li[component="post"][data-pid="'+post.pid+'"] div.content').after('<div class="original-content hide" component="post/original-content" itemprop="text">'+post.originalContent+'</div>'); }else{ $('li[component="post"][data-pid="'+post.pid+'"] div.post-content').after('<div class="original-content hide" component="post/original-content" itemprop="text">'+post.originalContent+'</div>'); } if(postClass!=null){ $('li[component="post"][data-pid="'+post.pid+'"]').addClass('ignored'); }
-
@haitch just add this css ;) it will make 6px space on both ends of eye and amke it slightly bigger ;)
a[itemprop="ignorespot"] { margin: 0 6px; font-size: 1.3em; }or if you like colored ones
a[itemprop="ignorespot"].ignore { margin: 0 6px; font-size: 1.3em; color: green; } a[itemprop="ignorespot"].unignore { color: red; }
-
@LithStud said in Requested feature in the Forum:
{
margin: 0 6px;
font-size: 1.3em;
}Thanks, however it appears the css is being dynamically generated, so how would I add that to this?
if(!iconsHasBeenChanged){ $('a[itemprop="ignorespot"][data-uid="'+post.attr('data-uid')+'"]').removeClass('ignore').addClass('unignore').removeClass('fa-eye-slash').addClass('fa-eye'); iconsHasBeenChanged= true;Just it after the "ignorespot" ?
-
@haitch its not :) just put it into css file and link it in the head, or another way put it in head (somewhere near closing head tag) like this
<style id="custom _burst_team_css" type="text/css"> a[itemprop="ignorespot"] { margin: 0 6px; font-size: 1.3em; } </style>
-
If the script has a template folder it should be in the header.tpl file
-
@Energy No header.tpl unfortunately, just the client.js which I can't figure out and an ignored.tpl seems to be related to changes on your profile page for the extra buttons
-
@haitch I do not know the script, node.js is not mine, but a few days ago I was curious to try it when renting the new server and I have been looking at the themes https://github.com/NodeBB/nodebb-theme-lavender and There you have that folder, I thought it would be the same as in php scripts.
You will not have in the admin panel a theme editor like wordpress ???
-
@haitch If your administration panel is like this you have to go to appearance, custom html and in Custom Header you can modify it

-
-
@LithStud Yes, I saw it but you were talking about putting it in the head.
It could be done both ways
What is not is whether it is a plugin or is included in the script, since the screenshot is from the 14-day test of https://nodebb.org


