Image
Image

bbPress

Descriere

Cauți un forum de discuții etern, elegant și eficient? bbPress este ușor de integrat, ușor de utilizat și este construit să se adapteze odată cu creșterea comunității.

bbPress este un software pentru forumuri, creat intenționat simplu, dar puternic până la infinit, dezvoltat de contributorii din WordPress.

Notă pentru dezvoltatori

Actualizări la numere în 2.6.17

bbPress now synchronizes its built-in public and hidden topic and reply counts, aggregate forum counts, and user contribution counts on bbp_transition_post_status at priority 10, after WordPress persists the new post status. When a topic crosses the public status boundary, its stored public reply count is applied to the forum aggregate instead of recounting every reply. The action receives the new status, old status, and WP_Post object. The bbp_pre_update_counts_on_transition_post_status filter can short-circuit the complete topic or reply count operation for custom status lifecycles or count storage.

The existing bbp_new_*, bbp_insert_*, bbp_trash_*, bbp_untrash_*, bbp_spam_*, bbp_unspam_*, bbp_approve_*, and bbp_unapprove_* topic and reply actions continue to fire with their existing arguments and timing. Their corresponding completed actions, such as bbp_trashed_*, also remain available. The public count helper functions also remain callable.

For topic and reply creation, the status transition occurs inside wp_insert_post(). The later bbp_new_* and bbp_insert_* actions therefore continue to run after status counts are updated and after bbPress stores its relationship metadata. Creation-specific integrations can remain on those actions.

For moderation, status-count synchronization occurs between the existing pre-transition action, such as bbp_spam_reply, and its completed action, such as bbp_spammed_reply. Extensions that need every persisted topic, reply, forum, and user status-count change should use bbp_transition_post_status at priority 11 or later. Completed moderation actions begin after those counts are finalized.

bbPress no longer attaches its built-in topic, reply, forum, and user status-count callbacks to the creation and moderation actions. Manually firing one of those actions without changing the post status therefore no longer updates those counts. Topic voice counts and engagements remain attached to the creation and completed moderation actions, so manually firing one of those actions can still recalculate voices and engagements without a status change. The priority-11 transition hook does not observe those later updates. Extensions that need both recalculations to finish can use priority 31 or later on the legacy action; bbPress runs engagement callbacks before voice-count callbacks. Count membership comes from the filtered public and non-public status arrays. Extensions that already maintain counts for custom statuses should remove duplicate count callbacks and keep the public and non-public arrays disjoint. The public increase and decrease convenience functions now validate the current topic or reply status; use the lower-level bump functions for an intentional numeric difference. Do not manually fire bbp_transition_post_status to simulate a write because its count callback trusts the supplied statuses as a completed database transition.

Permanent deletion does not produce a post-status transition. Its count maintenance continues through the existing bbp_deleted_topic and bbp_deleted_reply actions.

Count bump functions now use conditional metadata writes and bounded retries so simultaneous requests do not overwrite each other’s existing count changes. Existing bbPress count filters and the standard WordPress metadata filters and actions continue to run. A before-update metadata action may run more than once when a request loses a comparison and retries; its matching after-update action runs only for the successful write. The update-metadata short-circuit filter runs once for the bump call using its first sanitized candidate value. A user-count filter that changes the absolute result retains the previous absolute-update behavior and opts that call out of the atomic difference path.

WordPress metadata tables do not enforce unique object-and-key pairs, so simultaneous first-time inserts retain the same limitation as the core metadata API. A request can also exhaust the bounded retries under unusually high contention. An atomic bump applies a difference to its supplied stored or default value and is not a recount. The bbp_pre_bump_count_meta filter can short-circuit an update, the bbp_bump_count_meta_max_attempts filter controls the default limit of five write attempts, and the bbp_bump_count_meta_types filter controls the post, user, term, and comment metadata types supported by default. bbp_update_user_topic_count() and bbp_update_user_reply_count() accept an optional third $difference argument for this internal bump lifecycle; existing calls remain compatible.

Post-author changes and user deletion with post reassignment now reconcile affected user contribution, topic engagement, and voice counts. Moderator move, merge, and split operations also reconcile source, destination, and ancestor forum counts. Forum count updater functions accept an optional final argument for propagating a recount’s difference through ancestor totals; existing calls remain compatible. Forum reply recounts include public replies only when their parent topics are also public. A public reply beneath a non-public topic is excluded from the public forum total without being included in the pending, spammed, and trashed reply count. Topic engagement recounts honor filtered public topic and reply statuses, and preserve other term-backed relationships.

Număr de sub-forumuri în 2.6.17

bbPress now maintains subforum counts when forums are trashed, restored, permanently deleted, or moved between parents. Recursive forum counts include public, private, and hidden subforums while excluding subforums with uncountable statuses. bbp_forum_query_subforum_ids() no longer inherits the broader bbp_get_all_child_ids result; extensions that customized subforum count membership through that lower-level filter should use bbp_forum_query_subforum_ids, bbp_get_countable_forum_statuses, or the forum-status filters. The new bbp_post_updated action receives the post ID, the updated WP_Post object, and the previous WP_Post object after any bbPress post type is updated.

Actualizarea nu recalculează simultan datele pentru fiecare forum. Site-urile cu metadate neactualizate, deja cunoscute, pot să ruleze selectiv instrumentele de numărare și analiză pentru interacțiuni la Unelte > Forumuri > Repară forumurile. Aceste unelte pot să consume resurse semnificative pe site-urile mari.

Capturi ecran

Instalare

Din panoul tău de control WordPress

  1. Vizitează „Module > Adaugă modul”
  2. Caută după ‘bbPress’
  3. Activează bbPress din ecranul tău de Module. (Vei fi răsplătit cu o pagină de întâmpinare.)

De la WordPress.org

  1. Descarcă bbPress.
  2. Încarcă directorul ‘bbpress’ în directorul tău ‘/wp-content/plugins/’, folosind metoda ta favorită (ftp, sftp, scp, etc…)
  3. Activează bbPress din ecranul tău de Module. (Vei fi răsplătit cu o pagină de întâmpinare.)

Odată activat

  1. Vizitează „Forumuri > Adaugă nou” și creează niște forumuri. (Poți oricând apoi să le ștergi.)
  2. Dacă ai validată înfrumusețarea legăturilor, vizitează example.com/forums/, sau dacă nu ai opțiunea validată, vizitează example.com?post_type=forum
  3. Mergi la „Setări > Forumuri” și configurează setările care sunt cele mai potrivite pentru nevoile comunității tale.
  4. Vizitează „Unelte > Forumuri > Import Forumuri” dacă ai un forum existent pe care să-l convertești la bbPress.

Odată configurat

  • bbPress vine cu un robust API de compatibilizare cu tema care face tot ce poate pentru ca bbPress să arate și să fie bine integrat cu aproape orice temă WordPress. Poate vei avea nevoie să ajustezi ceva stiluri pentru ca totul să arate impecabil.
  • Poate vei dori să personalizezi fluxurile de înregistrare/activare/autentificare/recuperare-parolă, pentru a se integra mai bine site-ului tău. bbPress vine cu o grămadă de scurtcoduri pentru a face posibilă această integrare, ce sunt listate aici: https://codex.bbpress.org/shortcodes/
  • bbPress vine cu suport integrat pentru Akismet și BuddyPress, două module WordPress foarte puternice și populare. Dacă folosești oricare dintre ele, vizitează ecranul cu Setările tale de forum și asigură-te că integrarea apare corect.

Recenzii

Image
25 martie 2025
I am active on french support forum who runs under BBPress. It’s looks so old now, without the features (and rendering) the other forum’s programs have now. I now this forum here is under BBPress, but it’s a reworked version of what you get with the plugin.
Image
23 ianuarie 2025
bbpress is not trustable and has poor features. Support seems non-existent. I just tried to get help with breadcrumbs that were not showing up on my installation. A technical issue that I presented on their forum (bbpress.org). They didn't answer me, they deleted my post and now I can't post anything there anymore, I don't even know what criteria led to this… well, maybe they are experiencing some technical difficulty, but they could at least let me know, leave a pinned post or send a message on the user profile… it is not safe to create a large forum on a platform whose managers act this way.
Citește toate cele 343 de recenzii

Contributori și dezvoltatori

„bbPress” este un software open-source. La acest modul au contribuit următoarele persoane.

Contributori

„bbPress” a fost tradus în 57 de locale. Mulțumim traducătorilor pentru contribuția lor.

Tradu „bbPress” în limba ta.

Te interesează dezvoltarea?

Răsfoiește codul, vezi depozitarul SVN, sau abonează-te la jurnalul de dezvoltare prin RSS.

Istoric modificări

Vezi pagina cu toate lansările