Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 17,476 through 17,500 (of 32,506 total)
  • Author
    Search Results
  • #109619
    amirsaam
    Member

    Yep :-D But you must worry about the database mass, when we need to back it up for big forums you have a big volume to back up, nuh?

    Till now my theme for Persian bbPress support site is about 25 query in homepage, it’s cause of the Ajax and jQuery I used in it :-/ I don’t think for big forums a query be something that they worry about it.

    Another thing, your plugin need to count the post numbers after anypost, save it then give it out. I think it will be more heavier than this query that jus’ evoke the number :)

    Any way I jus’ cause of that write this code to have the number without plugin, cause plugins that we have now make another method and etc. that not awesome.

    But still have this mind for myself, we need to upgrade the StandAlone vr more than the bbPlugin cause anyone have not a WP installed! Someone are here that jus’ wanna a forum software! other way, bbPlugin is so awesome! :-D :-D

    #109617
    amirsaam
    Member

    You would like to know bbPress.org jus’ have 52,283 post :)

    ** I forgot it: Yeah buddy I would like to learnin’ manything here and share what I know :) But I don’t know anything about bbPlugin :( bbPress 1.x is my game

    #109616
    amirsaam
    Member

    Nope dude, can you explain me what type of scary thing?

    See bbShowcase and Persian WP forum to see it. But this is a code and they are a plugin called Post Count Plus by _ck_

    It’s just get it from database and do not cache anything.

    In Persian WP forum we have 17,121 registered user and 85,766 post :-D Check the topics for see the scary thing you said :) I repeat that is a Plugin and it’s a jus’ code that have jus’ a query :)

    #109623
    Anointed
    Participant

    No idea why it would work on one theme and not twentyten. Might need to wait until JJ gets off the plane for help. I’d just be taking to many wild guesses :)

    I did go to your-site/forums/ and saw the forums just fine on the old theme.

    #109615
    Anointed
    Participant

    I’m curious what the side effects to such a query would be on very large sites. Myself and friends have sites with millions of topics and hundreds of thousands of users. Without caching this could be a bit of a scary function to run no?

    *I am just getting my feet wet when it comes to caching and performance, so forgive any ignorance shown :)

    **thnx for the snippets though, love seeing new contributions

    #109628
    varsitysmack
    Participant

    No, I used the built in tool included with bbpress 2.0 (the importer).

    There was no error provided (unless it’s logged in my server’s log files that I haven’t checked yet). After I clicked on recount and checked all of the boxes and clicked go, the browser just spun and came with a page saying there was an internal server error. Not other information was given. No error codes or anything.

    #109586

    In reply to: disabling breadcrumbs

    binarymoon
    Participant

    I had a feeling you would say that. I was hoping there was a way of overriding the function/ some include file somewhere. Oh well – thanks for clarifying :)

    #109585

    In reply to: disabling breadcrumbs

    Anointed
    Participant

    There is no ‘easy’ way to remove the breadcrumbs as they are included in a number of templates. You would need to go through each of the bbPress templates and remove the following:

    <?php bbp_breadcrumb(); ?>

    #109156
    Anointed
    Participant

    wrap the initial topic function output in something like the following:

    if ( ! isset ( $GLOBALS['paged'] ) or ( $GLOBALS['paged'] < 2 ) )
    {
    // run your code
    }

    says if not paged, then run code…

    #109614
    amirsaam
    Member

    You can add this query for Total # of Topics Starded

    $query2 = "SELECT COUNT(*) FROM ".$bb_table_prefix."posts WHERE poster_id = $user_id AND post_status = 0 AND post_position = 1";
    echo "<li>Topics: ".$bbdb->get_var($query2)."</li>";

    #40172
    amirsaam
    Member

    I don’t like to for anything use plugin cause of that I coded this code to show any user total number of posts in topics :)

    <?php
    global $bb_table_prefix;
    $user_id=get_post_author_id();
    $query1 = "SELECT COUNT(*) FROM ".$bb_table_prefix."posts WHERE poster_id = $user_id AND post_status = 0";
    echo "<li>Posts: ".$bbdb->get_var($query1)."</li>";
    ?>

    So enjoy it :D

    EDIT: I forgot this! You must put it in post.php where the other post author information is :D

    Ed
    Participant

    haha. i think you need to give some more details, if you hope for any help :)

    #109611
    amirsaam
    Member

    Oops! A $ is missed in the code :-D Use it bbp_topic_is_open( $bbp_post->bbp_topic_id )

    And again I’m not sure about this code that work or no!

    And, your welcome :-)

    #109610
    common8308
    Participant

    @7i7GRiFFiN Thank you again! :)

    #109609
    amirsaam
    Member

    Nope, that function is absolutely diffrent and not used in bbPlugin :)

    #109607
    amirsaam
    Member

    comments_open() function have a sister function that used in bbPress or the bbPlugin. They looks like topic_is_open( $bb_post->topic_id ) (bbPress) or bbPlugin (I’m not sure!) bbp_topic_is_open(bbp_post->bbp_topic_id)

    I repeat that I’m not sure about bbPlugin!

    #109288

    In reply to: User Registration

    goldmember
    Member

    dmx, or anyone else, if you find the answer, please let me know. dying to make this happen ;)

    #109601
    amirsaam
    Member

    Thanks dude about answer and the address. I read them but I’ve question now, if we integrate our bbPress with WordPress can we use some functions from WP?

    I mean if we do integrate after that in theme designin’ can we use a function like this? <?php get_wp_header(); ?> (It’s jus’ a example, Im not sure about the code!)

    #40163
    amirsaam
    Member

    umm, I wanna ask exactly what is BackPress?!?

    I got some info about it but I’m not sure, I’ll be in doubt of you if explain it for me :)

    rossagrant
    Participant

    Wow, looks awesome! I need to do a conversion in buddypress from the old group forums to standalone BBpress 2.0.

    Is the procedure the same as converting BBpress 1.0?

    Would love to see an upgrader built into buddypress 1.5!

    ;)

    #109575
    Andre
    Participant

    Assuming you are using bbPress 2.x you can accomplish something similar with shortcodes. Create a page with the shortcode and change the WP setting to showing a page instead of the blog as the homepage.

    #109360
    amirsaam
    Member

    Before anything read this all:

    bbPlugin Shortcodes | bbPlugin Theme Compatibility

    #40155
    nthfamous
    Member

    This may or may not be the right forum for this, but technical support seemed the wrong place. Anyway…

    I have a template I am using for my website called Habitat (http://www.kriesi.at/themes/habitat/). It allows me to create a new page and use the template in full width without the sidebar. Now… I -can- use shortcodes to put my forum in a new page and set the template without the sidebar, but I cannot find a shortcode for the forum root (I have three categories) and each subsequent link click takes me to the /forum URL and plops the sidebar back in.

    To whit, I cannot find an option anywhere in the bbpress plugin that allows me to set the template to use.

    Anyone shed some light on this? TIA.

    #107341
    xanderr
    Member

    Hello,

    Thanks John.

    Is there a shortcode to get the latest topics from a specific category (forum). If there isn’t, how to get it?

    Xander

    #108304

    In reply to: bbPress Language Files

    amirsaam
    Member

    Dude you mean bbPlugin or bbPress (StandAlone vr.)?

    For the StandAlone one you must put your language files into my-languages and for bbPlugin put them into WordPress language directory with name like bbpress-fa_IR.po or .mo. themes and plugins have a directory for translations, if have not code a textdomain for it :)

Viewing 25 results - 17,476 through 17,500 (of 32,506 total)
Skip to toolbar