I presume Rkk has deleted.
my styles pack plugin has a shortcode
[Profile label=’This is the label’] will show
which will let you add that as a text box beneath the standard bbpress login.
bbp style pack
once installed and activated – go to
dashboard>settings>bbp style pack>shortcodes to find what the options are
try
#bbp-forum-9 li.bbp-forum-info a.bbp-forum-title:before {
font-family: FontAwesome;
content: '\f058';
color: #6190C3;
font-size: 30px;
}
Hello,
I’ve read ALL of the bbpress docs on here, and a few months ago i installed the RKK Login Widget as suggested here:
https://codex.bbpress.org/layout-and-functionality-examples-you-can-use/#3-adding-an-amend-profilepassword-to-the-login-widget
It seems the github gist where that plugin was hosted is now gone.
Is there any way to get this plugin still?
Thank you.
Thanks very much Stephen! It would be great if that table of emoticons could be included in the current forum GUI reply box. Even if it’s just a hover over a smiley image to show the complete list. Doesn’t need to be selectable, though that would be extra fancy.
Is there a list of other other functionality not listed in quicktags. ie embedding videos when a youtube link is used. Tagging a forum user within a post with @username. Or have I listed all the hidden user-sided magic off bbPress now 🙂
Apologies, I missed that one, bbPress uses the same smileys as WordPress
The full list can be found here: https://codex.wordpress.org/Using_Smilies
I currently am using this:
https://kristarella.blog/2013/04/bbpress-forum-icons/
But for speed and looks, I’m trying to use a “font awesome” icon for the forum icon.
My plan was to use some css for each forum, and then style the font icons individually.
I started off with this in stylesheet, but it’s not working:
ul#bbp-forum-9:before {
font-family: FontAwesome;
content: '\f058';
color: #6190C3;
font-size: 30px;
padding-right: 10px;
margin-left: -15px;
position: absolute;
left: -13px;
margin-top: 1px;
}
I’ve tried several variations with no luck.
Any suggestions on how to get this css to work properly?
Thanks for any tips.
Just wondering how the script makes the decision if I’m creating or editing a topic. Because I can’t give the $is_edit variable a value in the bbp_insert_reply and I give a excisting topic_id when insert a reply.. Well, maybe when I’ve more time I will look in to this and post the solution here if I find one. For now I will use your other solution.
Thanks for your help and thoughts Robin!
Try our docs, they are in English but cover most of what you are asking, I think 😉
Getting Started
is the code still in there – I can’t see it and you seem to have gone back to the original center alignment
this css should work
#bbpress-forums div.bbp-topic-content img, #bbpress-forums div.bbp-reply-content img {
max-width: 100%;
display: block;
margin-left: auto;
margin-right: auto;
}
presume your theme has a custom css area you can put this in ?
the quick and dirty solution is to get the topic IP before executing bbp_insert_reply and reset it afterwards
eg (untested)
$reply_data = array('post_parent'=>$post_parent, 'post_content' => $post_content);
$reply_meta = array('forum_id'=>$post_forum_id, 'topic_id' => $post_topic_id);
//get the topic IP so we can reset it later
$ip = get_post_meta( $topic_id, '_bbp_author_ip', false );
bbp_insert_reply($reply_data,$reply_meta);
//reset the topic IP
update_post_meta( $topic_id, '_bbp_author_ip', $ip, false );
I could spend a long time working out a more elegant fix, but hopefully the above will be enough !
ok, I know why it is doing it, I’ll do some digging to see how to get around
your function calls
bbp_insert_reply
this function is in
/includes/replies/functions.php starts line 29
This creates the reply, and then on line 64 it has
// Update the topic
$topic_id = bbp_get_reply_topic_id( $reply_id );
if ( !empty( $topic_id ) ) {
bbp_update_topic( $topic_id );
}
bbp_update_topic is held in
/includes/topics/functions.php starting line 818
has a check to see if you are creating or editing a topic.
if you are not editing a topic, it presumes that you are creating so starting line 884
// Update associated topic values if this is a new topic
if ( empty( $is_edit ) ) {
// Update poster IP if not editing
update_post_meta( $topic_id, '_bbp_author_ip', bbp_current_author_ip(), false );
since at that point your call via bbp_insert_reply and bbp_update_topic is NOT an edit, it assumes it is a new topic and updates with the current user IP as above.
let me think about easiest way to fix.
Hi,
I’ve created a custom module for bbpress to combine all new topics and replies in one overview. From there the moderator can comment on all the incoming messages. This works only i’ve one problem. To add a new reply i use the next code:
reply_data = array('post_parent'=>$post_parent, 'post_content' => $post_content);
$reply_meta = array('forum_id'=>$post_forum_id, 'topic_id' => $post_topic_id);
bbp_insert_reply($reply_data,$reply_meta);
When this is a reply on an other reply everything works fine. But when it is a reply on a new topic then the Topic starter ip-adres is changed to the ip-address of the moderator. I can turn some things off in the core function includes/topics/functions.php
// Update poster IP if not editing
update_post_meta( $topic_id, '_bbp_author_ip', bbp_current_author_ip(), false );
But that isn’t what I prefer of course.
Could someone help me out?
Thanks in advance.
Niels
Hi dear support,
we have installed your plugin on our website and apparently it’s not working properly.
If we use the shortcodes to place it on some page:
Forum TEST
It shows list of forums but once you try accessing some forum it shows empty page:
Muske Carape
Also, the default forum page is not working:
http://jadran.paprikart.rs/forums/
We already tried disabling all the plugins to rest assured that plugin conflict is not making some conflict there and it’s still not working.
WP version 4.9.1.
Can you please take a look at it and advise?
Thanks in advance!
I have looked there but couldn’t find what I was after. I was looking at once bbPress plugin is installed what functionality will it give within the actual editor window to users of the forum. Some things are listed in quicktags ie strong tags that bold words. But what about all the other things not listed in quicktags, emoticons etc. Surely there has to be a complete cheat sheet of what code gives what result.
Thanks for your time.
Try adding this to your custom css:
#bbpress-forums ul.bbp-lead-topic li.bbp-body div.topic {
background-color: #ffe;
border: 1px solid #dd6;
}
and this to your functions.php:
function custom_bbp_show_lead_topic( $show_lead ) {
$show_lead[] = 'true';
return $show_lead;
}
add_filter('bbp_show_lead_topic', 'custom_bbp_show_lead_topic' );
Hi @johnjamesjacoby and team. Like everyone else, I’ve been waiting for the 2.6 release for a few years now. I can see that the last remaining ticket is for the “bump” functions that have been in there for a while.
I’m just curious, are bump functions uniquely challenging to code? Either way, is there anything that I (or anyone) can do to help get this task finished? I have somewhat arbitrarily been waiting for the 2.6 release to make some changes to my site. I’m contemplating updating to the RC5 release. By the way, where can I find the latest RC download link? I dug around but couldn’t find a copy. The RC5 link here (https://wordpress.org/plugins/bbpress/advanced/) is still broken.
Bump. Is there a list of available emoticons and other code options available to users of the bbPress forum?
Also, line 4 of the Vanilla file states:
* Implementation of Vanilla 2.0.18.1 Converter
So I wonder if maybe this importer doesn’t work with recent versions of Vanilla?
SMF to BBPress – error utf8mb4
SMF to BBPress – error utf8mb4
I am getting the same error as this post identifies:
WordPress database error: [Specified key was too long; max key length is 1000 bytes]
CREATE TABLE wp_bbp_converter_translator ( meta_id mediumint(8) unsigned not null auto_increment, value_type varchar(25) null, value_id bigint(20) unsigned not null default '0', meta_key varchar(255) null, meta_value varchar(255) null, PRIMARY KEY (meta_id), KEY value_id (value_id), KEY meta_join (meta_key(191), meta_value(191)) ) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
But for Vanilla. It looks like an update to the importer is all that it took to fix this,
@netweb , @johnjamesjacoby
Thoughts?
Thanks for your time!!
— sdeeds
WP Version 4.9.1
Vanilla Version 2.3.1
bbPress Version 2.5.14
the shortcode goes in say page content.
so create a page and put
[bbp-single-topic id=$topic_id]
via css try
.has-sidebar:not(.error404) #primary {
width: 100% !important;
}
you can set it to more than 100% if you wish !
The source is available via browser at: https://bbpress.trac.wordpress.org/browser/trunk/src/includes/admin/converters
Or SVN: https://bbpress.svn.wordpress.org/trunk
Or Git: git://bbpress.git.wordpress.org/
try my style pack plugin, it has this + many other features and will save you having to maintain code
bbp style pack