CJ3Apage Guest How to hide members award and wheater mods Dec 4th, 2015 at 2:53pm Mark & QuoteQuote Hi, Can we hide the members award and wheater menu for guest? We would like it shown only for members. We checked through all the settings and can't find any related to disallow guest from seeing them. Is it something easy to change code wise? IP Logged
Dandello Forum AdministratorYaBB Modder Offline I love YaBB 2.7! Posts: 2234 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: How to hide members award and wheater mods Reply #1 - Dec 4th, 2015 at 4:31pm Mark & QuoteQuote The easiest way is to uncheck 'Awards in Message View' since Guests aren't allowed to view member profiles. I can work up some code later. (I didn't write/convert the Weather Mod so I can't help on that.) Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
Dandello Forum AdministratorYaBB Modder Offline I love YaBB 2.7! Posts: 2234 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: How to hide members award and wheater mods Reply #2 - Dec 4th, 2015 at 5:48pm Mark & QuoteQuote Untested: In Display.pm findCode (Perl) $outblock =~ s/{yabb awards}/$member_awards{$musername}/gsm; # Member Awards Mod replace with Code (Perl)if ($iamguest) { $outblock =~ s/{yabb awards}//gsm; } else { $outblock =~ s/{yabb awards}/$member_awards{$musername}/gsm; # Member Awards Mod } Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
CJ3Apage Guest Re: How to hide members award and wheater mods Reply #3 - Dec 4th, 2015 at 7:40pm Mark & QuoteQuote Look like it work. We found it also for the weather mods thank it's appreciated IP Logged