lebearuk

Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • in reply to: Filter Bar as a Widget? #680237
    lebearuk
    Participant

    is it possible to edit a post? I’d prefer not to have my url / vhost directory included in the link

    in reply to: Filter Bar as a Widget? #680231
    lebearuk
    Participant

    add_filter(‘tribe_events_filters_should_show’, ‘__return_false’);
    This only hides the filter using CSS display: none;
    The following is taken from another post in the forum.
    function removeTribeFilterBarDefaultDisplay() {
    $filterClass = TribeEventsFilterView::instance();
    remove_action(‘tribe_events_before_template’, array($filterClass, ‘displaySidebar’), 25);
    remove_action(‘tribe_events_bar_after_template’, array($filterClass, ‘displaySidebar’), 25);
    }
    add_action( ‘wp_enqueue_scripts’, ‘removeTribeFilterBarDefaultDisplay’, 50 );
    It prevents the filter from being present in the code?
    I have created a folder in my child theme with the filter I would like to integrate to a widget allowing me to make some minor changes to the presentation. I’m trying to understand the following instruction.
    Then get ahold of the TribeEventsFilterView::instance(), and simply call TribeEventsFilterView::displaySidebar() where you want it to be displayed within that page template.

    So that I can add the filter to the sidebar. I’m currently adding the following code into a widget using a php snippet plugin.

    <?php
    ob_start();
    tribe_get_template_part( ‘filter-bar/filter-view-‘ . tribe_get_option( ‘events_filters_layout’, ‘vertical’ ) );
    $html = ob_get_clean() . $html;
    echo $html;
    ?>

    which is working when drilled down into a single view only and not from the /events/ page.
    Could you please give me example of step 3?

    in reply to: Filterbar blocking events listing on mobile #676621
    lebearuk
    Participant

    tested in 360×640 res

    in reply to: Filterbar blocking events listing on mobile #676615
    lebearuk
    Participant

    <div id=”tribe_events_filters_wrapper” class=”tribe-events-filters-horizontal tribe-clearfix”>
    .tribe-filters-open #tribe_events_filters_wrapper, .tribe-filters-open #tribe_events_filters_wrapper.tribe-events-filters-horizontal, .tribe-filters-open #tribe_events_filters_wrapper.tribe-events-filters-vertical {
    background: none repeat scroll 0% 0% #FFF;
    position: absolute;
    z-index: 1000;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    width: 100%;
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    }

    <div id=”tribe_events_filters_wrapper” class=”tribe-events-filters-horizontal tribe-clearfix”>
    apply position relative
    div#tribe_events_filters_wrapper {
    position: relative;
    }

    in reply to: Filterbar blocking events listing on mobile #676573
    lebearuk
    Participant

    I’m experiencing the same problem.
    I’ll go through the checks and update this post with any findings.

    lebearuk
    Participant

    Also, unless a default organizer is selected, it will be creating a new Organizer with the same data I presume. I’ll need to take that into account, and what to do if the user changed their details in their profile.

    in reply to: Community Events Spam Users #172824
    lebearuk
    Participant

    I’d suggest investing quite a bit of time making sure your website is secure and steps are put in place to prevent spam.

    I learned the hardway by launching a website with buddypress, within 24 hours I had to shut it down and I couldn’t define which accounts were spam or not resulting in a complete rebuild and an embarrising request for all users to recreate their accounts.

    I’m using a combination of the following

    – theme my login
    – gravity forms during registration
    – wordfence
    – hide my wordpress
    – akismet
    – testing testing & testing

    It’s yet to pass the real test when I relaunch the website.

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