Forum Replies Created

Viewing 15 replies - 16 through 30 (of 37 total)
  • I seem to have the identical problem @azurconsulting describes. (I’m using WP 3.9.2 with pop-up 4.6.1.1)

    With only “Not from an internal link” set, the pop-up never appears, not even when I start from a new tab and type “andoverbeacon.com” in the address bar.

    With no conditions set, the pop-up appears on every page, all the time.

    I’ve deactivated all other plug-ins and switched to Twenty-Fourteen theme, and “Not from an internal link” still suppresses the pop-up entirely.

    Question for @azurconsulting: It appears to be working on your site now — what did you do?

    Request for @david and others: Please visit AndoverBeacon.com and tell me: does “Not on an internal link” seem to be working properly when you visit the site? (I won’t tinker with the pop-up settings until I hear back from you.)

    Thanks!

    Thread Starter Charlie

    (@cdarling)

    One more note:
    The reason that the Sync Media Library page reported all zeros in the last step, above, was that all the jpg files were once again missing from the …/uploads/ subfolders. It appears that running “Import File to Media Library” (when it seemed to report that everything got imported OK) actually deleted the files.

    Thread Starter Charlie

    (@cdarling)

    Can anyone answer this question?

    Has anyone else had a problem with a protected subdirectory suddenly throwing Page Not Found errors after you installed Pretty Link Lite?

    Thread Starter Charlie

    (@cdarling)

    Thanks, Cathryn. The plug-in you mentioned isn’t quite right, but UploadCare has a WP-Plugin here that appears to be perfect for my needs. The description seems to imply that you’re uploading to the Media Library (not to the UploadCare cloud), but I need to check it out to be sure.

    It appears your technology assessment is exactly right, and that UploadCare is the first plug-in developer to catch up with cloudspace.

    Ironically, I gave up my search in frustration eight months ago, and UploadCare released their plug-in … you guessed it … eight months ago! Thanks very much for getting me “back in the game,” Cathryn. Good luck in your search!

    Thread Starter Charlie

    (@cdarling)

    Hi, Cathryn. I never learned anything more than what you see in this thread.

    Your question is a bit different than mine, so you should definitely start your own thread, if you haven’t already. With the way the storage landscape is changing, I think your request makes complete sense and would be a very powerful addition to WP.

    Back to my original question: I never did get any response from the technologically-savvy out there (and I know you’re out there!) about the main barrier for moving a file from one cloud datastore (ie Google Drive) to another cloud datastore (ie WP Media Library).

    Is the main technology barrier just that WP doesn’t know how to log in to my Google Drive account on my behalf? Or is there something deeper and trickier at work that makes moving a file from one cloud datastore to another cloud datastore hard to do? I’d love to understand this better.

    Thread Starter Charlie

    (@cdarling)

    @ WestPointer — I’d like to try your solution, but I’ve got questions.

    1) Those two lines — I add them at the beginning of the .htaccess file that’s in the root of the Web site, right? Not in the .htaccess file that’s in the password-protected directory, right?

    2) I don’t understand what the error.html file does. Could you give an example of what goes in that file?

    3) Am I correct that the error.html file goes in the root of the Web site?

    Thanks for your help!

    Thread Starter Charlie

    (@cdarling)

    Here it is again, with a slight tweak to improve readability of the result, and with a sample SQL statement in place.

    <pre>
    <?php
    require_once('wp-load.php');
    print_r($wpdb->get_results(
    "SELECT $wpdb->posts.post_title, $wpdb->posts.ID,
            $wpdb->posts.post_date
       FROM $wpdb->posts
       WHERE $wpdb->posts.post_type = 'post'
         AND $wpdb->posts.post_status = 'publish'
       ORDER BY $wpdb->posts.post_date DESC"
    ));
    ?>
    </pre>
    Thread Starter Charlie

    (@cdarling)

    Wonderful! Quick and easy!!

    And it lets me test my SQL in a WP context, rather than just a purely SQL context (ie “SELECT … FROM $wpdb->posts…” rather than “SELECT … FROM wp_posts…”).

    There’s a time and a place for each, of course. And now I’ve got a way to do each.

    Thanks, bcworkz!!

    Thread Starter Charlie

    (@cdarling)

    I continue to research this question, and I’m becoming convinced that Kulwant is correct — can’t be done (today).

    To re-iterate: I want to walk up to any computer anywhere in the world; log in to my WordPress site; go to my Media Library; and upload a file that’s in my Google Drive “My Drive” folder.

    Does anybody have any idea if that capability exists anywhere?

    If it doesn’t, then let me ask this:

    Is the barrier simply the fact that WordPress would have to somehow log in to my Google Drive account to get access? Or are there deeper and more tangled technical issues in moving a file from one cloud server directly to another?

    Curious minds like to understand these things…. Any insights you could offer would be most appreciated.

    Thread Starter Charlie

    (@cdarling)

    When I go to Media Library and click Add New, my only options seem to be to upload files that reside on my local computer.

    Is there a way in the Media Uploader to upload a file that doesn’t reside on my local computer, but instead resides on my Google Drive account?

    My question is all about moving a jpg from one “cloud” datastore (Google Drive) directly to another cloud datastore (WordPress).

    Any ideas?

    Thread Starter Charlie

    (@cdarling)

    I hacked autohyperlink-urls.php as follows, and that seems to have fixed it. (The example of it not working, above, no longer shows it not working, because I fixed it.)

    public function do_hyperlink_url( $matches ) {
    		$options = $this->get_options();
    
    		/* If the URL ends in a period, that's a mistake, so drop the trailing period. */
    		$cbd_drop_trailing_period = $matches[2];
    		if ( substr($cbd_drop_trailing_period,-1,1) == '.' )
    			$cbd_drop_trailing_period = substr($cbd_drop_trailing_period,0,-1) ;
    
    		$link_text = $options['strip_protocol'] ? $matches[4] : $matches[2];
    
    		/* Use the URL that's had any trailing period stripped */
    		return $matches[1] . '<a href="' . esc_attr( $cbd_drop_trailing_period ) . '" ' . $this->get_link_attributes( $matches[2] ) .'>' . $this->truncate_link( $link_text ) . '</a>';
    	}
    
    	public function do_hyperlink_url_no_proto( $matches ) {
    
    		/* If the URL ends in a period, that's a mistake, so drop the trailing period. */
    		$cbd_drop_trailing_period = $matches[2] . '.' . $matches[3] . $matches[4] ;
    		if ( substr($cbd_drop_trailing_period,-1,1) == '.' )
    			$cbd_drop_trailing_period = substr($cbd_drop_trailing_period,0,-1) ;
    
    		$dest = $matches[2] . '.' . $matches[3] . $matches[4];
    		return $matches[1] . '<a href="http://' . esc_attr( $cbd_drop_trailing_period ) . '" ' . $this->get_link_attributes( "http://$dest" ) .'>' . $this->truncate_link( $dest ) . '</a>';
    	}
    Thread Starter Charlie

    (@cdarling)

    Arrrgh! The apostrophe is still showing up in the message.

    The subject in the e-mail doesn’t have an apostrophe in it. Instead, it has the HTML entity code for an apostrophe. I guess I can’t show you exactly … you’ll have to use your imagination.

    Anyway, if there’s an easy fix, I’d love to hear it.

    Thanks!

    Thread Starter Charlie

    (@cdarling)

    Darn! I guess I shouldn’t have enclosed the subject in backticks in the earlier message. The subject looks like this:

    Quilter's Review Contact Us: test

    Let’s see if that shows up right…

    Thread Starter Charlie

    (@cdarling)

    Sorry, I meant to say …

    On some posts the second tag says content=" " (three spaces), and on other posts it says content="null &nbsp;" (just as you see it).

    Thread Starter Charlie

    (@cdarling)

    Sorry … the second example should say “Can it see the Categories of the post/page?”

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