Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • Forum: Plugins
    In reply to: [qTranslate] Greek Language

    if you are about to install qtranslate for the first time you should consider using qtranslate-x instead of qtranslate which seems to be discontinued.

    As for the installation of the greek language follow these steps (they are pretty much the same steps in both plugins qtranslate and qtranslate-x ):
    1. go to Settings > Languages and at the bottom of the page find the List of Configured Languages with the little flags.
    2. If you see there the Greek Language just press ‘Enable’. If you don’t see the Greek Language then go to ‘Add Language’ on the left and choose:
    Language Code el
    Flag gr.png
    Name Ελληνικά
    Locale el_GR
    Date Format %d/%m/%y
    Time format %H:%M
    Not Available Message “Συγγνώμη,αυτή η εγγραφή είναι διαθέσιμη μόνο στα %LANG:, : και %.”

    hope it helps.

    hello,
    here is a new hack for the plugin to link to a page instead of using the qtip. it’s based on the updated version of the plugin 2.8.2.

    1a. if we’ve just updated having used this hack: http://wordpress.org/support/topic/links-inside-description-pop-up, then the links we want have automatically moved from notes (older version) in the body of the instuctors/classes (2.8.2 version)

    1b. if we are using the plugin for the first time then we fill in the body of each class/editor with the corresponding link we want to point to.

    2. Then edit wcs3_output.php in weekly-class-schedule/includes folder and replace:

    $class_a = '<span class="wcs3-qtip-box"><a href="#qtip" class="wcs3-qtip">' . $class->class_title . '</a>';
        $class_a .= '<span class="wcs3-qtip-data">' . $class->class_desc . '</span></span>';
    
        $instructor_a = '<span class="wcs3-qtip-box"><a href="#qtip" class="wcs3-qtip">' . $class->instructor_title . '</a>';
        $instructor_a .= '<span class="wcs3-qtip-data">' . $class->instructor_desc . '</span></span>';
    
        $location_a = '<span class="wcs3-qtip-box"><a href="#qtip" class="wcs3-qtip">' . $class->location_title . '</a>';
        $location_a .= '<span class="wcs3-qtip-data">' . $class->location_desc . '</span></span>';

    with:

    class_a = '<span class="wcs3-qtip-box"><a href="' + data.class_desc + '" class="wcs3-qtip">' + data.class_title + '</a>';
    		// class_a += '<span class="wcs3-qtip-data">' + data.class_desc + '</span></span>';
    
    		instructor_a = '<span class="wcs3-qtip-box"><a href="' + data.instructor_desc + '" class="wcs3-qtip">' + data.instructor_title + '</a>';
    		// instructor_a += '<span class="wcs3-qtip-data">' + data.instructor_desc + '</span></span>';
    
    		location_a = '<span class="wcs3-qtip-box"><a href="' + data.location_desc + '" class="wcs3-qtip">' + data.location_title + '</a>';
    		// location_a += '<span class="wcs3-qtip-data">' + data.location_desc + '</span></span>';

    3. edit wcs3_common.js in weekly-class-schedule/js folder and replace:

    class_a = '<span class="wcs3-qtip-box"><a href="#qtip" class="wcs3-qtip">' + data.class_title + '</a>';
    		class_a += '<span class="wcs3-qtip-data">' + data.class_desc + '</span></span>';
    
    		instructor_a = '<span class="wcs3-qtip-box"><a href="#qtip" class="wcs3-qtip">' + data.instructor_title + '</a>';
    		instructor_a += '<span class="wcs3-qtip-data">' + data.instructor_desc + '</span></span>';
    
    		location_a = '<span class="wcs3-qtip-box"><a href="#qtip" class="wcs3-qtip">' + data.location_title + '</a>';
    		location_a += '<span class="wcs3-qtip-data">' + data.location_desc + '</span></span>';

    with:

    class_a = '<span class="wcs3-qtip-box"><a href="' + data.class_desc + '" class="wcs3-qtip">' + data.class_title + '</a>';
    		// class_a += '<span class="wcs3-qtip-data">' + data.class_desc + '</span></span>';
    
    		instructor_a = '<span class="wcs3-qtip-box"><a href="' + data.instructor_desc + '" class="wcs3-qtip">' + data.instructor_title + '</a>';
    		// instructor_a += '<span class="wcs3-qtip-data">' + data.instructor_desc + '</span></span>';
    
    		location_a = '<span class="wcs3-qtip-box"><a href="' + data.location_desc + '" class="wcs3-qtip">' + data.location_title + '</a>';
    		// location_a += '<span class="wcs3-qtip-data">' + data.location_desc + '</span></span>';

    notes: we actually want to firstly omitt printing the “wcs3-qtip-data” span, so that qtip doesn’t come up at all, and secondly, we want to replace the href, from #qtip to the description, which hopefully contains the link-path we’ve filled in the body previously.

    hope it helps.

    ps. hack in action here http://www.motus.gr/lessons-and-schedule/

    Forum: Plugins
    In reply to: [Facebook] Sharing

    i think that this line in your <head> tag:
    <meta content="http://example.com/ogp.jpg" property="og:image">
    should have your logo url instead of http://example.com/ogp.jpg

    if you mean that you don’t see the like and share buttons, then check whether you have any adblock addons enabled in your firefox.

    Thread Starter xriss

    (@xriss)

    its good now

    there is a small hack that worked for me:

    1. For each class and each instructor create a page/post with the information of the class or instructor.

    2. in the file WcsSchedule.php (models folder of the plugin) you change the following two lines 580 from

    $details_class = "<a class='wcs-qtip' name='$class_description'>$class_name</a>";

    to

    $details_class = "<a class='wcs-qtip' href='$class_description'>$class_name</a>";

    and line 583 from

    $details_class = "<a class='wcs-qtip' name='$class_description'>$class_name</a>";

    to

    $details_class = "<a class='wcs-qtip' href='$class_description'>$class_name</a>";

    3. You make sure that in the WCschedule admin, the class and instructor descriptions only contain the link to the corresponding page/post of the class or the the instructor.

    The link can be in the form /instructorA or /classes/classB, i.e. omitting the the first part of the domain name (for example http://www.my-domain-name.org), but including the first slash /.

    4. now the links in the qtips of the schedule take us to the instructor’s or the class’ page/post that we created before.

    a showcase (site in greek)
    http://motus-dance.blogs.stinpriza.org/lessons-and-schedule/

    yet todo: remove small white little qtip over qtip which appears when clicking the links

    hello
    i would very much like to use this plugin but it is not displaying the timeline, although no other plugins are enabled.
    i tested on wp 3.7.1 both on mu and non-mu mode.
    any ideas?

    right!
    yes, it’s the latest version of the plugin. the problem was that posts were still in the trash. it worked after I permanently deleted them. thanks for the quick response Allen.

    please, post the solution here as well.

    jpavly

    i m having the same problem. But your test page seems to work. How did you solve it?

Viewing 10 replies - 1 through 10 (of 10 total)