My Subscriptions

No active or expired subscriptions. View Available Subscriptions

Advanced Search

Home arrow Forum arrow JCal Pro 1.5.xarrow 1.5.x General Discussionarrow SOLVED: problem between Jcal pro 1.5 and mod_jb_last_subjects ( joomlaboard )
Pages: [1]
Print
Author Topic: SOLVED: problem between Jcal pro 1.5 and mod_jb_last_subjects ( joomlaboard )  (Read 2344 times)
biou
Newbie
*
Posts: 13


View Profile Email
« on: February 24, 2007, 08:46:37 AM »

Hello
When I want to open jcal pro 1.5 or when I click on a date on my minical (mod_jcalpro_minical), my mod_jb_last_subjects ( joomlaboard ) appears without tabs and I get my 5 tabs on the same view
I don't know if the problem come from jcal or joomlaboard but this event appears only with your component
Sorry for my bad english
« Last Edit: March 23, 2007, 03:14:53 PM by van » Logged
van
Moderator
Sr. Member
*****
Posts: 442


View Profile
« Reply #1 on: February 25, 2007, 02:24:50 AM »

This is likely caused by a problem we fixed with the modules incorrectly changing Itemid's. Could you download the current modules to see if this corrects the problem and let us know?
Logged
biou
Newbie
*
Posts: 13


View Profile Email
« Reply #2 on: February 26, 2007, 06:04:02 AM »

this problem appears when I open Jcal pro ( 1.5.1.1 ) also in stand alone ( without mod_minical )
Logged
van
Moderator
Sr. Member
*****
Posts: 442


View Profile
« Reply #3 on: February 26, 2007, 08:08:06 PM »

I have attached a Zip file with two files that I would like for you to try on your system. These contain likely solutions to a number of problems you are experiencing, as well as similar problems reported by others.

SAVE YOUR ORIGINAL FILES ... so you can restore them if these fixes do not work out for you.

There are two files in this Zip:

  • /components/com_jcalpro/jcalpro.php
  • /components/com_jcalpro/themes/default/theme.php

They should address a number of issues, including:
  • The incompatibility with mod_jb_last_subjects
  • The mysql_real_escape_string() errors
  • The botquickdown() incompatibility

I would appreciate it if you give these files a try and let me know if they resolve your issues.
« Last Edit: February 26, 2007, 11:37:55 PM by van » Logged
biou
Newbie
*
Posts: 13


View Profile Email
« Reply #4 on: February 27, 2007, 03:05:04 AM »

They should address a number of issues, including:

    * The incompatibility with mod_jb_last_subjects
    * The mysql_real_escape_string() errors
    * The botquickdown() incompatibility
I have no error with the new files but the popup doesn't appear when I click on an event, sorry.
new files are now compatible with mod_jb_last_subjects from joomlaboard
« Last Edit: February 27, 2007, 06:51:59 AM by biou » Logged
biou
Newbie
*
Posts: 13


View Profile Email
« Reply #5 on: February 28, 2007, 04:49:46 AM »

I installed 1.5.1.2 this morning and I had still error message when the popup rises, so I added the 2 files and I had no errors, but yesterday my mod_jb_last_subjects was working fine but today I lost my tabs with this new version.
Logged
V-man
Administrator
Hero Member
*****
Posts: 1582


Ignorance is curable, stupid is forever.


View Profile
« Reply #6 on: February 28, 2007, 08:00:29 AM »

I think Van will post soon with the changes he made to those two files. if you used the ones above to overwrite the 1.5.1.2 files, you now have an outdated JCal Pro. I recommned you remove it. re-install 1.5.1.2 and wait for Van's reply.
Logged

V-man
Forum Admin
Support questions via PM will be ignored. Please use the forum for all support-related enquiries.
V-man
Administrator
Hero Member
*****
Posts: 1582


Ignorance is curable, stupid is forever.


View Profile
« Reply #7 on: February 28, 2007, 10:46:45 AM »

Here are the changes that seemd to solve your problems earlier:

In <joomla_root)/components/com_jcalpro/jcalpro.php, insert the following on or about line 52 just above 'switch($extmode) {':
Code:
if( $CONFIG_EXT['popup_event_mode'] && $extmode == "view" ) {
$show_main_menu = false;
$CONFIG_EXT['search_view'] = false;
}


In <joomla_root)/components/com_jcalpro/themes/default/theme.php, change line 1383 to the following:
Code:
global $template_event_view, $database, $my, $lang_event_view, $lang_general, $lang_date_format, $lang_add_event_view, $CONFIG_EXT, $REFERER, $THEME_DIR, $extmode;

Also insert the following on or about line 1454 just after 'if ( $noduration ) template_extract_block($template_event_view, 'duration_row');':
Code:
if ( $CONFIG_EXT['popup_event_mode'] && $extmode == "view" ) template_extract_block($template_event_view, 'nav_row');

Also, insert the following on or about line 1468 just after 'global $sundayclrHl, $weekdayclrHl, $todayclrHl;':
Code:
global $option, $Itemid_Querystring;

Finally, replace line 1582:
Code:
$non_sef_href = $CONFIG_EXT['calendar_url']."cal_popup.php?extmode=view&amp;extid=".$event->extid.($event->isRecurrent()?"&amp;recurdate=".$event->recurStartDay:'');

with the following:
$non_sef_href = "index2.php?option=$option" . $Itemid_Querystring ."&amp;extmode=view&amp;extid=".$event->extid.($event->isRecurrent()?"&amp;recurdate=".$event->recurStartDay:'');


REPLACING THE PREVIOUS CODE AS IT DID NOT INCLUDE CHANGES THAT ADDRESSED ANOTHER ISSUE. USE THIS INSTEAD:

Code:
$non_sef_href = "index2.php?option=" . $option . $Itemid_Querystring ."&amp;extmode=view&amp;extid=".$event->extid.($event->isRecurrent()?"&amp;recurdate=".$event->recurStartDay:'');

Please let me know the result. Without feedback, we can't add these changes to the source code.
« Last Edit: March 03, 2007, 11:37:47 AM by van » Logged

V-man
Forum Admin
Support questions via PM will be ignored. Please use the forum for all support-related enquiries.
biou
Newbie
*
Posts: 13


View Profile Email
« Reply #8 on: February 28, 2007, 11:26:30 AM »

I did this before your post but the tabs from my_jb_last_subjects ( joomlaboard ) does not appear.
I installed also minical and when I click on a day with an event and after I click on the event I have also the error :
Warning: mysql_real_escape_string(): 9051576 is not a valid MySQL-Link resource in /mnt/145/sda/3/5/6team6/includes/database.php on line 136

Warning: mysql_real_escape_string(): 9051576 is not a valid MySQL-Link resource in /mnt/145/sda/3/5/6team6/includes/database.php on line 136

Warning: mysql_real_escape_string(): 9051576 is not a valid MySQL-Link resource in /mnt/145/sda/3/5/6team6/includes/database.php on line 136

Warning: mysql_real_escape_string(): 9051576 is not a valid MySQL-Link resource in /mnt/145/sda/3/5/6team6/includes/database.php on line 136

Warning: mysql_real_escape_string(): 9051576 is not a valid MySQL-Link resource in /mnt/145/sda/3/5/6team6/includes/database.php on line 136

Warning: mysql_real_escape_string(): 9051576 is not a valid MySQL-Link resource in /mnt/145/sda/3/5/6team6/includes/database.php on line 136

Fatal error: Cannot modify header information - headers already sent by (output started at /mnt/145/sda/3/5/6team6/includes/database.php:136) in /mnt/145/sda/3/5/6team6/components/com_jcalpro/cal_popup.php on line 166
Logged
V-man
Administrator
Hero Member
*****
Posts: 1582


Ignorance is curable, stupid is forever.


View Profile
« Reply #9 on: March 03, 2007, 01:34:01 PM »

This is has been addressed in the forthcoming Release Candidate v1.5.2.

EDIT: Experiencing some issues with this fix. Will post final results here as appropriate.
« Last Edit: March 03, 2007, 05:36:32 PM by V-man » Logged

V-man
Forum Admin
Support questions via PM will be ignored. Please use the forum for all support-related enquiries.
biou
Newbie
*
Posts: 13


View Profile Email
« Reply #10 on: March 03, 2007, 04:21:42 PM »

thank you, I'm waiting new version 1.5.2. I expect with no  problem  Wink
Logged
Pages: [1]
Print
Jump to:  

Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com

Original Joomla Template design by RocketTheme ( Conversion by Bloc)