Hi Massimo,
Thanks for providing the advices. I've downloaded the plugin, and trying it
out.
When i tried to call on the plugin_social, i got a ticket.
There is a mention in the /models/plugin_social/plugin_social.py
"""
To use this plugin you need a database called db, you need auth
"""
File "../kdc2013/models/plugin_social/plugin_social.py", line 33, in
plugin_social_search
u = db.auth_user
I thought that I have auth already since i have been able to login, and use
ldap or local registered username, and password. Is there an example of
what that db needs to look like? Thanks.
Massimo Di Pierro於 2013年4月21日星期日UTC+8上午1時31分20秒寫道:
>
> Could this be useful?
>
> https://github.com/rochacbruno/plugin_social
>
> On Saturday, 20 April 2013 03:38:21 UTC-5, [email protected] wrote:
>>
>> Hi all,
>>
>> I want to build a collaboration site for my department. We have some guys
>> working on some prototypes, and each of these prototypes is owned by a lead
>> engineer. This person can pull in other colleagues with the same interests
>> across the company to work on it.
>>
>> I hope to get the autocomplete capability, but i don't know how to hack
>> it so that it can query the ldap first, and put that back to the user
>> database for autocomplete to suggest the possibles names.
>>
>> To take this one step further - if the lead engineer now wants to get
>> suggestions by typing emails... How may I include 2 fields (name or email
>> for autocomplete)?
>>
>> I also want validation base on only emails, or names returned by ldap.
>>
>> I found a tag list receipe online, which i think it is quite good to
>> display the selected suggestion.
>>
>> Did you worked on something list this before? or you may know that there
>> is a widget, receipes, or slides that did something similar? I am not able
>> to visualize and put all the above bits, and pieces together. Hope you may
>> share some guidance.
>>
>> many thanks.
>>
>
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.