By akbonker on
Ok,
so ive been looking for a module that has already been done without much success (hopefully there is one). I'm basically trying to get something so that on my social networking site, users can create a list of hobbies and/or interests. Upon hovering or clicking a particular entry, a profile list would appear showing other users and/or friends with the same entry or similar entries.
Has this been done before? Ive found some similar projects that i might be able to adjust into what i need but nothing more.
Thanks in advance!
Comments
Ive also been looking into
Ive also been looking into other social networking platforms other than drupal (ie elgg). Perhaps drupal isn't the best platform to use for this particular module?
.
You can do that with taxonomy. You can see it in use right here on drupal.org if you look at peoples' profiles.
Michelle
--------------------------------------
See my Drupal articles and tutorials or come check out life in the Coulee Region.
_
There's probably not a module for this, because a rudimentary version is built into core. Add a 'free form' list field to the core profile called "Hobbies", make it a public field, and enter a value into the "Page title" field (i used Hobbies). Now whenever people put items into this list it will automatically become a link to a page listing of other users with the same item.
===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz
awsome. thanks for the quick
awesome. thanks for the quick replies, gonna test it out
How can I show this list of
How can I show this list of users in a block?
Thanks
_
You'd have to use the views module.
I have created a view, but am
I have created a view, but am unable to provide a filter, which will list the users who would have selected the same item in the select box.
If i provide a filter for 'current user', I see only the current user listed, if I don't provide this filter, I see all the users who would have used the field to select any one item from the select box.
Could you point me to the filter, which I could use to show only the users who would have selected the same item for the select box.
Or I may be completely on the wrong path, could you suggest how should I go about creating this block using views.
Thanks.
_
I think you need to use an argument, not a filter. Setup the block the way you want, then add an argument for the profile field you're interested in matching. In the argument config dialog, select "provide default argument" and "php code" and use something like:
Obviously, replace the 'yourfield' with whatever the name of the profile field is.