Easy PHP Calendar - We really take care of your dates!


Go Back   Easy PHP Calendar > Integration > PHP-Nuke Integration

PHP-Nuke Integration Information about integrating the calendar with the PHP-Nuke Content Management System.

Closed Thread
 
Thread Tools Search this Thread Display Modes

PHP-Nuke "module isn't active" when using nav buttons
Old 05-23-2008, 11:15 AM   #1
BoC_Gryphon
BoC_Gryphon
 
BoC_Gryphon is offline
Join Date: May 2008
Posts: 5
Default PHP-Nuke "module isn't active" when using nav buttons

When I hit any of the nav-buttons on the bottom of the normal calendar, it loads the new month properly, but none of the center / right column information loads (my calendar is in the left column). All of the left column information loads properly. The center columns displays the error message "Sorry, this module isn't active".

Also, can you give an example of how I would add links below the navtable? I don't know PHP coding at all.

Finally, is there a way to hide the userid/password from being displayed in the URL bar if I am using a link to Event Mgr that does not require signon?

WebSite is www.bocsquad.com
Contact me at boc.gryphonatgmaildotcom for site/ftp access if needed

Thank you.
 

Old 05-23-2008, 11:30 AM   #2
BoC_Gryphon
BoC_Gryphon
 
BoC_Gryphon is offline
Join Date: May 2008
Posts: 5
Default

I found a fix for the navigation issue here http://www.easyphpcalendar.com/forum...ead.php?t=4428 (update block-calendar.php file) and it worked for me. I'll keep searching the forums to see if I can find answers to the other questions.

Is it possible to enable Event Manager access w/o signon based on phpbb forum group membership?
 

Old 05-23-2008, 11:49 AM   #3
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

Pretty much everything is possible, but it depends on the amount of work required to achieve this. Managing access to the Event Manager using PHPBB groups is one of those situations that would require a lot of work. There is nothing built in to EPC to allow for that, so you'd have to code your own solution using PHPBB techniques - which we're not versed in.

As for hiding the username/password, you can send that info in POST instead of GET, but then the credentials would still be visible in the code.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 05-23-2008, 04:22 PM   #4
BoC_Gryphon
BoC_Gryphon
 
BoC_Gryphon is offline
Join Date: May 2008
Posts: 5
Default

I currently have my links to the event manager and setup manager in a separate block uisng a simple table. I read in another post that it's possible to add to these links to the calendar itself, below the nav table.

http://www.easyphpcalendar.com/forum...ead.php?t=6543

This post did not show sample code of how to do so. I believe the code needs to be added to the /blocks/block-calendar.php file?

Last edited by BoC_Gryphon; 05-23-2008 at 06:49 PM.
 

Old 05-23-2008, 08:48 PM   #5
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

That's exactly it. Add it like you'd add any other html to a PHP file.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 05-24-2008, 10:11 AM   #6
BoC_Gryphon
BoC_Gryphon
 
BoC_Gryphon is offline
Join Date: May 2008
Posts: 5
Default

OK. Since I don't know a lick of PHP, I took a stab at how to do this.

Here's my code:

<html>
<body>
<?php
if (eregi("block-Calendar.php", $_SERVER['PHP_SELF'])) {
Header("Location: index.php");
die();
}
ob_start();
if (!eregi("modules.php", $_SERVER['PHP_SELF'])) {
$thisFile="index.php";
}
//required if you're going to use overLib
$OL=1; require ("calendar/calendar.php");
//makes the whole calendar point to a TOC link
//unset($epcAltLink); $epcAltLink="modules.php?name=Calendar";
//the line that shows the calendar
require ("calendar/calendar.php");
$content = ob_get_clean();
?>
<br>
<table>
<tr align=left valign=center>
<td> <img src="http://bocsquad.com/images/arrow.gif"><a href="/calendar/events/index.php?name=demo&pwd=demo" target="_blank">&nbsp Use Calendar</td></tr>
<tr align=left valign=center>
<td> <img src="http://bocsquad.com/images/arrow.gif"><a href="/calendar/setup/index.php" target="_blank">&nbsp Configure Calendar</td></tr>
</table>
</body></html>

The links are rendered above the calendar (instead of below the nav area) and outside the boundaries of the block itself. Any suggestions?
 

Old 05-24-2008, 09:12 PM   #7
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

Yeah, you can't have the <html> and <body> tags in a block.... here's what you should have

PHP Code:
<?php
if (eregi("block-Calendar.php"$_SERVER['PHP_SELF'])) {
Header("Location: index.php");
die();
}
ob_start();
if (!
eregi("modules.php"$_SERVER['PHP_SELF'])) {
$thisFile="index.php";
}
//required if you're going to use overLib
$OL=1; require ("calendar/calendar.php");
//makes the whole calendar point to a TOC link
//unset($epcAltLink); $epcAltLink="modules.php?name=Calendar";
//the line that shows the calendar
require ("calendar/calendar.php");
$content ob_get_clean();
$myLinks "<br>
<table>
<tr align=\"left\" valign=\"center\">
<td> <img src=\"http://bocsquad.com/images/arrow.gif\"><a href=\"/calendar/events/index.php?name=demo&pwd=demo\" target=\"_blank\">&nbsp Use Calendar</td></tr>
<tr align=left valign=center>
<td> <img src=\"http://bocsquad.com/images/arrow.gif\"><a href=\"/calendar/setup/index.php\" target=\"_blank\">&nbsp Configure Calendar</td></tr>
</table>"
;
$content .= $myLinks;
?>
Not 100% sure it'll work on the first try... I just did this quick.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 05-24-2008, 09:48 PM   #8
BoC_Gryphon
BoC_Gryphon
 
BoC_Gryphon is offline
Join Date: May 2008
Posts: 5
Default

Worked like a charm. Many thanks.
 
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mouse Over Not Working in PHP Nuke Module dhodges PHP-Nuke Integration 7 09-26-2007 10:17 PM
Please help! PHP Nuke Install takeallmichael PHP-Nuke Integration 3 09-25-2007 06:45 AM
Port to PHP Nuke Zola In our client's own words... 2 03-08-2007 10:09 PM
php makes nav bar go crazy lgutherie General Support 5 12-04-2006 11:40 AM
php nuke installation drlife General 3 10-17-2005 05:25 PM



All times are GMT -4. The time now is 11:14 AM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright 2009 NashTech, Inc.

| Home | Register | Today's Posts | Search | New Posts |