View Full Version : Mini Mods - [OzzModz] Ignore User In Postbit Dropdown Menu
ozzy47
09-09-2013, 10:00 PM
Another mod brought to you by,
https://vborg.vbsupport.ru/external/2015/01/1.png
This is a simple and better way to display an option to ignore a user in the postbit (or postbit legacy) memberaction dropdown menu. You can choose which usergroups can see this feature.
This will not show up in your own posts, since you can't ignore yourself. https://vborg.vbsupport.ru/images/smilies/tongue.gif
It is a simple installation, upload the files in the UPLOAD folder, then import the product XML, product-ozzy_ignore_user_mad
You can edit the options under the settings, [OzzModz] Ignore User Settings
[B]Complete Feature List
Option to disable the mod completely.
Option to select which usergroups can see this in the postbit.
Option to choose which usergroups the "Ignore User" will not show up on.
Option to choose which userid's the "Ignore User" will not show up on.
-------------------------------------------------------------------------------------------
If you like this mod please hit the https://vborg.vbsupport.ru/external/2015/08/1.png button to the right ---->
Please remember to click the, https://vborg.vbsupport.ru/external/2015/08/2.png button to the right if you installed the mod ---->
What does 'Marking As Installed' do ?
* It helps you to stay on top of updates - members who have installed modifications will be notified whenever new updates are available.
* For security issues - vbulletin.org will contact all members who have installed a modification whenever a security issue is brought to their attention.
* Marking a modification as installed also helps me know how many people are using my work, giving me extra incentive to provide more features and new modifications.
I appreciate the support!
-------------------------------------------------------------------------------------------
v1.0.0 Initial Release
v1.0.1 Fixed a issue with perms not working in the PM dropdown menu.
v1.0.2 Fixed a issue with the ignore showing up in your own menu, and solved a potential conflict with other mods.
v1.0.3 Fixed a issue where it would not show up on some sites.
v1.1.0
Bug Fixes And Issue Fixes:
Really fixed the issue with it not showing on some sites.
Fixed a issue where some sites might get a warning like this, "Link node ozzy_ignore_user_mad.css should be moved to the document head in Bla-bla-bla
Changes To Existing Features:
Added a stylevar to control the path to the "X" image.
Added a folder to upload that contains the "X" images, one for light skins, and one for dark skins.
Additions To Product From Feature Requests Or Just Something Else Added:
Added a option to select which usergroups the "Ignore User" will not show up on.
Added a option to set which userid's the "Ignore User" will not show up on.
If you find that this conflicts with any other mods, like the other versions of this that are available here do, let me know and I will do my best to get it sorted.
ozzy47
09-10-2013, 02:33 AM
Reserved
DemOnstar
09-10-2013, 03:33 AM
Tagged.
When I have tidied up my postbit drop down, I will add this....
ozzy47
09-10-2013, 03:39 AM
Cool, I noticed that the other mod like this has gone by the wayside. To bad too, the dev was a good coder, shame he could not continue his work.
ozzy47
09-10-2013, 04:06 AM
v1.0.1 Fixed a issue with perms not working in the PM dropdown menu.
Bubble #5
09-10-2013, 06:28 PM
2 quick questions;
When someone puts a member on ignore - can they UNdo it later?
How would we add a icon next to 'ignore X" so that it matches all the other items in the drop down menu?
ozzy47
09-10-2013, 10:00 PM
Yes they can un ignore from their usercp.
X is the Icon, there is no matching icons in the menu, as each icon has a different functionality.
Bubble #5
09-10-2013, 10:13 PM
But it doesn't say (or show) a X.
It is blank.
Why wouldn't we be able to reuse one of the other icons? :confused:
ozzy47
09-10-2013, 10:15 PM
The X icon should be already loaded, try it in a unmodified default style.
Bubble #5
09-10-2013, 10:30 PM
The stock vB style is untouched and as basic as it comes. Here is how it looks;
ozzy47
09-10-2013, 10:35 PM
OK I see no screenshot, or image, but you can edit the ozzy_ignore_user.css found in the CSS Templates and change the image there. :) Also please mark as installed if you are using this mod.
Bubble #5
09-10-2013, 10:52 PM
OK thanks, I'll look at it there.
Quick question; is there a way to keep members from seeing this option for the administrator and/or the mods?
Other wise they'll just put the admin/mods on ignore :p
ozzy47
09-10-2013, 10:59 PM
As long as you have in the settings, ACP --> Settings --> Options --> User Profile Options, the setting, Allow Users to 'Ignore' Moderators set to No, then members can not ignore them.
Bubble #5
09-10-2013, 11:13 PM
Ozzy do you know if that popup menu is in the postbit template? I looked for a popup menu template but didn't see anything.
ozzy47
09-10-2013, 11:16 PM
Which popup menu, the one the mod uses?
Bubble #5
09-10-2013, 11:20 PM
Yes :)
ozzy47
09-10-2013, 11:25 PM
That is the template memberaction_dropdown that my code is added to.
Bubble #5
09-11-2013, 01:09 AM
THANKS Ozzy, appreciate the help :)
I found out why the X didn't show up. There was no listing for it under popupmenu.css. The icon for network wasn't listed either.
Do you know where I would add some padding to the memberaction_dropdown on the left and right sides?
heyzeus909
09-11-2013, 05:40 AM
https://vborg.vbsupport.ru/external/2013/09/20.jpg
This is with DBTech's postbit tabs mod. I only have that mod setup for one tab at the moment, which is for the poster's latest blog. The blog that's being repeatedly shown in the postbit tab isn't even that poster's blog, by the way.
ozzy47
09-11-2013, 09:14 AM
So that happens after installing this mod?
heyzeus909
09-11-2013, 02:20 PM
Yes, sorry for not being clear. I installed your Ignore User in Postbit mod on my site which has dbtech's vNNavTabs installed.
ozzy47
09-11-2013, 10:00 PM
Ok so to be clear, if you disable my mod, the posbit tabs mod functions correctly?
heyzeus909
09-11-2013, 10:13 PM
Yes, sir.
ozzy47
09-11-2013, 10:14 PM
Ok I will check into it and see what the issue is.
ozzy47
09-11-2013, 10:48 PM
Yes, sir.
OK download the xml again, and upgrade, I think that should solve it.
ozzy47
09-12-2013, 07:30 PM
This is with DBTech's postbit tabs mod. I only have that mod setup for one tab at the moment, which is for the poster's latest blog. The blog that's being repeatedly shown in the postbit tab isn't even that poster's blog, by the way.
Have you had a chance to redownload the XML, and upgrade to see if the issue is still there?
heyzeus909
09-12-2013, 08:06 PM
No, sorry, I didn't get an email notification of your previous reply. I'll hopefully get a chance this evening. Thanks!
ozzy47
09-12-2013, 08:10 PM
Ok cool, let me know how it goes. :)
heyzeus909
09-13-2013, 03:24 AM
Nope, sorry, ozzy. Version 1.0.1 is doing the same thing as before. Just for grins, I checked to see if it does it in the vBulletin master style, and it does.
After typing that, I decided to re-enable the mod. Then noticed this error while it was processing:
Invalid argument supplied for reach () in class reach on class_block on line 965.
ozzy47
09-13-2013, 08:52 AM
Ok I'll work on it again.
ozzy47
09-15-2013, 01:44 AM
Nope, sorry, ozzy. Version 1.0.1 is doing the same thing as before. Just for grins, I checked to see if it does it in the vBulletin master style, and it does.
After typing that, I decided to re-enable the mod. Then noticed this error while it was processing:
Invalid argument supplied for reach () in class reach on class_block on line 965.
What is the code you are using for the tab?
heyzeus909
09-15-2013, 01:56 AM
I'm sorry that I may not understand the question. The postbit tab is used to display the latest blog activity.
ozzy47
09-15-2013, 02:02 AM
So it is a default tab, that came wit the product?
heyzeus909
09-15-2013, 02:14 AM
If you'd prefer, I can give you the details to get into the site so you can check things out if you'd like :)
ozzy47
09-15-2013, 02:22 AM
That may be easier, as I am unable to replicate the issue. :)
heyzeus909
09-15-2013, 02:42 AM
PM sent @ dbtech.
ozzy47
09-15-2013, 02:58 AM
Ok I fixed it, I did actually come across it on my dev site, but the screenshot you showed me just threw me off. It is fixed on your site, and the download has been updated to reflect the changes.
ozzy47
09-15-2013, 02:58 AM
v1.0.2 Fixed a issue with the ignore showing up in your own menu, and solved a potential conflict with other mods.
heyzeus909
09-15-2013, 03:08 AM
Awesome! Confirmed, nominated and THANK YOU!
ozzy47
09-15-2013, 03:09 AM
Not a problem, thanks for catching it and working with me to get it resolved. :)
Viva La Nation
12-13-2013, 06:06 PM
For some reason this isn't working for me. I install it, have the settings set as they should be, and it just doesn't show up in the postbit. Using vbulletin 4.2.2.
ozzy47
12-13-2013, 06:11 PM
Does it show up on a unmodified default style?
bzcomputers
12-13-2013, 09:42 PM
Request: Add option to select Usergroups that can't be ignored.
Viva La Nation
12-13-2013, 10:08 PM
Does it show up on a unmodified default style?
Nope
ozzy47
12-13-2013, 10:15 PM
If you want, can you Pm me a admin account, and a link to the site, and I can look into it for you.
ozzy47
12-14-2013, 12:29 AM
v1.0.3 is available!
Fixed a issue where it would not show up on some sites.
ozzy47
12-14-2013, 12:37 AM
Request: Add option to select Usergroups that can't be ignored.
I'll look into that during the next feature update. :)
Viva La Nation
12-14-2013, 12:37 AM
v1.0.3 is available!
Fixed a issue where it would not show up on some sites.
Works great now, thanks.
ozzy47
12-14-2013, 12:43 AM
Glad it's sorted. Don't forget to mark as installed. :)
Marcin1
12-18-2013, 08:32 AM
After upgrading to the newest version
Fatal error: Using $this when not in object context in /home/sbboard/domains/sportsboard.pl/public_html/private.php(1645) : eval()'d code on line 3
147623
When a plugin is disabled no errors occured by mod.
ozzy47
12-18-2013, 11:26 AM
I am pretty sure I know what the issue is, I'll check it out when I get home from work.
ozzy47
12-18-2013, 08:01 PM
It's gonna be a bit before I can get a release out, I see some other issues I need to address.
ozzy47
12-19-2013, 12:36 AM
v1.1.0
Bug Fixes And Issue Fixes:
Really fixed the issue with it not showing on some sites.
Fixed a issue where some sites might get a warning like this, "Link node ozzy_ignore_user_mad.css should be moved to the document head in Bla-bla-bla
Changes To Existing Features:
Added a stylevar to control the path to the "X" image.
Added a folder to upload that contains the "X" images, one for light skins, and one for dark skins.
Additions To Product From Feature Requests Or Just Something Else Added:
Added a option to select which usergroups the "Ignore User" will not show up on.
Added a option to set which userid's the "Ignore User" will not show up on.
To upgrade, upload the contents of the upload folder to your site, then import the XML, allowing overwrite.
bzcomputers
12-20-2013, 01:02 AM
Getting these errors when saving option in 1.1.0
Warning: trim() expects parameter 1 to be string, array given in [path]/includes/adminfunctions_options.php on line 1032
Warning: trim() expects parameter 1 to be string, array given in [path]/includes/adminfunctions_options.php on line 1032
Request: option to just show "Ignore User" rather than including the user name so it matches the rest of the popup window.
ozzy47
12-20-2013, 01:10 AM
To remove the username, edit the template, ozzy_ignore_user_mad_link, find this:
{vb:rawphrase ozzy_ignore_user_mad_ignore, {vb:raw post.username}}
And change it to this:
{vb:rawphrase ozzy_ignore_user_mad_ignore}
For the errors, I cant replicate that. Can you post the contents of the plugin, Usergroups Allowed To Use The Ignore Feature here so I can see what's in it.
bzcomputers
12-20-2013, 01:24 AM
//Groups allowed to ignore
if (is_array($settings['ozzy_ignore_user_mad_groups']))
{
$settings['ozzy_ignore_user_mad_groups'] = implode(',', $settings['ozzy_ignore_user_mad_groups']);
}
//Groups can't be ignored
if (is_array($settings['ozzy_ignore_user_mad_cant_ignore']))
{
$settings['ozzy_ignore_user_mad_cant_ignore'] = implode(',', $settings['ozzy_ignore_user_mad_cant_ignore']);
}
I just tried again and it saved the options, but the previous 4 or 5 times it wouldn't. Possibly issue with caching?
I'm also not getting the "X" to show. Stylvar path looks good, images are uploaded, css template looks ok.
ozzy47
12-20-2013, 01:32 AM
Crud, it was missing a plugin, re-download the zip, and re-import the XML.
bzcomputers
12-20-2013, 01:39 AM
Crud, it was missing a plugin, re-download the zip, and re-import the XML.
That took care of it. Looks good now, thanks.
ozzy47
12-20-2013, 01:40 AM
BTW, I see you do not have this marked as installed. :(
Glad it's working now though. :)
bzcomputers
12-20-2013, 01:43 AM
BTW, I see you do not have this marked as installed. :(
Glad it's working now though. :)
I think I was clicking as you were commenting ;)
ozzy47
12-20-2013, 01:47 AM
Good stuff, thanks. :)
GONUMBER6
01-22-2015, 06:27 PM
I'm going to add this mod! Thank you!
I'm having a bit of an issue (drama), I have 3 members that want to ignore another member, but they still see their threads started. Do you also have a mod that can ignore users completely and block them 100%? Like blocking users on facebook?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.