Search Results for 'bbpress'
-
Search Results
-
I am using themes and modifying bbpress.css. I figured out how to remove the roles of people making posts. I want to remove the topic authors only, but keep all authors of replies. Here are the changes I made to bbpress.css, which was to put “dislay: none;” under the forum and topic authors, but that has not worked.
#bbpress-forums div.bbp-forum-author, #bbpress-forums div.bbp-topic-author { display: none; } #bbpress-forums div.bbp-reply-author { float: left; text-align: center; width: 115px; } #bbpress-forums div.bbp-forum-author img.avatar, #bbpress-forums div.bbp-topic-author img.avatar { display: none; } #bbpress-forums div.bbp-reply-author img.avatar { border: none; max-width: 80px; padding: 0; margin: 12px auto 0 auto; float: none; } #bbpress-forums div.bbp-forum-author a.bbp-author-name, #bbpress-forums div.bbp-topic-author a.bbp-author-name { display: none; } #bbpress-forums div.bbp-reply-author a.bbp-author-name { margin: 0 12px; word-break: break-word; display: inline-block; } #bbpress-forums div.bbp-topic-author a.bbp-author-name { display: none; } #bbpress-forums div.bbp-reply-author a.bbp-author-name { clear: left; display: block; } #bbpress-forums div.bbp-forum-author .bbp-author-role, #bbpress-forums div.bbp-topic-author .bbp-author-role, #bbpress-forums div.bbp-reply-author .bbp-author-role { display: none; // font-size: 11px; // font-style: italic; } #bbpress-forums li.bbp-header .bbp-search-author, #bbpress-forums li.bbp-footer .bbp-search-author, #bbpress-forums li.bbp-header .bbp-forum-author, #bbpress-forums li.bbp-footer .bbp-forum-author, #bbpress-forums li.bbp-header .bbp-topic-author, #bbpress-forums li.bbp-footer .bbp-topic-author { display: none; }The only way I have found to remove the topic author is to insert “display: none;” under the topic-reply authors, but that removes the topic-reply authors as well, which I don’t want to do. Perhaps I need to get into a php file to do this? If so, can someone direct me to the correct file? Thanks.
Topic: Cannot Export/Import bbPress
I created a second wordpress site on my multi-site install of WordPress. All I want to do is copy everything, exactly as it is, from one site to the next. I’ve tried about 5 times now to do this and everytime something goes horribly wrong. I tried importing everything and then using the forum tools to reset the count thinking that would work, but all it did was remove every post from being assigned.
Depending on how I’ve tried to import them, sometimes forums are not linked to the appropriate category, but every time only a small percentage of topics & replies are appropriately linked. Why does this happen?! Why is it so difficult tomove bbPress from one site to another? Does anyone have a way that would work better than using the WordPress Import/Export feature?
I just installed bbpress, and for some reason, my submit and reply buttons do not work. I activate the two thousand twelve theme, and they work… but not with the theme my entire site is based around, which right now is REPlay (http://themeforest.net/item/replay-responsive-music-wordpress-theme/3172436?WT.ac=portfolio_item&WT.z_author=themex)
The button is there… it just doesn’t do anything when you click it. Anyone here know what I can do to troubleshoot this?
Thank you very much!
Hello from Japan!
bbpress is great!Well, I’m in trouble.
so I would appreciate if you help me.1.
By default, an anchor tag is given to texts of “freshness“. like…<a>2hours, 1minute ago</a>To remove the anchor tag from freshness texts, which files should I modify ?
Could you please tell me a path to get to the file?2.
By default, a comma is used in display of “freshness”. like..2hours,(âhere!) 1minute agoI want to also remove the comma.
In this case, a file to be modified will be the same as the file described above?Thanks for reading,
and I’m looking forward to your reply…WordPress: ver3.9.1
bbPress: ver2.5.3I’m looking for advice on how to keep bbPress separate from my primary WP installation while still using the newest version of bbPressâŚ..I think I know what to do but want to be sure I do it right before I start.
My plan is to create a fresh, empty installation of WP, add the bbPress Plugin, and then import my old bb_ tables, which I know will then go into the wp_posts table in the new install – I just don’t want them co-mingled with the content on my primary site.
I can then point a subdomain of my primary site (forums.mysite.com) to this install and just link to it from my site.
To head off questions and just get advice, the reason I want them separate is that I tried integrating the forum with the site (unintentionally) last year when I updated the bbPress plugin and found that it was no longer stand-alone. It created a major catastrophe that took me months to recover from and get back to the way it was previously, and both my site and forum were offline for an unacceptable length of timeâŚ..I just never want to go through that level of frustration and work again, as much as I love bbPress I’d rather use some other forum software to keep things separated if I have to.
BUT that said I want to keep my forum software up-to-date and I know that means using the current version.
Any advice, thoughts, suggestions would be greatly appreciated.
Topic: Parent directory possible?
I’m working on a site that uses both BuddyPress and bbPress. All the BP functionality is in a community parent directory and I’d like to run bbPress out of the same, e.g.
http://mydomain.com/community/forums
I was able to create this page and use the bbPress shortcode to display the forum index at this location, but this doesn’t change any of the rest of the directory structure of my forums, e.g., when I click on a forum, I’m redirected to
http://mydomain.com/forums/forum/myforumname
The community parent directory is lost. Is there a way for me to keep all bbPress URLs under the community directory?
I put this in “pimp your press”, but now I think it belongs in the troubleshooting forum. Not certain.
I have created custom fields for my bbpress topics, and I have learned how to auto-populate those fields when a user clicks a button. I have also learned how to auto-populate the Topic Title. I am using javascript to auto-populate the topic title. Here is how I assign the data:
$("input[name='bbp_topic_title']").val(data.title);I am showing this as an example to show what I need. My question is; am I able to auto-populate the content of a new topic, much like I am doing with the title for a new topic?
To auto-populate the content of a new topic, I assume I need to have the correct term, which I think would be âbbp_topic_contentâ? So it would look like this?
$("input[name='bbp_topic_content']").val(data.description);Here are three functions I am using for custom fields:
add_action ( 'bbp_theme_before_topic_form_content', 'bbp_extra_fields'); function bbp_extra_fields() { $value = get_post_meta( bbp_get_topic_id(), 'bookCover', true); echo '<label for="bookCover">Book Cover URL</label><br>'; echo "<p><input type='text' name='bookCover' value='".$value."'></p>"; } add_action ( 'bbp_new_topic', 'bbp_save_extra_fields', 10, 1 ); add_action ( 'bbp_edit_topic', 'bbp_save_extra_fields', 10, 1 ); function bbp_save_extra_fields($topic_id=0) { if (isset($_POST) && $_POST['bookCover']!='') update_post_meta( $topic_id, 'bookCover', $_POST['bookCover'] ); } add_action('bbp_template_before_replies_loop', 'bbp_show_extra_fields'); //add_action('bbp_template_before_main_content', 'bbp_show_extra_fields'); function bbp_show_extra_fields() { $topic_id = bbp_get_topic_id(); $valuec = get_post_meta( $topic_id, 'bookCover', true); }I am thinking that I need some sort of âadd_actionâ to get this accomplished? Do I need to create a new function? I’ve been looking in templates.php to try and get a hint to figure this out. Any help would be GREATLY appreciated. Thanks.
I have created custom fields for my bbpress topics, and I have learned how to auto-populate those fields when a user clicks a button. I have also learned how to auto-populate the Topic Title. I am using javascript to auto-populate the topic title. Here is how I assign the data:
$("input[name='bbp_topic_title']").val(data.title);
I am showing this as an example to show what I need. My question is; am I able to auto-populate the content of a new topic, much like I am doing with the title for a new topic?To auto-populate the content of a new topic, I assume I need to have the correct term, which I think would be ‘bbp_topic_content’? So it would look like this?
$("input[name='bbp_topic_content']").val(data.description);
Here are three functions I am using for custom fields:add_action ( 'bbp_theme_before_topic_form_content', 'bbp_extra_fields'); function bbp_extra_fields() { $value = get_post_meta( bbp_get_topic_id(), 'bookCover', true); echo '<label for="bookCover">Book Cover URL</label><br>'; echo "<p><input type='text' name='bookCover' value='".$value."'></p>"; } add_action ( 'bbp_new_topic', 'bbp_save_extra_fields', 10, 1 ); add_action ( 'bbp_edit_topic', 'bbp_save_extra_fields', 10, 1 ); function bbp_save_extra_fields($topic_id=0) { if (isset($_POST) && $_POST['bookCover']!='') update_post_meta( $topic_id, 'bookCover', $_POST['bookCover'] ); } add_action('bbp_template_before_replies_loop', 'bbp_show_extra_fields'); //add_action('bbp_template_before_main_content', 'bbp_show_extra_fields'); function bbp_show_extra_fields() { $topic_id = bbp_get_topic_id(); $valuec = get_post_meta( $topic_id, 'bookCover', true); }I am thinking that I need some sort of “add_action” to get this accomplished? Do I need to create a new function? Any help would be GREATLY appreciated. Thanks.
I’m sure this has been asked before but I can’t find a solution yet. I’d like to style one particular forum differently to the others, in particular all the replies in every topic. Do I use the post id or the forum name? My forum is called ‘assignments’ and the forum post id is 2881, but of course all topics within that forum have a different post id. Can’t work it out. I’ve tried variations on this:
#bbpress-forums #post-2881 .bbp-reply-content {font-family:Verdana, Geneva, sans-serif; font-size:0.8em;}Any pointers?