BBPress Steven Zahm : Replies Created

Forum Replies Created

Viewing 10 posts - 10,551 through 10,560 (of 15,332 total)
  • Author
    Posts
  • in reply to: Add login form to template? #299284
    Steven Zahm
    Keymaster

    @ David

    Connections does not have a login feature as of yet. Not sure I’ll be adding one yet because there are some many freely available feature rich plugins that can handle this already. I would suggest finding one that has a configurable frontend login widget.

    If you install the Code Snippets plugin, you can add the following code as a new snippet. Once saved and activated, you can use the [connections_login_form] shortcode on a page or in a Text widget to add a login form to widget that can placed in the theme’s sidebar.

    function cn_login_form_shortcode( $atts ) {
    
    	if ( is_user_logged_in() ) return;
     
    	$atts = shortcode_atts( array(
    		'echo'           => FALSE,
    		'redirect'       => get_permalink(),
    		'form_id'        => 'loginform',
    		'label_username' => __( 'Username', 'connections' ),
    		'label_password' => __( 'Password', 'connections' ),
    		'label_remember' => __( 'Remember Me', 'connections' ),
    		'label_log_in'   => __( 'Login', 'connections' ),
    		'id_username'    => 'user_login',
    		'id_password'    => 'user_pass',
    		'id_remember'    => 'rememberme',
    		'id_submit'      => 'wp-submit',
    		'remember'       => TRUE,
    		'value_username' => NULL,
    		'value_remember' => FALSE
    	), $atts, 'connections_login_form' );
      
    	return wp_login_form( $atts );
     
    }
    add_shortcode( 'connections_login_form', 'cn_login_form_shortcode' );
    add_filter( 'widget_text', 'do_shortcode' );

    I hope that helps!

    in reply to: Enabling the name of department into a link #299283
    Steven Zahm
    Keymaster

    @ Leris

    Sorry that can not be changed because the department name (actually all fields other than the Name) use URL encoding of the actual value entered into the field because there is no “slug” created for it like there is for the name. The URL encoding for a space is a plus sign (or can be %20). When the link is clicked, Connections decodes the URL and performs a search, limited in this case to the department field. This is effectively really not any different than doing a search using the search input. Put another way, the links, even though they are “pretty permalinks”, are direct links to specialized search/filters.

    I hope that helps!

    in reply to: Search not working on Connections Directory #299281
    Steven Zahm
    Keymaster

    @ Axel

    No, Connections does not integrate with the core WP search since it is specialized. This is why it has its own search.

    A “blank result” for the page with the [connections] shortcode on it would be expected if the shortcode is the only content on the page because WP does not render shortcodes in the search result summary results. The page title should still be shown plus what ever page meta the theme shows as part of the search results.

    Clicking thru on the page title in the search summary results should take you to the page and the directory show up as normal, not a blank page. Is it here that you are getting a blank page? If that is the case, that does not seem like a Connections issue. Clicking the page link from the search results should be no different from clicking the page link from the site nav.

    That email address, doesn’t sound like that is being output by Connections to me, but coming from somewhere else.

    Its really hard to say what the issue is and what the solution will be without being able to see it… can you attached screen captures showing the Connections page in the search results and what it looks like after you click thru to the page?

    in reply to: Slim Plus listings open and won't close #299280
    Steven Zahm
    Keymaster

    @ David

    Sorry, I never got the email notice letting me know you replied … seems to be a bug in the private reply plugin I use. I’ll have to track that down.

    Any way, I just tried to login and it would not let me in. I stopped before being locked out … thinking I copy/pasted something wrong.

    in reply to: Search not working on Connections Directory #299197
    Steven Zahm
    Keymaster

    @ Axel

    Maybe exclude the page from the search results with this plugin?

    in reply to: Image caption for Bio Entry Card #299196
    Steven Zahm
    Keymaster

    @ Marco

    Yes, I received the email. I’ll not likely get to this until Sunday/Monday because I’m going to be away Friday and Saturday.

    Steven Zahm
    Keymaster

    @ James

    Yep, the code is working, I just checked. The feature will definitely continue to exist. The templates just needs updated to properly add the submit button. After I do and if you update, you’ll have two submit buttons. All you’ll have to do is deactivate that snippet.

    in reply to: Oder by ascending does not work #299194
    Steven Zahm
    Keymaster

    @ Marco

    I just tested and the query that is built is correct and so are the results I would expect. Could you define what you mean by “a mess”? Can you share a link of the page that shows the issue? If you can’t, can you attached a screenshot showing the first full page of results and then list the order you expect the results to be in?

    in reply to: Directory home page confusion #299190
    Steven Zahm
    Keymaster

    @ Bill

    Honestly, that depends entirely on the goal of the whole setup … but for now, I recommend creating a “Results” page with just the [connections] shortcode on it and set it to the directory home page with the All template type set to the one you like the best.

    As for the preview, yes, you need to publish the page for the Connections and it’s queries to work correctly. This is because while previewing a page, that page does not “exist”, yet, and since the page does not “exist” Connections does not know it exists. I hope that make some sort of sense.

    Hope that helps!

    in reply to: Is export available? #299189
    Steven Zahm
    Keymaster

    @ Mike

    It is in the pipeline with no ETA yet. What I do know is that I decided to include this feature in the free core Connections plugins as a tool.

    There is this. It is not a plugin and has a complicated setup, but it can export Connections data in multiple formats. It was developed by a third party and is actually the base code from which the export will be derived from when I merge it into Connections.

    I hope this helps!

Viewing 10 posts - 10,551 through 10,560 (of 15,332 total)