Hello evrybody! Plese help me! I have to change “reply” button in header of user message in the forum.
I need to use this button for copy user nickname and paste it to textarea of answer(comments) with comma. Like this:
This is my reply to you. Thank you for reading this!
How can I do this? Thank you in advance!
That’s some custom development work right there.
Beyond free support.
Maybe somebody did it before to their forum, because it is 100% needed button for all forums.
i can name two forums on the top of my head that has achieved this exact feature, but the developers have not shared how to do it (or at least i havent found it in the forums).
so yeah its all up to some custom development , either you go hack some quote plugins like bbpress direct quotes and gd bbpress tools or you hire a developer to create something for you.
I have seen a lot of forums whith this feature too, but it wasn
t bbPress. I even dont know where should I change a code, I cant find this function template. I think that I could write a code for the feature by myself, but I need to find the template.php.
If I have understood you correctly you want to change the reply form you’ll be looking at
wp-content/plugins/bbpress/templates/default/bbpress/form-reply.php which sets up the forum and on line 57 calls
this function is in
you’d probably want to write a filter fro that function
if you’re familiar with wordpress args parsing, bbpress does it in the same way
apply_filter (‘xx’ , ‘bbp_before_get_the_content_parse_args’)
and then write a function xx that adds you initial text to $args[‘before’] should do it
Don’t; have time to write and test it at the mo, but come back if you need further help
- You must be logged in to reply to this topic.