jose
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Quark] How to use Shortcodes in Footer Content BlockSee related post
I’m not on Ubuntu. I’m on Centos:
CENTOS 6.7 i686 virtuozzo – host WHM 11.50.0 (build 29)
Plus this backups had been working for months. They stopped on August 6th
Sure, how do I do that? There is nothing intuitive on my version of updraft plus to help me with log files. See screen shot at https://drive.google.com/open?id=0Bytqhoir_Tt5Q3lQTEpZWGR1Mkk
BTW, this post is not resolved. Not sure why @photocrati deemed it to be resolved.
I activated it via the Network Activate method in the first place. The plugin does not allow me to upload images. Yet there are no details in the error message nor is the documentation sufficient to explain how to upload and/or how to troubleshoot this particular error message.
Can you specify exactly what each of the “appropriate options” need to be set too?
Thanks for helping. Greatly appreciate it.
Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] External URL resolve to a timely urlPART 3
and either never update this plugin or save these
code mods
to apply again in future.good luck.
??
Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] External URL resolve to a timely urlPART 2
create a new function in your theme’s
functions.php
file<?php function get_correct_contact_url( $wp_table = null, $post_id = null ) { $link = mysql_connect('host-name', 'your_username', 'your_password') or die(mysql_error()); mysql_select_db('your_db_name', $link) or die(mysql_error()); // mysql query $result = mysql_query(' SELECT contact_url FROM ' . $wp_table . ' WHERE post_id = "' . $post_id . '" LIMIT 1 ') or die(mysql_error()); $row = mysql_fetch_row($result); mysql_free_result($result); return $row[0]; } ?>
Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] External URL resolve to a timely urlhere’s the revision I implemented:
PART 1
edit /wp-content/plugins/all-in-one-event-calendar/app/view/event/ticket.php (yeah, I know…)
replace lines 70-81 with:
if(function_exists('get_correct_contact_url')) { if ( $event->get( 'contact_url' ) ) { $contact .= '<div class="ai1ec-contact-url">' . '<a class="url" href="' . get_correct_contact_url('mysql_db_table_name', esc_attr( $event->get('post_id'))) . '"><i class="ai1ec-fa ai1ec-fa-fw ai1ec-fa-link"></i> ' . apply_filters( 'ai1ec_contact_url', __( 'Event website', AI1EC_PLUGIN_NAME ) ) . '</a></div>'; } } else { if ( $event->get( 'contact_url' ) ) { $contact .= '<div class="ai1ec-contact-url">' . '<a class="url" target="_blank" href="' . esc_attr( $event->get( 'contact_url' ) ) . '"><i class="ai1ec-fa ai1ec-fa-fw ai1ec-fa-link"></i> ' . apply_filters( 'ai1ec_contact_url', __( 'Event website', AI1EC_PLUGIN_NAME ) ) . ' <i class="ai1ec-fa ai1ec-fa-external-link"></i></a></div>'; } }
Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] External URL resolve to a timely urlwrote my own function
Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] External URL resolve to a timely urlstrange too that the other contact table data appears and is pulled correctly, such as contact_email
so weird
Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] External URL resolve to a timely urlstrange that my MySQL table
wp_ai1ec_events
contains the proper value in thecontact_url
column for this post id.Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] External URL resolve to a timely urlnarrowing the issue down —
ai1ec picks off the wrong value for
$event->get( 'contact_url' )
Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] External URL resolve to a timely urlhere’s the problem:
it’s located in ../wp-content/plugins/all-in-one-event-calendar/app/view/event
script it ticket.phpif ( $event->get( 'contact_url' ) ) { $contact .= '<div class="ai1ec-contact-url">' . '<a class="url" target="_blank" href="' . esc_attr( $event->get( 'contact_url' ) ) . '"><i class="ai1ec-fa ai1ec-fa-fw ai1ec-fa-link"></i> ' . apply_filters( 'ai1ec_contact_url', __( 'Event website', AI1EC_PLUGIN_NAME ) ) . ' <i class="ai1ec-fa ai1ec-fa-external-link"></i></a></div>'; }
just need to figure out how best to modify it without impacting core
ok