(2013-12-21, 09:26 PM)Wildcard Wrote:(2013-12-20, 08:38 PM)Ados Wrote:(2013-12-19, 07:32 AM)mike537 Wrote: Ados Just for info i have tried it out on our test forum and all works as it should do, the boxes stays were they are and do not disappear like they do with you when setting it in the User CP for "Instant email notifications".
Have you tried it using another theme to see if it still happens, maybe try the MyBB default theme?
Thanks for the feedback. I have very-basic plugins installed, only have 9 of which all of them are the most popular ones. I am also using the default theme.
The one thing is that I noticed we were still running the 1.6 version and not 2.0 version of this plugin. This could perhaps be the reason for that, so I will update and let you all know.
(2013-12-19, 07:53 PM)Wildcard Wrote: Hi guys,
I regret to say it, but I just can't do anything to help right now. I have received the bug reports but my situation isn't allowing me any time to look into any of my free plugins at this time. As soon as I can I will get back and do a round of updates.
Sorry for any inconvenience.
One thing you could try is disabling any other plugins that are new or have recently been updated to see if there is a conflict with one of them.
Again, when I have time I will take a look.
Thanks WildCard! In my case that's fine; I think I will just disable instant email notification form the User CP and allow it on a "per thread" basis. I tested out if opting in for email notifications when replying to a thread (checking the box) would cause the same bug and it didn't, so that's good news.
Actually, now that I think about it, we did manually delete the option from User CP where a member can choose to disable the sideboxes. Perhaps that could have affected it even though we made sure just to remove the part of the code that did that specifically? I believe the code was found on the User CP template, which brings the question, now when we update to the 2.0 version of this plugin, will the options in this plugin reset?
I hope everything in your personal situation is/gets better And don't worry for inconveniences, you have done enough creating this very-convenient plugin! In our case, as said, we will for now just disable the notification option from the User CP.
P.S: While I'm aware that there is a way to make sideboxes via coding them, perhaps it could be a good idea to include the addition of optional sidebars in the core MyBB so that we don't have to rely on plugins. The less plugins we use the better and it would make MyBB even more flexible.
Something occurred to me while reading your reply that might be the beginning of a solution.
ASB modifies the Control Panel -> Edit Options page on the fly to add an option for users to disable sideboxes. If you have modified the template then ASB's setting will not get added to the template and when the user saves their options the ASB preference will be set to off for that user (at least that is what I am thinking is happening).
Can you make a backup of that template and try restoring it to the master? See if that helps.
Nice one!
I think that may be it. I will have to look for the backup copy as I'm pretty sure we have it. In fact it was only one line of code as I recall.
We actually have to update to ASB 2.0 as we had 1.6. Should we try to get the backup before updating or update now?
Thanks for any replies!
Yes!
That was the issue. I restored the backup and it showed the option "show sidebar" and now the members who had this issue have the sidebars again.
Here is the thread where I read about removing the option to allow members to remove the sidebar:
http://community.mybb.com/thread-147441-...pid1045733
We just muted the following line of code (line 170 in adv_sidebox.php)
$templates->cache['usercp_options'] = str_replace($find, $usercp_option, $templates->cache['usercp_options']);
All we did is put // before $templates-> so it became
// $templates->cache['usercp_options'] = str_replace($find, $usercp_option, $templates->cache['usercp_options']);
All I had to do is remove the // again.
I am going to update to the 2.0 version now. Having said this, I would appreciate if you could let us know how to remove the option for members to NOT show sidebars. I want my members to have the sidebars and not have an option to remove them.
Thanks!