Forum Replies Created
-
AuthorPosts
-
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'] ) {toif ( is_user_logged_in() ) {Now only logged in users will see the org/department field.
Good luck.
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?
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 thecard.phpandcard-single.phpfiles.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
Steven Zahm
Keymaster@ Vijay
It is the same folder as the photos:
../wp-content/uploads/connections-images/Hope that helps!
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!
Steven Zahm
KeymasterDuplicate of https://connections-pro.com/support/topic/make-department-private/, closing.
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!
Steven Zahm
Keymaster@ Bogdan
Sorry, but I do not have any advice.
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!
-
AuthorPosts
