Home · Links · Contact Us
Home arrow Forums
Home
Features
FAQ
Screen Shots
Modules
Themes
Demos
Documentation
Forums
Contact Us
Download
Purchase
Quotes

" ... I want to tell you that your thyme product is functional and valuable beyond words. I cannot imagine why any portal would be without it. It is the cornerstone of our new project ..."

" ... Thanks for such a complete project, its making my job much easier. ..."

" ... I have now deployed 4 different calendars and our users love them ... "

" ... Easy to install and use and a great look/design. ..."

" ... This has to be the easiest to use program I think I've had to deal with at all this year. ..."


  FAQFAQ    SearchSearch  RegisterRegister   Log inLog in 
Functions removal, DST fix

 
Post new topic   Reply to topic     Forum Index -> Web site integration
View previous topic :: View next topic  
Author Message
seacoast



Joined: 10 Jan 2007
Posts: 11

PostPosted: Thu Feb 08, 2007 8:06 am    Post subject: Functions removal, DST fix Reply with quote

Hi Ian,

I have a couple of questions:

1. Will there be a fix for the upcoming change to the duration of Daylight Savings Time in US/Canada?

2. Is there a way to remove the Details and Post functions, and limit Options and Sync to admin view? Or remove them entirely if necessary?

Thanks
Back to top
View user's profile Send private message
esoft_ian



Joined: 12 Sep 2005
Posts: 5275

PostPosted: Thu Feb 08, 2007 12:41 pm    Post subject: Reply with quote

Hi,

1. Yep.

2a. Remove the details and post links:

*) Edit index.php, around line 271, just after the $_cal_info['description'] = $_cur_cal->description; line, add:

$links = array();


2b (or not 2b). Edit modules/sync/register_module.php and add this to the top after the <?php line:

if(!$_cal_user->admin) return;

rename modules/guest_options/register_module.php to anything other than register_module.php

Let me know if you have any more questions.
Back to top
View user's profile Send private message Visit poster's website
seacoast



Joined: 10 Jan 2007
Posts: 11

PostPosted: Thu Feb 08, 2007 7:25 pm    Post subject: Reply with quote

Hi Ian,

Maybe not 2b. When I made the change my calendar disappeared from my browser (both Firefox and Safari). I double checked and I definitely had the right file.
Back to top
View user's profile Send private message
seacoast



Joined: 10 Jan 2007
Posts: 11

PostPosted: Thu Feb 08, 2007 7:45 pm    Post subject: Reply with quote

Oops. I just realized I misunderstood and put all the information you listed into the file. But when I corrected the mistake, I didn't get the result I expected. The Options remains but the Sync is gone.

Also, I realize I need to get rid of the Calendars link in that same area. Okay to leave for admin, if that's easier.

Thanks
Back to top
View user's profile Send private message
esoft_ian



Joined: 12 Sep 2005
Posts: 5275

PostPosted: Thu Feb 08, 2007 10:24 pm    Post subject: Reply with quote

Hi,

Also make that change in

modules/options/register_module.php and modules/calendars/register_module.php
Back to top
View user's profile Send private message Visit poster's website
seacoast



Joined: 10 Jan 2007
Posts: 11

PostPosted: Fri Feb 09, 2007 4:51 am    Post subject: Reply with quote

Thanks Ian.

A final thought on this: Should I decide that I want to eliminate the log-in function for users, do I use the same code? In which folder?
Back to top
View user's profile Send private message
esoft_ian



Joined: 12 Sep 2005
Posts: 5275

PostPosted: Fri Feb 09, 2007 5:01 am    Post subject: Reply with quote

Hi,

It's not the same code for the login link. You have to modify index.php. The easiest way is to change line 527 from

} else {

to..

} else if(false) {
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Web site integration All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
© 2005 eXtrovert software unless otherwise noted. All rights reserved.
Portions © 2004 Ben Brown. All rights reserved.
Trademarks are property of their respective owners.