Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 16,851 through 16,875 (of 32,519 total)
  • Author
    Search Results
  • #111564
    con
    Member

    You are the man, dude. That did it :P.

    #111529

    In reply to: Spamming bbPress

    Martin
    Participant

    Well, I’ve got these installed:

    bbPress Moderation

    reCaptcha for bbPress 2.0

    WangGuard

    I also have ‘Anyone Can Post’ turned on as well. Little Spam coming my way now BUT I’d love if IntenseDebate was bbPress compatible :)

    #111420
    LabSecrets
    Participant

    Sounds like what you want to do is use shortcodes, after installing the default bbPress plugin (or installing BuddyPress version).

    You’ll still want (need) a little styling of the default twentyten template style to help it match your current theme, but otherwise the bbPress forums can be added to a page with just the shortcodes features you wish to display:

    See shortcodes here: https://bbpress.org/forums/topic/bbpress-20-shortcodes

    We’ve done a little tutorial video that shows how this might work with your theme (forward to the “hybrid” option in the video, about mid-way)

    http://labsecrets.com/2012/01/23/buddypress-and-bbpress-forums-made-easy/

    Cheers!

    Spence

    http://labsecrets.com

    #111311
    LabSecrets
    Participant

    We’ve done a little tutorial video to show how you can setup either a BuddyPress Group Forum, a SiteWide bbPress 2.0 Forum, or a custom hybrid forum page using shortcodes. You can have all three at one time. Hope this helps ;-)

    http://labsecrets.com/2012/01/23/buddypress-and-bbpress-forums-made-easy/

    Cheers!

    Spence

    http://labsecrets.com

    #111405
    LabSecrets
    Participant

    We’ve done a little tutorial video to show how you can setup either a BuddyPress Group Forum, a SiteWide bbPress 2.0 Forum, or a custom hybrid forum page using shortcodes. You can have all three at one time. Hope this helps ;-)

    http://labsecrets.com/2012/01/23/buddypress-and-bbpress-forums-made-easy/

    Cheers!

    Spence

    http://labsecrets.com

    #41975

    I have a WordPress Blog and want to link to a bbPress forum site through a button in the main menu of the blog template (Forex Titan). I can’t figure out how to do this. I change the html code but it changes back to the original WordPress permalink. Is there a plugin to change the link URL’s in the permalinks?

    #111524

    In reply to: Forum Index Title

    psupps
    Member

    I’ve also just noticed that if you go to:

    http://www.proteinsupps.co.uk/forums/forum/test/

    In the breadcrumb trail, there are two instances of ‘Forums’ link.

    Really would appreciate help on this! :)

    #41968
    johnmast
    Member

    I install bbpress and everything was fine except the bbp-topics box (I dont know if Ι said correctly)

    Take a look here http://consoleon.gr/forum/playstation-3/how-to-ps3/

    Everything is look fine but the layout of this box isn’t like other, it’s small.

    How i can fix it?

    Thanks in advance

    And sorry for the bad english :)

    giati01
    Member

    BBPress Login stopped working for everyone all of a sudden. I was removing and/or moving old topics and I removed two forums. In the middle of tiding forum it logged me out and now I can’t login again!

    When I click “login” it redirects me to homepage (so do every user!). I can’t access /bb-admin/ either :(

    Please help! It’s urgent!

    PS

    1. I went to PHPMyAdmin and hit “repair” on entire database but it didn’t change anything.

    #41950
    freequency
    Member

    I love bbPress for it’s simplistic design, but setting it up can be a bitch especially if you don’t care for standard sidebars & widgets like me, so:

    Getting bbpress to work wonders is as easy as 0,1,2,3,4,5,6,7,8,9,10,11,12!!

    On 2012-01-19, this is what I did to originally setup my forums for a free wireless network:

    0) Pre-clarification: [???] means some number, like twenty[???] means twentyten or twentyeleven

    1) Downloaded most recent WordPress, setup database and installed it.

    2) Installed bbpress:

    go to http://yoursite.dom/wp-admin/ > Log in to admin > Plugins > Add New > search for “bbpress” > Install Now

    3) Copied contents of bbpress theme folder to wordpress theme folder:

    /wp-content/plugins/bbpress/bbp-themes/bbp-twenty[???] to /wp-content/themes

    (this is done ONLY so that we can select the bbforums theme and it’s handy templates: Please note that you should only make modifications in the /wp-content/plugins/bbpress/bbp-themes/bbp-twenty[???] folder NOT the /wp-content/themes/bbp-twenty[???] folder as the bbpress plugin will not read those)

    4) Switched to the bbpress theme

    Log in to admin > Appearance > Themes > under the “Available Themes” section I activated the “bbPress (Twenty [???])” Theme

    5) Created my home page, login page, register page, and lost password page:

    Log in to admin > Pages > Add New > set title to “Home” | right hand column > Page Attributes > set Templates to “bbPress – Forums (index)”

    Log in to admin > Pages > Add New > set title to “Login” | right hand column > Page Attributes > set Templates to “bbPress – User Login”

    Log in to admin > Pages > Add New > set title to “Register” | right hand column > Page Attributes > set Templates to “bbPress – User Register”

    Log in to admin > Pages > Add New > set title to “Lost Password” | right hand column > Page Attributes > set Templates to “bbPress – User Lost Password”

    6) Switched WordPress frontpage from the blog to my home/forums page:

    Log in to admin > Settings > Reading > Front page displays > Clicked “a static page…” > set front page to “Home” (and left posts page blank)

    7) Allowed New Users to Register

    Log in to admin > Settings > General > Under Membership I checked “Anyone can register”

    8) Created and Modified my header, footer, and sidebar files:

    All theme modifications MUST be done within the wp-content/plugins/bbpress/bbp-themes/bbp-twenty[???] folder and not the folder you just copied to the wordpress theme folder as bbpress will only read files within in it’s own local plugin (see #3).

    The theme doesn’t come with these files installed, so copy them from another theme like twenty[???]:

    wp-content/themes/twenty[???]/header.php to wp-content/plugins/bbpress/bbp-themes/bbp-twenty[???]

    wp-content/themes/twenty[???]/footer.php to wp-content/plugins/bbpress/bbp-themes/bbp-twenty[???]

    wp-content/themes/twenty[???]/sidebar.php to wp-content/plugins/bbpress/bbp-themes/bbp-twenty[???]

    I then stripped them to my satisfaction making sure to keep WordPress’ header action hook, wp_head();, and then styled them accordingly.

    One of the things I added to the header.php was my menu and such:

    <?php

    $text .= '<options>';

    if(is_user_logged_in()) {

    global $current_user;

    get_currentuserinfo();

    $text .= 'You are logged in as '.$current_user->display_name.'
    Your Profile | Your Topics | Your Replies | Logout';

    }

    else $text .= 'Login | Register | Lost Password';

    $text .= "
    " . get_search_form(false);

    $text .= '</options>';

    echo $text;

    ?>

    If a visitor is not logged in the above menu will show links to the pages I just created in #5, but make sure that the page_id matches the correct page. You can do this by checking the Permalink of that page:

    Log in to admin > Pages > All Pages > select the page your interested in > notice the page_id in the permalink & make sure it matches in the header file.

    If a visitor is logged in, it will show who you are logged in as, give you a link to:

    your profile (/wp-admin/profile.php)

    your profile (/wp-admin/edit.php?post_type=topic)

    your posts (/wp-admin/edit.php?post_type=reply)

    and a link to logout ( wp_logout_url() )

    This menu will then print a search form.

    9) Installed Search bbPress plugin:

    Log in to admin > Plugins > Add New > search for “search bbpress” > Install Now

    If you don’t do this, wordpress’ search form won’t search your forums.

    10)wordpress avatars & bbPress Avatars:

    As of 2012-01-19, the latest version of WordPress (and therefore bbPress) has Gravitars support built in. So, if you sign up at https://en.gravatar.com/site/signup, you can associate an email address with your avatar. And if you also use that email address as the one you used for your wordpress/bbpress account then bbpress and wordpress will automatically show that avatar associated with the email address you supplied to gravitar.

    Simple Local Avatars:

    If you’re like me, you don’t want to force your visitors to sign up with gravitar, so the simplest avatar solution I found was to install the “Simple Local Avatars” Plugin:

    Log in to admin > Plugins > Add New > search for “Simple Local Avatars” > Install Now

    An avatar section will now display at the bottom of your profile page at /wp-admin/profile.php

    11) Consolidating bbPress profile pages

    bbPress gives you the choice of editing your profile in two places, but since avatars only show up at /wp-admin/profile.php and not index.php?bbp_user=[???]&edit=1 we will consolidate the profile editing to just /wp-admin/profile.php . To do this, we add the follwoing code to the end (but before the ?> ) of the wp-content/plugins/bbpress/bbp-themes/bbp-twenty[???]/functions.php file:

    add_filter('bbp_get_user_edit_profile_url', 'my_bbp_get_user_edit_profile_url', 10, 0);

    function my_bbp_get_user_edit_profile_url () {

    return "/wp-admin/profile.php";

    }

    This basically overwrites the bbp_get_user_edit_profile_url function whereever it’s used.

    12) I’m done! For now at least. Hope that helps. Those were the things I cared about.

    #110786
    Laurent
    Participant

    Hi,

    Can current 2.0.x codebase could allow that feature writing a specific plugin?

    Is that implemented in current 2.1 development version?

    regards.

    #110869

    AWESOME!!!!!!!!!!!!! There are a lot of people looking for this! I will keep your link in case I come across more. You have put an end to my headache!!! :) Thank you!

    #110868
    will_c
    Participant

    You can just copy the function but replace reply with topic. I’ve pasted the code below. So you’d have two functions, one for replies and one for topics:

    function bpt_topic_activity($topic_id = 0, $forum_id = 0) {
    $topic_id = bbp_get_topic_id($topic_id);
    $user_fullname = bbp_get_user_profile_link(bbp_get_current_user_id());
    $topic_link = '<a class="topic_link" href="' . bbp_get_topic_permalink($topic_id) . '" title="' . bbp_get_topic_title($topic_id) . '">' . bbp_get_topic_title($topic_id) . '</a>';
    $forum_link = '<a class="forum_link" href="' . bbp_get_forum_permalink($forum_id) . '" title="' . bbp_get_forum_title($forum_id) . '">' . bbp_get_forum_title($forum_id) . '</a>';
    $my_content = bbp_get_topic_content($topic_id);
    $user_id = bbp_get_current_user_id();
    $the_action = " created the topic ";

    bp_activity_add(array(
    'user_id' => $user_id,
    'type' => 'new_forum_topic',
    'action' => ''. $user_fullname . '' . $the_action . '' . $topic_link . '<span class="activity_forum_link"> in the forum ' . $forum_link . '</span>',
    'item_id' => $topic_id,
    'secondary_item_id' => $forum_id,
    'content' => $my_content,
    'component' => 'bbpress',
    'recorded_time' => bp_core_current_time(),
    'hide_sitewide' => false
    ));

    return;
    }
    add_action('bbp_new_topic', 'bpt_topic_activity');

    #111459
    Nirzol1
    Member

    Ok thx a lot for this informations. I understand and I ‘m ok with what you say :)

    I try a lot of thing, first I created a forum.php who overwrite the template and with that I can remove sidebar or make a specific sidebar.

    I remove the sidebar for a full width page, and make 2 div with float properties to have on the left [bbp-forum-index]] and on the right bbp-topic-index

    But it was not exactly what I want because when I click on a forum this positionning disapear.

    So I do more simply, just a custom page like you said me before with default template of my theme (content + sidebar)

    And put bbpress widget in the sidebar and for moment it’s a quite good.

    I use widget logic, but !!!!! I nearly killed me !!!!!… LOL to find the good conditional . I find this good post –> https://bbpress.org/forums/topic/bbpress-20-conditional-tags .

    Maybe a bug ? or something I do wrong but !bbp_is_forum() not work. I use :

    !(is_post_type_archive( ‘forum’ ) || is_singular( array( ‘forum’, ‘topic’, ‘reply’ ) ))

    It will be best if “last Topic widget” have more “design” like the column ‘topic’ when I use bbp-topic-index with the poster name and the category

    The same for “forum list widget”, it’s just .. a list :p with no indentation and with the “any” option, it’s difficult to understand all. Perhaps a pagetree ? or something else.

    I begin to use bbpress hope it wil be best ^^. Thx

    PS: excuse me for bad english , I ‘m french

    Anointed
    Participant

    Would probably be easier if the plugin author allowed it to filter for post-types as a value to not display on. Forum is a post-type just like topic and reply are. Has nothing to do with categories at all and if that is the only option the plugin has to filter by, then it won’t work right.

    #111483
    Anointed
    Participant

    You create your own pages where you can insert login, register, lost password shortcodes, widgets, custom templats, anything you want.

    You can then use those pages you created as the uri in the widgets.

    This allows everyone to have completely custom login/registration setups and the widget will work with any one of them.

    #111382
    Anointed
    Participant

    @Rastarr

    bbPress does not use comments in any fashion. Rather bbPress uses custom post-types for topics and replies with some rather special crazy code to relate them together.

    That is actually where the real magic comes in. Because bbPress uses standard post-types and taxonomies it means integrating with many other plugins is much simpler. Now that still leaves it up to the plugin authors to add support for bbPress. I can say that JJ took every possible step to make integrating with these plugins as simple and standard as possible.

    Creating a custom theme is not as easy as I would have hoped for, but after time you get the hang of it. The only reason I have not personally written a ‘how-to-theme’ guide is because I still have a few remaining questions myself. You have seen firsthand though, that even someone with my little knowledge of coding can create a 100% custom theme capable of doing anything I want it to.

    The best way to help out, is to simply jump in and answer any questions you can. I do the same, if I know the answer, I answer, if I don’t I skip the question (probably makes people feel ignored, but better than to have me just say I don’t know)

    #111458
    Anointed
    Participant

    For sidebars you need to look into using either widget logic plugins, or simply creating your own child theme and inserting a bbPress sidebar instead of the default one. Not to hard to do, but way more involved than I care to try and answer in a post.

    There are a number of classes in the code for the posts such as sticky, super-sticky, etc, but there are currently no classes or functions for determining if the user has read a topic or not.

    Believe it or not, that type of functionality is very intensive. Imagine a board with 50k members and millions of posts. Trying to keep track of exactly what posts each user has seen and has not seen really fills the db up very fast.

    Now this is possible of course with plugin territory so it is possible as most forums do this. I can say though, I personally at least am glad it is not in the core as I do NOT want that kind of overhead for my rather large forums. Also considering I have friends whose forums are 10x my size, I can only imagine the nightmare.

    hscoder
    Participant

    yes you can completely remove Avatars from your bbpress forum.

    You can try :

    open the file bbp-reply-template.php (/wp-content/plugins/bbpress/bbp-includes/

    and comment these lines:

    if ( ‘avatar’ == $type || ‘both’ == $type )

    $author_links = bbp_get_reply_author_avatar( $reply_id, $size );

    try this and let me know if you want anything.

    you can get more information from this page:

    http://www.authorcode.com/forums/topic/remove-avatar-from-bbpress-2-0-forum/

    #111482
    veppa
    Participant

    bbpress is worpdress plugin. you should copy bbpress folder to wp-contentplugins folder.

    if you have problem installing wordpress plugin then read detailed instructions here:

    https://codex.wordpress.org/Managing_Plugins#Installing_Plugins

    klimam
    Participant

    Hi, thanks for the plugin!

    I am solving one issue. I am using plugins WP likes and fbLikeButton and when I use the shortcode to display the FORUMS ([bbp-forum-index])it shows the like buttons of the mentioned plugins under each and every FORUM title.

    Don´t you know how to filter this? WP likes has at least setting to filter category on which it should not be used but what is the category for forums? Which format shall I use for “category name list (comma separated)”? url-style name of the category or name of category in “” or?? I tried the url-style category name but it does not work for me.

    THANKS!

    #111455
    Anointed
    Participant

    You could always use a custom Page for your forum homepage. On that page you can use shortcodes in order to display the most recent posts if you like.

    bbp-forum-index

    bbp-topic-index

    Just an idea.

    #111462
    Anointed
    Participant

    Keep in mind, bbPress is at its core simply a WordPress plugin. bbPress does not take away from anything WordPress is capable of doing.

    To try and answer your questions.

    1. Yes. You pretty much have full control over the registration system just like you do with a standard WordPress install.

    Want it open to everyone with no info collected? Sure it can be done.

    Want it open but require some info collected? Sure it can be done.

    want it open but require double opt in? That’s pretty much standard behavior.

    2. If using a subfolder install of multisite then this is pretty much standard behavior. If using subdomain install, then yes there are workarounds. If using subdomain install with domain mapping… well that is a can of worms but possible.

    3. Yes but requires some custom code. Not to difficult.

    4. Nope, but keep in mind that topics and replies are simply custom post-types. Hence you can add in custom metadata or custom fields to each topic. Then add in the front end metabox inputs and your 90% there.

    5. I personally have a bbPress forum with 300k posts, 45k members on dedicated server and have no issues. This would NOT work on a shared server. bbPress is a ‘heavy’ plugin using a lot of resources, but compared to just about any other forum system, including commercial products, it holds its own.

    6. plugin territory – I believe Paul Gibbs has a rewards system for buddypress which could probably be reused for bbPress, though I have not tried it.

    Remember that bbPress is just a plugin which follows all the WordPress coding standards. It is simple code to understand, clearly labeled and well thought out. Not to mention JJ is a coding ninja.

    #41895

    Topic: Theme integration

    in forum Themes
    anthonytkim
    Member

    I have been looking throughout the internet for about 3 days and still haven’t found my answer. I have been checking around this forum as well os If my answer is posted here (or somewhere else for that matter, I do apologize.

    I am trying to integrate bbpress into my current wordpress theme. I followed all of the steps in the bbpress 2.0 compatibility thread, but didn’t have much luck.

    I added the support for bbpress in my functions file, and copied all of the content of the bbpress twenty ten child theme into my current theme, but still didn’t have any luck.

    I am beyond lost as to how this works. I understand the support in the functions, and even copying over the file and the CSS, but I don’t know the specifics. for example:

    can that bbpress twenty ten theme be implemented into ANY wordpress theme by copying those files over?

    And what do we range in the CSS? Am I supposed to merge the CSS files from that child theme, with my current one?

    I hope I’m not beating a dead horse or anything, Just looking for some help! :)

    Thanks!

    #110831

    In reply to: Import from phpBB

    DiannaM668
    Member

    Hi OC2PS again, I tried the converter with changing the version to 2.0.2 which matches my BBpress latest version and it did seem to work this time! However, it is weird how you can’t see it doing anything and then after awhile I hit refresh and check and it converted.

    However, I’ve had this problem before and I’m not sure what could be this problem. Everything seems to convert great with users and forum structure, even the forum counts. However, my topics don’t show up within the forums. Within my topics, it shows that they are not connected to any forum. So I have about 500 some pages of topics not attached to anything.

    Do you know or have any idea what I could be doing wrong that is not pulling the topics over to their respective forum??

    I’m so close to getting this!

    I’ve even thought to go through 500 pages of topics and put them in their forums. I am that desperate! But I know better than to work that hard but also I don’t know where these topics really belong or I would consider it.

    Help? :-)

Viewing 25 results - 16,851 through 16,875 (of 32,519 total)
Skip to toolbar