Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 21,001 through 21,025 (of 32,499 total)
  • Author
    Search Results
  • #85809

    Hi Gideons,

    Mate, with respect, these aren’t really bbPress issues, it’s an issue with an independant theme given away some 2-3 months ago.

    It sounds to me like a basic web design CSS issue, thats outwith teh scope of this board, but if you’re still struggling, please contact the theme author at: http://www.jasonmorehouse.com/bbpress-vanilla-theme

    :)

    #85807

    Hi Gideons,

    I suggest you talk to the author directly at http://www.jasonmorehouse.com/bbpress-vanilla-theme

    :)

    #89424
    zaerl
    Participant

    Open front-page.php. Locate:

    if(bb_forums())

    (line 47 in kakumei) change it in:

    if(bb_forums(array('where' => 'where forum_parent = 0')))

    Have a nice day.

    #89422

    You’ll need to code a custom loop for that I’m afraid.

    #34467
    driz
    Member

    I want to show only the very top level forums on my front page. I have tried:

    <?php if ( bb_forums("depth=1") ) : ?>

    But that didn’t work and all the forums still show up. I only want to show the very top level, so for example if I have the following forums:

    Main
    - Sub Forum 1
    - Sub Forum 2
    --- Sub Forum 2.1
    --- Sub Forum 2.1
    - Sub Forum 3
    Community
    - Sub Forum 1
    - Sub Forum 2
    --- Sub Forum 2.1
    --- Sub Forum 2.1
    - Sub Forum 3

    Only Main and Community would appear on the home page.

    Thanks.

    #89409
    gerikg
    Member

    If you want it like this site…. An easy way to do it is…

    the front page of the default theme is broken into two parts.

    If you open front-page.php serach for these div codes, everything on the left is between “id=”hottags” role=”main””

    Everything on the right is between “div id=”discussions”” JUst move what you want in them.

    All you have to do is adjust the width/margin of both css styles.

    style.css (line 285) #front-page #hottags for the left side change the width

    style.css (line 293) #front-page #discussions change margin left to be 20px more than what you pick for the left column width and the width to fit.

    (Why doesn’t this site have a demo on bbpress! I hate changing my theme back to default to answer questions!)

    #89391
    mr_pelle
    Participant

    Solved. =)

    #84769

    In reply to: Plugins You Want !!!

    gideons
    Member

    well I was actually adressing bb-lover

    as he autoassigned himself 5 tasks

    and since then no news…

    I have found the plugins, thanks ;-)

    (although not all parts of the site seem to work flawlessly)

    #89406
    gideons
    Member

    Either way

    If the theme from BBpress/Forums

    is available great that woudl give me 85% of what I need

    otherwise the code and an explanation where to stick it, I guess

    although I am not a coder

    thanks

    #89405

    Hi Gideons,

    I’m not really sure what you’re after here.

    Are you wanting someone to give you a theme, or write the code for you to put in your own theme?

    Kev

    KentonMr
    Member

    I have a large number of topics within a forum that are generated externally with all of them having the same topic start, topic and post date (initial post)

    The forum also contains other topics (user added) and of course additional posts which have later times.

    The normal display shows the freshest post at the top Which is exactly what is wanted however the rest of the list (the as yet unanswered topics) are listed in an order that seems to be driven by the topic_id. This is not what is required for my site.

    I want to change the order of these “unanswered topics” to an alphabetical sequence based on the topic_title.

    Examining the table bb_topics and drilling the code from forum.php downwards it appeared that the USE INDEX() given to BB_Query was ‘forum_time’ This index is combined on topic_time and topic_id which explains the normal listing.

    I changed this index to a combined topic_time and topic_title(20)

    The result was unexpected. The replied topics are still listed first (descending time) however, the unanswered topics are now listed in descending/reverse alphabetical order!

    Evidently the DESC sql is being added to the entire query – both time and title.

    I have been unable to find out where or find an alternative.

    Any suggestions welcome – and I’m quite happy moding the code though would prefer to make this minimal as it could make upgrades problematic.

    Thanks in advance

    #89388
    harryxu
    Member

    And I found there is a blank line at start of the output rss code, also in all page’s html code.

    I guess this cause the rss parse error?

    #80741

    In reply to: When bbpress 1.0.3?

    mr_pelle
    Participant

    I think the next release is going to be 1.1 instead of 1.0.3. […]

    Not sure when 1.1 will be released. Maybe after all the 1.1 tickets are cleared up

    So we have to wait 2011 for 1.1, instead of maybe august for 1.0.3, since at the moment the former has got more than 6 times the number of tickets of the latter… not to mention those 3-yo tickets

    Trunk right now is a little bit unstable. There were a couple of search related bugs that were not fixed properly.

    I hope we’ve fixed those, at last! =)

    #88928
    gerikg
    Member
    <?php $topic = $GLOBALS['topic'] = current( get_latest_topics( array( 'number' => 1, 'forum' => get_forum_id() ) ) ); ?>
    <a href="<?php forum_last_post_link();?>"><?php topic_title(); ?></a>

    works for me

    I’m afraid thats not got anything to do with bbPress so there’s not a lot we can do to help. Given that the code is output, its probably jsut a styling issue, which really is something you can find out at any of the CSS websites on the interweb.

    Additioanlly, you have paid for theme, so you should probably ask there instead of here, given that your bbPress works :)

    Oh go on then, because I’m being nice…

    Right, if you open up the source of your webpage in a browser, you’ll see some hardcoded (awful idea) CSS into your WordPress page (line 70).

    Just copy that into your bbPress forums, and it too will look the same:

    And really bro, if you pay for a theme and then it doesn’t look like the way you want it, go ask at the forum of where you bought the theme :) WE’re the folks giving up our time for free!!

    #81661

    In reply to: Last Post on Forums

    Hi Gerikg,

    _CK_’s last forum poster works awesomely (though I hit a few issues with it with 1.0, they were ultra minor).

    The downside for that plugin though is that it makes additional SQL calls that really shouldn’t be needed. That isn’t the fault of the plugin or _CK_ but really, it’s aditional overhead that really isn’t needed when there’s a better way of doing things.

    Also, Code’s been royally F@**ed for about a week now, given how much of a priority fixing the homepage was (404 error for 3-4 days) I rekon we can expect a fix in roughly 2.4 amotic years ;-)

    #81660

    In reply to: Last Post on Forums

    gerikg
    Member

    This topic is resolved, I used Forum Last Poster plugin by _ck_ (https://bbpress.org/plugins/topic/forum-last-poster/)

    For last topic with link I used

    <a href="<?php forum_last_post_link();?>"><?php topic_title(); ?></a>

    Why can I paste code anymore?

    Nope.

    General rule of thumb: If a post is more than 1 year old on this website, ignore it :)

    gjoseph
    Member

    So what’s the status of this ? The site is… pretty empty, and the google code project hasn’t been touched since august …2008. Is there still any interest ?

    #89279
    _ck_
    Participant

    Did some digging, here’s why that happens:

    Someone (ahem, Sam?) hard coded the url for bb-admin and worse than that, they did it as a relative url, instead of full url, so my little plugin can’t detect the page is in https mode.

    example:

    $uri = bb_get_uri('bb-admin/delete-post.php'

    right there, wow, hardcoding, after all that nonsense with even more CONSTANTS for all those silly paths.

    So, what we need is to detect when bb-admin is being requested and convert it back out of the relative url into a full url.

    #89350
    ghettobsd
    Member

    That’s actually why I needed to remove the backtick, because I wouldn’t be able to post code without it looking like barf.

    Thanks for your help again guys, great work!

    #89278
    _ck_
    Participant

    Ah those controls (Sticky, delete topic, lock and unlock) are done javascript (ajax) in 1.1 so there is probably yet another url that has to be “adjusted” and hopefully not hard coded.

    #89375
    sajp
    Member

    It’s definitely doing it in both of the Kakumei themes, with Askimet (and everything else disabled). It was letting me register account previously, so it must be after I started making modifications.

    I’m currently pulling in the header and footer from my WordPress theme using ‘deep integration’ (which I don’t really understand if I’m honest), but I haven’t integrated my bbPress with WordPress so the users are shared or anything like that.

    To do that, I did add ‘require_once(dirname(__FILE__) . ‘/../../wp-load.php’);’ at the end of my bb-config.php file. Could that be causing a conflict of some kind? I think that’s the only core file I touched.

    I realise that this is starting to sound like I’ve broken it at some point along the line :-(

    #89325
    zaerl
    Participant

    You can use phpmyadmin:

    SELECT DISTINCT user_email FROM bb_users ORDER BY user_email ASC

    but mass email isn’t a good idea.

    #89348
    zaerl
    Participant

    It’s the only way to do this. Otherwise you should replace the filter manually which is also a hugly hack. If you remove the filter and then add a custom code (I tried with a plugin) this doesn’t work cause the filter must be at the same exact position (after bb_encode_bad and force_balance_tags.) Changing the code againg when the SVN update it’s not difficult.

    The first thing I’ve done after my very first installation of bbPress was to chage the backtick code. I think that using such character of inline code is not a wise choice. First of all cause that character is hard to find on keyboard layouts different from USA. Seconded cause that character is widely used on several language (Perl, Ruby, PHP, MySQL, Lisp, TeX and other.) I can’t write significant portion of code without breaking the formatting.

Viewing 25 results - 21,001 through 21,025 (of 32,499 total)
Skip to toolbar