BBPress DOMINIC : Replies Created

Forum Replies Created

Viewing 10 posts - 41 through 50 (of 51 total)
  • Author
    Posts
  • in reply to: uses notes and not ecerpt #318011
    DOMINIC
    Participant

    Perfect, but I am using excerpt already in another part of the site (with the excerpt field) this mod would wreck that page. in a past post you explained how to duplicate a template http://connections-pro.com/support/topic/making-a-custom-version-of-plugin/

    Name change the name of excerpt.php to something else unique. (not important that this step is done or not.)
    Open the excerpt.php file.
    Change all instances of CN_Excerpt to something very unique.

    I assume this would be the only way to have two different card.php files. is there anyway to minimize the duplication of code that is loaded? (or am i worrying too much)?

    thanks

    dom

    DOMINIC
    Participant

    Worked like a charm.

    Thanks.

    in reply to: edit entry #313590
    DOMINIC
    Participant

    Jett,

    Could you walk me through what you did to get the link on the results page?

    The several attempts i made at using it would stop the output of the file.

    • Did you delete contents of the function or add to it (and where)
    • Did you have to edit your template card.php as well?
    • How did you change the code?
    • Is anything checked/unchecked in the settings page?

    Thanks

    Dom

    Steven: Looking forward to the new features thanks.

    in reply to: edit entry #313542
    DOMINIC
    Participant

    Hey Jeff,

    Steven will clarify better, but my understanding is that it is not possible to get the edit link from results listing, not sure because if how the link is created or the various if conditions to check the users permissions in relation to the profile.

    I agree it would be nice to be able to edit the profiles without the extra click, since it is not 100% intuitive that clicking on the name brings you to a full profile that with the edit link. Ideally I did not want the linked name (all the info i want shown is in the results).

    maybe a future feature.

    in reply to: edit entry #313540
    DOMINIC
    Participant

    Hey Jeff, i used Enhanced Text Widget to create the the sidebar link

    inside i put the following code:

    [url=http://justpaste.it/imon]justpaste.it/imon[/url] (code doesnt seem to like being pasted.

    (I added some text to the code in an else statement, shows up when edit link disappears)

    You should also be able to put the code in the card-single.php template and it will display.

    Not sure if this will resolve your error. Hope it helps a little.

    dom

    in reply to: Add website and email to Social Icons #313471
    DOMINIC
    Participant

    Already done.

    in reply to: edit entry #313470
    DOMINIC
    Participant

    Thanks, I created a manual sidebar menu (stylized list) in my php text widget and inserted your code ( removed first line of your code and last }) Worked like a charm.

    Now i have a manage profile sidebar menu with the edit profile appearing when available.

    You are awesome.

    Thanks.

    in reply to: edit entry #313413
    DOMINIC
    Participant

    Things are coming along, especially with all your support. I have disabled the admin panel for subscribed users. So now the only option is to use the front form editor, that way all the hidden fields on form are not visible to user when creating or editing profile.

    I’m not sure if I implemented the form correctly because you mentioned a virtual page, I created a page and I inserted the [connections_form] shortcode. i then created a menu item linking to this page.

    From your post above i will not be able to use a similar setup for editing as i need
    to be in single person view in order to edit details.

    stylistically I would like to remove the the edit link from above the single card view and insert it as a text/php/htm sidebar widget. I believe I found the function/code which creates the link. just hoping that there is a way to modify it to display inside a php sidebar widget

    public static function entryAction( $atts, $entry ) {
    
    // 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' => 
    

    $entry->getSlug(), ‘text’ =>
    __( ‘Edit Entry’, ‘connections_form’ ), ‘return’ => FALSE ) );
    }
    }

    Also from my forum readings and one of your other posts, users will be able to submit multiple profiles (but only be able to edit the one based on their email address). Did i understand this correctly? Is there any way to use form and link and not allow multiple entries?

    thanks again

    dominic

    in reply to: Add website and email to Social Icons #313300
    DOMINIC
    Participant

    Email format worked great, managed to move it under the social icons in card.php and then added this to my custom css #cn-list span.social-media-block,#cn-list span.email-address-block,#cn-list span.email {
    display: inline;
    }

    thanks for the great support.

    dom

    • This reply was modified 11 years, 8 months ago by DOMINIC.
    DOMINIC
    Participant

    Hi I was playing around with connections for this new project. I have tried searching the forums for clear answers but do not seem to find any.

    So here goes.

    Ideally, I would like to have

    1. custom text fields that are searchable
    2. Custom fields that can be user inputted via the form extension.

    If this is not possible my next option would be to:

    1. change the notes field name in form, and in profile displays to say skills.
    2. change the name of other searchable text fields in the form to say skills

    I installed the free extension (education level, languages) but even these to not seem to be searchable. (ie list people who speak french) did i miss a setting somewhere?

    I will likely use a cmap or market templates.

    • where would custom fields be shown here.
    • Can the notes part be open by default?

    I think that is all for now

    thanks for great plugin.

    dom

Viewing 10 posts - 41 through 50 (of 51 total)