Part of the EllisLab Network
pMachine Pro has been replaced by ExpressionEngine, our full featured web publishing solution. Please consider upgrading.
You can download pMachine Pro here: Download pMachine Pro  |  Download Language Packs
   
 
Installing Theo’s calendar hack
Posted: 11 December 2004 06:14 AM   [ Ignore ]  
Summer Student
Total Posts:  10
Joined  2003-10-03

I’ve run across a few problems installing Theo’s calendar hack. I thought I’d provide comments on what I’ve resolved, and ask some questions to get me through the steps I’ve found confusing.

I’ll relate this to Theo’s documentation, and the steps he outlines. Thus, the instructions he has are available along with the download of his hack. (The first hurdle is finding his hack, because I had to search through the forums for links.)

Step 1: install tables

I have no idea how to manage a MySQL database, and don’t find PHPMyAdmin (which I get with pMachine Hosting) all that friendly as an utter newbie.

Therefore, it took me a while and some Googling to figure out how to use Theo’s “tables.sql” file. Here’s how I did it:

Logged into pMachine Hosting control panel.
Connected to PHPMyAdmin, using the instance appropriate for my hosted site. I was on srv03, so I connected to PHPMyAdmin #3.
Clicked on “Databases” link under “MySQL” heading.
Clicked on the link for my database, which matched my pMachine Hosting account name.
Clicked on the “SQL” link.
Clicked on the “Choose file” button and selected the “tables.sql” file from Theo’s hack download.
Clicked “Go.”

According to PHPMyAdmin, the file was imported successfully.

Step 2: install calendar scripts

Here, I didn’t use the Webified FTP client from pMachine Hosting, because it didn’t immediately seem to support uploading an entire folder. So I just used my desktop FTP client to upload the “event_calendar” folder.

Step 3: change include files

I found this step pretty clear, and it doesn’t seem to matter where the include statements are inserted. I inserted them towards the end of each file, under the last include statement I found.

Step 4: update pMachine templates

In contrast, I do not find this step clear. I’m not sure where I should insert the text from “advanced search.txt” and “events.txt”. I think they go in “search.cp.php” and “calendar.cp.php” respectively. However, besides having exact filenames, I think it would be extremely helpful to me, as a beginner, to have instructions on where to insert. Do I paste the text at the end of the file, or somewhere inside the existing code? The calendar.cp.php file, in particular, seems quite complex, and harder to determine where to put the new text when I don’t know how everything fits together.

So I’m basically stuck here for the moment, and I don’t want to screw up my organization’s site.

Profile
 
 
Posted: 20 April 2005 12:23 PM   [ Ignore ]   [ # 1 ]  
Summer Student
Total Posts:  2
Joined  2005-04-17

Are you still stuck there? I can help with Step 4.

You don’t insert the text in either of the files you mention. What you do is:

1) Log in to your pMachine control panel (via a browser)
2) Click on Admin/Edit Templates.
3) Click on Search/Edit
4) Click on Search Form Templates
5) Replace all of the text in the second window (Search Form - Advanced Version) with that from “advanced.search.text”.
6) Click on Update.
7) Repeat this for Event Calendar Templates in Calendar/Edit, using the text from the “events.txt”.
8) Click on Update and you’re done with Step 4.

Anyway, I’ve got as far as completing Step 6. However when I go to my control panel the menus go as far as CALENDAR but then I get,

Fatal error: Call to undefined function: cal_access_privs() in ...global.vis.cp.php on line 325

All suggestions welcome.

Profile
 
 
Posted: 22 April 2005 09:49 AM   [ Ignore ]   [ # 2 ]  
Summer Student
Total Posts:  2
Joined  2005-04-17

Sorted my problem. I’d installed at wrong level so screwing up paths.

Profile
 
 
Posted: 24 November 2005 03:48 PM   [ Ignore ]   [ # 3 ]  
Grad Student
Avatar
Rank
Total Posts:  33
Joined  2002-07-31

EDITED - never mind, posted in the appropriate topic.

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 233, on December 18, 2007 12:04 AM
Total Registered Members: 64970 Total Logged-in Users: 0
Total Topics: 81990 Total Anonymous Users: 0
Total Replies: 440693 Total Guests: 12
Total Posts: 522683    
Members ( View Memberlist )
Active Members: