Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
[OzzModz] Ignore User In Postbit Dropdown Menu Details »»
[OzzModz] Ignore User In Postbit Dropdown Menu
Version: 1.1.0, by ozzy47 ozzy47 is offline
Developer Last Online: Dec 2021 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.x.x Rating:
Released: 09-09-2013 Last Update: 12-19-2013 Installs: 23
Uses Plugins Auto-Templates
Additional Files Translations  
No support by the author.

Another mod brought to you by,


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.

It is a simple installation, upload the files in the UPLOAD folder, then import the product XML, [B]product-ozzy_ignore_user_mad

You can edit the options under the settings, [OzzModz] Ignore User Settings

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 button to the right ---->

Please remember to click the, 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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
heyzeus909, tbworld

Comments
  #52  
Old 12-18-2013, 11:26 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am pretty sure I know what the issue is, I'll check it out when I get home from work.
Reply With Quote
  #53  
Old 12-18-2013, 08:01 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's gonna be a bit before I can get a release out, I see some other issues I need to address.
Reply With Quote
  #54  
Old 12-19-2013, 12:36 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #55  
Old 12-20-2013, 01:02 AM
bzcomputers's Avatar
bzcomputers bzcomputers is offline
 
Join Date: Apr 2012
Location: TX
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Getting these errors when saving option in 1.1.0

Quote:
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.
Reply With Quote
  #56  
Old 12-20-2013, 01:10 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To remove the username, edit the template, ozzy_ignore_user_mad_link, find this:
Code:
{vb:rawphrase ozzy_ignore_user_mad_ignore, {vb:raw post.username}}
And change it to this:
Code:
{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.
Reply With Quote
  #57  
Old 12-20-2013, 01:24 AM
bzcomputers's Avatar
bzcomputers bzcomputers is offline
 
Join Date: Apr 2012
Location: TX
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
//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.
Reply With Quote
  #58  
Old 12-20-2013, 01:32 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Crud, it was missing a plugin, re-download the zip, and re-import the XML.
Reply With Quote
  #59  
Old 12-20-2013, 01:39 AM
bzcomputers's Avatar
bzcomputers bzcomputers is offline
 
Join Date: Apr 2012
Location: TX
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ozzy47 View Post
Crud, it was missing a plugin, re-download the zip, and re-import the XML.
That took care of it. Looks good now, thanks.
Reply With Quote
  #60  
Old 12-20-2013, 01:40 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

BTW, I see you do not have this marked as installed.

Glad it's working now though.
Reply With Quote
  #61  
Old 12-20-2013, 01:43 AM
bzcomputers's Avatar
bzcomputers bzcomputers is offline
 
Join Date: Apr 2012
Location: TX
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ozzy47 View Post
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
Reply With Quote
Благодарность от:
ozzy47
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:20 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09980 seconds
  • Memory Usage 2,315KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (3)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete