clarity

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • in reply to: Latest update seems to have broken my layout #1187848
    clarity
    Participant

    We tested removing all CSS code and customization in the Events settings page and in the DIVI settings page. It didn’t change anything. The Filters bar still opens up full width. Right before the update to the most recent version, it did not do that.

    in reply to: What are the color bars and how do I control them? #1093450
    clarity
    Participant

    Yup… you are right. I installed that Category Colors plugin a while ago and didn’t remember. Thanks, sorry to bother you about this.

    in reply to: Reroute list/edit page when not logged in #1085729
    clarity
    Participant

    This is perfect. It worked great. Thank you.

    It seems that the previous functions.php file had an issue, for some reason. Don’t know why, but finally creating a new file worked.

    • This reply was modified 10 years, 1 month ago by clarity.
    in reply to: Reroute list/edit page when not logged in #1082809
    clarity
    Participant

    George,

    I tried… nothing I did worked…

    <?php
    
    add_action( 'tribe_ce_before_event_list_top_buttons', 'redirect_to_better_login_page' );
    add_action( 'tribe_ce_event_submission_login_form', 'redirect_to_better_login_page' );
    
    function redirect_to_better_login_page() {
    	if ( ! is_user_logged_in() ) {
    		wp_safe_redirect( 'http://avindustrycalendar.com/login-register/' );
    		die();
    	}
    }
    
    ?>
    

    I also tried:

    <?php
    
    add_action( 'tribe_ce_event_submission_login_form', 'redirect_to_better_login_page' );
    
    function redirect_to_better_login_page() {
    	if ( ! is_user_logged_in() ) {
    		wp_safe_redirect( 'http://avindustrycalendar.com/login-register/' );
    		die();
    	}
    }
    
    add_action( 'tribe_ce_before_event_list_top_buttons', 'redirect_to_better_login_page' );
    
    function redirect_to_better_login_page() {
    	if ( ! is_user_logged_in() ) {
    		wp_safe_redirect( 'http://avindustrycalendar.com/login-register/' );
    		die();
    	}
    }
    
    ?>
    

    Both resulted in errors

    • This reply was modified 10 years, 1 month ago by clarity.
    in reply to: How can a user log out with WP admin blocked? #1082748
    clarity
    Participant

    Nico…

    You are missing my point. When a user registers for the Community calendar, they get a wordpress subscriber account. I have the WP admin bar turned off, so there is no apparent way for them to log out. Any ideas on where/how to put a conditional menu up to log out or something of the sort?

    in reply to: Community Events status/settings #1082052
    clarity
    Participant

    Thanks for the help. I think there was some confusion on question #3:

    3) How can we delete sections from the “New Event” form that users see? i.e. We don’t want users to see the “RSVP section” of the form. We don’t want people to see “Additional Functionality” and click the Modern Tribes add-on link. How can we control that?
    Same as above. You can use the Adminimize plugin to change access.

    We are talking about the Add Event form here… we want to remove some sections from the form when a user is filling it out.

    in reply to: Basic community events user registration question #1081081
    clarity
    Participant

    George…

    Well, this is embarrassing – for both you and me.

    You gave me these directions a couple messages ago:

    3. Make sure this file is completely empty, and then replace the contents with the content of the complete text at this link: https://git.io/v2YRF

    I did exactly that. Please look at the code you gave me. You did not close the PHP section. I did as suggested an left the PHP open. I should have seen that. I sent you exactly what was in my functions.php file, and you didn’t catch it either.

    I am sorry for missing that. To my defense, I was following directions.

    Thank you for all the help. It now works.

    in reply to: Basic community events user registration question #1080338
    clarity
    Participant

    OK, I have done this again. It STILL redirects to:

    http://avindustrycalendar.com/events/community/add/

    I want it to redirect to:

    http://avindustrycalendar.com/login-register/

    I have done everything as specified in the response. It is not working. I have removed “safe_”, it is not working. I still get this error:

    http://avindustrycalendar.com/events/community/add/

    Warning: Cannot modify header information – headers already sent by (output started at /home/integrat/public_html/avindustrycalendar/wp-content/themes/Divi-child/functions.php:1) in /home/integrat/public_html/avindustrycalendar/wp-includes/pluggable.php on line 1228

    in reply to: Basic community events user registration question #1078393
    clarity
    Participant

    OK, my bad. I have added it to the functions.php in my theme (its a child theme). Here is the complete contents of that file:

    <?php
     
    add_action( 'tribe_ce_event_submission_login_form', 'redirect_to_better_login_page' );
    
    function redirect_to_better_login_page() {
    	if ( ! is_user_logged_in() ) {
    		wp_safe_redirect( 'http://avindustrycalendar.com/login-register/' );
    		die();
    	}
    }
     
    ?>
    

    It does not work. a non-logged in user is still directed to the same custom page. Ideas?

    • This reply was modified 10 years, 2 months ago by clarity.
    in reply to: Basic community events user registration question #1075148
    clarity
    Participant

    Here is the link. All I did was add a few line feeds and insert your code. Breaks the site immediately:

    https://gist.github.com/anonymous/f5555dc2e2e0d11936ba

    Here is the browser error:

    Fatal error: Call to undefined function add_action() in /home/integrat/public_html/avindustrycalendar/wp-includes/functions.php on line 11

    in reply to: Basic community events user registration question #1074605
    clarity
    Participant

    Actually, to clarify:

    add_action( ‘tribe_ce_event_submission_login_form’, ‘redirect_to_better_login_page’ );

    This calls a function that doesn’t exist – error

    in reply to: Basic community events user registration question #1074534
    clarity
    Participant

    I am confused… this did not do anything. I added this code to the beginning of my functions.php file.

    in reply to: Add HTML before event content and Chrome browser #1056244
    clarity
    Participant

    Geoff,

    Well, it appears it’s a Chrome issue. Every machine I tried, my mac, my windows 10 machine, other office macs and windows machines, Chrome had AdBlock turned on. With Adblock on, all of the images on this page do not show.

    I solved the issue by turning AdBlock off in Chrome, but that kind of worries us as many people seem to have this turned on in their Chrome browser.

    Any idea why Chrome is treating images on this page differently?

    in reply to: Not understanding how to embed the calendar into a page #1050242
    clarity
    Participant

    Cliff,

    We want a home page to be the calendar… the full searchable calendar. We want the option on that page to use other wordpress functions… sidebars, widgets, etc. I guess our understanding was that we could style a page and have that nice looking calendar fall into the middle of the page. That is what it appears like in your demo. But, thats wrong. To style a page, you must code. To bring in WP components, you must code. To put the full calendar into a page with any WP components, a page has to be designed.

    So, now we have the option of creating a custom page. To do this, we must rely on modifying the default template (which, by the way, is NOT where the documentation says it is), and we have to make a child theme for our theme (which is NOT defined in the theming documentation). I would be glad to point out both of these omissions for you in your documentation.

    2. Locate the files you wish to edit

    The template view files are located inside the plugin folders /src/views/ directory. For example:

    The Events Calendar Pro template files
    /wp-content/plugins/events-calendar-pro/src/views/

    Well, after some searching, we found that the default-template.php is not in the pro folder, but in the events calendar folder. I guess this didn’t make sense as we bought the PRO version. Why would we be editing the regular version. But we eventually figured that out.

    Next, the themer’s guide says:

    …you can override these files with custom files that you place in your theme. It’s important that you don’t edit the view files directly in the plugin, you should copy them into your theme first, and edit them there.

    Why would you put these files in your theme… a location that will potentially be wiped with a theme update? So, this leads to understanding that to do any styling, you MUST create a child theme. However, in the themer’s guide, it never mentions a “child theme”.

    Sorry, a bit of frustration here as this is where we finally learned that we now have to build a child theme and then copy components over from the regular and possibly the pro calendar code, and we must build our own PHP code to do things like integrate other WP components into the existing theme.

    So now that we are here… here is what we are trying to do…

    We would like to embed an ad management system from WordPress onto the same page as the calendar. If the calendar worked in a WP page, this would be easy to do. Now, we would need to find an ad management plugin that will allow us to php code it into a page, but still work in the WP admin. Then we have to figure out how to customize a page to look like the rest of the site and hand-code these elements into the page. If the calendar were available to us as a module – heck, even a block of code, we could embed it into a block module in Divi, our theme (no, not just the simple calendar display – the full calendar display). I can put code into a Divi block… if I could only figure out how to put the default-template.php into a code section, this would be easy.

    Next, we would like to style this custom home calendar page template… as we cannot use a WP template page, we have to write the code to make a page layout that works with the existing WP menu system that currently displays at the top of the page, and work it around embedding some other WP thing we want in the page, like Widgets.

    I guess I as much disappointed as I am confused. Why can I not just embed the default-template.php into a code block into a theme page so I can wrap it into our environment without having to code a whole custom page and then try to figure out get other WP components working on that page? This was not clear when we bought the Pro version and add-ons.

    in reply to: Not understanding how to embed the calendar into a page #1047527
    clarity
    Participant

    OK, so these settings didn’t make anything better. Let me see if I understand this…

      To display the full calendar and tools in WordPress, you have to go to a specific URL which calls on the
      theme’s archive page for styling.

      To modify this, one has to build a custom archive page and design and style it in html and CSS.

      There are no pre-designed page templates to load for style.

      Modern Tribe will not give out any theme code that will give us a design to work with, nothing similar to the demo calendar site.

      If you want a good looking page, you have to design or hire a designer.

    Is this about correct? Because this sure wasn’t defined when we bought the package we bought. We saw a beautiful calendar on a nicely laid out page with a header and background. What we get is a simple calendar put onto a page with a forced right sidebar and no header, and no way without coding to fix this.

    Our theme is DIVI from Elegantthemes.com, but we would be willing to change, with the right solution. However, DIVI is one of the simplest and most customizable themes we have every used.

    Please advise us of the steps we would need to take with this theme to get from point A to B, from this page:

    http://avindustrycalendar.com

    to this page (or similar):

    http://wpshindig.com/events/

    Thanks…

    • This reply was modified 10 years, 3 months ago by clarity.
    • This reply was modified 10 years, 3 months ago by clarity.
Viewing 15 posts - 1 through 15 (of 17 total)