Search Results for 'bbpress'
-
Search Results
-
Topic: How to escape html?
Hi bbpress
I want to escape html in topic and reply output, but I want to Embede media.
REPLACED this code which you can find inside[bbpress/templates/default/bbpress/content-single-topic-lead.php] file, opening via the editor.
<?php bbp_topic_content(); ?>
WITH THIS CODE<?php global $wp_embed; $inputTxt = bbp_get_topic_content(); $escTxt = esc_html( $inputTxt ); echo '<div class="test">'.$wp_embed->run_shortcode( '[embed]' . $escTxt . '[/embed]' ).'</div>'; ?>
But I can not it.
How do I write it?
I have been looking through he forums, google and others but most answers I have found are for old outdated plugins, broken links and so on unless I have missed anything.
Having installed bbpress I’m looking for a working solution to simply add an “accept terms and conditions” checkbox to the bbpress registration page.
Hello,
Currently bbpress uses predefined roles. I want to edit and / or edit the roles to add those who will have the same ability to read or write but with a different name and that I can say that such user belongs to this category.
How can I do it because I can not find any plugin to add categories in bbpress.
Thank you
I am importing an arabic vbulletin 3.x forum into bbpress.I am facing character encoding.vbulletin db has latin1 charset so I converted all tables to latin1_swedish_ci.after importing topics gose weird with blank titles.Any body help
Hi! I just installed bbPress on the site: kvinnokapital.com It is accessible for members only, so I can’t link the page. I’m not a developper, and have limited coding abilities. I’m using a free theme and free plugins.
Here is a my issue:
I can create a forum and then I can create topics, but once I have done that, I can’t click on the topics to write replies. When I click on the topic, it re-directs me to the front page. I’ve tried to log in as different users and it is the same for everyone.
I am using Ultimate Member for the members’ login, and I haven’t paid for the integration package, because it’s too expensive for our community. But according to the Ultimate Members site, paying for the integration gives you a few “gadgets” that I don’t need. I only need to have one or two forum pages with topics that members can reply to.
Can you help please?
Hi bbpress
I write topic and the title is h2.
How can fix h2 ->h1 ?Can anybody tell me how to change the style (background color etc.) of the visual editor on the bbpress forums?
Screenshot:
I tried everything, but nothing worked. I intend to change the style of the frontend editor only (not the wp-admin editor).
I am trying to make the editor’s background color black and font color white.
Wordpress: Versión 4.9.8
BBpress: Versión 2.5.14
Theme: Performag
URL: https://www.miguelcarrerasdutra.com/foros/buscar/thrive/Hello everyone I have a problem and that is that the search results does not show the text of the Topic and the answer
Is there any function to show the titles in the bbpress search?
Topic: Create topic by email
Hi everyone,
I’ve been struggling to find the right solution for my needs. So many wonderful things out here, such as bbPress, but for me it’s still missing the ability to create a Topic by email.I had tried a great listserv plugin called WP Mailster but it doesn’t when it stopped working recently the developer wasn’t responsive. My groups are left in limbo and I need to resolve this asap.
I’ve just set up bbPress and BuddyPress and a plugin BuddyBoss’s Reply by Email and it’s almost there. The functionality that’s still missing is users being able to create new topics in their own inboxes.
I have 6 different private groups. Ideally, members will mail the group and can reply to posts via email. All the messages are also archived and viewable through a website, but I don’t want members to have to visit the site in order to post a topic.
If you have any suggestions I’d love to hear them!
Thanks,
AllysonHi all,
I’m trying to integrate the BuddyPress favorite (aka like system) system with BBPress.
But I can not implement ajax and the page will be reloaded.
How do I write it?
▼【functions.php】
function my_bp_activity_is_favorite($activity_id) { global $bp, $activities_template; return apply_filters( 'bp_get_activity_is_favorite', in_array( $activity_id, (array)$activities_template->my_favs ) ); } function my_bp_activity_favorite_link($activity_id) { global $activities_template; echo apply_filters( 'bp_get_activity_favorite_link', wp_nonce_url( site_url( BP_ACTIVITY_SLUG . '/favorite/' . $activity_id . '/' ), 'mark_favorite' ) ); } function my_bp_activity_unfavorite_link($activity_id) { global $activities_template; echo apply_filters( 'bp_get_activity_unfavorite_link', wp_nonce_url( site_url( BP_ACTIVITY_SLUG . '/unfavorite/' . $activity_id . '/' ), 'unmark_favorite' ) ); }
▼【bbPress/templates/default/bbpress/loop-single.php】
<div id="post-<?php bbp_reply_id(); ?>" class="bbp-reply-header"> <!--omission--> <div class="favorite-wrap"> <?php $activity_id = get_post_meta( bbp_get_reply_id( $reply_id ), '_bbp_activity_id', true ); ?> <?php if ( is_user_logged_in() ) : ?> <?php bp_has_activities(); ?> <?php if ( !my_bp_activity_is_favorite($activity_id) ) : ?> <a href="<?php my_bp_activity_favorite_link($activity_id) ?>" class="button fav bp-secondary-action bp-tooltip" data-bp-tooltip="add" aria-pressed="false"> <span class="bp-screen-reader-text">add</span> </a> <?php else : ?> <a href="<?php my_bp_activity_unfavorite_link($activity_id) ?>" class="button unfav bp-secondary-action bp-tooltip" data-bp-tooltip="remove" aria-pressed="false"> <span class="bp-screen-reader-text">remove</span> </a> <?php endif; ?> <?php endif;?> </div> <!--omission--> </div><!-- #post-<?php bbp_reply_id(); ?> -->
Help for figuring this one out is appreciated.
Best regardsTopic: Can’t change language
Hello everyone.
Website: Link
WordPress version: 4.9.8
bbPress version: 2.5.14Despite reading many threads about this, I still couldn’t figure out a way to change the language of the forum to hebrew. I will work you through what I did:
1. Download bbPress.
2. Add all the pages (login, register etc.) to the menu. (since the website is in hebrew, you can the pages find it under the second last menu item).
3. Download the hebrew .po and .mo files and put them in the directory /wp-content/languages/bbpress with the proper name (bbpress-he_IL.po and bbpress-he_IL.mo)
4. Check the websites register and login pages, still in english.
5. Edit “wp-config.php” file and added “define(‘BBLANG’, ‘bbpress_he_IL’);”.
6. Check the websites register and login pages, still in english.
Also things I have tried:
– Putting the .po and .mo files under /wp-content/languages/plugins/.– Made sure I don’t have a translation update under “Dashboard -> Updates” in wordpress.
Important Note:
The hebrew is not 100% finished, but from this guide I understood that it doesn’t matter as long as I manually override it.So the bottom line is – I really need help figuring that out. What am I missing?
Thanks for everyone who read and help,
Eitan.Topic: Whitelist html elements
I am using Image Upload for BBPress on my forum. This plugin allows users to insert images in posts.
I, forum admin as well as moderators can align images but normal users can’t.
I think there are permission issues.
How can i whitelist these tags
class="alignright", class="alignnone", class="aligncenter", class="alignleft"
for normal user?