Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 9,126 through 9,150 (of 32,505 total)
  • Author
    Search Results
  • Robin W
    Moderator

    you could put the following at the bottom of your style.css

    .bbps-post-count {
    display: none !important;
    }

    That should hide it.

    Functions files and child themes – explained !

    #160193
    andrew55
    Participant

    There is a link at top of forums: Create New Topic

    I am trying to add a div class to this link so I can either remove it all together, or at least hide it on mobile devices.

    Anyone know where I can add this class (what template files, where in the code, etc). I’ve been digging through template files with no luck.

    It’s weird, because every other link/element has a class in that area, except this one.

    Anyways, thanks for any clarification.

    #160181

    In reply to: Not the heading I want

    Robin W
    Moderator

    put this in your functions file

    add_filter('protected_title_format', 'ntwb_remove_protected_title');
    function ntwb_remove_protected_title($title) {
    	return '%s';
    }
     
    add_filter('private_title_format', 'ntwb_remove_private_title');
    function ntwb_remove_private_title($title) {
    	return '%s';
    }

    or use

    https://wordpress.org/plugins/bbp-style-pack/

    which has a setting for this

    #160176
    Nicolas Korobochkin
    Participant

    bbPress 2.5.6 have some changes with this. Filter bbp_notify_subscribers renamed to bbp_notify_topic_subscribers.

    #160168
    tharsheblows
    Participant

    Does anyone have auto-unsubscribe code for Mandrill hard bounces? So eg if a user gets a topic subscription email and it has a hard bounce, you use the response to unsubscribe them from the topic?

    This is really just a shot in the dark before looking into it myself. I’m feeling a bit lazy…

    #160167
    tharsheblows
    Participant

    @t3_rrY — I think you’d use the mandrill_payload filter as explained here: http://blog.mandrill.com/own-your-wordpress-email-with-mandrill.html

    You could add it into @korobochkin’s code. I haven’t tried it – I’m not sure how the template is handled (I don’t use them) but that’s where I start. You can also simply add html to the message in the functions above, although for anything the least bit complicated design-wise, a template would be the way to go.

    I’ve just started using Mandrill; it’s great, isn’t it?

    rmessick
    Participant

    Here is my code for the ExpressionEngine Converter.
    https://gist.github.com/RickeyMessick/780b857970a4bb72a79f

    #160155
    Robkk
    Moderator

    i say use <?php bbp_topic_reply_count() ?> and use math with it.

    this code and where i think you want to modify it should be in loop-single-topic.php

    make sure you copy it to your child theme into a folder called bbpress so an update doesnt lose your data.

    #160150
    Sebastian
    Participant

    Hi Robin,

    I deactivated all plugins. Error still remains.

    I switched the theme back to twentytwelve, it works fine!

    Okey. Could be the template functions.php…and YES it was!
    I still had the code inside

    add_filter( ‘bbp_verify_nonce_request_url’, ‘my_bbp_verify_nonce_request_url’, 999, 1 );
    function my_bbp_verify_nonce_request_url( $requested_url )
    {
    return ‘http://localhost:1337′ . $_SERVER[‘REQUEST_URI’];
    }

    Stupid mistake.

    Sorry for dealing with that.
    Thanks for your help!

    Robkk
    Moderator

    use this CSS

    #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 {
      display: none!important;
    }
    #160143
    eduardosilva
    Participant

    Greetings,

    I have tons of spam users registered on my forum that never posted anything (I guess that most didn’t even got the password that is sent by mail).

    I would like to cleanup my messy list of users, but without risking loosing additional information.

    I’ve found this post http://www.blogercise.com/delete-spam-users-from-bbpress-2/

    DELETE *
    FROM wp_users
    WHERE ID NOT IN
    (SELECT post_author FROM wp_posts
    UNION SELECT user_id FROM wp_comments)

    and metadata:

    DELETE A FROM wp_usermeta A
    LEFT JOIN wp_users ON user_id=ID
    WHERE ID is NULL

    Just wondering if this select is safe enough to cleanup all users who never started or replied a topic.
    Any chances on deleting an active user?

    btw:
    Running wordpress 4 and bbpress 2.5.6 (this forum was imported from bbpress standalone, I guess that it was version 1.4)

    Thanks

    #160140
    joym
    Participant

    Hello all. I’m really hoping I can get some help here. I have been searching for days for a solution on this and it seems it should be a pretty easy fix.

    I have a few things I am hoping to accomplish:

    On the forum, I would like to redirect the profile links. Instead of, http://www.example.com/members/username I would like it to go to, http://www.example.com/profiles/username

    Also, is there a way to shortcode in the notifications porition of the bbprofiles?

    Thank you much!

    #160138
    joym
    Participant

    Hello all. I’m really hoping I can get some help here. I have been searching for days for a solution on this and it seems it should be a pretty easy fix.

    I have a few things I am hoping to accomplish:

    On the forum, I would like to redirect the profile links. Instead of, http://www.example.com/members/username I would like it to go to, http://www.example.com/profiles/username

    Also, is there a way to shortcode in the notifications porition of the bbprofiles?

    Thank you much!

    #160137

    In reply to: bbPress on Github

    Nicolas Korobochkin
    Participant

    Hm. I can’t use this link like a bower component (something not work). But I find https:// github . com/wp-plugins/bbpress.git – pretty good and working with bower and you can set up something like https:// github . com/wp-plugins/bbpress.git#2.5.6 to set up vertsion.

    #160131
    iampsp.com
    Participant

    check plugins ,but not problem.I guess I need to write code or function,Where is file of button`s code?

    #160128
    64scramble
    Participant

    As the title says, moderators of our forum can’t edit any posts, not even their own. When they try, they get:

    Reply To: Uneducated game shop staff

    Welcome to Grownups Gaming › Forums › Grownups Gaming › PC Gaming › Uneducated game shop staff › Reply To: Uneducated game shop staff Reply To: Uneducated game shop staff You can use BBCodes to format your content. It’s just a test, a game for us to play Add / Edit SignatureUpdate Signature Tags: Notify…

    Continue Reading

    The Feed Them Social Plugin offers system info as follows:
    Feed Them Social plugin version 1.7.3
    WordPress version WP 4.1.1
    Installed plugins
    Advanced Custom Fields by Elliot Condon version 4.4.1,
    bbPress Notices by Pippin Williamson version 1.0.1,
    bbPress – Report Content by Josh Eaton version 1.0.5,
    bbPress WP Tweaks by veppa version 1.3.1,
    bbPress by The bbPress Community version 2.5.6,
    Better bbPress Signature by Arun Singh version 1.2.0,
    BP Registration Options by Brian Messenlehner and Michael Beckwith of WebDevStudios, Jibbius version 4.2.5,
    BuddyPress by The BuddyPress Community version 2.2.1,
    Export User Data by Q Studio version 1.2.0,
    Feed Them Social (Facebook, Instagram, Twitter, etc) by SlickRemix version 1.7.3,
    GD bbPress Tools by Milan Petrovic version 1.7,
    Invite Anyone by Boone Gorges version 1.3.7,
    Quick Chat by Marko Martinović version 4.13,
    Simple eCommerce by Niaz Showket version 2.2.3,
    Twitch TV Embed Suite by Plumeria Web Design version 2.0.7,
    Twitter by Twitter version 1.0.1,
    WP Hide Admin Bar by Web Outsourcing Team version 2.0,
    WP Mobile Edition by Fabrix DoRoMo version 2.2.5

    Server Environment
    PHP Version 5.5.20
    Server Software Apache/2.4.9 (Unix)
    WP Max Upload Size 64 MB
    WP Debug Mode No
    fsockopen fsockopen is ON
    cURL cURL is installed on this server

    The website is http://www.grownupsgaming.net

    If you need access to the Forum, or anywhere else on the site, email me and I will give you the test login I’ve been using. I’ve tried all combinations of site permissions with forum moderator, but all get the same result.

    Thanks in advance

    #160127
    Robin W
    Moderator

    bbpress does not delete any area from which it is importing.

    But I would strongly suggest that you have a good backup of the SMF forum before you start, and that when you have migrated, you run a test site for your new WP setup

    https://codex.bbpress.org/creating-a-test-site/

    #160125
    Robin W
    Moderator

    If you haven’t already, suggest you contact your host provider for a backup.

    Deactivating the plugin should not take down your site – sounds like the site bugged whilst deactivating.

    Whether you run bbpress or not, if your site is that busy, the you really need a development/backup site – suggest you invest time in creating one see

    https://codex.bbpress.org/creating-a-test-site/

    #160107
    iampsp.com
    Participant

    hello guys,I install bbpress an create child theme for it and work good,only problem is Post Formatting option not work,if active this option not show bbcode buttons and hide teaxtarea border,now what`s my problem,please if need use function or action help me,i am programmer and I know php code.
    thanks for help.

    #160106
    xxmesoxx
    Participant

    Wanted to avoid triple posting, but can’t seem to edit.

    I have found the problem and managed to get the migration to work. Within the Kunena3.php file, there is a single line with a hardcoded jos_ prefix in it. I changed that to my dbs table prefix and the issue was solved.

    #160105
    Robin W
    Moderator

    not a quick php answer.

    looks like css might be the way to go

    Twenty Fifteen, no sidebar

    but you want it specifically for forums (although not sure how they’ll navigate out again).

    forums use

    #bbpress-forums as the css tag, so maybe combine that with the code abiove

    #160098
    Devilfish85
    Participant

    Thanks Robkk. I’m afraid that code didn’t fix it completely, however it gave me the missing piece to figure it out.

    I had previously added a bit of found code to override my theme putting bullet points before everything in bbpress. Using your suggestion, I added the text indent to that code bit and it worked. The final solution for anyone else who finds this:

    #main-content #bbpress-forums ul ul li, #main-content #bbpress-forums ul li {
    margin: 0px;
    text-indent: 0px;
    list-style: none outside none;
    }

    #160093
    Robkk
    Moderator

    try this

    #bbpress-forums #page-container ul li {
      text-indent: 0;
    }
    #160089
    Devilfish85
    Participant

    Hey everyone. I’m not the most css savvy yet, but I can usually chase down a problem after a while… not this one, it seems. Why is my text outside of the margins on the left side? I’ve already had to add a snippet of code to my theme’s style.css to take care of some strange bullets, but the text was misaligned before doing that as well I think. Thanks for your advice.


    http://www.tampere-hema.com/?forum=test-forum

    #160087

    In reply to: Full width forum

    Robkk
    Moderator

    your theme is missing some body classes , or i cant find any.

    if you find out the post id of this particular page and try

    .postid-(yourpostid) .pure_content {
      float: none !important;
    }
Viewing 25 results - 9,126 through 9,150 (of 32,505 total)
Skip to toolbar