Ignore Content

Ignore Content [Paid] 4.0.6

No permission to buy ($30.00)
I think it's already implemented!
Oh is it? One of the updates talks about removing it and the description of the plugin says:

Current content supported:
  • Forum
  • Thread
Would be good to get clarification as would definitely buy if you can ignore a tag :)
 
Can you add a mouse over tooltip for this? I want to add a simple explanation for what it does.

1588128570802.webp
 
Let me think if it's possible to do.

I'm not sure if this is helpful but I found something on the web about tooltip in XF 2.1...

To add tooltip for xenforo 2 you can add the following code wherever you want to display

data-xf-init="tooltip" title="Tooltip Content"

Replace Tooltip Content the content you want to display
Source: https://xenbin.com/threads/how-to-add-tooltip-in-xenforo-2.453/

I just tried to play around with this code on your template modifications but without success.

oh Actually, you got tooltip for "Show ignored content"..

1588135751354.webp
 
Last edited:
Also I want to change the Ignore link in Forum view to an FA-icon. I tried to change the phrase Ignore to fa-something, it looks good in forum view but generates a bad button in user profile page:

Forum view (the crossed eye icon replaced Ignore):
1588131079717.png

Profile page:

1588131177296.png
 
@truonglv I prevent users from ignoring forums, by selecting all forums in the settings.
Still the Forums tab shows up under /account/ignored, could this be fixed, I don't want users to see that tab when they can't ignore forums, thank you.
 
Can you add a mouse over tooltip for this? I want to add a simple explanation for what it does.

View attachment 223623

I actually don't think it is needed, the edit link next to it do not have a tooltip.
If you still want it you could paste this:
Code:
   data-xf-init="tooltip" title="{{ phrase('tic_ignore_thread') }}"
between row two and three in template tic_ignore_content_button

I do think a tooltip is more needed in tic_ignore_content_list
I have pasted
Code:
data-xf-init="tooltip" title="{{ phrase('unignore') }}"
above
Code:
class="button--icon button--link button--small"><i class="fa fa-trash"></i></xf:button>

And maybe the fa fa-trash button should be changed to fa fa-times
 
Last edited:
Yes. It's support paginationing.
I do not see any pagination at the bottom of the page.
When I print out the values of {$page} {$perPage} {$total} {$pageNavParams} I get 1 20 5 Array
So I guess that it should be 5 pages, but it is only one and no pagination.

Another thing, I think the template modification of thread_view should place the ignore button next to the watch button and not to the left of "Jump to new"-button.

My users really like the new functionality of your script, thank you.
 
I found a bad way around this, it still needs to be fixed.
in the file src/addons/Truonglv/IgnoreContent/XF/Pub/Controller/Misc.php
find
$perPage = $this->options()->discussionsPerPage;
change that to
$perPage = 1000;
or any other number that shows all the threads or users that are ignored.
This will of course give you an unexpected contents for that file in "File health check results".
 
I found a bad way around this, it still needs to be fixed.
in the file src/addons/Truonglv/IgnoreContent/XF/Pub/Controller/Misc.php
find
$perPage = $this->options()->discussionsPerPage;
change that to
$perPage = 1000;
or any other number that shows all the threads or users that are ignored.
This will of course give you an unexpected contents for that file in "File health check results".
It's will take much records in that page
 
Back
Top Bottom