Forum Replies Created

Viewing 15 replies - 16 through 30 (of 37 total)
  • Forum: Plugins
    In reply to: [WP Pipes] Parsing
    Thread Starter justplaindoug

    (@justplaindoug)

    Because the video on that page does not work at all when I try to use it as an example

    Forum: Plugins
    In reply to: [WP Pipes] Parsing
    Thread Starter justplaindoug

    (@justplaindoug)

    Where do you go into all the steps and snapshots? I haven’t seen any of that.

    And this is exactly why I won’t be giving you any money.

    Forum: Hacks
    In reply to: WP CLI in Python?
    Thread Starter justplaindoug

    (@justplaindoug)

    It’s okay, I appreciate the input regardless. Just super stumped here.

    Forum: Hacks
    In reply to: WP CLI in Python?
    Thread Starter justplaindoug

    (@justplaindoug)

    Yeah, I’ve kinda been learning that. Dangers of being a front end guy pushed into having to do more coding work on the backend.

    If I may inquire, in my bash script I was running some php code to set the variables for environments and paths like…

    export WP_DEV_PROJ="site.dev"
    export WP_PROD_PROJ="site.com"
    
    if [ "$DM_DEV_BOX" ]; then
      export ACT_PATH="/websites/$WP_DEV_PROJ/"
    else
      export ACT_PATH="/var/www/wp/$WP_PROD_PROJ/"
    fi
    
    # Uninstall unused plugins
    wp plugin uninstall advanced-cron-manager --path=$ACT_PATH --quiet
    wp plugin uninstall all-in-one-seo-pack-pro --path=$ACT_PATH --quiet
    wp plugin uninstall asynchronous-javascript --path=$ACT_PATH --quiet
    wp plugin uninstall buddypress-verified --path=$ACT_PATH --quiet
    wp plugin uninstall cubepoints --path=$ACT_PATH --quiet
    wp plugin uninstall cubepoints-buddypress-integration --path=$ACT_PATH --quiet
    wp plugin uninstall digg-digg --path=$ACT_PATH --quiet
    wp plugin uninstall dzs-videogallery --path=$ACT_PATH --quiet
    wp plugin uninstall feedwordpress --path=$ACT_PATH --quiet
    wp plugin uninstall fix_broken_ids --path=$ACT_PATH --quiet
    wp plugin uninstall fix-my-feed-rss-repair --path=$ACT_PATH --quiet
    wp plugin uninstall footer-javascript --path=$ACT_PATH --quiet
    wp plugin uninstall front-content --path=$ACT_PATH --quiet
    wp plugin uninstall google-document-embedder --path=$ACT_PATH --quiet
    wp plugin uninstall google-news-widget --path=$ACT_PATH --quiet
    wp plugin uninstall liveblog --path=$ACT_PATH --quiet
    wp plugin uninstall wysija-newsletters --path=$ACT_PATH --quiet
    wp plugin uninstall wysija-newsletters-premium --path=$ACT_PATH --quiet
    wp plugin uninstall math-comment-spam-protection --path=$ACT_PATH --quiet
    wp plugin uninstall menu-exporter --path=$ACT_PATH --quiet
    wp plugin uninstall nextgen-gallery-optimizer-premium --path=$ACT_PATH --quiet
    wp plugin uninstall nextgen-gallery --path=$ACT_PATH --quiet
    wp plugin uninstall p3-profiler --path=$ACT_PATH --quiet
    wp plugin uninstall rss-just-better --path=$ACT_PATH --quiet
    wp plugin uninstall site-layout-customizer --path=$ACT_PATH --quiet
    wp plugin uninstall ultimate-social-media-icons --path=$ACT_PATH --quiet
    wp plugin uninstall sucuri-scanner --path=$ACT_PATH --quiet
    wp plugin uninstall swiftype-search --path=$ACT_PATH --quiet
    wp plugin uninstall unconfirmed --path=$ACT_PATH --quiet
    wp plugin uninstall w3-total-cache --path=$ACT_PATH --quiet
    wp plugin uninstall wunderground --path=$ACT_PATH --quiet
    wp plugin uninstall widget-settings-importexport --path=$ACT_PATH --quiet
    wp plugin uninstall widget-shortcode --path=$ACT_PATH --quiet
    wp plugin uninstall wordpress-importer --path=$ACT_PATH --quiet
    wp plugin uninstall wp-exporter --path=$ACT_PATH --quiet
    wp plugin uninstall wp-fastest-cache --path=$ACT_PATH --quiet
    wp plugin uninstall wp-missed-schedule --path=$ACT_PATH --quiet
    wp plugin uninstall wp-super-minify --path=$ACT_PATH --quiet
    wp plugin uninstall wp-system-health --path=$ACT_PATH --quiet
    wp plugin uninstall wp-memory-usage --path=$ACT_PATH --quiet
    wp plugin uninstall wptouch-pro --path=$ACT_PATH --quiet
    
    #Deactivate and Uninstall Plugins
    wp plugin uninstall wp-media-player --path=$ACT_PATH  --deactivate --quiet
    wp plugin uninstall syntax-highlighter --path=$ACT_PATH  --deactivate --quiet
    wp plugin uninstall wp-syntaxhighlighter --path=$ACT_PATH  --deactivate --quiet
    
    # Install and Activate New Plugins
    wp plugin install https://downloads.www.ads-software.com/plugin/enlighter.3.0.zip --path=$ACT_PATH --activate --quiet
    wp plugin install https://downloads.www.ads-software.com/plugin/video-player.1.1.4.zip --path=$ACT_PATH --activate --quiet
    wp plugin install https://downloads.www.ads-software.com/plugin/add-to-any.1.6.14.zip --path=$ACT_PATH --activate --quiet
    
    #Update Plugins
    wp plugin update --path=$ACT_PATH --all --quiet
    
    STATUS=$?
    
    unset WP_DEV_PROJ
    unset WP_PROD_PROJ
    
    exit $STATUS

    You can see there where I finish up unsetting and setting status after the commands.

    I understand from your comment all I need to do is directly copy the commands to a batch script. But is there a way to do something like I am doing with that PHP?

    Sorry, again this isn’t my forte- I’ve never touched a batch script and I’ve inherited all of these sites.

    justplaindoug

    (@justplaindoug)

    Great info Stacey. I would say though, go back in and adjust your number of login and password recovery attempts, and enter in your blocked usernames as well. Won’t affect it and keeps two big security features in place.

    Thread Starter justplaindoug

    (@justplaindoug)

    I can install from the repository just fine. And pull in rss feeds just fine.

    I uninstalled NWS and reinstalled it. Still getting the exact same result

    Thread Starter justplaindoug

    (@justplaindoug)

    I am using localhost and I was already using one of the default themes. I have tried enabling debugging and I can’t even get anything to work there. I set it to true and no file was created. And added WP_DEBUG_LOG and I get no file showing up.

    I also tried deactivating everything but this plugin. It’s just unresponsive. THe button grays out for a few minutes, there appears to be no progress bar, and then after a couple of minutes the button is no longer grayed out. But it still says tables aren’t created.

    Forum: Fixing WordPress
    In reply to: Conditional Fields
    Thread Starter justplaindoug

    (@justplaindoug)

    kinda broke the page. Here is the code I currently use to output the email field

    (i use “Types” plugin btw)

    <a href="mailto:<?php $email = types_render_field("email", array("raw"=>"true","separator"=>";")); echo $email; ?>" class="contact_link">Email</a>

    Thread Starter justplaindoug

    (@justplaindoug)

    No…the “Book an event” and “Open Mic” the code it is calling is

    <img height="140" width="295" align="left" alt="Book an Event" src="https://www.mothafalcon.com/stanfords/wp-content/uploads/2014/08/statcollage-150x150.jpg">

    But if you take out the -150×150 and just leave it at statcollage.jpg then it shows the proper image and all.

    As it stands it uses that thumbnail and ignores the height and width that is noted.

    Thread Starter justplaindoug

    (@justplaindoug)

    I’m using the exact same shortcode for the two instances in question, that I am for the other three instances. However, in the two in the middle- it is choosing a thumbnail. Which is not what I selected when I hit the featured image.

    Look here https://www.mothafalcon.com/stanfords/

    Thread Starter justplaindoug

    (@justplaindoug)

    I typed, “I’ve created new templates and can’t choose those in the widget.”

    What isn’t clear about that? I’m obviously talking about the new templates I created.

    And alright, I guess I will try and figure it out. Any headway on figuring out why it’s cropping and using a thumbnail version of a photo when the rest of the instances work fine?

    Thread Starter justplaindoug

    (@justplaindoug)

    okay. But what if I use the shortcode and not the widget?

    I’ve created new templates and can’t choose those in the widget.

    Thread Starter justplaindoug

    (@justplaindoug)

    BTW I opened a ticket on a second issue as well. Am I going to get anywhere with this?

    Thread Starter justplaindoug

    (@justplaindoug)

    ANything?

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