Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic How to hide members award and wheater mods (Read 2329 times)
CJ3Apage
Guest


Re: How to hide members award and wheater mods
Reply #3 - Dec 4th, 2015 at 7:40pm
Print Post  
Look like it work.

We found it also for the weather mods

thank
it's appreciated
  
Back to top
 
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: How to hide members award and wheater mods
Reply #2 - Dec 4th, 2015 at 5:48pm
Print Post  
Untested: 
In Display.pm find
Code (Perl)
Select All
        $outblock =~ s/{yabb awards}/$member_awards{$musername}/gsm; # Member Awards Mod 



replace with
Code (Perl)
Select All
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.
Back to top
WWW  
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: How to hide members award and wheater mods
Reply #1 - Dec 4th, 2015 at 4:31pm
Print Post  
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.
Back to top
WWW  
IP Logged
 
CJ3Apage
Guest


How to hide members award and wheater mods
Dec 4th, 2015 at 2:53pm
Print Post  
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?
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint