Page 257 of 282

Re: Topic Calendar (regular phpBB edition)

Posted: Fri Mar 30, 2007 11:14 am
by Gremlinn
Your missing the ending ); on this code.

Code: Select all

$field_names = array(
   'auth_view' => $lang['View'],
   'auth_read' => $lang['Read'],
   'auth_post' => $lang['Post'],
   'auth_reply' => $lang['Reply'],
   'auth_edit' => $lang['Edit'],
   'auth_delete' => $lang['Delete'],
   'auth_sticky' => $lang['Sticky'],
   'auth_announce' => $lang['Announce'], 
   'auth_vote' => $lang['Vote'], 
   'auth_pollcreate' => $lang['Pollcreate'],


Re: Topic Calendar (regular phpBB edition)

Posted: Fri Mar 30, 2007 4:11 pm
by Rishidan
Thanks, I tried already to put the ); behind this code but then it gave me this error:

Parse error: parse error, unexpected T_DOUBLE_ARROW in /html/forum/admin/admin_forumauth.php on line 94

Guess this mods just conflict with eachother or I did something wrong with installing.
My knowledge with PHP is zero so I think I'll just put back the backups to bring it back to its previous state because right now I can't use the admin panel.
Or when you have a solution I might try it again because the calendar is important at my forum.

Re: Topic Calendar (regular phpBB edition)

Posted: Fri Mar 30, 2007 4:13 pm
by Ash Hi Fi Zone
Rishidan wrote: Thanks, I tried already to put the ); behind this code but then it gave me this error:

Parse error: parse error, unexpected T_DOUBLE_ARROW in /html/forum/admin/admin_forumauth.php on line 94

Guess this mods just conflict with eachother or I did something wrong with installing.
My knowledge with PHP is zero so I think I'll just put back the backups to bring it back to its previous state because right now I can't use the admin panel.
Or when you have a solution I might try it again because the calendar is important at my forum.


I think you have to remove the comma in the last line before adding the );

Phpbb 2.0.22, TC 1.0.1 upgrade question

Posted: Sun Apr 01, 2007 8:57 pm
by cursulak
I've downloaded the new mod package for Topic Calendar 1.2.2.
I also have Birthdays 2.0.0 installed (by Terrafrost), does this have to be removed to use this?

I also notice there is an uninstall 1.0.1 file present.

I haven't noticed in the text anywhere that is says I have to uninstall 1.0.1 first before manually doing the upgrade.

I always due my mod upgrades by hand, carefully watching what is getting changed. So do I need to uninstall 1.0.1, or can I just be very careful with the 1.22 mod instructions.

Also do I need to do any database changes I would have to do?

Thanks.

Re: Topic Calendar (regular phpBB edition)

Posted: Sun Apr 01, 2007 9:06 pm
by Ash Hi Fi Zone
I actually installed this mod on my heavily modded forum.... The calendar functions great.... I followed all the MOD file instructions exactly but still I get neither the calendar div nor the calendar link in the overall header in any of the pages of my site....

Although the same is shown when I try to install on a vanilla phpBB.... All the other features of the Calendar works great except this one.... Is there any way to fix it plz :D

Re: Topic Calendar (regular phpBB edition)

Posted: Mon Apr 02, 2007 5:03 am
by badzzy
excellent mod , thank you.

Re: Topic Calendar (regular phpBB edition)

Posted: Tue Apr 03, 2007 1:46 am
by Jackanape
I'm having some problems I've never encountered here before, but I seem to have hit a brick wall, and a strange one, at that.

I Upgraded to Topic Calendar 1.2.2 in November, and all seemed sell, but suddenly, my Scheduler page is completely missing. While I've found no mention of this throughout this topic, I have come across mention of a "calendar_scheduler.php"...

Um, yeah, the package I downloaded from here, didn't have that file in it. I suspect this is the root of my problem, but I can't be sure...can anyone verify this?

Re: Topic Calendar (regular phpBB edition)

Posted: Tue Apr 03, 2007 2:59 am
by Jackanape
In fiddling around, I've discovered that the problem lies in "calendar_scheduler_body.tpl"

At the top of the page, if I mark out:

Code: Select all

<!-- {SCHEDULAR_OVERVIEW_BOX} -->
Thusly, the problem is gone...but, this can't be good, can it? It looks like just a template call to me, but I want to be sure...

NOW, I'm just looking for the mysterious "Repeat Events Mod" addon I'm reading about all over this topic...anyone have any insights?

Re: Topic Calendar (regular phpBB edition)

Posted: Wed Apr 04, 2007 7:34 pm
by Wingzfan
does anyone know how to remove the viewing permissions? I want all users to be able to view the calendar without giving them access to some of the private forums the events are posted in. Currently if a user cant see the forum the event was posted in then they cant see the event on the calendar.

Re: Topic Calendar (regular phpBB edition)

Posted: Thu Apr 05, 2007 2:07 pm
by Jackanape
I'm taking a look at the Repeating Events Mod to see if I can't get it to slip into the new version of Topic Calendar, but I'm wondering: does anyone have a roadmap of what was changed/moved where?

Re: Topic Calendar (regular phpBB edition)

Posted: Thu Apr 05, 2007 3:54 pm
by KasLimon
The problem has been solved (look at the bottom of the post)

Hi forum, i've installed this MOD at my forum and i found a very big problem. In many pages i get a blank page with this error:
All pages:
Fatal error: Call to a member function on a non-object in /home/pcmorph/public_html/kmorph/includes/page_header.php on line 1324

This first error is because of one of this lines bacause if i comment out these lines in includes/page_header.php (putting // at the start) the error disapears:

Code: Select all

//-- mod : calendar ------------------------------------------------------------
//-- add
global $user, $config, $calendar_api;
$user->set();
$calendar_api->set();
if ( !defined('IN_CALENDAR') && !defined('HAS_DIED') && (intval($config->data['calendar_header_cells']) || (intval($user->data['user_calendar_header_cells']) && !intval($config->data['calendar_header_cells_over']))) )
{
    include($config->url('includes/class_calendar_handler'));

    calendar_extend_template();
    $calendar_header_box = new calendar_header_box('index');
    $calendar_header_box->display();
    $calendar_header_box->destroy();
    unset($calendar_header_box);
    calendar_extend_template();
}
$template->assign_vars(array(
    'L_CALENDAR' => $user->lang('Calendar'),
    'I_CALENDAR' => $user->img('menu_calendar'),
    'U_CALENDAR' => $config->url('calendar', '', true),
));
//-- fin mod : calendar --------------------------------------------------------
Replying to a post i get that:
Fatal error: Call to a member function on a non-object in /home/pcmorph/public_html/kmorph/includes/topic_review.php on line 142

Viewing the calendar:
Fatal error: Call to a member function on a non-object in /home/pcmorph/public_html/kmorph/calendar.php on line 30

Editing my profile:
Fatal error: Call to a member function on a non-object in /home/pcmorph/public_html/kmorph/includes/usercp_register.php on line 117


I think that this code should be the problem:

Code: Select all

$user->set();
$calendar_api->set();
(it's in all files and the line number is always near it), but i dont know how to repair it

At least I solved the error. I tried to upload again the files and suddenly the errors dissapeared, probably i forgot to upload some include file.

I hope you can help me. Thanks in advance, KasLimon

Problem with BBCode at the popups

Posted: Mon Apr 09, 2007 3:58 pm
by LeadH
Hello,

i've just installed this Mod and i think i've found a problem with the BBCode handling.
When i write

Code: Select all

[color=red]this is red[/color]
at a event-posting, the mouse-over popup at the calender work fine, but when i write

Code: Select all

[color=red]this is red ... [another few hundert characters][/color]
then the popup said

Code: Select all

[color=red]this is red ... [another few hundert characters, but truncated]
, it writes "" and don't take as as an order.

I think that the mod first cuts the text of the posting to the defined characters and then works with the BBCode, but the closing tag of the color-order is then truncated and so the mod takes the opening-tag as text.

It should be better when the mod either first works with the BBCode and then truncate the text of the posting, or eliminate all BBCode in the posting before giving it to the javascript.
There is a function which do this at phpBB (when you use the board-search and select 'show as posting' instead of 'show as topic' at the searchform, the postings are shown without BBCode inside), but i don't have an idea where at the mod-code i should change the functions).

Can anybody help me?

Thanks and Greetings
Lead

Re: Topic Calendar (regular phpBB edition)

Posted: Mon Apr 09, 2007 4:04 pm
by xchangx
I've got this mod installed and I assume that when you hover over a calendar entry a box is supposed to appear with the appointments for that day. However I'm getting a "Error:'dom_overview' is undefined"

Is there a fix or does anyone know how to fix this?

Thanks!

Re: Topic Calendar (regular phpBB edition)

Posted: Mon Apr 09, 2007 7:54 pm
by Jackanape
dom_overview is a CSS entry that needs to be defined either in your subsilver.css or your overall_header, or both.

If you have a separate css file, place it in there, per the install intructions.

Re: Topic Calendar (regular phpBB edition)

Posted: Mon Apr 09, 2007 8:02 pm
by xchangx
Jackanape wrote: dom_overview is a CSS entry that needs to be defined either in your subsilver.css or your overall_header, or both.

If you have a separate css file, place it in there, per the install intructions.


I installed it manually and did not see anywhere that says to do that.