Forum Replies Created
-
AuthorPosts
-
06/26/2014 at 11:06 am in reply to: Connecting WP registered member of site to connection profiles #295185
Steven Zahm
Keymaster@ Deepanshu
You can add the categories to the
card.phporcard-single.phpfiles by adding this where you want them to be displayed:$entry->getCategoryBlock( array( 'separator' => ', ', 'before' => '<span>', 'after' => '</span>' ) );I recommend following the method in this QuickTip so you can add it in an update safe way.
The conflict with Form and WooCommerce is likely because they both use Chosen to enhance the dropdown selects. Connections uses the latest release version, perhaps WooCommerce does not? If this is the reason, upgrading to Form 2.0 would not solve the issue because both Form 1.0 and 2.0 use the version of Chosen bundled with Connections. Any way, without being able to see the issue, that my best guess and my suggestion and where to look to resolve the issue.
Hope that helps!
Steven Zahm
Keymaster@ Lucas
See these doc pages for cMap…
http://connections-pro.com/documentation/template/cmap/option/enable_search/
http://connections-pro.com/documentation/template/cmap/option/enable_category_select/I hope that helps!
Steven Zahm
Keymaster@ Lucas
Thanks for the feedback!
There’s actually nothing in cMap to localize with the exception of the template description so I have not added the code necessary to do it. Seems unneeded to add the extra weight to the template just for 6 words. Same for SiteShot.
As for Connections, It does infact use the load_plugin_textdomain function call. However, it is setup in a manner that allows update safe custom translations to be loaded. This makes it much more flexible. This is well tested and will not break compatibility with WordPress as the error message warns.
I hope that clears this up.
Steven Zahm
Keymaster@ Steve
No, this can not be accomplished with the addr_format option, it can be done using CSS:
#cn-cmap span.locality { display: block; }Hope that helps!
Steven Zahm
Keymaster@ Steve
The custom is loaded as a dependency of the core CSS file so it will be loaded after the core CSS and override it’s properties. If you want to customize
#cn-cmap .cn-entry, I suggest copying it from the core file and then changing the values to suit like so:#cn-cmap .cn-entry { -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; -webkit-box-shadow: 0; -moz-box-shadow: 0p; box-shadow: none; background: none; border: none; font-size: 12px; margin: 10px 4px; padding: 12px; position: relative; }The above will deal with everything except the background color/gradient. That CSS is very complex and is very difficult to override completely. To adjust those, I built in two shortcode options for cMap that allows it to be very easily configured, see this doc page for cMap.
Hope that helps!
Steven Zahm
Keymaster@ Roger
Great to hear!
If you have a moment, I would truly appreciate a review as they really do make a difference. Many thanks in advance!
http://wordpress.org/support/view/plugin-reviews/connectionsSteven Zahm
KeymasterSign, seems like there was a bug with both Education Level and Income Level which prevented the display of the content box … I must have made a change after testing or something. You can pull the fixed version from Github until I get a moment to release the updates to wordpress.org.
https://github.com/Connections-Business-Directory/Education-Levels
https://github.com/Connections-Business-Directory/Income-LevelsAfter you install the updates, you have to enable them on the display settings again.
Sorry about that!
Steven Zahm
Keymaster@ Paul
That demo plugin actually does not contain the necessary filters to add to support for the content box. I’ll try to remember to add them so the demo is more complete. When I made the custom fields demo, the content block support didn’t exist.
You might want to check out the Education Level or Income Level extensions instead. They have all the required filters and are pretty well documented.
It odd you had to add that line of code to Slim Plus, it should already exist on line 63 in the card.php file.
Hope that is helpful.
Steven Zahm
Keymaster@ Roger
You need to change the db engine for the Connections tables using phpMyAdmin. This can usually be accessed from your web host’s control panel. Depending on the version of MySQL that is installed you either want InnoDB or MyISAM. IF MySQL is great than or equal to 5.6.4 then you want InnoDB otherwise you want MyISAM.
To change a table to InnoDB you would use this query:
ALTER TABLE <table-name> ENGINE=INNODB;To change a table to MyISAM you would use this query:
ALTER TABLE <table-name> ENGINE=MyISAM;You would replace
<table-name>with the actual table.This is the list of tables you would have to change:
<wp_db_table_prefix>_connections <wp_db_table_prefix>_connections_address <wp_db_table_prefix>_connections_phone <wp_db_table_prefix>_connections_email <wp_db_table_prefix>_connections_messenger <wp_db_table_prefix>_connections_social <wp_db_table_prefix>_connections_link <wp_db_table_prefix>_connections_date <wp_db_table_prefix>_connections_meta <wp_db_table_prefix>_connections_terms <wp_db_table_prefix>_connections_term_taxonomy <wp_db_table_prefix>_connections_term_relationshipsYou would replace
<wp_db_table_prefix>with the actual WP db table prefix. The default iswp_.A simpler way using phpMyAdmin (rather than doing the queries), see this:
http://www.electrictoolbox.com/mysql-change-table-storage-engine/Before you do this go to the Connections : Settings admin page and disable the FULLTEXT option under the search tab.
When you have completed this, the go back and re-enable it so the FULLTEXT indexes will be built.
That should do it.
Steven Zahm
Keymaster@ ciba
The image is automatically shown in the bio field, you’re using the notes for which is why it is not showing. You can show an image in the notes field, but you have to add them using the HTML
imgtag.When uploading an image, three sizes are created, thumbnail, medium and large. The settings for the sizes can be adjusted on the Connections : Settings admin page under the Images tab.
Hope that helps.
-
AuthorPosts
