BBPress Steven Zahm : Replies Created

Forum Replies Created

Viewing 10 posts - 9,391 through 9,400 (of 15,332 total)
  • Author
    Posts
  • in reply to: Notifications to admin not working #313545
    Steven Zahm
    Keymaster

    @ Christine

    Can you confirm that WordPress is able to send email? You can use a plugin named Check Email to confirm.

    Also, just checking, when you’re testing, you are not logged in right? If you’re logged in, you will not receive an email because Form knows you’re logged in so Form knows that that you added the entry so there would be no need for an email to be sent.

    in reply to: edit entry #313421
    Steven Zahm
    Keymaster

    @ dominic

    The virtual page for form is like the /edit/ link except it’s /submit/ If you have this link disabled under the List Actions then normal users can not get to it … now, if a users happened to know about the existence of the /submit/ link they could manually type that in and be able to submit multiple entries. Really though, that’s not going to be an issue because that is simply something a typical user is going to figure out.

    Now, because you’re using the legacy [connections_form] shortcode … as long as the link to that page is visible to users, they’ll be able to submit entries.

    As for the edit link code something like this may work (untested):

    public function widget() {
    
    if ( get_query_var('cn-entry-slug') ) {
    
    // Grab an instance of the Connections object.
            $instance = Connections_Directory();
    
            // Check to see if the entry has been linked to a user ID.
            $entryID = get_user_meta( get_current_user_id(), 'connections_entry_id', TRUE );
            // var_dump( $entryID );
    
            $results = $instance->retrieve->entries( $atts );
            // var_dump( $results );
    
            if ( is_user_logged_in() &&
                ( current_user_can( 'connections_manage' ) || $entryID == $results[0]->id ) &&
                ( current_user_can( 'connections_edit_entry' ) || 
    current_user_can( ‘connections_edit_entry_moderated’ ) )
    ) {
    
                cnURL::permalink( array( 'type' => 'edit', 'slug' => 
    get_query_var('cn-entry-slug'), 'text' =>  __( 'Edit Entry', 'connections_form' ), 'return' => FALSE ) );
    }
    }
    }
    

    The above would be the widget override method in your widget class.

    Hope that helps you out.

    in reply to: I need to do some customization #313420
    Steven Zahm
    Keymaster

    @ Royale

    Changing the string is rather simple to do, check out this FAQ on the str_***** shortcode options that cMap enables. Here’s the link to the page that has all the str_***** shortcode options and much more for cMap.

    Now, for the drop downs … yes, that is possible, but how really depends on the exact goals but in either case it would be rather complex and not simple to do if you’re new to PHP. Due to this complexity, it is not really something I can walk you thru either, sorry.

    I hope this helps, even if a little.

    in reply to: Category-Problem with Umlaut #313412
    Steven Zahm
    Keymaster

    @ Fabrice

    Can you give me a few category names as examples so I can test?

    in reply to: no logos displayed on tabs #313411
    Steven Zahm
    Keymaster

    @ jaime

    If you’re starting with a new install … you can activate Connections on any of the subsites and it’ll work fine. Just do not network activate Connections because that will not work. I hope that make sense!

    in reply to: Add website and email to Social Icons #313410
    Steven Zahm
    Keymaster

    @ dominic

    No problem!

    If I have not asked and you have a moment, I would truly appreciate a review as they really do make a difference. Many thanks in advance!
    https://wordpress.org/support/view/plugin-reviews/connections

    in reply to: Background color #313409
    Steven Zahm
    Keymaster

    @ steve793

    Which template?

    in reply to: Last Name Requirement #313408
    Steven Zahm
    Keymaster

    @ steve793

    Sorry, no, it is absolutely required as it is used to create the folder name for the images (logo and/or photo) uploaded for the entry.

    in reply to: Languages extension change title #313407
    Steven Zahm
    Keymaster

    @

    Change it to this instead:

    $blocks['languages'] = __( 'Languages', 'connections_languages' );

    Then use the Say What? plugin with the connections_languages text domain.

    I just made the same change to the plugin, so your change will be update safe.

    Hope that helps!

    in reply to: chosen.js options #313406
    Steven Zahm
    Keymaster

    @ David

    Sorry, no, I can’t think of anything … maybe your categories can be hard coded into the template in the order you want them as an array variable and any categories that are not assigned to the entry can be unset from this hard coded list and then the list displayed. The net result would be the entries assigned to the entry in the order you hard coded in the template.

    Hope that makes sense!

Viewing 10 posts - 9,391 through 9,400 (of 15,332 total)