BBPress Steven Zahm : Replies Created

Forum Replies Created

Viewing 10 posts - 9,201 through 9,210 (of 15,332 total)
  • Author
    Posts
  • in reply to: uses notes and not ecerpt #318027
    Steven Zahm
    Keymaster

    @ dominic

    You could dupe the card. Another option which may or may not be more difficult, depending on your PHP skills, is to add a new shortcode option to Except Plus to let you define whether it should use the bio or note for the excerpt.

    You would have to register the new option in the excerpt-plus.php file adding $permittedAtts['excerpt_text'] = 'bio'; in the initShortcodeAtts function. Then in the card.php file you could create an if statement something like:

    if ( $atts['excerpt_text'] == 'bio' ) {
      echo strip_shortcodes( $entry->getExcerpt() );
    } else {
      echo strip_shortcodes( $entry->getExcerpt( array(), $entry->getNotes() ) );
    }
    

    Then on the page where you want to use the notes you could use the shortcode:
    [connections excerpt_text='notes']

    Now the template should use the notes instead. The notes in the shortcode could be any word you want because it does not matter since the if statement is only looking for bio so if anything other than bio is used with excerpt_text the notes will be used for the excerpt.

    Be forewarned, make this change will not be update safe since there is not a way to “override” the excerpt-plus-php file like the other files.

    Hope this makes sense.

    Steven Zahm
    Keymaster

    @ Oliver

    Whether GoDaddy want to admit it or not, this is a server config issue. What the exact real solution would be, I do not know since that is not my area of expertise.

    Here’s what I found…

    Notice that the search works just fine of both the Bishops and Pastors pages. It only does not work on the Churches page.

    Why is this…

    It is because there is an actual churches directory on the server. You can see it when you log into the site with FTP.

    If you change the name of this folder, temporarily, the search will now work on the Churches page.

    This is because for some reason when there is a query, the server thinks it is a query for the churches directory (the folder, not the page) which will throw the access denied error … which is exactly what should happen.

    Another solution is to change the page slug from churches to church, which is what I did, now it works fine since they is no conflict with the folder on the server named churches

    Steven Zahm
    Keymaster

    @ Oliver

    Sorry, I did not get the notice about the private reply. I’m looking now. I’m going to temporarily deactivate all non-Connections plugins to determine if it is a plugins conflict.

    As for GoDaddy … that’s their boilerplate answer. Consideration is also affects the core WordPress search … I’m they would just say it is bug in WordPress.

    Can I also get FTP access. I need to see if there are any .htaccess rules put in place that would give a 403 permission denied result.

    in reply to: Thinking about purchasing Today but questions. #318012
    Steven Zahm
    Keymaster

    @ Steve

    Apologies, I missed answering this in a timely fashion.

    re: When created are the listings on a sitemap and if not could they be or will they be in the future? I looked but it did not seem to be.
    Presently there are not listed in a site map. This is on the to do list but I can not say when. With that said, I do not have any issues with Google crawling the entries.

    re: Are the listings blog post or custom post types or neither?
    No, they are not actually a cpt or a blog post. Connections is actually older than the cpt features in WordPress. I looked at converting it to use a cpt, but the db post schema is not the best suited for directories.

    re: Is there a feed url?
    No, there is no feed URL since it is not blog posts or a cpt.

    re: Is Google Pinged with connections?
    No, Google is not pinged.

    re: Can it be monetized can I charge people to submit their own listings on connections?
    No directly. Other users use plugins such a Restrict Content Pro to manage site memberships. Roles and capabilities can be used to define who can add and edit entries.

    re: Does the plugin display wordpress seo settings or work with other seo plugins?
    No, it will not show SEO plugins settings when adding an entry. Connections add its own SEO to its pages so it not required. This currently includes page meta title and description and page title. More will be included in future releases.

    re Is it possible to have the listing appear randomly when people open the page?
    Yes, see this doc page on the order_by shortcode option. Read the note about randomization for more details.

    re: Are people who purchase entitled to lifetime updates or is there a fee?
    No, updates are limited to an annual renewal fee. Renewing is optional. Any extensions will continue to function after the support license expires however, they maybe instance where an update will be required in order to keep functioning properly. I try to keep these types of changes to an absolute minimum by ensuring backward compatibility for as long as possible.

    I hope this answers your questions thoroughly!

    Steven Zahm
    Keymaster

    @ Joseph

    I answered this here:
    http://connections-pro.com/support/topic/make-the-hyperlink-of-the-peoples-names-in-the-directory-to-their-homepages-2/#post-318002

    Please, do not post the question multiple times … it only make it take me longer to reply since I have to more to go thru.

    in reply to: I can't no longer insert phone numbers #318009
    Steven Zahm
    Keymaster

    @ Solveg

    What are the errors being show?

    in reply to: Map #318007
    Steven Zahm
    Keymaster

    @ Dave

    You can, but it will actually show on both the tile and the individual listing … you can enable it by using the show_addresses shortcode option enabled by Tile Plus. Here’s an example of how to use it:

    [connections show_addresses='true']

    Another option, if you know PHP, the card-single.php file can be edited to force the display.

    Open the file and look for this line:
    if ( $atts['show_addresses'] ) $entry->getAddressBlock( array( 'format' => $atts['addr_format'] , 'type' => $atts['address_types'] ) );

    Change it this:
    $entry->getAddressBlock( array( 'format' => $atts['addr_format'] , 'type' => $atts['address_types'] ) );

    If you opt to go this route then I highly suggest reading this QuickTip an do the change as outlined so it is update safe.

    Hope that helps, let me know.

    Steven Zahm
    Keymaster

    @ Joseph

    This issue you have is that you are using the shortcode on the same page multiple times. This is possible but requires a little more complex setup.

    But first to answer your question …

    It would be possible but to make the names redirect to a link that was entered in Links section but that would require quite a bit of reworking the template using PHP, so, that is not easily done, sorry.

    To deal with the name links as they are, you have two options.

    The first is the simplest. Go to the Connections : Settings admin page and click on the Advanced tab. Under the Permalinks section, uncheck the Name base option and save.

    With this option disabled the names will no longer be links.

    The second requires you to create a “Results” page. The name of the page is not relevant, can be anything you choose.

    After you create and publish the new page, add the [connections] shortcode to it only once, with no options set.

    Go to the Connections : Settings page and set the Directory Home Page to this new “Results” page.

    Now, on your original page, add the force_home='true' shortcode option to each shortcode instance.

    Now the name links will redirect to the newly create “Results” page.

    Hope that helps!

    in reply to: uses notes and not ecerpt #318001
    Steven Zahm
    Keymaster

    @ dominic

    This can be done but you’ll have to modify the template. In the card.php file you’ll find this line:

    echo strip_shortcodes( $entry->getExcerpt() );

    Change it to this:

    echo strip_shortcodes( $entry->getExcerpt( array(), $entry->getNotes() ) );

    That make the excerpt from the notes fields.

    Then you need to enable the notes field via a shortcode option enabled by Excerpt Plus like so:

    [connections enable_note='true']

    Hope that helps!

    in reply to: vcard question #318000
    Steven Zahm
    Keymaster

    @ Dotty

    The custom fields can be output on the results list too … you need to turn it on on the Connections : Settings admin page under the Display tab. There’s a section for content blocks under both the results list view and single entry view.

    Hope that helps!

Viewing 10 posts - 9,201 through 9,210 (of 15,332 total)