Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 9,226 through 9,250 (of 32,519 total)
  • Author
    Search Results
  • #159755
    mvaneijgen
    Participant

    I do and admins and moderators will see the form and can work with it, but users/subscribers will see the message “You cannot create new topics.” as described here https://bbpress.org/forums/topic/new-topic-form-shortcode-issue/ a topic from almost 3 years ago.

    I place the shortcode in the search result page if there are no instances found of what they are trying to look for, so they can ask that question on the forums.

    #159754
    Robkk
    Moderator

    id say look at the bbPress breadcrumbs code and copy that and add it to your custom breadcrumbs.

    its in bbpress>includes>common>

    then search breadcrumbs in an editor like notepad++

    #159753
    Robkk
    Moderator

    you probably can replace it with a post count tag that outputs the number of replies in a topic for example.

    i think this is it.

    <?php bbp_topic_post_count ?>

    then output some text after that.

    #159752
    Robkk
    Moderator

    bbPress doesnt output shortcodes use something like this

    https://wordpress.org/plugins/bbpress-do-short-codes/

    Robkk
    Moderator

    you really shouldn’t edit core code…i hope you havent messed something up and now are getting a domino effect of issues.

    you should also contact wp user avatar plugin support just in case too.

    i gotta say email me , so i can double check your setup

    Contact

    im mostly going to ask how you set up your forum and see if i can duplicate the issue.

    #159743
    Robkk
    Moderator

    you can hide them with CSS

    .forum-archive .status-private {
    display:none;
    }
    #159738
    Robkk
    Moderator

    what are you trying to do with the shortcode?

    it should work if you just place [bbp-topic-form] in a page or a sidebar widget like blask studio tinymce widget.

    #159737
    Robkk
    Moderator

    voice count shows how many users are in a particular topic.

    for topics

    you can edit the loop-single-topic.php file by copying it into your child theme and changing the voice count number code to whatever php tag you have from a plugin that has a specific template tag to show a posts like count.

    change <?php bbp_topic_voice_count(); ?> with what you have.

    to edit the label voice in the bbPress header you edit loop-topics.php and change <?php _e( 'Voices', 'bbpress' ); ?> and change it <?php _e( 'Likes', 'bbpress' ); ?>

    for forums

    its close to the same instead look for loop-forums.php and loop-single-forum.php

    and the php code would be similar but instead of topic_ look for forum_

    #159735
    Robkk
    Moderator

    use FTP and copy page.php and rename it to bbpress.php , then remove all the unwanted code like the read more buttn .

    This usually fixes most theme problems.

    https://codex.bbpress.org/theme-compatibility/getting-started-in-modifying-the-main-bbpress-template/

    need anymore help with this reply back , and i will give you a more detailed explaination.

    #159733

    In reply to: blurred avatar

    Robkk
    Moderator

    it is most likely that you tried to make avatars bigger with CSS when they were originally sized to be smaller in the PHP code hence why you would see them blurry because you are basically stretching a small image.

    link to the blurred avatars to double check though on your site.

    #159725
    teamoo
    Participant

    Hey Robin – I appreciate your response but my theme designer gave me some code to make it work.

    http://www.ohio-offroad.com

    For reference, this is the custom CSS we entered:

    /* bbPress WP Tweak plugin left justified text fix 3-13-2015 */
    #sidebar.sidebar-left{ text-align: initial !important; }

    #159722
    Pierre Ledoux
    Participant

    Hello,

    i want to use a widget (bbpress login) and a shortcode ([bbp-lost-pass]).

    But the appearance seems to be broken. The buttons are left. The descriptions are splitted. You can check the issues here:

    forex.die-analysten.com/login/
    forex.die-analysten.com/login/lost-pass/

    how can i fix that?

    Kind Regards
    Pierre

    #159718
    rbrynest
    Participant

    An update on this.

    I got it to work by editing the .htaccess file.

    Add this code block at the start of the file:

    <FilesMatch “^(wp-login|wp-log|index)\.php$”>
    Header set Set-Cookie wordpress_test_cookie=WP+Cookie+check
    </FilesMatch>

    Regards
    Rune

    #159711
    VojtaSvoboda
    Participant

    When I debuged WP_Query in bbpress/includes/topics/template.php on line 203, it prints:

    SELECT SQL_CALC_FOUND_ROWS  wp_2_posts.ID FROM wp_2_posts  INNER JOIN wp_2_postmeta ON ( wp_2_posts.ID = wp_2_postmeta.post_id ) WHERE 1=1  AND wp_2_posts.post_parent = 5080  AND wp_2_posts.post_type = 'post' AND (wp_2_posts.post_status = 'publish' OR wp_2_posts.post_status = 'closed' OR wp_2_posts.post_status = 'private' OR wp_2_posts.post_status = 'hidden') AND ( 
      wp_2_postmeta.meta_key = '_bbp_last_active_time'
    ) GROUP BY wp_2_posts.ID ORDER BY wp_2_postmeta.meta_value DESC LIMIT 0, 15

    with post_type=post, but it should be post_type=topic. Damn.

    #159706
    VojtaSvoboda
    Participant

    When I put

    <div id="bbpress-forums" data-topic-id="<?=bbp_get_topic_id()?>">

    to the template, it prints me: data-topic-id=”0″.

    #159701

    Topic: Forum Headers

    in forum Troubleshooting
    lhughes16
    Participant

    Hi, I have searched high and low for anything on putting in a header for each forum on my site’s board. For instance, I have different forums for the various groups within my organization. I’d like for when a member of a certain group clicks on the group forum, a header or a banner specifically made for that group will be displayed for their section of the board. Anyone have any ideas? Keep in mind I don’t know a lick of code and not really comfortable with manipulating code so if you have any ideas a step by step would be much appreciated. Thanks!

    nolimit966
    Participant

    Hi,

    I had this issue since i very first installed BBpress along with the plugin – WP User Avatar.

    The avatars are not showing in the forum at all. Its a completely bespoke WordPress theme with nothing in the functions.php to be doing any filtering or stripping out extensions of any type.
    Ive also disabled every single plugin except bbpress & the avatars plugin & i still get the problem.

    broken avatars with no extension

    Can anyone please help me overcome this problem?

    I did notice that in the bbpress / filters.php the line which says : add_filter( ‘bbp_get_reply_author_link’, ‘stripslashes’ ); had to be commented out because it was removing the backslashes from the avatar URL making things even worse.

    I dont like the fact ive had to manipulate core code to do this. Surely there has to be a better was to get avatars working.

    Thank you 🙂

    #159685
    Robkk
    Moderator

    last patch says 19months so i wouldnt touch it.

    maybe using a custom last edit log using the two template tags below would work

    https://codex.wordpress.org/Function_Reference/the_modified_date
    https://codex.wordpress.org/Function_Reference/the_modified_author

    #159678
    Robkk
    Moderator

    @dimplefacect

    glad you found the information you needed , the links i should have gave you either of these two

    this one is cut to the chase

    https://codex.bbpress.org/getting-started-with-bbpress/

    and this one is more explanatory and has more steps to help improve your forum.

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

    if you need anymore guides for bbPress the codex is a great place to look.

    #159677
    butterzeugs
    Participant

    i did it just like you sayed but still no effect 🙁

    maybe some other plugin i have to change the code ?

    #159674
    Robin W
    Moderator

    That code works exactly as described.

    please check that you have exited and re-entered your browser to clear
    that you aren’t running any caching software
    That you have only changed ’40’ to ’80’ and saved and uploaded the change

    #159671
    dimplefaceCT
    Participant

    Thanks @robkk. I think I need more hand-holding. I did go to https://codex.bbpress.org/ and still couldn’t figure the steps to taking the forum I built under the forum tab and moving it onto a page. Any idea on a tutorial for that step?

    #159663
    butterzeugs
    Participant

    thx but how can i change the size of it ?

    i cant find some code where i can change it

    #159662
    Robin W
    Moderator

    The avatar size is hard coded into the login widget.

    see

    bbpress/includes/common/widgets.php

    around line 141

    You can change it directly in here, but keep a note of it, as it will be overwritten by upgrades. or if you have the skill, you could copy and create a new widget within your child theme

    #159659

    In reply to: Background Colors

    Robin W
    Moderator

    if that doesn’t work, then out it in your theme’s style.css, but tag it as !important

    #bbpress-forums, #buddypress {
     clear: both !important;
     margin-bottom: 20px !important;
     overflow: hidden !important;
     font-size: 12px !important;
     padding:20px !important;
     background:rgb(10, 9, 9) !important;
    }
Viewing 25 results - 9,226 through 9,250 (of 32,519 total)
Skip to toolbar