Private Messages with BP Better Messages
Quote from wordplus on January 31, 2021, 5:02 pmHi there!
Im developer of BP Better Messages.
https://wordpress.org/plugins/bp-better-messages/I found this great plugin and decided to integrate my plugin to this one to implement private messages in this forum plugin.
It will also show button to write private message in another user profile:
And simple link in thread views:
Hope you will like it!
Thanks!
Hi there!
Im developer of BP Better Messages.
I found this great plugin and decided to integrate my plugin to this one to implement private messages in this forum plugin.
It will also show button to write private message in another user profile:
And simple link in thread views:
Hope you will like it!
Thanks!
Quote from Asgaros on February 17, 2021, 9:38 amNice addition! Something a lot of users have asked for. 🙂
Nice addition! Something a lot of users have asked for. 🙂
Quote from wordplus on February 17, 2021, 11:00 amQuote from Asgaros on February 17, 2021, 9:38 amNice addition! Something a lot of users have asked for. 🙂
Hi there!
Would be much appreciated if you can add abit more hooks in some of future updates.
My integration is abit hacky at the moment, wish to make it more legit, if possible.Thanks!
Quote from Asgaros on February 17, 2021, 9:38 amNice addition! Something a lot of users have asked for. 🙂
Hi there!
Would be much appreciated if you can add abit more hooks in some of future updates.
My integration is abit hacky at the moment, wish to make it more legit, if possible.
Thanks!
Quote from Biker on February 17, 2021, 11:24 amIt is a pity that this plugin does not contain a German language file.
It is a pity that this plugin does not contain a German language file.
Only a biker knows why a dog sticks its head out a car window.
Quote from wordplus on February 17, 2021, 11:27 amQuote from Biker on February 17, 2021, 11:24 amIt is a pity that this plugin does not contain a German language file.
Hi there!
You can translate with Loco Translate or translate it here:
https://translate.wordpress.org/locale/de/default/wp-plugins/bp-better-messages/Thanks!
Quote from Biker on February 17, 2021, 11:24 amIt is a pity that this plugin does not contain a German language file.
Hi there!
You can translate with Loco Translate or translate it here:
https://translate.wordpress.org/locale/de/default/wp-plugins/bp-better-messages/
Thanks!
Quote from Asgaros on February 17, 2021, 1:22 pmHello @wordplus
Can you let me know which additional hooks you need? I am always happy to add additional ones to the core of the plugin! 🙂
Hello @wordplus
Can you let me know which additional hooks you need? I am always happy to add additional ones to the core of the plugin! 🙂
Quote from Biker on February 17, 2021, 5:57 pmQuote from wordplus on February 17, 2021, 11:27 amQuote from Biker on February 17, 2021, 11:24 amIt is a pity that this plugin does not contain a German language file.
Hi there!
You can translate with Loco Translate or translate it here:
https://translate.wordpress.org/locale/de/default/wp-plugins/bp-better-messages/Thanks!
Got a lot of it done.
Unfortunately, I didn’t know everything.
Quote from wordplus on February 17, 2021, 11:27 amQuote from Biker on February 17, 2021, 11:24 amIt is a pity that this plugin does not contain a German language file.
Hi there!
You can translate with Loco Translate or translate it here:
https://translate.wordpress.org/locale/de/default/wp-plugins/bp-better-messages/Thanks!
Got a lot of it done.
Unfortunately, I didn’t know everything.
Only a biker knows why a dog sticks its head out a car window.
Quote from wordplus on February 21, 2021, 11:16 am@asgaros
In this file:
wp-content/plugins/asgaros-forum/includes/forum.phpfunction forum() { ... }Custom plugin developers like me need add_filter function for error, before this part of code is executed:
if (!empty($this->error)) { echo '<div class="error">'.$this->error.'</div>'; } else {Also to hook into nicely to the forum template, we need hook into this switch, so we can hook into layout natively:
switch ($this->current_view) { case 'search': $this->search->show_search_results(); break; case 'subscriptions': $this->notifications->show_subscription_overview(); break; case 'movetopic': $this->showMoveTopic(); break; case 'forum': $this->show_forum(); break; case 'topic': $this->showTopic(); break; case 'addtopic': case 'addpost': case 'editpost': $this->editor->showEditor($this->current_view); break; case 'profile': $this->profile->showProfile(); break; case 'history': $this->profile->show_history(); break; case 'members': $this->memberslist->show_memberslist(); break; case 'activity': $this->activity->show_activity(); break; case 'unread': $this->unread->show_unread_topics(); break; case 'unapproved': $this->approval->show_unapproved_topics(); break; case 'reports': $this->reports->show_reports(); break; default: $this->overview(); break; }If you can add hooks in this 2 places, would be perfect!
Thanks!
In this file:
wp-content/plugins/asgaros-forum/includes/forum.php
function forum() { ... }
Custom plugin developers like me need add_filter function for error, before this part of code is executed:
if (!empty($this->error)) { echo '<div class="error">'.$this->error.'</div>'; } else {
Also to hook into nicely to the forum template, we need hook into this switch, so we can hook into layout natively:
switch ($this->current_view) { case 'search': $this->search->show_search_results(); break; case 'subscriptions': $this->notifications->show_subscription_overview(); break; case 'movetopic': $this->showMoveTopic(); break; case 'forum': $this->show_forum(); break; case 'topic': $this->showTopic(); break; case 'addtopic': case 'addpost': case 'editpost': $this->editor->showEditor($this->current_view); break; case 'profile': $this->profile->showProfile(); break; case 'history': $this->profile->show_history(); break; case 'members': $this->memberslist->show_memberslist(); break; case 'activity': $this->activity->show_activity(); break; case 'unread': $this->unread->show_unread_topics(); break; case 'unapproved': $this->approval->show_unapproved_topics(); break; case 'reports': $this->reports->show_reports(); break; default: $this->overview(); break; }
If you can add hooks in this 2 places, would be perfect!
Thanks!
Quote from Asgaros on February 22, 2021, 2:51 amHello @wordplus
I added a filter for the error-message which will be available with the upcoming update:
https://github.com/Asgaros/asgaros-forum/commit/e82f583f4cf93b51a38bf38e7e1ea76208895faa
Filter for views will be added later – feel free to add one in a PR in the meantime if its urgent. 🙂
Hello @wordplus
I added a filter for the error-message which will be available with the upcoming update:
https://github.com/Asgaros/asgaros-forum/commit/e82f583f4cf93b51a38bf38e7e1ea76208895faa
Filter for views will be added later – feel free to add one in a PR in the meantime if its urgent. 🙂