Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 9,626 through 9,650 (of 32,505 total)
  • Author
    Search Results
  • #157368
    Stagger Lee
    Participant

    @Robkk

    What is name of this option ? I cannot find it.
    I dont use plugin for visual editor, only manual code and media button is deactivated.

    Preview even doesnt work for non-admins. As I see “detach” option in images, I suspect GD bbPress Tools-Attachments is making this problem.

    #157360
    keithtt
    Participant

    My users login to bbpress via a login page with the shortcode, rather than via the sidebar widget. i’d like to redirect them to the forum or topic they came from when they clicked the login link, just as the sidebar widget does. But I don’t know how to make that work – at the moment it just redirects back to the login page after logging in.

    Is there any way to achieve this?

    Thanks

    #157347
    MLH78
    Participant

    Hi all,

    Just a question:

    I use Kleo Template and bbpress as forum.
    As of now, the layout is like the ordinary going through the forum.
    Like this:

    Forum Index –> Topics list –> Full topic/text with reply field below.

    I would like to have it more like Facebook.
    But I’d still need multiple forum IDs.

    For example:
    If I have a page with different ‘tabs’ (called perhaps: Forum1, Forum2 etc.) to show the contents of different forum-IDs, I’d like them to show the full topics for this specific forum.
    AND it should have a reply function below each of these topics.

    This is how Facebook is doing it, and it makes a very direct access to the topics and easy access to reply.

    I’m not sure if this is possible, without the need to change alot of code?

    Thanks.

    #157333

    In reply to: bbPress Moderation

    cyclesha
    Participant

    Okay, Robin, I’m trying that. Will soon find out if it works for me.

    In the mean time perhaps the plugin author could make some sense out of the code I received:

    Code:
    brk(0x5419000) = 0x5419000
    — SIGSEGV (Segmentation fault) @ 0 (0) —

    Thnx,

    Bob

    #157327
    Robkk
    Moderator

    do you see the edit link besides the reply link??
    what happens exactly when you hit the edit link??

    did you follow these guides

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

    also maybe re-installing bbpress and see if there could have been an error during installation.

    #157318

    In reply to: bbPress Moderation

    Robkk
    Moderator

    @cyclesha

    you could try the discussion settings that are compatible with bbPress for now.

    Moderation and BlackListing

    #157316
    Stagger Lee
    Participant

    Shortcodes Ultimate API overview

    I would like to implement this for all those boring long quotes, and quote inside quote, inside quote, etc…
    It would make reading forum topics much more pleasant.

    One click and long quote opens at whole. There is scroll if you dont want to click.
    I managed this easy with CSS3 and transitions, but there is very nasty problem on mouse out and page jumping, confusing to know where on page you are after this.

    #157313
    peter-hamilton
    Participant

    Another way to cheat a little is to make an actual page, call it yourdomain-forums

    Then you could add the existing shortcode from BBpress like this

    <h1>title of category 1</h1>
    [bbp-single-forum id=XX]

    <h1>title of category 2</h1>
    [bbp-single-forum id=XX]

    Then make a link in your menu to that page

    I am doing it here

    onlijn.com/onijn-forums

    www

    #157311

    In reply to: Picture

    Stagger Lee
    Participant
    function my_bbp_change_avatar_size($author_avatar, $topic_id, $size) {
        $author_avatar = '';
        if ($size == 14) {
            $size = 50;
        }
        if ($size == 80) {
            $size = 190;
        }
        $topic_id = bbp_get_topic_id( $topic_id );
        if ( !empty( $topic_id ) ) {
            if ( !bbp_is_topic_anonymous( $topic_id ) ) {
                $author_avatar = get_avatar( bbp_get_topic_author_id( $topic_id ), $size );
            } else {
                $author_avatar = get_avatar( get_post_meta( $topic_id, '_bbp_anonymous_email', true ), $size );
            }
        }
        return $author_avatar;
    }
    
    /* Add priority (default=10) and number of arguments */
    add_filter('bbp_get_topic_author_avatar', 'my_bbp_change_avatar_size', 20, 3);
    add_filter('bbp_get_reply_author_avatar', 'my_bbp_change_avatar_size', 20, 3);
    add_filter('bbp_get_current_user_avatar', 'my_bbp_change_avatar_size', 20, 3);
    /* We increased the tiny avatar size, so adjust the position */
    #bbpress-forums p.bbp-topic-meta img.avatar, #bbpress-forums ul.bbp-reply-revision-log img.avatar, #bbpress-forums ul.bbp-topic-revision-log img.avatar, #bbpress-forums div.bbp-template-notice img.avatar, #bbpress-forums .widget_display_topics img.avatar, #bbpress-forums .widget_display_replies img.avatar {
        margin-bottom: -2px;
    }
    /* Increase max-width for the big avatars */
    #bbpress-forums div.bbp-forum-author img.avatar, #bbpress-forums div.bbp-topic-author img.avatar, #bbpress-forums div.bbp-reply-author img.avatar {
    /*margin: 12px auto 0;*/
    max-width: 110px;
    }
    #157304
    Stagger Lee
    Participant

    Problems with other forum scripts are (if we forget about WP integration for a moment) like this, and i have seen it more than often.

    People come to forum, relax, discussing, forget about time. But they forget about main portal too. It doesnt exist for them. I have seen many popular and crowded forums and people behind main portal lose money, time, energy to write editorials and news. Nobody is reading this, nobody “knows” about portal when they are on forum. And all try to make other forum scripts look a like something near CMS are madness, better not to go this way.

    Here you have old brother WordPress, so popular in the world. You discuss in the forum, suddenly sidebar widget display new article from portal, as it says “did you forget to read news”. Just one example of many of them.

    All is here, all exist to make bbPress (or BuddyPress) most popular forum script. To follow steps of WordPress.
    Smart core coders, wish exist, older brother WordPress is there to push bbPress in the front of other forum scripts.

    #157303
    Stagger Lee
    Participant

    I am not saying all this because of me. I have now so many (tested) snippets and tweaks i can make bbPress more advanced than phpBB3 forum. I am thankfull to core guys, and I am not complaining.

    Integration (affinity better to say) with WP core is so amazing it just blow minds.

    I am saying this because of core coders guys. It is pitty lose hours, days, weeks and last nobody or very few people use bbPress.

    #157302
    Robin W
    Moderator

    ok,

    firstly if you just create a page for your forum and use the shortcode

    [bbp-single-forum id=$forum_id] – Display a single forums topics. eg. [bbp-single-forum id=32]

    then just that forum will be displayed.

    to change the breadcrumb display – see

    Layout and functionality – Examples you can use

    #157297
    Robin W
    Moderator

    @stagger-lee

    no problem in your post – and followed it right up until

    I am talking about plain old CSS2/CSS3. No database queries, and you “sell” your product/code.

    I didn’t understand that part – can you explain further !

    #157294
    Robin W
    Moderator

    Is there something that I’m missing?

    possibly.

    but the rest of the codes don’t work.

    This again isn’t really helpful. What do you mean by ‘don’t work’ – nothing shows? something shows but it is not what you want? a picture would be useful.

    I cannot help unless I get detailed problems 🙂

    #157293
    DevilWoIf
    Participant

    Sorry. I mean, I tried the shortcodes in my page but the forums aren’t separating the way I need them to like in my picture. The codes dont seem to work… I added the stat code that shows how many users and that works but the rest of the codes don’t work.

    I put the correct forum ID and everything and they weren’t showing. Is there something that I’m missing?

    #157284
    Stagger Lee
    Participant

    First, for a whole week now I am collecting, testing, verifiyng snippets around the web, most from this forum, and make my own collection. To have it all on one place on localhost. Stop making it, it never ends. 🙂 bbPress is so, so, so manageable and easy to add all functions other forum software have.

    Second, you won hearts of coders and developers. What about WP/bbPress beginners ?
    As you already lose your time coding make some new theme for this support forum. To make it as demo for bbPress, to make it shine and stick out.

    There is a reason why WP holds so much of web, and bbPress is not in this league.
    Dont get me wrong, I read your topic about complicating things and rised support with new functions/options. I am talking about plain old CSS2/CSS3. No database queries, and you “sell” your product/code.

    So, thanks and apologies if I offended someone.

    #157280

    In reply to: first post

    Matthias
    Participant

    I put the whole code in the editor. But I get the same error…

    #157277

    In reply to: Sidebar not Showing

    Robin W
    Moderator
    #157276
    Robin W
    Moderator

    I know nothing about visual composer, but a quick google produces

    http://codecanyon.net/item/bbpress-shortcodes-for-visual-composer/9073637

    which suggests that standard shortcodes don’t work?

    #157273
    Robin W
    Moderator

    my plugin

    bbp additional shortcodes

    has a code

    [display-forum-index forum= ‘2932, 2921′ breadcrumb=’no’ search=’no’] Displays the selected forum indexes

    which lets you organise the order of forums

    #157269

    In reply to: first post

    Matthias
    Participant

    I think we are close, but it gives me an error in this line
    echo “Replies only viewable for logged in users”;

    Parse error: syntax error, unexpected ‘only‘ (T_STRING), expecting ‘,’ or ‘;’
    Seems like it uses the message as code?

    #157266
    webplayer
    Participant

    I am creating a page using visual composer and making it have tabs. One of those tabs is forum, and when I embed a bbpress shortcode in that tab and publish the page. bbpress breaks our of visual composer and takes over the whole page. Any idea for why this is happening?

    #157265

    In reply to: bbPress Moderation

    cyclesha
    Participant

    Probably the same problem, however, I have the code.

    #157257
    Stagger Lee
    Participant

    Old topic but if it can help someone. Code is tested and still works, just formatting of code on this forum is wrong.

    add_filter('bbp_current_author_ip', 'my_anonymize_ip');
    
    function my_anonymize_ip($retval) {
    $retval = '0.0.0.0';
    return $retval;
    }
    #157254
    peter-hamilton
    Participant

    I had no knowledge of PHP when I started a few months ago and made it by cutting and pasting, copying and changing plugin codes, lot of topicsand tutorials read and many sleepless nights.

    Deffo a lot of work but I hope it is paying off.

    I have a dummy account for people who want to see members only functions like a “like” system and lots of profile functions

    username : demo
    password : demo

    Now working on @media queries so it is easier to use on mobiles

Viewing 25 results - 9,626 through 9,650 (of 32,505 total)
Skip to toolbar