Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Glitch with Eventcal (Read 1854 times)
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Glitch with Eventcal
Apr 22nd, 2015 at 3:05pm
Print Post  
Occasionally spammers and hacker wannabes find weird glitches.

In this case, 'action=eventcal' without 'calshow=1' tosses an error.

The fix: In Sources/Eventcal.pm find
Code (Perl)
Select All
    if ( $DisplayCalEvents || $INFO{'calshow'} ) { 


Add above it
Code (Perl)
Select All
    if ( $action eq 'eventcal' && !$INFO{'calshow'} ) {$INFO{'calshow'} = 1;} 

  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint