I have managed to place node form on user profile page without content_profile.module and pull data from views by placing a block right below the node form. What I have in mind is mimicking facebook wall without any buddylist/ user_relationships restriction yet. That is every node displayed in the block is only those created right in the per user profile page no matter who created them, perhaps anybody when visits the profile page. And the node created is only displayed there (where the form resides), and not on the author profile page himself.

Will that be possible with views? Sorry if this sound silly, just throw me the light ok:) Thanks

CommentFileSizeAuthor
#6 views-wall.jpg90.58 KBgausarts

Comments

merlinofchaos’s picture

It might be possible in Views; it depends upon what data you're using to place the data into the profile page. If that data is available to Views as an argument, then you should be able to do it with an embedded view and a little custom code in the default argument.

I can't give anything more specific without knowing more about what you're doing, but if you've accomplished all that this might be enough for you to go on!

gausarts’s picture

Actually I have a big problem with that little custom code in the default argument:)

Here's what I have done this far:
I create a board content type, and also a note type. Generating the content by devel. Displaying each node form inside user_profile.tpl using tabs and right under each form I place views block that pull some fields such as picture, date, username, title, node view link, comment count, and edit link. I also tried to manually create a node on another user page.

Now my problem is how to filter or argument so I can display the created nodes only for the user where the node form resides. That is when user A comes and creates a board on user B node form, the node must be displayed on user B profile and never on on user A, the author. I have tried several options from argument default value to no luck. What happened now is that the created node is just displayed on the author profile (user A) page.

Thanks for the reply.

gausarts’s picture

Any help with the little custom code in the default argument so I can display the created nodes only for the user where the node form resides? I would be very grateful to any help. Thanks as always.

sun’s picture

Status: Active » Closed (won't fix)

Sorry, this support request is way too specific. Please have a look at the issue queue - Views maintainers are buried already.

Also, this sounds more a like feature request for Guestbook module.

greg.harvey’s picture

Glad I found this. I've been giving it some thought and it feels like a module that extends the node object with a $node->recipient (which is just the $user->uid of the user the content is aimed at - the "wall" owner, if you like) and supplies a Views argument to allow the Views module to only show nodes for a specific $node->recipient.

I don't think it would take much. Obviously there'd need to be a little form-based magic to auto-populate the recipient field (probably just data and use an argument on the node/add page, e.g. node/add/wall-post/%uid and the value of %uid goes in to $node->recipient).

I might take a shot at this next week. If I do, I'll post back. Unless someone knows of something elsewhere already achieving this?

gausarts’s picture

StatusFileSize
new90.58 KB

Me glad too, that finally somebody else interested with this. I am even more encouraged seeing that flag now is getting matured along with rules. All thing's fine so far with me. I just need a little more elaboration to allow commenting right on the wall:)

rajarju’s picture

Hi guys..
to heat up the discussion..
One of the things that i was wondering about was expanding the wall. Like instead of adding pagination add a More link at the bottom of the page that will show previous entries on the wall

i think views can again be used here. Only that we should write the view manually

Any idea about if the current facebook-style status module can be used.. ?

rajarju’s picture

Or for a simple fb wall .. can this be done ?
While using content profile
enable comments on content profile
Alter the comment form if it is for content profile and make it look like a wall post form
Add Ajax module and make the comments get posted quickly

this should atlest look like an fb wall.

But this will not allow to comment on Wall posts.
I think for that each of the wall posts should be stored as a node.
+ like module + Comments
Would require a lil bit of custom coding and theming though

wat say ?