Oops !
i’m customize the buddypress template files in bp-legacy folder in buddypress plugin directory.
Don’t that, as at next BP update your work will be overridden.
Message URL’s are built dynamically. So you can’t fetch them diretly from within the template. You need a custom function to do that and use it from your theme’s functions.php.
Read in file bp-messages/bp-messages-classes.php
Read this topic for some inspiration.
Hi Dandp,
Thanks for your reply.
OH is it? if i customize template file then will update version overridden.! okay i understand your words.!
finally get URL value. i want message thread id from URL.
Just using simple keyword ( bp_get_thread_id(); )
this function get current URL thread id in Buddypress.
-Laxmanvel