Andrzej

Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • in reply to: WP multisites and two Event Cal #15097
    Andrzej
    Member

    Hi Rob,
    Yes, you understand correctly. Yes, they have their own backend, but still it is same core. So just wanted to clarify for myself.

    I have another question. At the moment I have license only for the one site, is it possible to extend it to 3 sites or I need to buy new “business” license?

    in reply to: Calendar view #14243
    Andrzej
    Member

    Hi Joey, thanks for your solution. But that is not what I want. Basically we need not only hide calendar from not logged in users but and from different groups of users.
    I found the solution. I have created my own drop downs which passing the year and month via url “…/?date=2011-11”.
    and in table.php:


    $curDate=makeSafe($_GET[date]);
    $startDate = $curDate . ‘-01’;
    $endDate = $curDate . ‘-31’;

    $eventPosts = tribe_get_events(array( ‘eventDisplay’=>’all’, ‘start_date’ => $startDate, ‘end_date’ => $endDate ));

    And swap $tribe_ecp->date to $curDate and I’m sorted.

    Now I can do whatever I want with this page, block it for all users or just for one group and etc.
    Thanks for you help 🙂

    in reply to: Calendar view #14059
    Andrzej
    Member

    Hi Joey,
    We are trying to block event calendar for persons who are not logged in to the wordpress, because we have confidential information there. List and single views we already done. So we create the page and give permissions only for group of people which needs to use it.
    Single view was sorted by passing ID of event via url and in Wp_Query we just add: ‘page_id’ => $currentID where $currentID = id is from url. Basically I thought maybe it is somehow possible to do for grid view as well.
    But maybe it is possible to block it other way, maybe you have another solution?

    Regards

    Andrzej
    Member

    Hey Brian, you can find this in events-calendar-pro.php, line 255:
    //$content .= “X-WR-CALNAME:” . $blogName . “\n”;

    Had same problem.

    Regards

    in reply to: Calendar view #13795
    Andrzej
    Member

    let say I will pass year and month through url (‘../myPage/?2012-02’)and somehow will force it to show February on the same ‘myPage’ page.

    The reason why I’m trying to do this is to hide event calendar for users who are not loged in.

    in reply to: Calendar view #13791
    Andrzej
    Member

    And sorry for my english 🙂

    in reply to: Calendar view #13777
    Andrzej
    Member

    Hi Rob, I’m trying to put calendar view to specific page created by me. I have copied gridview.php to my new template and apply it to my created page. So I see calendar and navigation for it (previus month, next month and drop downs). But when I use them they redirect me to the original calendar page. What I want to do that then you using drop downs or previus/next month links it will stay on my page and just switch the month.

Viewing 7 posts - 1 through 7 (of 7 total)