MyBB Community Forums

Full Version: Weird bug with ignore names [R]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Just had access to my server and Pirata Nervo's fix worked excellently.
Okay, I'm glad I could help in some way Smile
(2009-07-26, 01:43 PM)Scoutie44 Wrote: [ -> ]Ah, weird. I added Bey Brad and labrocca to my ignore list for testing purposes

Sure ... testing purposes ... Big Grin

I found a bug, I'm so happy :')
(2009-07-26, 04:16 PM)Pirata Nervo Wrote: [ -> ]
(2009-07-26, 04:13 PM)Ryan Gordon Wrote: [ -> ]At first glance, seems like a good fix. Does it need to be globalized?

What does need to be globalized? $ignored_message? Oh no, let me remove it from my post, sorry.

Yep - Sounds sweet. Any dev can put that fix in if they'd like.
Don't forget it requires a template edit in order to work. So don't forget to update the template 'postbit_ignored' in the upgrade script.
Of course, there is another way you can do it. Create another lang variable with the same name but with a 2 at the end. Use that one as a backup so before:
$lang->postbit_currently_ignoring_user = $lang->sprintf($lang->postbit_currently_ignoring_user, $post['username']); 
This line should be added:
$lang->postbit_currently_ignoring_user = $lang->postbit_currently_ignoring_user2;
It's a "dirty" way of doing things but it will work without template edits
The template edit fix is fine and I'd prefer it since it's cleaner
Yeah so do I Toungue
Pages: 1 2