BBPress Steven Zahm : Replies Created

Forum Replies Created

Viewing 10 posts - 11,921 through 11,930 (of 15,332 total)
  • Author
    Posts
  • in reply to: Custom Labels? #280136
    Steven Zahm
    Keymaster

    @ NetWarden

    Unfortunately I don’t have a clear enough picture of how the region and business type relate and how you want users to be able to filter them…

    So, why not use Say What? to rename the Country field to Region that way there is no reason to hide it. I guess one issue will be ensuring consistent input by users. They only way I can see that is if you edit Form to make the country field a hard coded drop down for the user to select the correct region.

    The intent for Form is a simple plug and play front-end form for Connections, it really is not designed for custom data. The next version will allow for a bit more customization, but that is mainly to support the upcoming meta field support. The core of what you see will still be the same.

    I don’t really plan on make a custom form builder (at this point) … I actually intend to create “bridge” extensions so form builder plugins like Ninja forms and Gravity Forms can be used to create form that can feed data into Connections.

    in reply to: Changing Default Drop Down in Add Entry #280135
    Steven Zahm
    Keymaster

    @ Tim

    Yes, I’m pretty certain this is the only file that will need to be edited. My lack of certainty only stems from that fact the code base for Connections is getting too large to commit to memory

    in reply to: csv importer not working properly #280108
    Steven Zahm
    Keymaster

    @ Michal

    I you want to give me access to you phpMyAdmin panel, I can run the queries for you.

    in reply to: csv importer not working properly #280107
    Steven Zahm
    Keymaster

    @ Michal

    The query should be this:

    UPDATE 512_connections_term_relationships SET term_taxonomy_id = X WHERE term_taxonomy_id = 1
    

    x is the actual category ID for Companies not the category name.
    1 is the actual category ID for Uncategorized. You would only change it from 1 if the category ID is not 1.

    in reply to: Field customisation in manage screen #280106
    Steven Zahm
    Keymaster

    @ Matt

    You can do some of this…

    In the upper right corner of the browser window you will see a Screen Options tab. Click that. This will allow you to hide the metaboxes you do not need to show.

    You can rename Biographical Info with the Say What? plugin.

    Install the Say What? plugin.

    It’ll add a new Text Changes menu item. Click Add New, enter the string exactly as shown in Connections, enter connections [notice the lack of capitalization, that's important!] as the domain and then enter your new text.

    The great thing about using this plugin is that it will be update safe and you can use it on any other plugin that has been properly internationalized.

    For Original string you would use Biographical Info and for New string you would use Employment History

    The last item on you list would be custom fields. Currently this is not supported by Connections. The work is completed to add this support in the next Connections update. You can see it in action here. Keep in mind that this new support would still require coding to add the new fields as there is not yet a point and click way to add them.

    I hope that helps.

    in reply to: Changing Default Drop Down in Add Entry #280105
    Steven Zahm
    Keymaster

    @ Tim

    Sorry, but there is not really an easy solution to this. You have to edit the PHP files to do this which means you’ll have to make this change when you update Connections. You would have to edit this file changing the order of they arrays to put the work types first.

    For example, to change the address type order you would have to change this starting on line 783:

    public function getDefaultAddressValues() {
    	$defaultAddressValues = array(
    		'home'   => __( 'Home' , 'connections' ),
    		'work'   => __( 'Work' , 'connections' ),
    		'school' => __( 'School' , 'connections' ),
    		'other'  => __( 'Other' , 'connections' )
    	);
    
    	return $defaultAddressValues;
    }

    To this:

    public function getDefaultAddressValues() {
    	$defaultAddressValues = array(
    		'work'   => __( 'Work' , 'connections' ),
    		'home'   => __( 'Home' , 'connections' ),
    		'school' => __( 'School' , 'connections' ),
    		'other'  => __( 'Other' , 'connections' )
    	);
    
    	return $defaultAddressValues;
    }

    Hope that helps.

    in reply to: Search only on one page #280103
    Steven Zahm
    Keymaster

    @ Cindy

    I see you have cMap, so yes, you can do this. Here’s how…

    Install the Code Snippets plugin.
    Download and unzip the file attached to this reply.
    Import the code snippet XML file, search.code-snippets.xml, into Code Snippets. See the FAQs on where to find the import feature.
    Activate the newly imported snippet.
    Lastly, add initial_results=false to the [connections] shortcode.

    That should do it.

    Attachments:
    You must be logged in to view attached files.
    in reply to: The Events Calendar – Dropdown menus broken #280102
    Steven Zahm
    Keymaster

    @ Sean

    Can you flush the page cache and then deactivate W3TC? Also, I do no see the anything on the Ad Event page, just the head and footer, not the form.

    in reply to: Sorting and grouping by Category and/or Fields #280101
    Steven Zahm
    Keymaster

    @ Eric

    Yes, that works too. That is something I do usually suggest … guess I suggested the coding way because you mentioned PHP editing.

    Yeah, grouping is on my todo list. It is just a little lower on the list because it is not requested all that much, yet. As Connections continues to grow, I do imagine grouping will be requested more and more for the very specific reasons you mention.

    in reply to: Display by Category #280100
    Steven Zahm
    Keymaster

    @ Peter

    Yes, that is intended behavior. It matches how WordPress would display posts by category. There is no easy way to make that change. There are only two options that I can think of off the top of my head. One is to custom code a new drop down which would be quit involved. The second option would be more of a hack. I think you can change this line to this:

    if ( ! empty( $queryCategoryID ) ) $atts['category_in'] = $queryCategoryID;
    

    That should limit the query to only the category selected. If you chose this option, you would have to reapply this change after every Connections update.

    Hope that helps.

Viewing 10 posts - 11,921 through 11,930 (of 15,332 total)