BBPress Steven Zahm : Replies Created

Forum Replies Created

Viewing 10 posts - 861 through 870 (of 15,332 total)
  • Author
    Posts
  • in reply to: Custom CSS #477205
    Steven Zahm
    Keymaster

    @ Mike

    I did, after posting my reply …

    My instructions still apply. You can edit the slim-plus.css file and put it in the folder as explained in my last reply and it will be loaded by Connections instead of the min file supplied with the template. OR, you can place the minified file in the folder an it will be loaded. Either will work.

    in reply to: Anniversaries template #477202
    Steven Zahm
    Keymaster

    @ Nick

    The list_type option for the [upcoming_list] plugin sets the template type to load. There are only templates available for anniversaries and birthdays. There is not one available for memberships so this will result in the template not found error you are receiving.

    What you can try is setting the template option to anniversary or birthday to override the type set by the list_type option. That said, maybe this code will work:

    <div style="float:right; width:410px;margin-bottom:60px;">[upcoming_list list_type='membership' show_lastname='true' list_title='Rotary membership anniversaries in the next 30 days' template='anniversary']</div>
    

    I do not know if that will work as I have never tested this scario before.

    Hope this helps, let me know.

    • This reply was modified 7 years, 9 months ago by Steven Zahm. Reason: Tweak example shortcode
    in reply to: Keyword search #477200
    Steven Zahm
    Keymaster

    @ Mark

    Can you please share a link so I can take a look?

    Connections uses the same underlying tech to apply searches as WP uses for searching, So search results would be no better or worse than the core WP search.

    Things you can do to tweak to get more relevant search results.

    Navigate to the Connections Settings admin page and click the Search tab.

    • Limit the search fields to the absolute minimum.
    • Disable the LIKE option. After you do, do a test search. If you do not get results, then you need to enable the option as the WP install does not support FULLTEXT searching. FULLTEXT will generally return better results sorted by relevance as determined by the database.

    Also, search will return results if the term being searched for exists within HTML tags in the bio/nots fields. You can read a more in depth explanation in regards to this in this post to another user. The short version is that this is not a Connections bug or limitation, the same occurs with core WP searches too. The reason is that there is not a way to exclude searching within HTML tags for matched terms.

    Hope this helps!

    in reply to: Custom CSS #477199
    Steven Zahm
    Keymaster

    @ Mike

    You can copy your custom CSS to a folder in the uploads folder. That way Connections will load it instead and it will not be overwritten during updates. Here’s the doc where you can learn more about this feature:

    https://connections-pro.com/2014/05/07/quicktip-custom-css-templates/

    So, in your specific instance you could copy the file to this folder:

    ../wp-content/uploads/connections-templates/slim-plus/slim-plus.css

    Hope this helps!

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

    @ Joshua

    Ca you share a link to your plugin? I’d like to see it!

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

    @ Joshua

    RE: How do I assign the user column to a new cnEntry?

    $entry->setUser( $id );

    $id is the WP user ID.

    RE: Can you explain further on how to assign multiple categories to the cnEntry?

    Connections_Directory()->term->setTermRelationships( $entry->getId(), array( $term1, $term2, $term3, [...] ), 'category' );

    The $term variables are the category ID numbers. The array contains the ID of all categories you wish to attach to the entry. It basically works the same way that the core WP function to attach categories to posts; wp_set_object_terms().

    Hope that helps!

    in reply to: Emails Not Displaying on Frontend #477187
    Steven Zahm
    Keymaster

    @ andisites

    Just a tip, this link will temporarily disable Autoptimize, that is how I know it is Autoptimize cause the issue:

    http://newdcccdev.com/faculty-staff-directory/?ao_noptimize=1

    I am working on an update to ROT13 Which will be compatible with Autoptimize. I do not have an ETA at this time though, so excluding the ROT13 script is the quickest easiest solution.

    in reply to: Emails Not Displaying on Frontend #477186
    Steven Zahm
    Keymaster

    @ andisites

    You will not find a setting for ROT13 in the Autoptimize settings, you need to add the ROT13 script to the “Exclude scripts from Autoptimize:“, so add this to the settings field cn_rot13.js

    Hope this helps!

    in reply to: Emails Not Displaying on Frontend #477166
    Steven Zahm
    Keymaster

    @ andisites

    Please exclude the ROT13 script from Autoptimize. That should fix it up.

    Hope this helps, let me know.

    in reply to: Page Not Loading… #477165
    Steven Zahm
    Keymaster

    @ Pina

    Hmmm… the Connections plugin was not even installed. I installed and activated for your. Your directory pages are now loading.

    Hope this helps!

Viewing 10 posts - 861 through 870 (of 15,332 total)