Forum Replies Created
-
AuthorPosts
-
lebearukParticipant
is it possible to edit a post? I’d prefer not to have my url / vhost directory included in the link
lebearukParticipantadd_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?lebearukParticipanttested in 360×640 res
lebearukParticipant<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;
}lebearukParticipantI’m experiencing the same problem.
I’ll go through the checks and update this post with any findings.May 23, 2014 at 11:34 pm in reply to: Using Buddypress profile data for organizer event submissions #172885lebearukParticipantAlso, 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.
lebearukParticipantI’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 & testingIt’s yet to pass the real test when I relaunch the website.
-
AuthorPosts