BBPress Steven Zahm : Replies Created

Forum Replies Created

Viewing 10 posts - 3,781 through 3,790 (of 15,332 total)
  • Author
    Posts
  • in reply to: Make "Department" private #416272
    Steven Zahm
    Keymaster

    @ Vijay

    re: How do I check if the user is logged in?

    It is a core WordPress function is_user_logged_in()

    re: Is there a code snippet or tag I can look at in card.php?

    Change if ( $atts['show_org'] || $atts['show_dept'] ) { to if ( is_user_logged_in() ) {

    Now only logged in users will see the org/department field.

    Good luck.

    in reply to: Logos directory #416262
    Steven Zahm
    Keymaster

    @ Vijay

    re; If I deactivate “restrict” plugin then it is allowing me to upload. I can upload all other Media files fine. I do have the Pro version of Connections. Any ideas?

    Yes, the restrict plugin is blocking uploads for Connections. Seems like it is doing its job, I suppose. What exact “restrict” plugin are you using?

    in reply to: Make "Department" private #416259
    Steven Zahm
    Keymaster

    @ Vijay

    There is no private filter for the department field. Just wrap the $entry->getOrgUnitBlock() block of code in an if statement that checks is a user is logged in within the card.php and card-single.php files.

    in reply to: Nothing Showing on Directory Page #416240
    Steven Zahm
    Keymaster

    @ Sheila

    It’s impossible for me to tell you where to change this since I do not know where or how it was added.

    The only thing I can say is it can be found in the following file starting on line 156

    http://www.thisweekstjames.com/wp-content/themes/thisweek/style.css?ver=2.4.2

    in reply to: Logos directory #416213
    Steven Zahm
    Keymaster

    @ Vijay

    It is the same folder as the photos:

    ../wp-content/uploads/connections-images/

    Hope that helps!

    in reply to: Nothing Showing on Directory Page #416212
    Steven Zahm
    Keymaster

    @ Sheila

    Yep, that will tend to happen when CSS is used to force the directory to be hidden :)

    Please remove or alter the following CSS to allow the directory to display:

    .page.page-id-118 #cn-cmap #cn-list-body,
    .page.page-id-96 #cn-cmap #cn-list-body,
    .page.page-id-98 #cn-cmap #cn-list-body,
    .page.page-id-250 #cn-cmap #cn-list-body,
    .page.page-id-82 #cn-cmap #cn-list-body {
        display: none !important;
    }
    

    Hope that helps!

    in reply to: Need to hide Department and Contact fields #416209
    Steven Zahm
    Keymaster
    in reply to: Make "Department" private #416208
    Steven Zahm
    Keymaster

    @ Vijay

    I highly suggest reading the tutorial on how to make upgrade safe template override files.

    The files you want to edit will depend on the template you wish to edit.

    The included core templates can be found in this folder:

    ../wp-content/plugins/connections/templates/{template-folder}/

    Hope this helps!

    in reply to: How Can i add a plugin shortcode into a Connection #416206
    Steven Zahm
    Keymaster

    @ Bogdan

    Sorry, but I do not have any advice.

    in reply to: Adding new Entries to site #416204
    Steven Zahm
    Keymaster

    @ Glenna

    re: With the CSV importer and the link plugin, I just want to confirm that by using these all it does is add the individuals to the connections directory. It does not add them to the wordpress website.

    Correct.

    re: That has to be done manually?

    No, there are a couple plugins for bulk importing WP users. You could use the same CSV file to bulk import your directory entries as users.

    re: That has to be done manually?

    Correct.

    Hope I have answered you questions thoroughly!

Viewing 10 posts - 3,781 through 3,790 (of 15,332 total)