Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 18,351 through 18,375 (of 32,506 total)
  • Author
    Search Results
  • #106290
    seifip
    Member

    On my site admins can’t edit the posts either :/ Also, when I edit some very old posts through the admin panel, they get uncategorized and I can’t reassociate them with the correct topic as old topics can not be found in the parent drop down list.

    janoochen
    Member

    Thanks Gautam,

    I did that instead but still having the same problem.

    The only way I can solve the problem is by taking:

    <?php bbp_get_template_part( 'bbpress/form',       'reply'   ); ?><br />

    from single-topic.php out of the loop.

    #106311

    Favorite topics are public in bbPress 2.0, and always have been in previous versions.

    Is it possible the reason why they’re appearing for you when you’re logged in, and not for other users (or logged out users) because those topics exist inside a private or hidden forum?

    I did find a possible undefined variable situation that could cause an error value to be returned instead of topic ID’s, so if the topics exist in public forums, that code change might fix it.

    #95464
    kai920
    Member

    Yes, that makes sense thanks :)

    So, how do I make sure the first posts are ‘cached properly’? I ran another test import and on the screen, the feedback the plugin importer gave was:

    Added topic #2559 (LG's iPhone - the KS20) as topic #1374 with 1 replies.

    Is ‘1 reply’ same as ‘1 post’ (and no replies), or does it mean it had 1 reply to the original post?

    edit: this line isn’t returning anything (i.e. $first_post is empty)

    $first_post = bb_get_first_post( $topic->topic_id );

    edit2: turns out, there IS something wrong with my bb_posts table… the post_position column is all 0! Is there a way to repair this?

    #106298
    Anointed
    Participant

    @bryan_w

    Yes, I believe it is indeed a code problem. I have used a number of different forum systems and ordering the forums always follows the same pattern as what I outlined above.

    Meaning, I can use order #1 within each sub-forum, otherwise trying to maintain the ordering is a nightmare.

    The problem may lie within ‘nested’ orders of sub-forums.

    Anointed
    Participant

    If I mark a post as either super sticky or sticky it does indeed stick to the top.

    However, the same post shows up twice, once on the top, and also repeated again within the list of posts wherever it would normally belong.

    In my instance I made a super sticky post and can also find the same sticky post on page2 of my forum. It is even highlighted on page 2, just like it is on page 1.

    solution:

    I believe this is a similar problem that I ran into when building a featured gallery. The solution was to store the post id#s of my featured posts, and make sure to remove those from the loop calling the regular posts, i.e. no duplicates.

    Sorry, I have not read through any of the bbpress code itself beyond theme files to even have a clue on where to fix it, otherwise I would try and post a fix here.

    #38595
    pachakuti73
    Member

    Hello !

    After i finally understand what you are doing here… :D

    I checked what i need to do. A little bit confusing for me, my english isn`t that good.

    Ok, i setup a new WP (current version with twenty theme) and installed the bbpress 2 beta.

    So far so good. Will there be categories in BBpress ? Cause i just need one Forum under one menupoint with different categories with the topics inside.

    Currently i can only make different forums wich are seperatet, thant`s a little bit strange cause i have to a menupoint for every forum.

    When i click on “forum” at the breadcrump i get this error:

    The requested URL /mashup/forums/ was not found on this server.

    404, folder not found.

    Sure, there is none. Is this just a relict of the older BBPress version where normally i should have this folder ?

    First look is nice, this can be great in the future, but its in a very early beta state i guess.

    It`s the only forum wich is native in WP and runs directly in the page.

    All others like Vbulletin, PHPbb and so can`t be included and iframes are not really nice.

    so, BBPress is my hope and the only solution at the horizon.

    Thanks for your work.

    #38592

    Hi y’all, nice to see your making such fine progress :)

    In order to register here, I’ve created three accounts (I think), and third time it was successful.

    My other email got registered as account but I didn’t get confirmation email, when I requested password reset, I got email with reset instructions but when I clicked it I got message that I’m not allowed to change my password (??).

    Why are occupation and interests required fields on registration, seems silly. That register form could definitely use some styling.

    #100883
    Anointed
    Participant

    That will probably be the long term solution I will use. However, at the moment with bbpress changing so fast I want to make as few changes as possible to ‘core’ bbpress files.

    *I’ll ask you later, when I get to that point, what the best function would be in order to do that as efficiently as possible.

    You are working at such a furious pace on bbpress that I have already had to ‘rebuild’ my custom bbpress custom templates over a dozen times.

    For now I am simply taking the logic out of every bbpress template and wrapping it into my own templates on each revision. Having to remember to change core code as well would be to much to keep up with.

    #105983
    Anointed
    Participant

    That will probably be the long term solution I will use. However, at the moment with bbpress changing so fast I want to make as few changes as possible to ‘core’ bbpress files.

    *I’ll ask you later, when I get to that point, what the best function would be in order to do that as efficiently as possible.

    You are working at such a furious pace on bbpress that I have already had to ‘rebuild’ my custom bbpress custom templates over a dozen times.

    For now I am simply taking the logic out of every bbpress template and wrapping it into my own templates on each revision. Having to remember to change core code as well would be to much to keep up with.

    The bbp_is_topic() function should definitely exist, as long as bbPress is active. Can you confirm that you still have bbPress active on this site?

    #100880

    @anointed – In a word, no. :/ WordPress custom post types only know to look for their files in the root of the theme folder, and the same goes for page templates as well. For now if you want a totally customized theme, those files need to live in the root. I did my best to minimize the number of files in the root, and instead split them up into template parts in the /bbpress folder (because I want the same thing you do.)

    It might be possible to hook into the template loader, see what the request is, and force it to look into a different folder, but there’s no possible way to do it at all with page templates; it’s actually purposely disallowed to prevent the theme from having to scan every file inside every subfolder to find them.

    #105980

    @anointed – In a word, no. :/ WordPress custom post types only know to look for their files in the root of the theme folder, and the same goes for page templates as well. For now if you want a totally customized theme, those files need to live in the root. I did my best to minimize the number of files in the root, and instead split them up into template parts in the /bbpress folder (because I want the same thing you do.)

    It might be possible to hook into the template loader, see what the request is, and force it to look into a different folder, but there’s no possible way to do it at all with page templates; it’s actually purposely disallowed to prevent the theme from having to scan every file inside every subfolder to find them.

    kmessinger
    Member

    I followed the instructions and copied the files into the themes directory. After reading the above, I just copied them into my child theme also. I have added the required code to functions.php.

    I show this child theme:

    bbPress (Atahualpa366 Child) 1.1 by bbPress teams, atahualpa team, keith messinger

    Adds bbPress forums to the Atahualpa366 theme

    Activate | Preview | Delete

    The template files are located in /themes/atahualpa366. The stylesheet files are located in /themes/bbp-atahualpa366. bbPress (Atahualpa366 Child) uses templates from Atahualpa/atahualpa366. Changes made to the templates will affect both themes.

    When I preview I get this error: Fatal error: Call to undefined function bbp_is_topic() in /hermes/bosweb26a/b1658/d5.savethec/public_html/stc/wp-content/themes/bbp-atahualpa366/functions.php on line 165

    I know this is a beta and don’t expect it to totally work correctly. More or less just keeping the bbp up to date on my progress.

    Thanks!

    #38585
    engin1984
    Participant

    Hi! Is there any wysiwyg reply form on bbPress 2, like zaerl Editor or BBcode Buttons Toolbar? I tried TinyMCEComments plugin for WP but i didn’t work on bbPress 2

    #106263
    Gautam Gupta
    Participant

    There are some plugins available for WordPress which allow the users to add their avatars. You could try one of them. There is no built-in/plugin support as such for your issue. :)

    #100800

    In reply to: Where is the importer?

    Gautam Gupta
    Participant

    kai920: Right. The 500 internal server error happened because the server couldn’t handle the load. :)

    #105900

    In reply to: Where is the importer?

    Gautam Gupta
    Participant

    kai920: Right. The 500 internal server error happened because the server couldn’t handle the load. :)

    #95458
    Gautam Gupta
    Participant

    kai920: That probably means that the first posts weren’t cached properly by bbPress standalone (when it was asked to do by the importer). It might fix if you restore your backup and run the import again.

    #95457
    Gautam Gupta
    Participant

    tooltrainer: That was a plugin by _ck_. I might port it over if she doesn’t. :)

    #100878
    Kye
    Member

    The addition of shortcodes will most certainly make it easier for users to embed the forums as they please and see fit….

    One thing I would like to see though is the addition of a shortcodes icon within the page/post editors for ease of use, this could be extended to allow you to select the specific forum to build a shortcode string.

    When used within a multisite environment it would also lower the amount of confusion as it would most likely also do in single installations. Although shortcodes are simple enough, not everyone is so web savvy.

    Simplicity with a forum shortcode insert button would certainly make it much easier and eye pleasing without to much more code. Please!!!! :-)

    Thanks for all the great work here!

    #105978
    Kye
    Member

    The addition of shortcodes will most certainly make it easier for users to embed the forums as they please and see fit….

    One thing I would like to see though is the addition of a shortcodes icon within the page/post editors for ease of use, this could be extended to allow you to select the specific forum to build a shortcode string.

    When used within a multisite environment it would also lower the amount of confusion as it would most likely also do in single installations. Although shortcodes are simple enough, not everyone is so web savvy.

    Simplicity with a forum shortcode insert button would certainly make it much easier and eye pleasing without to much more code. Please!!!! :-)

    Thanks for all the great work here!

    Gautam Gupta
    Participant

    You should instead add this in your theme’s functions.php:

    add_filter( 'bbp_show_lead_topic', '__return_true' );

    janoochen
    Member

    When I change this line:

    function bbp_show_lead_topic( $show_lead = false ) {

    to this:

    function bbp_show_lead_topic( $show_lead = true ) {

    the reply form disappears.

    Is this a bug or a feature?

    (This happens with a fresh bbpress install).

    (I’m using bbpress 2.0 beta and wordpress 3.1)

    #106196

    Rock solid. :)

Viewing 25 results - 18,351 through 18,375 (of 32,506 total)
Skip to toolbar