Post Field on Friends Pages
-
So basically I’ve come up with a very simple way for users to post on other users ‘walls’ without needed to go all the way back to their profile to do the @mention thing.
It’s nothing spectacular right now because it’s still using @mention I just need some help with it.
So what I have now is when you go to a friend or another users page, it’s displaying the “whats new” form with predefined text of
@<?php bp_displayed_user_username() ?>
This way when a user wants to post something to another user they can just simply go to their page, and type it there.
The MAIN issue I would like to solve is this:
What if a user goes to the page, and deletes the predefined text (the @username)? Is there anyway I can hide the @username from the user, so that when they go to post int he form, they just see a textarea and they post what they want to say, and then when they press submit the hidden @username will be added to the front of their post?
Thank you.
- The topic ‘Post Field on Friends Pages’ is closed to new replies.