vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Mini Mods - [OzzModz] Ignore User In Postbit Dropdown Menu (https://vborg.vbsupport.ru/showthread.php?t=302087)

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

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.

ozzy47 12-20-2013 01:10 AM

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.

bzcomputers 12-20-2013 01:24 AM

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.

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

Quote:

Originally Posted by ozzy47 (Post 2469622)
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

Quote:

Originally Posted by ozzy47 (Post 2469629)
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 ;)


All times are GMT. The time now is 01:24 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.01066 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete