Forum Replies Created
-
AuthorPosts
-
Steven Zahm
Keymaster@ Sean
That is because they Chosen devs changed their HTML markup between versions. You’ll likely have to replace the Chosen files in the
/connections/assets/jsand/connections/assets/css/with those from/the-events-calendar/vendor/chosen/public/.I just updated the dev version with the latest version of Chosen; 1.1.0, and everything seems to be fine.
-
This reply was modified 12 years, 6 months ago by
Steven Zahm.
Steven Zahm
Keymaster@ Larry
Hmmm, seems similar to this issue I resolved back last year.
http://connections-pro.com/support/topic/many-404-errors-cause-by-direcory/What is happening is that there is a redirect loop causing the gibberish. If you notice, the pattern is %25(repeat 25 for each loop)2B
Example
What is happen the url starts out with:
http://earlytxcom.tothc.com/members/organization/Bishop+Distributing/That’s a valid URL for Connections but something causes a loop and the
+becomes encoded, so you end up with an invalid url that looks like this:
http://earlytxcom.tothc.com/members/organization/Bishop%2BDistributing/That should be valid, but isn’t and WordPress loops again, this time the
%is encoded, so you end up with a URL that looks like this:
http://earlytxcom.tothc.com/members/organization/Bishop%252BDistributing/And it loops again…
http://earlytxcom.tothc.com/members/organization/Bishop%25252BDistributing/So that is where the repeating
25is being created.As for why, honestly I don’t know.
If I refine the site query to just the names, I get 286. This is about right. But at there very beginning there seems to be some names that don’t exist or maybe they do and they are unlisted:
site:earlytxcom.tothc.com/members/name/Google should fined the
/members/name/because those are the links a user can click on on the/members/page.What curious is the errors are all in the
/members/organization/url:
site:earlytxcom.tothc.com/members/organization/That is a query based url. I don’t see how Google would be able to find those links unless they were exposed on a page on your site somewhere. I poked around you site and I didn’t see anything that jumped out at me. Do you know of any pages where you might have included those links?
Another question. On the Connections : Settings admin page under the Advanced tab; do you have the
Organizationoption checked under the Links section?Steven Zahm
Keymaster@ Jon
If your parent categories are empty, may you could use the option grouping feature. This would make the root parent categories non-selectable and visually different.
You would have to edit the
slim-plus.phpfile found here:
../wp-content/plugins/connections-slim-plus/Look for this:
$atts = array( 'default' => self::$atts['str_select'] , 'select_all' => self::$atts['str_select_all'], 'type' => self::$atts['enable_category_multi_select'] ? 'multiselect' : 'select', 'group' => self::$atts['enable_category_group_by_parent'], 'show_count' => self::$atts['show_category_count'], 'show_empty' => self::$atts['show_empty_categories'], 'parent_id' => self::$atts['enable_category_by_root_parent'] ? self::$atts['category'] : array(), 'exclude' => self::$atts['exclude_category'], );And change it to this:
$atts = array( 'default' => self::$atts['str_select'] , 'select_all' => self::$atts['str_select_all'], 'type' => self::$atts['enable_category_multi_select'] ? 'multiselect' : 'select', 'group' => self::$atts['enable_category_group_by_parent'], 'show_count' => self::$atts['show_category_count'], 'show_empty' => self::$atts['show_empty_categories'], 'parent_id' => self::$atts['enable_category_by_root_parent'] ? self::$atts['category'] : array(), 'exclude' => self::$atts['exclude_category'], 'group' => TRUE, );If that is not an option, then you have to edit the
class.template-parts.phpfile found here:
../wp-content/plugins/connections/includes/template/Look for this function. You have to apply an inline style or maybe add a class that you can use CSS to select and style to the option value when
$levelis equal to1. Adding to the inline style will probably be a little easier because there would be less code to modify.Hope that points you in the right direction.
Steven Zahm
Keymaster@ Sean
Ok, well, I somewhat knew the issue would be related to that both plugins we’re using a third party library called Chosen. It’s what makes the fancy drop downs. I’m using an even older version (1yr old) than The Events Calendar (9mon old).
I think the fix will be to copy this file overwriting of this file.
Steven Zahm
Keymaster@ NetWarden
The additional lines for the snippet can go right before of after the line that starts with
$atts.re: rte
This can be done by editing the
connections_form.phpfile. Go to line 1467:
if ( $atts['rte'] )and change it to thisif ( false ). That’ll do it.Steven Zahm
Keymaster@ Sean
I just tried Firefox 27 and Opera 12, no go.
Steven Zahm
Keymaster@ NetWarden
Hmmm, the remove dates didn’t work. Likely due to I’m on the dev version of Connections which has substantial changes. My guess would the issue is due to execution order.
Try editing the snippet. Change this line:
add_action( 'load-users_page_connections_link', 'netwarden_link' );To:
add_action( 'load-users_page_connections_link', 'netwarden_link', 11 );I don’t think I’ll be adding settings to configure the entry types. That is something only a relatively few want to do. I have the filters for the advanced users can hook into and change. I have already added a filter to alter the default type so that would not require a code change. Actually it is the same filter used to change the available entry types.
If you want to make that snippet I gave you forward compatible add the following to it:
$atts['default']['type'] = 'organization'; $atts['default']['visibility'] = 'public';Steven Zahm
Keymaster@ kellycain
Add the following to the theme’s custom CSS area or to the end of the theme’s styles.css file:
.cn-last-updated { display: none; }That should do it.
Steven Zahm
Keymaster@ Larry
Sorry, no idea. Can you share examples?
Steven Zahm
Keymaster@ Mike
Sent.
-
This reply was modified 12 years, 6 months ago by
-
AuthorPosts
