BBPress Sam Chadwick : Replies Created

Forum Replies Created

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • in reply to: Contributor Users can Add but only Edit sometimes #332265
    Sam Chadwick
    Participant

    Just as a side point, I did new installation of Connections on another server to test the new release and found that both Add Entry and Add Entry Moderated are checked by default. Perhaps the default install should have one on but not the other, or make it a switch button perhaps.

    in reply to: Contributor Users can Add but only Edit sometimes #332172
    Sam Chadwick
    Participant

    Yes. Looks like that has worked (according to the user reporting the issue). Thank you!

    in reply to: Issue with Multiple Add-Ons #332068
    Sam Chadwick
    Participant

    Perfect! Yes. That solved it. Somehow in the find/replace, the field suffix had been deleted. THANK YOU!

    in reply to: Issue with Multiple Add-Ons #332021
    Sam Chadwick
    Participant

    Steve,
    The data being entered via Form is adding and updating correctly and I can see it populating the _meta table.

    I checked and the registerMetabox() ‘fields’=>ID value matches the settingsOption() $blocks[‘fields-id’]. The new fields have been turned on the Settings->Display.

    Interestingly though, checking and unchecking entries under the “Single Entry” section appears not to change what is displayed on the cMap card-single template, where I cam using $entry->getContentBlock( ‘fields-id’ ); to display the desired values. The former “income levels” value is displayed, as are all of the values that are text, irrespective of whether they are enabled or disabled on Settings->Display.

    Any other thoughts?

    Unfortunately the implementation is on our intranet and so I can’t share anything.

    in reply to: getBlock for Added By/Edited By/Timestamp #320693
    Sam Chadwick
    Participant

    The search results are now correct but the page loads with every category available as being selected rather than just the one related to the permalink.

    in reply to: getBlock for Added By/Edited By/Timestamp #320660
    Sam Chadwick
    Participant

    Steven,

    I added the following at #L2467 and then a similar version but with the different $.out at #L2475. The permalinks appear, however the link destinations are incorrect.

    Using the category search within the cMap template, the URL returned is:
    http://myurl.com/?page_id=890&cn-s=&cn-cat%5B%5D=862
    which works correctly, as I implemented your suggestion to enable multiple categories to be selected http://connections-pro.com/support/topic/customization-enhancements/

    Using the code below, the category permalink returns: http://myurl.com/category/862/ which loads the Connections page correctly, and has the correct category in the search box, but “No results found”.

    Looking at the other permalinks, e.g. http://myurl.com/locality/London/ I saw that the term itself is used rather than the term_id so I tried:

    ‘slug’ => $category->name

    But this put every category in the system in the search box (and therefore returned everything).

    I did check for conflicts in the permalinks settings. Connections uses ‘category’ and WordPress uses ‘cat’.

    Any suggestions?

            foreach ( $categories as $category ) {
                $this_category = cnURL::permalink( array(
                        'type'       => 'category',
                        'slug'       => $category->term_id,
                        'title'      => $category->name,
                        'text'       => $category->name,
                        'home_id'    => $this->directoryHome['page_id'],
                        'force_home' => $this->directoryHome['force_home'],
                        'return'     => TRUE
                        )
                );                    
                $out .= '<li class="cn_category" id="cn_category_' . $category->term_id . '">' . $this_category . '';
            }
    
    in reply to: getBlock for Added By/Edited By/Timestamp #320409
    Sam Chadwick
    Participant

    Steve,
    How can I make the categories hyperlinks to search results (in the same way that WordPress posts do)?
    Thanks,
    Sam

    in reply to: getBlock for Added By/Edited By/Timestamp #320061
    Sam Chadwick
    Participant

    Perfect!

    in reply to: Support Wiki #319988
    Sam Chadwick
    Participant

    Interesting. I guess nobody seems to have felt it worthwhile to create a good wiki plugin for WordPress – I just spent 30 mins or so looking. Perhaps using something like Frontier Post with a custom post type and support-oriented categories taxonomy might enable the same result to be achieved.

    in reply to: Customization / Enhancements #319609
    Sam Chadwick
    Participant

    Fantastic! The new template and custom submit button work like a charm.

Viewing 10 posts - 1 through 10 (of 10 total)