https://www.icyphoenix.com/viewtopic.php?f=27&t=555&p=5238#p5238
-----------------------------------
Mighty Gorgon
Tue 28 Nov, 2006 23:22

Re: 058-014 - KB Injection And Minor Fixes
-----------------------------------
[quote user="moreteavicar" post="5063"]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 ;)[/quote]
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:


