Hi,
Everything workes fine when using the default profile page, but what to do if i want to have my own profilepage using views, chaos tools etc
Is there any possibilty to make this work?

Best regards

Comments

useme’s picture

Assigned: useme » Unassigned
useme’s picture

Status: Active » Closed (fixed)
Bobuido’s picture

Title: Fivestar extra with profilepage » Fivestar extra with custom profile page
Status: Closed (fixed) » Active

I'm trying to achieve the same thing - Would love a solution please

I'm using panels and views to override the default user page - Not having much luck

Would accept a workaround - Was thinking about getting it to rate an associated content profile node...

calefilm’s picture

I'm at this point now as well... it's July... any of you have any success with this additional page yet? Is it possible to apply the rating widget to a custom profile page instead of the default user profile page?

I had assumed it was easily doable... because I wanted to leave user ratings specifically for mysite.com/profile/user

Thanks

Tafa’s picture

has anyone managed to do it? I am using Advanced Profile Kit and I can't think of a way to do it. Any help would be more than appreciated.
Thanks
T

Q2U’s picture

Subscribing

Tafa’s picture

Okay, I got it to work in some ways and it worked for me:

1- Create a new content type called "Rate me" or whatever you feel like
2- Enable Five Star in edit mode
3- Save
4- Create a new node and rate it
5- Go to Views, create a new view of a type 'node'
6- Select row style "node" + filters "node type= your content type "Rate me" + Arguments= UID
7- Save that view as in "View of Rated user"
8- Go to APK, Edit the content of your APK page and select the View you just saved
Result:
It brings up a view of the rated node according to the user being viewed. So, if you are seeing Jane's profile, the rating will be associated to Jane's profile. Likewise, you will be able to rate the node and your saving will be taken into account as well.
Note that you may vote many ways but I think you can restrict this according to perms and Five Star settings.
Hope that helps.
Thanks
T

Tafa’s picture

Status: Active » Fixed

Setting to fixed then

yosisays’s picture

There's got to be an easier way to do this. I got stuck on Arguments= UID , how do you configure this part?

Tafa’s picture

Arguments=UID is basically an option you select to indicate where drupal should be looking for the name of a user in the URL.
So, if your website URL is www.example.com and your the URL of user A is www.example.com/user_A
then, the Argument will be /%1 in the Title entry box. Make sure to set the "Action to take if argument is not present" to "User ID from URL"
If you find another easier way to achieve this, please let me know as I, too, would enjoy implement it.
Thanks
T

yosisays’s picture

I think I got it to work however I have a few questions about this method. It seems to only show up on my (user1) profile page however I am creating a community site and wish to have this show up on all user profiles. Second, Along with the 5 star rating widget this method forces the inclusion of whatever comes with a node including the user/node creator picture, the node creation date and time, along with the "submitted by" text. How would i go about removing the unwanted elements?

Tafa’s picture

For pojnt #1, try with a non-admin user profile (i.e. log out as a user 1 and create a new account to see if the argument is picked up correctly).
For point #2, go into yoursite.com/admin/yourcurrenttheme/ and go to configure. Uncheck the content type you do not want the submitted by text to be displayed on.
Thanks
T

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

rhadyt’s picture

lolololo

sbydrupal’s picture

#7 will not work if you want to create a view of users and try to sort users based on "Most Voted" for instance as the voting will be stored for the "Rate me" node type all together as opposed to individual users...

Please let me know if I am wrong. Is there any solution for rating user profile with advanced profile kit with fivestar module, and then
use the ratings in a separate view to list the users and sort them by most viewed, most voted, etc...

Thx

alexmoreno’s picture

create your own tpl.php and add this code:

	echo drupal_get_form('fivestarextra_form_comment_'. $comment->cid, 'comment', $comment->cid);
calefilm’s picture

sbydrupal. You will have to get into Views relationships I believe to really mess with your options. Relationships is tricky at first but once you get the hang of it it can be powerful. Start with Relationship, Node: Content Profile. Then, select the profile type you aim to use to create the view of your certain users.

I have gotten in the habit of using the Node Reference URL module. This is very handy in creating dynamic content types. If I were all of you, I'd suggest applying the Node Reference module to all of your ratings situations. Once you get the hang of creating one content type and referencing all other content types to this rating content type, the sky's the limit. But it all starts with the Node Reference module. THEN... when you mess with Relationships, you can apply relationships between your Rating content type and your users.

In my case, I have not applied the ratings directly on the user profile but in a separate tab using Panels. So my case is a little different. But I can say I've gotten great use out of those three features, Node Reference, Relationships and Panels.

For most voted, in this case, I think I'd be able to apply Node Reference Count. Without Node Reference, you might be able to get away with Node Count maybe?