Forum Replies Created

Viewing 15 replies - 1 through 15 (of 70 total)
  • guillermovargasquisoboni

    (@guillermovargasquisoboni)

    I am using google maps and I am also experiencing issues with venues map location. Every new venue is pointing nowhere ! The only way to correct this is by changing coordinates !

    Have you found other solutions for your issue ?

    Thread Starter guillermovargasquisoboni

    (@guillermovargasquisoboni)

    Hello @alexrollin !

    It was not clear for me that the plugin was maintained after @scribu leaves the project. So that’s really great news !

    I definitely cannot imagine how an export from the database could be used later with another plugin, as you can do with some other plugins that are intended for same functionalities (as multilanguage plugins or events plugins)…

    I really hope that P2P will last forever !

    guillermovargasquisoboni

    (@guillermovargasquisoboni)

    Hello sanderswp,

    Could you share please how do you activate your https in your wordpress multisite installation. I have been reading some instructions but anything has been said about multisite’s installations. So I’m looking for some experiences in order to be sure of how can I proceed.

    I read that we have to modify .htaccess and wp-config. I just wonder if the “rewriting” rules that are used to activate multisite could be affected by using the rewriting rules that are used to activate https. In the same way, I wonder if the DEFINE CURRENT SITE and the DEFINE URL (etc) could create contradictions.

    guillermovargasquisoboni

    (@guillermovargasquisoboni)

    Hello Mauridoom,

    I have the same question, I just activates Let’s encrypt certificate on my network and I am preparing to redirect http to https. So I wonder if .htaccess needs special settings in a wordpress multisite installation. There is no information about this on general documentation. Maybe it can helps if we can share some ideas between us.

    I can tell you that my .htaccess looks exactly as yours, but on wp-config.php have some differences: I don’t have YET any definition for WP_HOME and WP_SITEURL; the option for subdomains is activated; and finally, I don’t have any condition for cookies…

    Concerning the admin options, we are on the same situation: I cannot modify url on network’s main site, but I can do it for all subsites. I suppose that this is something related to the definition of the network itself, specifically when you declare the current site: define(‘DOMAIN_CURRENT_SITE’, ‘mydomain.org’);

    On wordpress documentation (https://codex.www.ads-software.com/Changing_The_Site_URL), I read that after defining WP_HOME or WP_SITEURL you “won’t be able to edit them on the General settings page anymore”. I suppose that this is also happening after defining DOMAIN_CURRENT_SITE, because I don’t have use the first.

    Finally, concerning the “domain mapping option”, what I understand is that we are using the homemade function when we are able to edit urls from the network’s admin screen. So probably the menu options that you are looking for are related to one of the plugins that can create this function on ancient wordpress installations.

    guillermovargasquisoboni

    (@guillermovargasquisoboni)

    Dear stefandog,

    I have been playing around a little bit. By the moment, I can tell you something that can be avoid overriding your development with futur eo updates.
    I done this by following this thread: https://wordpress.stackexchange.com/questions/160249/change-src-from-wp-register-script-in-plugins-themes

    You can add a piece of code in your child functions.php or like me, in a mini-plugin that I created in order to adapt EO to my use.

    function mylocal_leaflet() {
        wp_deregister_script( 'eo-leaflet.js');
        wp_register_script( 'eo-leaflet.js', 'https://localhost:8888/test/wp-content/plugins/event-organiser-myway/leaflet/leaflet.js' );
        
    add_action('wp_enqueue_scripts', 'mylocal_leaflet');
    
    }
    guillermovargasquisoboni

    (@guillermovargasquisoboni)

    Hello W411,

    I have been using eo specially for long events, and I recently started creating some one day/specific time events. I think that the difference between them can be useful to answer your question.

    – Long time events have start date and end date. A good example is holidays, that this year start on 20 december and finish on 6 january.
    – Recurring events are more like one day events, in which you can program a start time and end time. A good example is time to go to gym. Let’s say that you decide to go to the gym on next friday at 20 o’clock, and then you decide that you will go all fridays at the same time. Only then you have a recurring event. A recurring event is an event that originally takes place one day at one time but that you can also repeat in some frequency.

    If you want to create a long period of recurrence for your recurring events, you must preserve the difference between “long time events” and “one day recurring event”, so you must use the appropriate case for “recurring events” that is situated below the recurrence days, and that is entitled “Until”. Automatically, wordpress will assume that the original “one day date” is the begin of the period of recurrence, and the end will be the date registered on the case “until”. So let’s say that you decide to go the gym only during holidays, three days by week. So yo create a one time event on 20 december, start time being 20 o’clock, end time is 22 o’clock. You can establish a frequency (monday, wednesday and saturday), and a recurrence period until 6 january. Everything is done on the same section.

    You also must consider that the cases situated at the right are specifically destinated to “long time events”. The difference is clear to me: during your holidays, when you are not at the gym, you are still on holidays… The better for you is to create two different events in your event-organiser agenda: 1. for holidays and the other for gym time. “Long time events” and “one day at specific time recurring events” should be correctly differentiated…

    guillermovargasquisoboni

    (@guillermovargasquisoboni)

    Hi Stefan,

    I’m interested in your experience with leaflet. Have you ever thought about styling your maps? I’m trying to change some aspects on my maps, in particular the scrolling zoom and the colors, but I don’t know how to proceed. If you have any experience on this, it will be really nice if you can point me in the right direction.

    Forum: Plugins
    In reply to: [Event Organiser] Download?
    guillermovargasquisoboni

    (@guillermovargasquisoboni)

    Hello Glenn,

    I suppose you have modified the original templates located in: /plugins/event-organiser folder. If that is the case, it will be very easy to come back to the original ones. But you have to know that even if you were happy with the results of your modifications, you were going to loose all of them, because each time that a new version of event-organiser is available via the dashboard, you are always replacing the whole event-organiser folder.

    In the same way, what you have to do right now is simply replace the event-organiser folder that is online with the original one.

    So, if you have the last version of event-organiser:
    1. You can download the plugin from the github repository (https://github.com/stephenharris/Event-Organiser/) via the button download zip.
    2. On your computer, you can decompress the folder.
    3. You connect to your site via filezilla or cyberduck.
    4. You replace the folder of event-organiser that is online with the one that you just downloaded.

    At the same time, if your website is https://www.portcredit.ca, I really cannot see what is exactly what you consider “a mess”? I have the impression that event organiser is working well… What is exactly what you want to accomplish? Maybe I can give you some advices…

    guillermovargasquisoboni

    (@guillermovargasquisoboni)

    Hello msusans,

    You need to copy the file event-meta-event-single.php from the plugins/eventorganiser folder and paste it into your own theme folder.

    The piece of code that is creating this line is this one :

    <?php if ( $next ) : ?>
    			<!-- If the event is occurring again in the future, display the date -->
    			<?php printf( '<p>' . __( 'This event is running from %1$s until %2$s. It is next occurring on %3$s', 'eventorganiser' ) . '</p>', eo_get_schedule_start( 'j F Y' ), eo_get_schedule_last( 'j F Y' ), $next );?>
    
    		<?php else : ?>
    			<!-- Otherwise the event has finished (no more occurrences) -->
    			<?php printf( '<p>' . __( 'This event finished on %s', 'eventorganiser' ) . '</p>', eo_get_schedule_last( 'd F Y', '' ) );?>
    		<?php endif; ?>

    You can erase this piece of code and it should work.

    guillermovargasquisoboni

    (@guillermovargasquisoboni)

    If you want to use your actual theme, the easy way is just by adding some shortcodes in the page you want to show the list of events. Instructions are here : https://docs.wp-event-organiser.com/shortcodes/events-list/

    Otherwise, you can install and activate the sigma theme, that seems to be conceived to be used with this plugin. Sigma is here: https://wp-event-organiser.com/extensions/sigma-theme/

    guillermovargasquisoboni

    (@guillermovargasquisoboni)

    Hello,

    First at all, you have to COPY the file event-meta-event-single.php and PASTE it on your theme’s folder. Then you can modify things directly on this file. It is not necessary to make any changes on the functions of the plugin.

    If you only need one day events, so you can use something like this :

    <?php if ( ! eo_recurs() ) { ?>
    			<!-- Single event -->
    			<li><strong><?php esc_html_e( 'Date', 'eventorganiser' );?>:</strong> <?php echo eo_get_the_start('F j, Y');?></li>
    			<li><strong><?php esc_html_e( 'Time' );?>:</strong> <?php echo eo_get_the_start('g:i a');?> - <?php echo eo_get_the_end('g:i a');?> </li>
    		<?php } ?>

    As you see, the function eo_format_event_occurrence(); is assembling date and time. You can also use the function eo_get_the_start() or eo_get_the_end() and use the date formats (definitions here: https://codex.www.ads-software.com/Formatting_Date_and_Time).

    Thread Starter guillermovargasquisoboni

    (@guillermovargasquisoboni)

    Hello Maninder,

    After a lot of manipulations, I discovered that yesterday I unintentionally deleted a lot of operational files on the database during a cleaning process. So I used a backup and reinstall what was lacking and now everything is working again.

    Specifically I discovered that the file wp_options was absent. This file stores the site url. So, as you say, the problem was related to the definition of the url. But more precisely, it was the absence of a place to store it.

    Thank you very much for your help!

    Thread Starter guillermovargasquisoboni

    (@guillermovargasquisoboni)

    Hello,

    I have been trying some procedures without success:
    I renamed .htaccess into old.htaccess
    I renamed plugins folder into pluginszzz
    I also renamed themes folder into themeszzz

    I wrote to OVH support service but I don’t have yet an answer. So any help here will be strongly appreciated !

    Thread Starter guillermovargasquisoboni

    (@guillermovargasquisoboni)

    It seems that there is no support for this plugin. Anyone knows a plugin for relationships with an active support?

    guillermovargasquisoboni

    (@guillermovargasquisoboni)

    Hello Tribal Dancer,
    I made a custom single-event.php that is working well with a twentyfifteen child theme. I share my code with you maybe it can helps. If you want, you can share me your code and I can test it on my mamp environment :

    <?php
    /**
     * The template for displaying single events in https://lupita.artandfield.org
     *
     * 
     */
     
    //Call the template header
    get_header(); ?>
    
    <div id="primary" class="content-area">
    
        <main id="main" class="site-main" role="main">
        
            <div id="lupita-content">
    
            <header>
                <?php while ( have_posts() ) : the_post(); ?>
                
                <!-- Display event title -->
                <h1><?php the_title(); ?></h1>
                
                <div id="lupita-entry-meta">
    			 <?php
    			 //Events have their own 'event-category' taxonomy. Get list of categories this event is in.
    			$categories_list = get_the_term_list( get_the_ID(), 'event-category', '', ', ','' );
    
    			if ( '' != $categories_list ) {
    				$utility_text = __( 'Categorias: %1$s.</br> Texto publicado por <a href="%3$s">%2$s</a>.', 'eventorganiser' );
    			} else {
    				$utility_text = __( 'Texto publicado por <a href="%3$s">%2$s</a>.', 'eventorganiser' );
    			}
    			printf($utility_text,
    				$categories_list,
    				get_the_author(),
    				esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) )
    			);
    			?>
    
    			<?php edit_post_link( __( 'Edit' ), '<span class="edit-link">', '</span>' ); ?>
            </div><!-- .entry-meta -->
    
            </header><!-- #lupita-content header -->
            
            <div id="lupita-left-column">
    			<div id="event-image">
                    <?php
                    // Post thumbnail.
                    the_post_thumbnail('full'); 
                    echo "<div class='event-caption-text'>";
                    echo get_post(get_post_thumbnail_id())->post_excerpt;
                    echo "</div>";
                    ?>
                </div><!-- .post-thumbnail -->	
                
                <!-- The content or the description of the event-->
    				<?php the_content(); ?>
                
            </div><!-- closing left column -->
        
            <div id="lupita-right-column">         
    
                <div class="eventorganiser-event-meta">
    
                <!-- Event details -->
                <div id="event-details">
    	
                    <h2><?php _e('Informaciones prácticas') ;?></h2>
                    <ul>
                    <!-- The first element of the list is start and end dates of the event -->
                    <li><strong><?php _e('Fechas: ') ;?></strong><?php eo_the_start('j F Y'); ?> <?php _e(' - ') ;?><?php eo_the_end('j F Y'); ?></li>
    
                    <!-- The second element on the list is the venue -->
                    <?php if( eo_get_venue() ){
                    echo '<li>';
                    echo '<strong>'; 
    				echo "Lugar: "; 
    				echo '</strong>';
    				echo '<span><a href="';
                    echo eo_venue_link();
                    echo '">';
                    echo eo_venue_name();
                    echo '</a></span></br>';
    				$address_details = eo_get_venue_address();
    				echo '<i>'; 
    				echo "Dirección: "; 
    				echo '</i>';
    				echo $address_details['address'];
    				echo ", ";
    				echo $address_details['postcode']; 
    				echo " ";
    				echo $address_details['city'];
    				echo ", "; 
    				echo $address_details['country'];
    				echo ".";
    				echo '</li>';
      	             ?>
                        </ul>
                </div><!-- #event-details-->
    
    <!-- Display a map of the venue -->
                <div id="lupita-event-map">
                    <?php echo eo_get_venue_map(eo_get_venue(),array('width'=>'100%', 'height' => '300px') ); ?>
                </div><!-- lupita-venue-map -->
    
                <?php } ?>	
    		
                <div style="clear:both"></div>
    
                </div><!-- closing .event-meta -->
                
            </div><!-- lupita-right-column-->
    
        <div class="comments-template">
            <!-- If comments are enabled, show them -->
            <?php 
                // If comments are open or we have at least one comment, load up the comment template.
    			if ( comments_open() || get_comments_number() ) :
    				comments_template();
    			endif;
                    ?>
                </div>	
        
        <?php endwhile; // end of the loop. ?>
    
    </div><!-- lupita-content-->
    
    </main><!-- #content -->
    </div><!-- #primary -->
    
    <!-- Call template footer -->
    <?php get_footer(); 
Viewing 15 replies - 1 through 15 (of 70 total)