Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 3,201 through 3,225 (of 32,577 total)
  • Author
    Search Results
  • ziridian
    Participant
    #208113
    Robin W
    Moderator

    Try adding this to the custom css of your theme

    input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"], textarea, select {
    	margin-bottom: 0rem;
    	padding: 0px;
    }
    Robin W
    Moderator

    It is that the name is so short that bbpress can fit it in the space

    you could fix using

    #bbpress-forums div.bbp-forum-author, #bbpress-forums div.bbp-reply-author, #bbpress-forums div.bbp-topic-author {
    	width: 100px;
    }

    in the custom css area of your theme

    #208102
    Robin W
    Moderator

    @nickds the issue is site/theme specific – I cant fix everyone’s theme issues !!

    a quick look at your site and the forums page appears to have issues with your theme performing calculations on the css eg

    .entry .entry-content > *, .entry .entry-summary > *, .entry .entry-summary > .wp-block-group > .wp-block-group__inner-container > *, .entry .entry-content > .wp-block-group > .wp-block-group__inner-container > * {
    	max-width: calc(6 * (100vw / 12) - 28px);
    }
    #208099
    Matthias
    Participant

    Found it 😉
    …/wp-content/plugins/bbpress/includes/common/widgets.php
    About line 135 you can add some links…

    <div class="bbp-logged-in">
    <a href="<?php bbp_user_profile_url( bbp_get_current_user_id() ); ?>" class="submit user-submit"><?php echo get_avatar( bbp_get_current_user_id(), '40' ); ?></a>
    <h4><?php bbp_user_profile_link( bbp_get_current_user_id() ); ?>
    #208071
    Matthias
    Participant

    I would like to add some links to the bbpress login widget.
    Can someone point me in the right direction.
    I can not even find the code of the login widget in my bbpress plugin folder…?
    Thanks
    Matthias

    #208033
    Robin W
    Moderator

    no idea on the code – style pack still works

    #208030
    telium
    Participant

    Does the above code still work?

    I tried to paste into my functions.php and don’t see any difference in breadcrumbs.

    Jan 2020 – perhaps bbpress or wp code has changed?

    #208026
    Robin W
    Moderator

    ok, still not quite sure what you are meaning, but suspect

    Step by step guide to setting up a bbPress forum – Part 1

    and look at section 8 which talks about getting bbpress to use the template you want

    #208023
    telium
    Participant

    My forums can be seen at:
    new.telium.io/haast/forums

    In case it matters, Im using the Avada theme. (But I can just insert the shortcodes for bbpress where required)

    #208016
    telium
    Participant

    I’m new to WordPress and bbPress, so I apologize if my terminology isn’t quite right 🙂

    I have create a pretty page and inserted the BB shortcode which shows all the forums. However, when I open one of the forums, or one of the topics, I find each opening in a fairly generic page.

    Is it possible to create nice pages for these, and tell bbPress to open the forum/topic in the page I created? (I don’t like the default page).

    #208013
    telium
    Participant

    (I also tried converting all of my phpBB tables to utf8mb_unicode_ci but that didn’t help).

    The onscreen status is very high level. Is there an import log somewhere that might provide more details- pointing to something I can fix? I’m comfortable altering the MySQL structure of phpBB if needed.

    #208010
    telium
    Participant

    I have a fresh bbPress install and want to import everything possible from my phpBB version 3.2.4 installation. The import runs and step 8 is importing lots of anonymous topic authors.

    However, why aren’t my users importing? Based on other posts I ensure no topics/threads are attributed to founders/moderators/admins. (I created a single founder account and downgraded everyone else).

    I see some references to a 3rd party import script, and other references saying its not needed. Can someone help? It’s Jan 15 2020 and I have the latest bbPress. Note sure hot to proceed.

    Excerpt from log:

    6.No forum subscriptions to import
    5.All forum parents imported100%
    5.Calculating forum hierarchy (0 through 11 of 11)0%
    4.All forums imported100%
    4.Converting forums (0 through 16 of 16)0%
    3.No passwords to clear
    2.No users to import
    1.Skipping sync-table clean-up
    #207966
    stevehammatt
    Participant

    I’m also starting to have a similar problem. Some posts (rather than replies) are being held for moderation. It would be awfully helpful if bbPress could email the admin when this happens, rather than the admin having to spot hidden posts.

    This never used to happen before. I had no words in my moderation list or blacklist in comments, and a maximum of 2 links specified in the Discussion settings. A post just got held earlier today with only one link in the post, so I don’t know why this is happening. I’ve experimented with increasing the number of links allowed.

    I will also consider the code snippet above – thanks for that.

    mvaneijgen
    Participant

    @johnjamesjacoby do you have any tips on where to start tweaking? You’ve said that it’s almost correct, but I’ve no idea where to start with this code.

    #207869
    samtime
    Participant

    Hi, When a moderator edits a Topic in the WordPress Dashboard, there’s a section near the bottom with the Replies in it. However it also reveals user’s email and IP addresses.

    Forum Replies

    Is there a way to hide the emails and IP’s in this section for moderators?
    I’ve already hidden IP’s on the front end for mods by editing some code related to the loop-single-reply.php (more info here, thank you Robin).

    Or, is there a way to make the Replies box that appears there turned off by default for moderators, under the screen options?
    Screen Options

    Thank you, Sam

    #207867
    danielsgirl
    Participant

    Solved this with:

    
    .fusion-content-widget-area .button {
        margin-left: 0px;
    }
    
    body .fusion-content-widget-area .button {
        margin-left: 0px;
    }
    #207852
    Robin W
    Moderator

    add this to the custom css area of your theme

    #sidebar .bbp-login-form label {
    	width: 200px !important ;
    }
    Robin W
    Moderator

    so the code above (which I assume is the new color) is saved in custom css tab?

    #207814
    Robin W
    Moderator

    just

    #bbp-forum-9201 {
    display : none !important ;
    
    }

    should do it

    Robin W
    Moderator

    yes, that’s an issue with 2.6.x where bbpress uses a min file – they are working on a fix, but in the meantime put this in the custom css tab of the style pack plugin

    #bbpress-forums .status-closed, #bbpress-forums .status-closed a {
    	background-color: #fdd !important;
    }
    #207727
    cr53
    Participant

    Hi Robin, thanks for your reply.

    I’ve tried using the CSS you provided in both the bbPress Style Pack Custom CSS tab and in my theme’s Custom CSS area and neither were successful at hiding the breadcrumbs on the forum home page.

    When I inspect the breadcrumbs element I’m looking to hide/remove, I see that it’s labelled;

    <span class="bbp-breadcrumb-current">Forums</span>

    I would like to show the current breadcrumb on all further pages, however no breadcrumbs on the forum homepage.

    #207721
    tkdgns1106
    Participant

    Is there a way to search for topics within that forum ??

    For example

    Dogs (Forum 1)

    Cute puppies (topic 1)
    My dog ​​(topic 2)
    Cat vs Dog (Topic 3)

    Cat (forum2)

    Cute Cats (Topics 1)
    My cat (topic 2)
    Cat vs dog

    Forum 1 and 2 Nested Cats vs. Dogs.
    Is there a way to search only topics (topci 1-3) within dog forum ??

    I personally think bbpress is very good and I respect all the developers here.

    You can’t speak English without knowing the code. I still read and post posts through the translator.

    Would you please kindly let me know?

    #207719
    Robin W
    Moderator

    Put this in the custom css tab of style pack or your theme’s custom css area

    .forum-archive div.bbp-breadcrumb {
    display : none ;
    }
    #207687

    In reply to: bbpress control bar

    Voice4Vision
    Participant

    Ok…limitedly tested, so please test further before going live. I have also added tooltips for those using this to easily identify the purpose of each image. Be advised, I am no developer…so you’re on your own. I can not confirm if this causes any security issues. I have been having issues creating this post due to

    ERROR: Duplicate reply detected; it looks as though you’ve already said that.

    Please disregard all previous attempts and keep this latest post!

    1) Put the code at the bottom of your child theme’s functions.php file.
    2) You will need to use your own icons or images.
    3) All image titles are hard-coded, so either ensure all images are renamed or edit the snippet accordingly.

    add_filter ('bbp_before_get_topic_edit_link_parse_args' , 'my_edit_topic_filter', 10 , 1 ) ;
    function my_edit_topic_filter ($args) {
    	$args['edit_text'] = '<img src="../../wp-content/themes/dna-child/images/edit.png" style="cursor:pointer;" title="EDIT">' ;
    return $args ;
    }
    add_filter ('bbp_before_get_topic_merge_link_parse_args' , 'my_merge_topic_filter', 10 , 1 ) ;
    function my_merge_topic_filter ($args) {
    	$args['merge_text'] = '<img src="../../wp-content/themes/dna-child/images/merge.png" style="cursor:pointer;" title="MERGE">' ;
    return $args ;
    }
    add_filter ('bbp_before_get_topic_close_link_parse_args' , 'my_close_topic_filter', 10 , 1 ) ;
    function my_close_topic_filter ($args) {
    	$args['close_text'] = '<img src="../../wp-content/themes/dna-child/images/close.png" style="cursor:pointer;" title="LOCK">' ;
    	$args['open_text'] = '<img src="../../wp-content/themes/dna-child/images/open.png" style="cursor:pointer;" title="UNLOCK">' ;
    return $args ;
    }
    add_filter ('bbp_before_get_topic_stick_link_parse_args' , 'my_stick_topic_filter', 10 , 1 ) ;
    function my_stick_topic_filter ($args) {
    	$args['stick_text'] = '<img src="../../wp-content/themes/dna-child/images/stick.png" style="cursor:pointer;" title="STICKY">' ;
    	$args['unstick_text'] = '<img src="../../wp-content/themes/dna-child/images/unstick.png" style="cursor:pointer;" title="UNSTICKY">' ;
    	$args['super_text'] = '<img src="../../wp-content/themes/dna-child/images/super.png" style="cursor:pointer;" title="GLOBAL STICKY">' ;
    return $args ;
    }
    add_filter ('bbp_before_get_topic_trash_link_parse_args' , 'my_trash_topic_filter', 10 , 1 ) ;
    function my_trash_topic_filter ($args) {
    	$args['trash_text'] = '<img src="../../wp-content/themes/dna-child/images/trash.png" style="cursor:pointer;" title="TRASH">' ;
    	$args['restore_text'] = '<img src="../../wp-content/themes/dna-child/images/restore.png" style="cursor:pointer;" title="RESTORE">' ;
    	$args['Delete_text'] = '<img src="../../wp-content/themes/dna-child/images/delete.png" style="cursor:pointer;" title="DELETE">' ;
    return $args ;
    }
    add_filter ('bbp_before_get_topic_spam_link_parse_args' , 'my_spam_topic_filter', 10 , 1 ) ;
    function my_spam_topic_filter ($args) {
    	$args['spam_text'] = '<img src="../../wp-content/themes/dna-child/images/spam.png" style="cursor:pointer;" title="SPAM">' ;
    	$args['unspam_text'] = '<img src="../../wp-content/themes/dna-child/images/unspam.png" style="cursor:pointer;" title="UNSPAM">' ;
    return $args ;
    }
    add_filter ('bbp_before_get_topic_approve_link_parse_args' , 'my_approve_topic_filter', 10 , 1 ) ;
    function my_approve_topic_filter ($args) {
    	$args['approve_text'] = '<img src="../../wp-content/themes/dna-child/images/approve.png" style="cursor:pointer;" title="APPROVE">' ;
    	$args['unapprove_text'] = '<img src="../../wp-content/themes/dna-child/images/unapprove.png" style="cursor:pointer;" title="DISAPPROVE">' ;
    return $args ;	
    }
    add_filter ('bbp_before_get_topic_reply_link_parse_args' , 'my_reply_topic_filter', 10 , 1 ) ;
    function my_reply_topic_filter ($args) {
    	$args['reply_text'] = '<img src="../../wp-content/themes/dna-child/images/reply.png" style="cursor:pointer;" title="REPLY">' ;
    return $args ;	
    }
    add_filter ('bbp_before_get_topic_split_link_parse_args' , 'my_split_topic_filter', 10 , 1 ) ;
    function my_split_topic_filter ($args) {
    	$args['split_text'] = '<img src="../../wp-content/themes/dna-child/images/split.png" style="cursor:pointer;" title="SPLIT">' ;
    return $args ;	
    }
    add_filter ('bbp_before_get_reply_edit_link_parse_args' , 'my_edit_reply_filter', 10 , 1 ) ;
    function my_edit_reply_filter ($args) {
    	$args['edit_text'] = '<img src="../../wp-content/themes/dna-child/images/edit.png" style="cursor:pointer;" title="EDIT">' ;
    return $args ;
    }
    add_filter ('bbp_before_get_reply_move_link_parse_args' , 'my_move_reply_filter', 10 , 1 ) ;
    function my_move_reply_filter ($args) {
    	$args['split_text'] = '<img src="../../wp-content/themes/dna-child/images/move.png" style="cursor:pointer;" title="MOVE">' ;
    return $args ;
    }
    add_filter ('bbp_before_get_reply_close_link_parse_args' , 'my_close_reply_filter', 10 , 1 ) ;
    function my_close_reply_filter ($args) {
    	$args['close_text'] = '<img src="../../wp-content/themes/dna-child/images/close.png" style="cursor:pointer;" title="LOCK">' ;
    	$args['open_text'] = '<img src="../../wp-content/themes/dna-child/images/open.png" style="cursor:pointer;" title="UNLOCK">' ;
    return $args ;
    }
    add_filter ('bbp_before_get_reply_trash_link_parse_args' , 'my_trash_reply_filter', 10 , 1 ) ;
    function my_trash_reply_filter ($args) {
    	$args['trash_text'] = '<img src="../../wp-content/themes/dna-child/images/trash.png" style="cursor:pointer;" title="TRASH">' ;
    	$args['restore_text'] = '<img src="../../wp-content/themes/dna-child/images/restore.png" style="cursor:pointer;" title="RESTORE">' ;
    	$args['delete_text'] = '<img src="../../wp-content/themes/dna-child/images/delete.png" style="cursor:pointer;" title="DELETE">' ;
    return $args ;
    }
    add_filter ('bbp_before_get_reply_spam_link_parse_args' , 'my_spam_reply_filter', 10 , 1 ) ;
    function my_spam_reply_filter ($args) {
    	$args['spam_text'] = '<img src="../../wp-content/themes/dna-child/images/spam.png" style="cursor:pointer;" title="SPAM">' ;
    	$args['unspam_text'] = '<img src="../../wp-content/themes/dna-child/images/unspam.png" style="cursor:pointer;" title="UNSPAM">' ;
    return $args ;
    }
    add_filter ('bbp_before_get_reply_approve_link_parse_args' , 'my_approve_reply_filter', 10 , 1 ) ;
    function my_approve_reply_filter ($args) {
    	$args['approve_text'] = '<img src="../../wp-content/themes/dna-child/images/approve.png" style="cursor:pointer;" title="APPROVE">' ;
    	$args['unapprove_text'] = '<img src="../../wp-content/themes/dna-child/images/unapprove.png" style="cursor:pointer;" title="DISAPPROVE">' ;
    return $args ;	
    }
    add_filter ('bbp_before_get_reply_to_link_parse_args' , 'my_reply_to_filter', 10 , 1 ) ;
    function my_reply_to_filter ($args) {
    	$args['reply_text'] = '<img src="../../wp-content/themes/dna-child/images/reply.png" style="cursor:pointer;" title="REPLY">' ;
    return $args ;	
    }
Viewing 25 results - 3,201 through 3,225 (of 32,577 total)
Skip to toolbar