Corrections and questions for “Advanced Profile” tutorial

Walt Esquivel - January 24, 2008 - 06:10
Project:Advanced Profile Kit
Version:5.x-1.0-alpha4
Component:Documentation
Category:support request
Priority:minor
Assigned:Unassigned
Status:closed
Description

For the Advanced Profile tutorial, I have a few comments and questions.

Under “Anonymous role:”
- You have “view userpoints” listed twice

Under “Authenticated user role:”
- For “use userpoints”, when I go to there, “use userpoints” does not exist, only “view userpoints” and “admin userpoints”. Did you mean “admin userpoints”?
- I don't see “create new folder”
- You have “use userpoints” listed twice

Under “Admin role (you need to create this if you don't have one already):”
- Why must I create an “admin” role”? Is it necessary for some reason I'm not aware of? I understand that's a good practice for a production web site, but I believe that for my test web site, I can simply use user1 and not bother with creating an "admin role", correct? (Since I believe this is "yes", I didn't bother to check the bullets listed under this role.)

#1

Michelle - January 24, 2008 - 16:08
Status:active» fixed

Thanks for the corrections. The doubled up stuff must have been a bad paste. The "create new folder" is part of privatemsg. The "use userpoints" must have been taken out of the module since I don't see it there anymore.

I clarified the admin role part. I didn't mean to say you had to have that role. I meant that it doesn't come with Drupal and you need to create it if you want one. Otherwise I was afraid I'd get issues stating that they couldn't find the admin role. :)

Thanks,

Michelle

#2

bwv - January 24, 2008 - 16:12

I believe there is a module called userpoints_contrib (or something along those lines) that must be activated in order to be able to give userpoints to other users.

#3

bwv - January 24, 2008 - 16:28

I was just perusing the tutorial as well, and came upon this line in para number 3:

[Note: currently only bio works and you need to follow this issue to make it work.]

Please correct me if I am mistaken, but has that issue since been resolved with the latest release of the bio module?

Thanks for any clarification.

#4

Michelle - January 24, 2008 - 18:35

I don't think I had userpoints_contrib enabled but I can't swear to it. At any rate, it's off the docs.

As to the bio note, yeah, I started working on the docs and then got pulled away, so they're out of date. Walt's changes were quick and easy so I did those but the docs need a pretty big overhaul.

Michelle

#5

Anonymous (not verified) - February 7, 2008 - 18:44
Status:fixed» closed

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

#6

apero - May 3, 2008 - 01:43
Status:closed» active

In the tutorial, I read that buddylist needs usernode to work, but I don't see instructions for using usernode with advance profiles. Sorry for this question if it's obvious. But do you use usernode WITH bio, core profile, or nodeprofile, or INSTEAD of those options? I've been looking for weeks and can't figure it out.

Tony

#7

Michelle - May 3, 2008 - 01:54
Status:active» fixed

Usernode is just there to make the buddylist view work. It has nothing to do with what module you use to connect users with profile data, so you can use it with any of them.

Michelle

#8

apero - May 3, 2008 - 14:53

So, all i have to do is install it? And buddy list will work? That seems almost too simple for drupal :)

Thanks,
Tony

#9

Michelle - May 3, 2008 - 15:40

Yes. You don't need to do anything special with usernode. It just sits there in the background making nodes for users as a liasion for views.

Michelle

#10

apero - May 3, 2008 - 22:16

Ok, I installed everything, and user node is up, and I see buddies in the buddylist view, and I added it to my profile, but no buddies show up in my profile: http://www.worshipnexus.org/devel/user/anthony_pero

Any ideas on how I can proceed from here? I realize this is probably not in the right part of this issue cue. But if I get it working, I'll add documentation on the process myself for other users.

Tony

#11

Michelle - May 3, 2008 - 22:26
Status:fixed» active (needs more info)

You say you see buddies in the view but I don't see anything at http://www.worshipnexus.org/devel/buddies-of-uid/2 except an ad. It looks like the view isn't finding anything. Or possibly it's missing the .tpl. Did you remember to copy that over?

Michelle

#12

apero - May 3, 2008 - 22:57

I copied over the .tpl to the main directory of my theme. Is this the correct location? When I CAN see my buddies, it's by clicking the link in my navigation block. It takes me to http://www.worshipnexus.org/devel/buddylist and shows me my one crash test buddy.

Is this a pathauto setting and I've somehow screwed up the view?

Tony

#13

apero - May 3, 2008 - 23:51
Status:active (needs more info)» closed

Hah! I figured it out! For some reason the .tpl file didn't have a php extension on it. Once I added it, everything started working correctly. Hmm... I wonder how that happened, and if it comes in the download that way?

Tony

#14

Michelle - May 3, 2008 - 23:56

Ah, that's one of the problems with using the dev version. I have no way of knowing _which_ dev version you're using. That goof was fixed 3 days ago and I didn't even think of it. Glad you figured it out.

Michelle

#15

pjek - June 29, 2008 - 02:15
Version:5.x-1.x-dev» 5.x-1.0-alpha4

Michelle, Sorry for opening this up again,but the download ink on the advanced profile kit project page still inks to a tarball containing the .tpl file without the .php extension. I just updated my advanced profile and did not see my buddy list, searching for a solution brought me to this thread and read the solution, looked for it on my server and yes there it was without the .php extension!!! added the .php extension and problem solved.

#16

Michelle - June 29, 2008 - 03:01

Of course it does. Alpha 4 is older than the dev version that fixed it.

Michelle

#17

pjek - June 30, 2008 - 19:02

Sorry for the unneeded hysteria, must have been a dead give away that I am a drupal CVS rookie, thanks for helping meprevent htis kind of blopper in the future, your Module is GREAT!!

#18

Michelle - June 30, 2008 - 19:19

Actually, it was just as well. I'd fixed it so long ago that I had forgotton it wasn't in the alpha and your reminder made me realize that was likely the problem people were having on another issue. So my apologies for being short with you.

Michelle

 
 

Drupal is a registered trademark of Dries Buytaert.