058-014 - KB Injection And Minor Fixes


Subject: Re: 058-014 - KB Injection And Minor Fixes
moreteavicar wrote: [View Post]
ok, my fault, what I actually meant is the default INTEGRAMOD version calendar block (not the IMPortal one), which has this line:

include($phpbb_root_path . 'mods/netclectic/mini_cal/mini_cal.' . $phpEx);

Which is what I guess you think is the secret solution. Its not that I don't trust you, its just that, as I said above, this include in blocks_imp_calendar.php didn't work properly, and many people (including myself) had tried this in the past, on Necletic's site and Snail Source's site (the problem being nothing to do with Snail's calendar integration with minical). Its strange, it looks like it should work, but the block template gets parsed before the SQL queries are completed in minical, so it needs to be included earlier...

Unless... you have also modified minical.php... but you've not released a newer file for that, so I think I am right in my revelation of your secret ;)

At the moment I do not use the calendar - I keep meaning to unistall topic calendar and install Snail's callite, as IMHO topic calendar is rubbish (having to post a new topic in order to add an event, whereas callite is a self-contained calendar with a more common sense approach to adding events). This discussion is prompting me to hurry up and make the change ;)

That is not my "secret" modification... but it seems no one here is reporting back that my block is working fine... I think it is, otherwise someone would have posted that it isn't working... :LOL:

I'll give you a hint... when you include external files with or within functions you should take care of the GLOBALS assignments... :wink:

I won't say more! :LOL:

Subject: Re: 058-014 - KB Injection And Minor Fixes
I have applied the patch but it does not work correctly.
You can see my Mini Calendar here http://zm.nu/foro2
I dont have links over the days numbers.
In addition, day 29 is Wednesday, but my calendar show Tuesday.

Thnks
Daniel

Profile PM  
Subject: Re: 058-014 - KB Injection And Minor Fixes
danicom wrote: [View Post]
I have applied the patch but it does not work correctly.
You can see my Mini Calendar here http://zm.nu/foro2
I dont have links over the days numbers.
In addition, day 29 is Wednesday, but my calendar show Tuesday.

Thnks
Daniel

It is strange... the day mismatch I mean... :roll:

I'll try to check.

The links over the days are due to a setting I have changed... you can change it too in calendar config file.

Subject: Re: 058-014 - KB Injection And Minor Fixes
Mighty Gorgon wrote: [View Post]

It is strange... the day mismatch I mean... :roll:
I'll try to check.
The links over the days are due to a setting I have changed... you can change it too in calendar config file.


Where this the calendar config file? And which it's the option to modify?
Thnks
Daniel

Profile PM  
Subject: Re: 058-014 - KB Injection And Minor Fixes
Try to take a look at this file: mini_cal_config.php

Subject: Re: 058-014 - KB Injection And Minor Fixes
Mighty Gorgon wrote: [View Post]
Try to take a look at this file: mini_cal_config.php


I have the file, but, which it's the option to modify?
Thnks & happy new year
Daniel

Profile PM  
Subject: Re: 058-014 - KB Injection And Minor Fixes
Check the commented lines... everything is explained.

Code: [Download] [Hide]
  1. // Defines what type of search happens when a user clicks on a date in the calendar  
  2. // possible values:  
  3. // POSTS - will return all posts posted on that date  
  4. // EVENTS - will return all events happening on that date (ONLY SUITABLE FOR EVENTS CALENDAR USERS).  
  5. define('MINI_CAL_DATE_SEARCH', 'POSTS'); 

Subject: Re: 058-014 - KB Injection And Minor Fixes
OK Thnks

Profile PM  

Page 3 of 3


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.084s (PHP: 23% SQL: 77%)
SQL queries: 10 - Debug Off - GZIP Enabled