BBPress Steven Zahm : Replies Created

Forum Replies Created

Viewing 10 posts - 7,711 through 7,720 (of 15,332 total)
  • Author
    Posts
  • in reply to: edit entry without add entry link showing #343311
    Steven Zahm
    Keymaster

    @ katmar

    re: Is there any way I can direct listing members to a “View My Directory Entry/Edit My Directory Entry” link without it also showing a “Add My Directory Entry” link to standard/non directory listing members?

    Sorry, no, nothing officially supported at this time. That said, this post has a code snippet that adds a new shortcode that you can use to add to a page that will show the edit entry link if the current logged in user has a linked entry.

    For this code to work, you need to be using the Form extension.

    How to install the code snippet:

    Installed the code Snippets plugin.

    Add the code from the other post as a new snippet.

    Save and activate the snippet.

    Add the [connections_edit_link] shortcode to you members profile page.

    Hope that helps. Let me know.

    in reply to: Question re Categories and Listing ID's combined #343304
    Steven Zahm
    Keymaster

    @ Ray

    To answer this question specifically…

    re: Is there a way that I can ensure that when a Category is selected it will show ALL the businesses in that Category?

    No, not with the shortcode you are using. Setting the specific entries to display by setting the id shortcode option will always limit the list to those entries.

    That said…

    Assuming you have always used the order_by='id|RANDOM' shortcode option… There was a bug when using the order by random that would cause the entry to be listed for each category it was assigned to. I’m guessing this was the cause of the duplicates that you were experiencing. This bug was fixed between a year and year and a half ago. So you should no longer need the id shortcode option to prevent duplicates.

    Now, it sounds like you have duplicate entries in your database as a work around but limiting the display to only one of them, correct?

    To test that the bug is fixed for you, set those duplicates to unlisted and remove the id option.

    Now, you still might having another problem…

    I see this is a heavily modded version for Slim Plus 1.0. There is a category selection bug in that version that you should fix. Open the slim-plus.php file, look for this block of code towards the end of the file:

    public function setCategory( $atts ) {
    
        if ( $atts['enable_category_select'] ) {
    
            if ( get_query_var('cn-cat') ) $atts['category_in'] = get_query_var('cn-cat');
    
        } else {
    
            if ( get_query_var('cn-cat') ) $atts['category'] = get_query_var('cn-cat');
        }
    
        return $atts;
    }
    

    Change it to this:

    public static function setCategory( $atts ) {
    
        if ( $atts['enable_category_multi_select'] ) {
    
            if ( get_query_var('cn-cat') ) $atts['category_in'] = get_query_var('cn-cat');
            remove_query_arg( 'cn-cat' );
    
        }
    
        return $atts;
    }
    

    Hope that helps. Please let me know.

    in reply to: Styling the Bio and Map links #343300
    Steven Zahm
    Keymaster

    @ Michael

    re: I would like to be able to style the bio and map links but when i modify the .cn-left ar .cn-right it changes the background of logo image. .cn-right seems to change the whole background color of profile panel. I clearly using the wrong classes.

    In cMap the .cn-left and cn-right classes are used to create the two column layout of the card… they are just containers for all the other elements. If you wish to select the bio and map links you need to select the .cn-bio-anchor and .cn-map-anchor classes. I would suggest making the selectors a bit more specific so they will only affect cMap like so:

    #cn-cmap .cn-bio-anchor,
    #cn-cmap .cn-map-anchor {
        background-color: green;
        padding: 10px;
    }
    

    re: In addition is it possible to remove the top padding on the logo image?

    Sorry, impossible to know from the screenshot… maybe it is being added by the theme.

    re: i was wondering if i could put certain profile infor side by side to make profile card less deep. It seems like theres alot of white space in the centre and bottom left.

    Making it a three column is possible but it would require restructuring the template PHP code and styles well beyond the scope of what I can provide as tweaks in the support forum. Maybe increase the size of the business logos or settings the max-width of the entry card would be a suitable alternative. If not, I do provide custom development services if you are interested.

    Hope that helps!

    in reply to: Category Filter Width #343299
    Steven Zahm
    Keymaster

    @ Melanie

    Ok, the theme is setting many form inputs including selects to a width of 230px. Adding the following to the theme’s custom CSS area should resolve the issue.

    #cn-cmap select.cn-category-select.cn-enhanced-select {
        width: auto !important;
    }
    

    Hope that helps, let me know.

    in reply to: Import Images #343298
    Steven Zahm
    Keymaster

    @ Wayne

    Yes, indeed it is. I have many a couple parts of this already completed. I plan on putting these parts together in the next major update to the extension.

    in reply to: Hide "Show all categories" #343297
    Steven Zahm
    Keymaster

    @ reyes

    The initial_results='true' option should be added to the page(s) where you have added the [connections] shortcode. Put another way you add it to the existing instances of the shortcode, you do not add the shortcode again. Hope that makes sense?

    Steven Zahm
    Keymaster

    @ Ray

    re: I was just interested in having a look at the Customizer upgrade which looks really handy.

    The default template that comes with Connections supports the new Template Customizer, so you could play with that. The experience will be very similar with all templates. Actually the only difference will be the options available which will vary from template to template.

    re: Gotta say that Connections Pro has morphed into a very powerful and very flexible product due to your hard work constantly improving the product. Well done and thanks!

    Many thanks! There is still much, much more to come :)

    If you have not and you have a moment, I would truly appreciate a review as they really do make a difference. Many thank in advance!

    https://wordpress.org/support/view/plugin-reviews/connections

    in reply to: Import Images #343181
    Steven Zahm
    Keymaster

    @ Wayne

    Sorry, this is not yet possible and will likely be included in the next major update to the CSV Import extension. I do not have a release date planned yet, sorry.

    in reply to: Category Filter Width #343174
    Steven Zahm
    Keymaster

    @ Melanie

    When I visit the page, I get a 404 response…

    There’s nothing in Connections that limits the width of the category drop down. If you’re seeing that, then another plugin or the theme (most often the case) is limiting the widget of selects. The track would be to override the width the theme has set by using a more specific CSS selector. If you can give me an updated link showing the issue, it’ll only take me a few seconds to determine it and I can let you know what it is.

    in reply to: plugin for make payed the members info #343173
    Steven Zahm
    Keymaster

    @ hamid

    Yes, this is on the to do list.

Viewing 10 posts - 7,711 through 7,720 (of 15,332 total)