058-014 - KB Injection And Minor Fixes
Subject: Re: 058-014 - KB Injection And Minor Fixes
If you read the error, you will notice the reason why it is not working... :wink:
Change the path to mini_cal.php... :wink:
Anyway, I've upgraded the attachment with a new one which should work fine...
Change the path to mini_cal.php... :wink:
Anyway, I've upgraded the attachment with a new one which should work fine...
Subject: Re: 058-014 - KB Injection And Minor Fixes
Does anyone have a solution yet on the calendar showing past events? I've tried the latest bit of code from Mighty Gorgon but that just resulted in an empty calendar block.
Subject: Re: 058-014 - KB Injection And Minor Fixes
Last edited by moreteavicar on Tue 12 Dec, 2006 19:21; edited 1 time in total
Hmmm... babbman, where are you displaying the calendar block? On the left side or the right side?
If on the left, a long time ago I posted a fix on neclectic's site for minical to be displayed on the left side of portal page. As necletic's site is no longer open to non-registered users, I'll post it again here. (Original post is here).Do not bother with the snaillite section at the bottom!
*EDIT* I just noticed MG's equivalent fix which was to put the include line in the blocks_imp_calebdar.php. If that didn't work, then try putting it in page_header as above...
If on the left, a long time ago I posted a fix on neclectic's site for minical to be displayed on the left side of portal page. As necletic's site is no longer open to non-registered users, I'll post it again here. (Original post is here).Do not bother with the snaillite section at the bottom!
moreteavicar's minical anywhere fix wrote:
*EDIT* I just noticed MG's equivalent fix which was to put the include line in the blocks_imp_calebdar.php. If that didn't work, then try putting it in page_header as above...
Last edited by moreteavicar on Tue 12 Dec, 2006 19:21; edited 1 time in total
Subject: Re: 058-014 - KB Injection And Minor Fixes
The new block should work fine...
moreteavicar, are you sure that the new one is working only in the right section?
Anyway I wouldn't add that code to page_header.php... I would add it to index.php instead... but it is the original way we did it, and it is not the best way to go. Too many unuseful SQL for those who are not showing the calendar. :wink:
moreteavicar, are you sure that the new one is working only in the right section?
Anyway I wouldn't add that code to page_header.php... I would add it to index.php instead... but it is the original way we did it, and it is not the best way to go. Too many unuseful SQL for those who are not showing the calendar. :wink:
Subject: Re: 058-014 - KB Injection And Minor Fixes
Well, I've not tried your latest fix, but everyone using importal used to have problems with minical in the past - the problem being the order of data being parsed to the block, and the block generation. With the include in index.php (or portal.php), you could only get minical to display correctly on centre and right blocks! This fix ensured it went at the moment of block creation - the assumption is, you will only put this in page_header.php if you intend to use minical!
For a general fix, you could enclose it in an if statement, however, I see no reason why your fix it shouldn't work properly - putting the inclusion in the blockfile... But I do remember on netclectic's site that there was a problem doing it this way... I'll check it out...
Mighty Gorgon wrote: [View Post]
Well, I've not tried your latest fix, but everyone using importal used to have problems with minical in the past - the problem being the order of data being parsed to the block, and the block generation. With the include in index.php (or portal.php), you could only get minical to display correctly on centre and right blocks! This fix ensured it went at the moment of block creation - the assumption is, you will only put this in page_header.php if you intend to use minical!
For a general fix, you could enclose it in an if statement, however, I see no reason why your fix it shouldn't work properly - putting the inclusion in the blockfile... But I do remember on netclectic's site that there was a problem doing it this way... I'll check it out...
Subject: Re: 058-014 - KB Injection And Minor Fixes
OK, your fix in the calendar blockfile is exactly the same as the default IMPortal calendar block, but nobody could get the links to work properly this way...
Original is posted here: http://www.netclectic.com/forums/vi...r=asc&start=560
Jaz's fix, however, didn't work for showing minical on the left side of the page, hence my minor contribution...
Jaz wrote:
Original is posted here: http://www.netclectic.com/forums/vi...r=asc&start=560
Jaz's fix, however, didn't work for showing minical on the left side of the page, hence my minor contribution...
Subject: Re: 058-014 - KB Injection And Minor Fixes
He he he moreteavicar... it seems you don't trust me... :wink:
It isn't the "stardard" IM Portal block, you haven't checked accurately what I did.
It tooks me 3 hours to solve this, and I'm quite sure that now the block is working fine under any condition.
Can someone confirm that this block with the new index.php is working fine both on left, right and on any other position please? :roll:
I need this to be tested on a forum with many events... :roll:
When I have the confirmation that this block is working fine, I'll tell you what the secret is! :wink:
It isn't the "stardard" IM Portal block, you haven't checked accurately what I did.
It tooks me 3 hours to solve this, and I'm quite sure that now the block is working fine under any condition.
Can someone confirm that this block with the new index.php is working fine both on left, right and on any other position please? :roll:
I need this to be tested on a forum with many events... :roll:
When I have the confirmation that this block is working fine, I'll tell you what the secret is! :wink:
Subject: Re: 058-014 - KB Injection And Minor Fixes
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 ;)
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 ;)
Subject: Finding A Good College
I was looking at this article
'Best
Adsense Affiliate Earners: Do They Really Buy Valuable Adsense Keyword
Lists?'. and was
hoping someone could help me make the right choice.
Your thoughts pleasea
'Best
Adsense Affiliate Earners: Do They Really Buy Valuable Adsense Keyword
Lists?'. and was
hoping someone could help me make the right choice.
Your thoughts pleasea
Subject: Respuesta: 058-014 - KB Injection And Minor Fixes
The attack of the Bots? :roll:mr-joel-comm wrote: [View Post]
Subject: Re: 058-014 - KB Injection And Minor Fixes
Well we are a generally a friendly website mr-joel-comm, so we would like to do our best to help you with your thoughts. Is your life but a keyword? How much do you wish to understand? Have you ever wondered who you really are? Do you ever find that the more you think you know, the more you realise you don't know? If I say I'm lying, am I telling the truth?
I hope these few thoughts are of some help to you. God bless you.
I hope these few thoughts are of some help to you. God bless you.
Page 2 of 3
You cannot post new topicsYou 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.1912s (PHP: 12% SQL: 88%)
SQL queries: 13 - Debug Off - GZIP Enabled