BBPress Steven Zahm : Replies Created

Forum Replies Created

Viewing 10 posts - 931 through 940 (of 15,332 total)
  • Author
    Posts
  • in reply to: CSV import fails, page not found #476258
    Steven Zahm
    Keymaster

    @ Michael

    RE: Thinking problem must be CSV file?

    By the time you get to the import step, the file has already been uploaded and converted to batched JSON files. YOu should find these in this folder:

    ../wp-content/uploads/csv_files

    Are they there?

    You could also try uploaded the file renamed from .csv to .txt.

    If you want, attached the CSV file you are trying to import and reply back with a WP admin and FTP login, as a private reply, and I’ll take a look.

    in reply to: CSV import fails, page not found #476193
    Steven Zahm
    Keymaster

    @ Michael

    RE: I attempted to run the import a couple more times to gather more info, watched the URL as I did so, noticed that connections_csv.php works just fine until action=import, then suddenly it’s “page not found”.

    A method I used… download the theme and plugins folder and load them into Sublime Text. You can search all folders at once for a text string. Search for template_redirect. This could potentially yield a lot of results but it should be easier to scan. See if any results are triggered by a $_GET['import'] or $_REQUEST['import].

    You could also do a search for 'import' and see if anything jumps out at you.

    In regards to the license, navigate to the Connections : Settings admin page and cick the Licenses tab. You can activate it there.

    Hope this helps!

    in reply to: Keyword search #476153
    Steven Zahm
    Keymaster

    @ Casper

    Ok, I admit it did take me about 20 mins to figure this out … but the search results are correct.

    The bio field is saved as HTML — when sending a search query to the database, the database does not ignore HTML tags and such. So, when a search is performed, class names, image file paths, link URLs will also be searched and returned as hits it they contain a match.

    In the case of medium this is matching a class name of medium applied to the WP images added in the bio field. So, they are returned as matches.

    This is not a bug or Connections limitation. Take for example this search applied to the whole site using the core WP search:

    https://theaumnation.com/?s=medium

    The second result is this page:

    https://theaumnation.com/building-strong-relationships-teresayork/

    The word medium is not found in the page text but it applied as a class name to an image so it is returned as a result.

    The same this for these pages:

    In fact only the first search result has medium in the text body. All the other on the first page of results did not. I did not check the remaining search result pages.

    I hope this explains it clearly enough that you can explain it to your client.

    Hope this helps!

    ps. I did search to see if HTML could be ignored, it can not. The only viable solution would be to save the bio twice. The second instance would have HTML stripped. It is this instance that would then have to be searched instead. Implementing this would be a considerable challenge at this point and not that much benefit.

    in reply to: Broken Features After Updating #476112
    Steven Zahm
    Keymaster

    @ Darrin

    Navigate to the WordPress Permalinks settings admin page. That’s it, do nothing else :)

    Since I had a login, that what I did. That forces WP to flush and recreate its rewrite rules. I suspect the plugin juggling left WP in a state where the Connections rules were flushed (meaning, no longer working).

    Hope this helps!

    in reply to: Question about wp_connections_address table. #476108
    Steven Zahm
    Keymaster

    @ Joshua

    The addresses column in the connections table is a serialized array, not JSON. the array should have an id index whose value matches the id of the address in the addresses table.

    So, you should insert the address into the addresses table, get the address id and then serialize all addresses. Ensure the id index of each address matches the id assigned to the address in the addresses table.

    Perhaps using Connections to add entries and addresses is better than manually manipuliating the DB.

    Here’s the bear minimum to insert a new entry with an address into Connections:

    $entry = new cnEntry();
    $entry->setStatus( 'approved' );
    $entry->setEntryType( 'organization' );
    $entry->setOrganization( '~Test' );
    $entry->addresses->add(
        new cnAddress(
            array(
                'line_1'  => '1600 Pennsylvania Ave NW',
                'city'    => 'Washington',
                'state'   => 'DC',
                'zipcode' => '20500',
            )
        )
    );
    
    $result = $entry->save();
    
    if ( FALSE !== $result ) {
    
        $default = get_option( 'cn_default_category' );
    
        Connections_Directory()->term->setTermRelationships( $entry->getId(), $default, 'category' );
    }
    

    Hope this helps!

    in reply to: URL issues #476103
    Steven Zahm
    Keymaster

    @ Paula

    Clear the WP Fastest page cache after making your changes. It is also possible that the browser is simply loading the locally cached version of the page instead of fetching it a new, usually due to how caching plugins set the page headers for the browser so it knows if it should cache locally or not. So, you might also have to force refresh the browser.

    If have WP Fastest cache has the option, you can also reduce the cache lifetime. And, you should not enabled caching for logged in users (if it has that option). So many times I’ve helped other WP users (not Connections related) where they could not understand why changes were not being reflect because of that option. Likely why caching plugins which have such an option have it off by default.

    Hope this helps!

    in reply to: SEO #476102
    Steven Zahm
    Keymaster

    @ Richard

    RE: Would you mind just confirming that the bio text will be used automatically to create the description if no text is entered it defaults to using the google generated wording.

    Yes, the bio text, if available, will be used to create a page description for Google. Like everything else, Google may chose or not chose to use it and may decide to automatically create a better one for you.

    Sorry, for the non-answer answer.

    RE: Do you know of a way that the visibility of each entry data can be switched on or off except for just basic detail.

    Sorry, you did ask this yesterday! I forgot by the time I was finished writing my other answer :/

    All the repeatable fields such as address/phone/email have a visibility setting, set it to private. The only logged in users can view that info.

    Hope that helps!

    in reply to: Pagination Issue #476062
    Steven Zahm
    Keymaster

    @ Brian

    With the FTP login I was able to download the site files and run a free text query thru all the files. The offending plugin is the Work Horse plugin. Deactivating it and updating the permalinks resolves the issue!

    in reply to: Contact info? #476061
    Steven Zahm
    Keymaster

    @ Bruce

    Go ahead and use the Contact link at the very bottom of the page.

    in reply to: Pagination Issue #476059
    Steven Zahm
    Keymaster

    @ Brian

    RE: So is there anything I can do to fix the pagination issue?

    Sorry I was not more clear!!!

    Whatever code/plugin (something) you used to add the Channels, Noodle and Haha post types I suspect is causing the issue. My suggestion is to remove/undo whatever you did to add those and update the Permalinks.

    RE: is there any way to change the slug?

    Sorry, no, there is not. Create a new entry with the name of the slug you want. Delete the old one. Then rename to new entry to the name you want. The slug will remain as it was when it was created.

    RE: LinkedIn

    Not sure what to say… I really have no control or influence on how it LinkedIn works. To my knowledge I can only choose to accept or reject connection requests. I do not get to choose who I allow to make such requests.

    hope this helps!

Viewing 10 posts - 931 through 940 (of 15,332 total)