Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 21,026 through 21,050 (of 32,517 total)
  • Author
    Search Results
  • #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.

    #89118

    In reply to: s2member integration

    wood2695
    Member

    Hey drcoach. Hoping it might help you, I’ve dumped my edits into pastebin to avoid the bbPress forum’s reformatting. I’ve also added a few placement notes. http://pastebin.com/uZwUJCtA

    Only 2 things that I could think of (with my limited knowledge of it all) is:

    1) Is your setup a “deep integration” of WP+bbP?

    2) The code that I said to add included some stuff that was already there (I guess “edit” would have been a better term). Only the “strong” code was the addition. The code I placed on pastebin includes notes on existing and unchanging lines and what & where to add. (sorry if you already understood that, I’m just trying to think of mistakes I might have made)

    I hope that helps and good luck!

    #85635
    mr_pelle
    Participant

    […] Then replaced the code of .htaccess with the code in nicer-htaccess > activated plugin > activated permalinks name based option from admin panel.

    But got following error: […]

    Hi! It seems you did not read my installation instructions carefully:

    (1) FIRST activate name based permalinks

    (2) then perform automatic/manual update

    As for “name not allowed” on the server, do the same: go to bbPress admin panel and activate name based permalinks. It will generate the htaccess file automatically, if folder permissions are set. If not, set them or create the file yourself (you may leave it blank) and let bbPress do the rest. THEN you may perform (2).

    #89318
    btko
    Member

    It was giving me the “Admin” link along the top and when ever I pressed it, it would always forward me back to the forum home. But I just went to look again and now it works….

    Strange (or maybe not).

    I think maybe I hadn’t finished the wordpress integration completely? Seems to be working now.

    Thanks :)

    chrishajer
    Participant

    Looks like the bbPress forum footer.php is trying to load a WordPress file? For this integration, maybe you should find the file that’s being referred to (_contentfooter.php) and just hard code the path to it, rather than relying on the constant THEME_LIB, which doesn’t appear to be working.

    One problem at a time.

    Also, it’s just a warning, although it’s warning you something is not working. On a production site, you should not display warnings. During development, it’s good to see them, even if they’re just logged, so you can fix problems like this.

    #85634
    sureshdrim
    Participant

    @ Mr_pelle


    Thanks for ur plugin.I tried it but unfortunately it didn’t worked for my forum.I changed the RewriteBase as follows while I was testing it on localhost as my test forum is installed at http://localhost/bbpress/

    <IfModule mod_rewrite.c>

    RewriteEngine On

    RewriteBase /bbpress/

    Then replaced the code of .htaccess with the code in nicer-htaccess > activated plugin > activated permalinks name based option from admin panel.

    But got following error:

    “Oops! This link appears to be broken.”

    in Google Chrome while navigating the forum.

    Secondly even I tried to test ur plugin on my server where my forum is installed at http://www.xyz.com/ so I changed RewriteBase to

    <IfModule mod_rewrite.c>

    RewriteEngine On

    RewriteBase /

    But I could not find any .htaccess file in root folder on server.So I tried to upload it through FTP but got an error :

    “The name you specified is not allowed”

    coz of “.” in .htaccess name.

    Please help..

    #34449
    gerikg
    Member

    My “posts count” are showing (5 posts +1 more)

    topic_posts_link(); is giving me 5 posts +1 more

    #89344
    zaerl
    Participant

    Open function.bb-formatting.php.

    Change bb_decodeit and bb_code_trick with http://pastebin.com/SAx377E4

    No more backticks for you.

Viewing 25 results - 21,026 through 21,050 (of 32,517 total)
Skip to toolbar