Problems with LDAP and Drupal - drupal

EDIT
(But please read it all if you really wanna help :) )
Since I'm able to view all the profiles with the correct LDAP data (it's fetched when asked for, but never stored), an possible, albeit hackish solution, would be to display all the profiles as a table. Does anyone have an idea how that might be done ? Google hasn't help, understandably since most people never need to use such a feature.
EDIT
I've successfully used the LDAP Integration module to use LDAP authentication with Drupal. Now I'm trying to create an address book with information from LDAP. I've tried the following solution:
Changed the ldap_data.module, the part that states which fields can be mapped between ldap and drupal (e.g. mail => mail). This fails when I try to add more mappings. I believe this maps to the "users" table in drupal, but when I try to add a field to that table and map a LDAP attribute to it, nothing goes into the database. My plan was to then use Table Wizard with views to create the address book. Using Table Wizard and Views I was able to extract everything I wanted from the users table, but the problem of entering data into the table is still not solved.
If you have any ideas, any at all, I'd really appreciate it. I'm a beginner in drupal and LDAP altogether btw. I've already tried to google this to death over the last few days but nothing has helped me solve this problem.
The answer below helped me understand why this didn't work, but the problem is still unsolved.

The LDAP Data module is not intended to work with fields arbitrarily added to the users table. Instead, it works in conjunction with the core Profiles module and can map to its fields.

Related

WordPress - Contact Form 7 fields save to a different database

I know that there will be a database to be created at the initial configuration of CF7. I am wondering whether or not I can use a different database of my own (not the wordpress' database) in PHPMyAdmin, and is there an existing tutorial to do so?
Thank you.
That could have some serious unintended consequences. You'd be better off putting a hook in your submission to ALSO add the data to some other database.
The reason is that plugins are quite integrated and there are many things that it tracks at once including things related to the user who submits the form. If you orphan some of those records, it might be difficult to reconstruct things, build reports, and do other sorts of maintenance later.

Can you revert back to using Username in DNN 7.3.4 module permission grid?

In DNN 7.3.4 when adding a user individually to the module permissions grid you can only add them by the user's Display Name now. This used to be done by Username. It looks like it changed between DNN 7.0.2 and DNN 7.3.4. This new way is useless if you have thousands of users and many of them have Display Names that are not unique. How are you to identify which John Smith you are looking for without the Username? Please tell me there is a setting somewhere to change this back to Username but I have not been able to find one. If so, please tell me where it is at or what I am missing.
Thanks!
Personally I would never recommend that you provide User based permissions for pages or modules. You should do everything with Roles.

Amazon API Integration

New to this site and the biz. I am trying to incorporate the Amazon API into my Wordpress site. When an ISBN # is typed into search box product info from Amazon database is populated. When I copy and paste an ISBN# from another source the search does not perform. Any suggestions appreciated.
Thanks
This isn't an AWS question and is probably more a jQuery/javascript question. Your database lookup is probably using jQuery .change() event listener to perform the query when the search box is changed. This doesn't work very well for direct pastes, and a solution for that can be found here:
stackoverflow: Catch paste input
However if you're using a pre-build wordpress site, chances are you have no direct control over how the search system works, in which case you either need to use something different or contact the original developer to ask for a fix.

Can drupal do this?

I am a php developer using mostly CakePHP, magento, and wordpress. I want to create a community driven website aimed at the volunteering community that will let users sign up, create profiles, add previous voluntary positions, let organisations sign up and post jobs, etc. Is this something that drupal can handle? Is this what drupal was built to do?
I'm just wondering how drupal deals with custom methods. Say I wanted to have a user request a reference from someone, I'd have to write methods that did this. Would that be possible in drupal?
I'd love to hear from anyone doing something similar!
Thanks,
Jonesy
Can Drupal do this?
Yes.
You may want to take a look at drupal commons a distribution of drupal with a lot of community features built in.
My answer is exactly the same as Jeremy... I have never done a project that has not benefited from drupal and its highly extendible nature.
It sounds like your project is quite large and is going to require a fair few modules to get going. I would have an extensive google for the different spec points you need to meet (for example: "drupal user profile module") and be sure to look at the related modules down the side.
I'm just wondering how drupal deals
with custom methods. Say I wanted to
have a user request a reference from
someone, I'd have to write methods
that did this. Would that be possible
in drupal?in drupal?
Drupal provides hooks which allow you to interact with most aspects of it. Custom functionality goes into modules and pretty much everything you will deal with is a module.
Lastly I can't find any examples, but I know that projects like yours have successfully been done using drupal!
Yes.
And If you are going to use the drupal 7 then it can be done very easily. You just have to manage some fields and just to assign a proper permissions to the users.
These tasks can be done with drupal. There are already module exists for User Profile, User Relationships, Groups etc. All post can be handled as node concept. User registration, user sign up all are available at the installation of Drupal. And it is extensible.
Thanks
-Rinku

Need to submit the register info in eloqua from Drupal

Need to post the registration info to eloqua too.
I am using Drupal 6.14
I didn't ask the original question, but I might be able to shed a little more light. I am a consultant, and I work at Eloqua.
Eloqua is a marketing automation database. Having the registrations flow from Drupal into Eloqua would allow things like moving that info over into a CRM system, or sending a follow up email with the registration details.
Our clients have integrated with other CMS systems.
Now, in terms of the registrations, there are a couple of ways Eloqua could receive that data. Perhaps the simplest way would be through some sort of form repost, IF that is allowed in Drupal. So, someone would register, that data would enter Drupal, and then be reposted into Eloqua. It looks like people (including the initial poster) have been able to make this work succesfully on regular forms The other way would be to utilize Eloqua's API. This would require someone to build out a module that would facilitate that.

Resources