Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

wpForo 1.x.x [Closed] How to add Extra Text in "post topic" or "reply" box???

9 Posts
3 Users
0 Reactions
3,030 Views
Posts: 4
Topic starter
(@doktorek)
Active Member
Joined: 5 years ago

I would like to add a note for the users before they can post a topic or reply. Some simple directions.  

What file can I edit (i guess on the server) to add that extra text.  I included a screenshot where I want the text. I just dont knwo what file on the server has edit for that. 

https://prnt.sc/uc3s9v

https://prnt.sc/uc3sil

8 Replies
Alvina
Posts: 1861
Moderator
(@alvina)
Member
Joined: 6 years ago

Hi @doktorek,

Sorry for the late response.

If you have something important to say on the front page, you can use the "Admin Note".

The option is located in the Dashboard > Forums > Settings > Misk admin page.

Also, I'll suggest you check the wpForo – Topics Custom Fields addon. The add-on allows you to add and manage custom fields in your forum topics.

More info here: https://gvectors.com/product/wpforo-topic-custom-fields/

Posts: 4
Topic starter
(@doktorek)
Active Member
Joined: 5 years ago

I don't want admin announcement. I just want to add a special note on usage on links and images. People are dumb and we have to put things in their face. I don't want any extra fields.  What file edits those 2 places?

1 Reply
Alvina
Moderator
(@alvina)
Joined: 6 years ago

Member
Posts: 1861

@doktorek,

What file edits those 2 places?

We're really sorry but there is no way to do it via editing file.

However, I'll just ask developers if they can provide any other solution for you. Please wait a bit. I'll update the topic once I get some news for you.

Posts: 4
Topic starter
(@doktorek)
Active Member
Joined: 5 years ago

Any update?

1 Reply
Alvina
Moderator
(@alvina)
Joined: 6 years ago

Member
Posts: 1861

@doktorek,

Please use the following hook:

add_filter('wpforo_reply_form_head', function($t){
$t .= "
" . 'You text here.';
return $t;
});
add_action('wpforo_reply_form_extra_after', function (){
echo "
" . 'You text here.';
});

Please bote the red marked text can be changed.

The hook should be added in the current active theme functions.php file.

Posts: 4
Topic starter
(@doktorek)
Active Member
Joined: 5 years ago

Hi.Thanks. 

1st. This is for reply box only. What about NEW TOPIC box?

2nd. Also, 1st line you gave me puts it in LARGE CAPS next to  "Leave a REPLY"  text.  I want it below the topic box. Or maybe above attachment box.   Is that possible? 

1 Reply
Alvina
Moderator
(@alvina)
Joined: 6 years ago

Member
Posts: 1861

@doktorek,

We are sorry, but we can't provide other solutions. The above-mentioned method is the final option that we can provide.

Page 1 / 2