Forum Replies Created

Viewing 15 replies - 16 through 30 (of 92 total)
  • THANK YOU @oxdeer! For the fix (which worked great), for the clarity of directions, and for even including a git repo. Awesome!

    Thread Starter Copernicus

    (@copernicus)

    For an even easier solution, it looks like performing a sweep with WP-Sweep will also accomplish the clearing of the Twitter Hash Tag Shortcode’s cache.

    Hope this helps!

    Thread Starter Copernicus

    (@copernicus)

    Well, I accessed the database via phpMyAdmin and I found that the output of the tweet feed is stored in the wp_XXXXX_options table of the database within “_transient_tweets_has_MY-HASHTAG-HERE.”

    So, I deleted that row and the output was reset.

    Not sure if that’s the ideal way to accomplish this, but it worked for me.

    YES. That is completely accurate for a standard usage.
    My instructions (just like my original notes) are for use in conjunction with Theme My Login. I noted that in my first post and forgot to mention it in the second post (and no I cannot edit that post). My apologies for the oversight.

    Version 2.5.97 came out the same day I detailed the changes above.
    For version 2.5.97, the changes are as follows:

    -Line 175-
    Change FROM:

    $url = get_option('siteurl')."/wp-login.php?redirect_to=".$_SERVER['REQUEST_URI'];

    TO

    $url = get_option('siteurl')."/YOUR-LOGIN-SLUG-HERE/";

    -Line 233-
    Change FROM:

    $matches[1][$i] = "<a href='".get_option('siteurl')."/wp-login.php?redirect_to=".$_SERVER['REQUEST_URI']."' style=\"background:url('".get_option('siteurl')."/wp-content/plugins/download-manager/l24.png') no-repeat;padding:3px 12px 12px 28px;font:bold 10pt verdana;\">".$wpdm_login_msg."</a>";

    TO

    $matches[1][$i] = "<a href='".get_option('siteurl')."/YOUR-LOGIN-SLUG-HERE/".$_SERVER['REQUEST_URI']."' style=\"background:url('".get_option('siteurl')."/wp-content/plugins/download-manager/l24.png') no-repeat;padding:3px 12px 12px 28px;font:bold 10pt verdana;\">".$wpdm_login_msg."</a>";

    -Line 377-
    Change FROM:

    $template = "<li class=\"file ext_$ext\"><a href='".get_option('siteurl')."/wp-login.php?redirect_to=".$_SERVER['REQUEST_URI']."' >{$data['title']}<small> (login to download)</small></a></li>";

    TO

    $template = "<li class=\"file ext_$ext\"><a href='".get_option('siteurl')."/YOUR-LOGIN-SLUG-HERE/' >{$data['title']}<small> (login to download)</small></a></li>";

    -Line 630-
    Change FROM:

    $template = "<li><div class='wpdm_clink' style='{$bg}'><a href='".get_option('siteurl')."/wp-login.php?redirect_to=".$_SERVER['REQUEST_URI']."' >$data[title]</a></b><br/><small>login to download</small></div></li>";

    TO:

    -Line 701-
    Change FROM:

    $template = "<li><div class='wpdm_clink' style='{$bg}'><a href='".get_option('siteurl')."/wp-login.php?redirect_to=".$_SERVER['REQUEST_URI']."' >$data[title]</a></b><br/><small>login to download</small></div></li>";

    TO

    $template = "<li><div class='wpdm_clink' style='{$bg}'><a href='".get_option('siteurl')."/YOUR-LOGIN-SLUG-HERE/' >$data[title]</a></b><br/><small>login to download</small></div></li>";

    Fantastic tip, THANK YOU!

    The one note I’d make is that (in version 2.5.96 of Download Manager, at least), that instead of searching for and replacing “wp-admin/login.php?”, I found & replaced:

    wp-login.php

    The following may be more complex than most users want to get involved with, but if you’re using Theme My Login, you can remove Download Manager’s redirect in favor of setting “Referrer” redirects within Theme My Login (it’s set within the WP Admin Area > TML > Redirection).

    Since we’re using Theme My Login’s referrer redirection, we complete rewrote the Download Manager lines to remove the redirect portion.

    For example, on line 175 of v2.5.96, I replaced:

    $url = get_option('siteurl')."/wp-login.php?redirect_to=".$_SERVER['REQUEST_URI'];

    with

    $url = get_option('siteurl')."/my-login-slug-here/";
    (where “my-login-slug-here” should be the page slug for your login page)

    On line 233 of version 2.5.96, a different format is used, so I replaced:

    $matches[1][$i] = "<a href='".get_option('siteurl')."/wp-login.php?redirect_to=".$_SERVER['REQUEST_URI']."' style=\"background:url

    with

    $matches[1][$i] = "<a href='".get_option('siteurl')."/login/' style=\"background:url

    Similar changes were needed on lines 377, 670, and 701 in version 2.5.96. Be careful of maintaining valid code when doing this!

    Thread Starter Copernicus

    (@copernicus)

    YES. That works perfectly. Thank you so much! Since this credits section is often used for a copyright, it’s nice to be able to create a “[year]” shortcode that displays the current year and use it in this area. Thanks again (for this & the great theme)!

    Thread Starter Copernicus

    (@copernicus)

    Thanks for the reply Anthony.
    Yes, that line of code will activate shortcodes for any of the widget areas (sidebars & such); but it doesn’t seem to do anything for the “footer content area” that’s set within the Theme Options panel.

    So, I don’t mean footer widgets, but the extra text area in the Quark theme options where you can enter content that will display at the very bottom of the site’s pages.

    Thread Starter Copernicus

    (@copernicus)

    OK. Thanks for your prompt responses and for a great plugin!

    Thread Starter Copernicus

    (@copernicus)

    That probably makes the most sense, but since we really want the ‘tabs’ look — is there a way that I’m not seeing to just get the text to wrap within a tab?

    For example, if the tab title is:
    “Really Long Tab Title”
    have it display as:
    “Really Long
    Tab Title”
    or even:
    “Really
    Long
    Tab
    Title”
    ?

    I’m terrible with math as well; but here’s a breakdown for anyone interested in 5% column widths:

    /* 5% Column Width */
    
    .col {
    margin: 0 0 0 5.0%;
    }
    
    .grid_12_of_12 { width: 100%; }
    .grid_11_of_12 { width: 91.25%; }
    .grid_10_of_12 { width: 82.5%; }
    .grid_9_of_12  { width: 73.75%; }
    .grid_8_of_12  { width: 65%; }
    .grid_7_of_12  { width: 56.25%; }
    .grid_6_of_12  { width: 47.5%; }
    .grid_5_of_12  { width: 38.75%; }
    .grid_4_of_12  { width: 30%; }
    .grid_3_of_12  { width: 21.25%; }
    .grid_2_of_12  { width: 12.5%; }
    .grid_1_of_12  { width: 3.75%; }

    You mentioned looking through other posts, but did you happened to see this response from the plugin’s author on another post:
    http://wordpress.org/support/topic/how-do-i-put-two-columns-side-by-side?replies=4#post-4557556

    (in it, the author notes that it’s most like a matter of a space or line-break between the instances of shortcodes.)

    If it’s not a line-break issue; is there perhaps a space or any other characters between the shortcodes? Have you looked in both the “Visual” and “HTML” views within the editors?

    Copernicus

    (@copernicus)

    Has there been an update on this? Were you ever able to discover/fix the issue?

    I’ve been experiencing the same problem in WP v3.5.1, qTranslate v2.5.34, and User Role Editor v3.14.1.

    Forum: Fixing WordPress
    In reply to: Warning Sign

    Hello everyone.
    It would SEEM that you guys are using the Shoestrap theme.

    If this is the case, it is a problem with your version of the theme. I was experiencing the same issue, then upgraded to the latest version (v1.39).

    For me, it’s now fixed.

    Hope this helps!

Viewing 15 replies - 16 through 30 (of 92 total)