Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 17,476 through 17,500 (of 32,519 total)
  • Author
    Search Results
  • varsitysmack
    Participant

    Hey, John:

    Yes, I could see the forums and figured out that this is an issue with the URL. The way that I have my forums set up is that there are hard coded links in the WP pages that link to each forum. With the old setup the link structure went to groups and then the last part of the URL was /forum. I figured out that the new bbPress isn’t integrated in with groups and that I will need to do a batch upload of new URL’s for all of my WP pages to update the links. I have over 1,800 individual forums and use the WP pages to ‘drill down’ so the site users can easily get to where they want to go.

    This leads to my next question – when will bbPress 2.0 be fully integrated with buddypress forums and when it does integrate, will I be able to use my old link structure like it was set up when I had the old bbPress running?

    spaghetti
    Member

    Why would you remove the “Freshness” code from public views by the way?

    #40183

    Topic: bbp_shortcodes

    in forum Plugins
    pjeurien
    Member

    I am trying to figure out how to allow custom shortcodes in topic posts. So far i’ve been trying to use bbp_shortcodes like this.

    function bbp_custom_shortcode($codes) {

    $codes[] = array(‘item’ => ‘item_func’);

    return $codes;

    }

    add_filter( ‘bbp_shortcodes’, ‘bbp_custom_shortcode’);

    The codes array is appended but it does nothing Can you explain how to do it properly.

    #109605
    amirsaam
    Member

    Thank you Adam :) You made me happy. Going to now BP functions!!! :-D

    #109603
    amirsaam
    Member

    Yep JJJ, bbPlugin is very good but I’ve still have no skill in using it. Other way our people like the StandAlone more than the bbPlugin. For now I want learn more about the SA :)

    This BackPress question is that I want know it and you can better answer me, is that possible to get some function from WordPress after integrating? BackPress will be used here? :)

    #109588

    In reply to: disabling breadcrumbs

    There is. $1 to the person that looks for the function and finds out how. :)

    #108099
    ebharding
    Participant

    Any progress on this?

    Here is a screen shot of the dashboard showing the issue.

    my timezone is “Pacific” and that is set in the wordpress settings.

    system clock says 12:21,

    post time stamp is 12:06 and

    the freshness say 7 hours ago.

    http://www.westsac.com/bbpress_timezone_bug.png.

    The forums are going live next week and I am in the process of removing the “Freshness” code from the public views.

    #109633

    In reply to: Local Time Issues

    amirsaam
    Member

    In bbPress times of posts and topics are like Twitter, like 20 minute ago and etc. Then, when the time be very long ago it will shown like what is in General setting date and time field :)

    #109631
    Kasper Isager
    Participant

    Forgot to wrap it: *which means that every <a> on the…

    Ed
    Participant

    Hi Anointed, thanks for that. I really need to get my punBB moved to something else ASAP, and was hoping the bbpress might be the one.

    Indeed, I just went from punbb > phpbb etc, as there is no direct conversion. It does seems that along the way, little things break – which in the end screw up the final conversion step.

    Looking forward to a new release of your tool :)

    #109167
    highexistence
    Participant

    Bump :)

    #106105

    I’m advancing! Have found php files in my file manager and have managed to change one and it worked! Unfortunately the changes were not re this bbtheme change. I have reread these posts but I’m afraid I’m still really not clear on what is the right changes to make to my php files so that weaver refers to the bbpress templates.

    I’ve transferred the bbpress twenty ten file to my weaver theme file. Can someone from bbpress (or someone who has successfully done this) give instructions for the code changes that are needed?

    Thanks heaps – can’t wait to get this baby working!

    #109621
    amirsaam
    Member

    Yep, the counting is the problem. but first go and see is your way possible or not. Get the # a +1 will be awesome but how will stored in database? hum?

    I have not a good knowledge about database but I know make a +1 to database is a very hard way! :-/

    My way is the way bbPress go, how? bbPress count it, store it into the database and you don’t need to store it again, jus’ get it and show it. Your way said bbPress counted it & stored it into db, ok I don’t need it. I’ll count & store it again then show it (I didn’t used bbPlugin, maybe I didn’t see what’s going on here!) but in this way countin’ will be lower but the problem is the +1 that is possible or not cause MySQLs I think have not this ability and everytime they overwrite themselves mean they recount and rewrite the metas, they are not mathmen :D

    #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 :)

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