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 
Sync Module deactivation ?

 
Post new topic   Reply to topic     Forum Index -> Hacking Thyme
View previous topic :: View next topic  
Author Message
Pumuckel



Joined: 25 Apr 2007
Posts: 27

PostPosted: Mon Jan 21, 2008 10:59 am    Post subject: Sync Module deactivation ? Reply with quote

Hi,

Is there a way to compleately deactivate the Sync Module so that nothing can Downloaded by in Excel, CSV or any other Format, or at least to remoce the Download Buttons from everywhere.

Regards
Carlo
Back to top
View user's profile Send private message
Andyy



Joined: 24 Jul 2007
Posts: 27
Location: Huddersfield UK

PostPosted: Mon Jan 21, 2008 12:24 pm    Post subject: simply rename the module Reply with quote

Hi Pumuckel

To remove the module simply rename the module via FTP
Go to your calendar/modules with your favourate FTP client and rename the sync module to syncBK

That's it

When you re-enter your admin area, you will see the sync link will no longer be there!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
esoft_ian



Joined: 12 Sep 2005
Posts: 5275

PostPosted: Mon Jan 21, 2008 2:18 pm    Post subject: Reply with quote

Hi,

1) Rename the modules/sync to anything else

2) Change line 239 of include/templates/event_view_tpl.php to:

Code:
if(!@constant("_CAL_DOING_EMAIL_") && false) {


3) On line 283 of index.php, just above this line:

$_cal_info['title'] = $_cur_cal->title;

.. add ..

Code:
$links = array();


4) rename the folder named remote in Thyme's folder to anything else

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



Joined: 25 Apr 2007
Posts: 27

PostPosted: Mon Jan 21, 2008 6:00 pm    Post subject: Reply with quote

It seems to work fine after all changes !

Thank You
Back to top
View user's profile Send private message
bigmike7801



Joined: 17 Nov 2008
Posts: 5

PostPosted: Mon Nov 24, 2008 5:32 pm    Post subject: Reply with quote

The part where you say

Quote:

2) Change line 239 of include/templates/event_view_tpl.php to:

Code:
if(!@constant("_CAL_DOING_EMAIL_") && false) {


Has this changed?[/quote]
Back to top
View user's profile Send private message
bigmike7801



Joined: 17 Nov 2008
Posts: 5

PostPosted: Mon Nov 24, 2008 5:40 pm    Post subject: Reply with quote

I guess what I'm trying to say is that you say to Change line 239 of include/templates/event_view_tpl.php to:

if(!@constant("_CAL_DOING_EMAIL_") && false) {


but I don't know what line 239 originally said so I'm not sure if I'm changing the right line. Actually, my line 239 is blank and falls right between the following lines of code:

Code:

if($_cal_event->url) {

      $_cal_tmpl->section_row(_URL_,"<a href='".$_cal_event->url.


Hope what I'm saying makes sense!
Back to top
View user's profile Send private message
esoft_ian



Joined: 12 Sep 2005
Posts: 5275

PostPosted: Mon Nov 24, 2008 7:20 pm    Post subject: Reply with quote

Hi Mike,

Sorry.. make that line 272. Or you can search for the words ONLY IF NOT IN EMAIL and it should be the line just below that. It originally reads:

Code:
   if(!@constant("_CAL_DOING_EMAIL_")) {


Let me know if you have any questions / trouble at all.
Back to top
View user's profile Send private message Visit poster's website
bigmike7801



Joined: 17 Nov 2008
Posts: 5

PostPosted: Mon Nov 24, 2008 7:36 pm    Post subject: Reply with quote

Thanks!

I decided to just rename register_module.php because I wanted users to be able to export individual events if they wanted to but no the calendar as a whole.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Hacking Thyme 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.