Forum Replies Created
-
In reply to: Changing Submit button wording to Update
then you need to amend form-topic and form-reply
to amend
<button type="submit" tabindex="<?php bbp_tab_index(); ?>" id="bbp_topic_submit" name="bbp_topic_submit" class="button submit"><?php _e( 'Submit', 'bbpress' ); ?></button>to something like (untested)
<?php if ( bbp_allow_revisions() && bbp_is_topic_edit() ) : ?> <button type="submit" tabindex="<?php bbp_tab_index(); ?>" id="bbp_topic_submit" name="bbp_topic_submit" class="button submit"><?php _e( 'Submit', 'bbpress' ); ?></button> <?php endif ; ?> <?php else : ?> <button type="submit" tabindex="<?php bbp_tab_index(); ?>" id="bbp_topic_submit" name="bbp_topic_submit" class="button submit"><?php _e( 'Update', 'bbpress' ); ?></button> <?php endelse : ?>In reply to: Changing Submit button wording to Update//This function changes the text wherever it is quoted function change_translate_text( $translated_text ) { if ( $translated_text == 'old text' ) { $translated_text = 'new text'; } return $translated_text; } add_filter( 'gettext', 'change_translate_text', 20 );In reply to: How do I edit the Forum page?item 3 method 2 and you can put introductory text before the shortcode
In reply to: Show username instead of full name / display namegreat!
In reply to: Migrating from phpBBI’ve never used phpbb, but suggest you need to get the database loaded somewhere, which will then have access. You can then convert from there
In reply to: Migrating from phpBB‘the serviceprovider has the database on phpmyadmin’.
vs
‘but I have no access to the old database’if the service provider has given you the old database, then those credentials should work?
so do you have access to the old database?
In reply to: Show username instead of full name / display nameuntested, but this might do it
add_filter( 'bbp_get_reply_author_display_name' , 'rew_reply_change_to_login', 10 , 2 ) ; function rew_reply_change_to_login ($author_name, $reply_id) { // Get the author ID $author_id = bbp_get_reply_author_id( $reply_id ); $author_name = get_the_author_meta( 'user_login', $author_id ); return $author_name ; } add_filter( 'bbp_get_topic_author_display_name' , 'rew_topic_change_to_login', 10 , 2 ) ; function rew_topic_change_to_login ($author_name, $topic_id) { // Get the author ID $author_id = bbp_get_topic_author_id( $topic_id ); $author_name = get_the_author_meta( 'user_login', $author_id ); return $author_name ; }let me know
In reply to: Export images in forum‘I have the plugin allowing for media uploads’ – no idea what plugin you are talking about, but can only suggest you try it and see
In reply to: Mass editing of topics does not workI don’t understand your question – possibly lost in translation
In reply to: Search Button not showinggreat
In reply to: Question Regarding default bbpress support forumthere is a theme for this, and my style pack plugin contains some widgets
In reply to: Customized Translation filesyou can use ‘gettext’ if you haven’t too many
In reply to: Importing from phpBB2.6 RC7 holds updated importers, but then you are running with an unreleased version
In reply to: Closing topicsgreat
In reply to: Closing topicsgreat
hmm… suggest you read the documentation and also look at
dashboard>settings>forums allow anonymous posting
In reply to: Using Buddypress avatargreat – thanks for posting the solution
In reply to: Pending topicsno idea 🙂
In reply to: Fetch different avatargreat – thanks for adding
In reply to: Creating a topicvery doubtful that bbpress would add this – you’d need to register a trac ticket
In reply to: ID for Register Buttonit has a class of ‘bbp-register-link’ – is there an issue with using this ?
In reply to: Whose online / forum statsok
In reply to: Posts with 3 or more linksI dug into this a bit further
The moderation in bbpress is looking for ‘<href…’ so if you just post links ie
you post this
https://bbpress.org/forums/topic/posts-with-3-or-more-links/not this
<a href="https://bbpress.org/forums/topic/posts-with-3-or-more-links/">some link</a>then no check is done – it is looking for links not urls
There is some capability in the code via
$reply_content = apply_filters( 'bbp_new_reply_pre_content', $reply_content );to take out more than 2 links, but there is not an easy way to put 3 urls into moderation
In reply to: Opening Subscriber’s profile editor from toolbargreat – glad to have helped.