Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 22,926 through 22,950 (of 32,481 total)
  • Author
    Search Results
  • #81120

    Pretty much. The non get_ version is just an echo of the get_ one anyway :)

    https://trac.bbpress.org/browser/trunk/bb-includes/functions.bb-template.php

    #80844

    In reply to: Future of bbPress

    bbhack
    Member

    The reason why bbPress needs Oracle support is because if you are trying to integrate it into any existing site run by an actual company and not a hobbyist, there’s a good chance their user database is in Oracle (or MS SQL Server).

    PHP supports Oracle so why should bbPress be tied to just MySQL. I don’t think it is really using much (if any) MySQL specific code.

    This is one of the main selling points of PHPBB – it supports FireBird, MySQL, MS SQL Server, Oracle, PostgreSQL and SQLite.

    #81118

    Use get_topic_title() to retrieve the topic title as a string while in the loop.

    To get the actual index keys of the $topics array, you can use array_keys, or if you want to actual topic IDs, you’d need to use $topic->topic_id inside a foreach loop assigning $topic.

    #81117
    Bagi Zoltan
    Member

    Hi,

    $query="SELECT topic_id FROM bb_topics";will return the array of the topic ids.

    Regards

    #81124
    chrishajer
    Participant

    You can use browser add-ons for Firefox like Firebug or the Web Developer Toolbar, or you can use a command line tool, or there are places online that you can submit your URL to and they will show the headers returned.

    Using the Web Developer Toolbar for Firefox, I get this:

    Response Headers - http://fakeplasticfish.com/discuss/

    Date: Sun, 01 Nov 2009 21:27:42 GMT
    Server: Apache
    Keep-Alive: timeout=15, max=99
    Connection: Keep-Alive
    Transfer-Encoding: chunked
    Content-Type: text/html; charset=UTF-8

    200 OK

    Which is correct, and different from before, and it looks like you fixed it.

    #81123

    Oh my god, I love you. Will you have my babies???!!!!!

    Changing from wp-blog-header.php to wp-load.php fixed the problem. At least it looks that way. The pages are loading in IE now.

    How would I check to headers to make sure this problem is truly fixed? I don’t know what “check the headers” actually means. Sorry. :-)

    Oh, and maybe bbPress could change the instructions here

    https://bbpress.org/documentation/integration-with-wordpress/

    to indicate that wp-load.php should be used instead?

    Beth

    #81122
    chrishajer
    Participant

    I think you should be including wp-load.php instead of wp-blog-header.php

    I think the difference between browsers is due to your forum returning a 404 but still displaying the content. Some browsers ignore the 404 and display the content (Safari and Firefox, apparently) but others treat the 404 as a 404 (IE8).

    Check the headers being returned from http://fakeplasticfish.com/discuss/ :

    Date: Sun, 01 Nov 2009 20:34:48 GMT
    Server: Apache
    Cache-Control: no-cache, must-revalidate, max-age=0
    Expires: Wed, 11 Jan 1984 05:00:00 GMT
    Pragma: no-cache
    X-Pingback: http://fakeplasticfish.com/xmlrpc.php
    Last-Modified: Sun, 01 Nov 2009 20:34:48 GMT
    Keep-Alive: timeout=15, max=98
    Connection: Keep-Alive
    Transfer-Encoding: chunked
    Content-Type: text/html; charset=UTF-8

    404

    https://bbpress.org/forums/topic/deep-integration-google-might-not-be-indexing-your-forum-pages

    https://bbpress.org/forums/topic/help-404-error-but-page-displays

    https://bbpress.org/forums/topic/bbpress-wordpress-mu-or-not-leads-to-404-errors-but-pages-still-load

    I think those are related.

    #32216

    Not sure if this question should go to the Installation forum or Troubleshooting. I actually posted this question last night to the forum, and this morning it has disappeared. So trying again…

    I have spent all weekend installing bbPress and modifying the kakumei template to integrate with my site. It all looked great in Firefox and Safari, but when I view the site in Internet Explorer 8, I cannot reach any pages besides front page, and only then if I browse to http://fakeplasticfish.com/discuss/index.php. Simply browsing to http://fakeplasticfish.com/discuss/ in Internet Explorer brings up a 404 Error, as do all the other forum pages.

    Here are details of my install:

    WordPress 2.8.4 installed at the root: http://fakeplasticfish.com

    bbPress 1.0.2 installed at http://fakeplasticfish.com/install/

    bbPress is installed into the same database as WordPress on a GoDaddy Linux server.

    I have added this code to my bb-config file as instructed:

    /** Integrate with WordPress */

    require_once(‘/home/content/b/e/t/bethfish/html/wp-blog-header.php’);

    This is because I want my WordPress plugin menu bar to appear in bbPress as well as other WordPress functions.

    I thought perhaps the issue had to do with pretty permalinks, as I read some entries in this forum on that issue, so I actually switched back to the original ugly permalinks, cleared the browser cache and restarted IE. IE will still not open any of the bbPress pages besides index.php and returns a 404 error from the server (not my WordPress 404 page.)

    I have two .htaccess files, one in the root folder created by WordPress and one in /discuss/ created by bbPress. I tried deleting that file after switching back to ugly permalinks, and now there is a new one there.

    I am a novice. I don’t understand the information in the .htaccess file, but I am happy to copy the information from both files over here if that would help.

    I just really don’t understand why the bbPress pages work fine in Firefox and Safari and not in IE.

    #32215
    Collisionx
    Member

    Hi

    I have tried integrate wordpress into bbPress according to the documentation, in my localhost, and im getting this error.

    Fatal error: Call to undefined function bloginfo() in C:wampwwwgm_wordpresswp-contentthemesdefaultfooter.php on line 12

    Do i have to call every file in wordpress with “require_once”… Or is there any other solution ?

    I ll be great if you guys can help me out.. :)

    Thanx

    #32214
    psymatix
    Member

    Hello,I’m a wordpress user and I just downloaded bbpress for a project I’m working on since I can’t get some key features on wordpress. My project involves polls that can be created by users of the site, and also regular forum topics.

    I have gotten the polls plugin bbpress polls and it adds ‘[poll]’ in front of the topic title. now I want to use this feature to display topics with polls separately from topics that don’t have polls since this seems to be the most distinguishing factor.

    My question is how can I get the topic title in the loop for use in my code? the Function topic_title() displays the topic i.e. it echoes it, but I would like to get it as a string that I can use in functions.

    Also, I would like to know how I can get a reference of all the index keys in the $topics array so I can use them in my code.

    #32213
    Basti1900
    Member

    Hi all,

    just installed bbPress at http://www.autogas-umruestungen.de/forum

    Do I have to protect this directory somehow? The index.php is in the same directory with bb-config.php etc. and other vital files?

    Seems unsafe? Or am I wrong?

    Thanks for your help..

    Great tool this bbPress :-)

    Sebastian

    #81104
    Pomy
    Participant

    where are coders… I’m waiting for reply… please help

    #62402
    Bagi Zoltan
    Member

    I faced with the very same problem with two bbpress installations along with a WP. I slightly modified the function is_404() in the /wp-includes/query.php so the function returns true when the requested uri belongs to the forums.

    function is_404 () {

    global $wp_query;

    if (preg_match('/(firstbbpressfoldername|secondbbpressfoldername)/i', $_SERVER))

    {return true;}

    else{

    return $wp_query->is_404;}

    }

    After saving the irritating 404 issue has gone.

    Regards

    Zoli

    #81106

    In reply to: left aligned

    Elias
    Member

    There are simply no stylesheets for div.discussions and other kakumei CSS classes, so they are displayed unstyled.

    #81102

    felabria, keep in mind that at WordPress.org, they do not have cookie sharing setup; so logging into the forums does not mean you’re logged into the codex, etc…

    #80258
    cratercraver
    Participant

    @chipbennett: “Is it approaching something that others would find useful?”

    You bet! :) I am relatively new to forums hosting and very new to bbPress so it would be wonderful to see how you set it up.

    Thanks!

    #32204

    Topic: Avatar – setup help

    in forum Plugins
    dtiddles
    Member

    2. Add “post_avatar();” (between the php tags) in post.php or wherever you want it if using your own template.

    ok guys, i don’t see a post.php is it bb-post.php?

    Also looking in bb-post.php I havent got a clue where to insert it.. can some give me a clue :)

    #80564

    In reply to: errored when installed

    Abhinav Sood
    Member

    You’re getting these errors only because the PHP version from your local server environment is quite new.

    Simply put this at the start of your bb-settings.php file after the first opening PHP tag

    error_reporting(0);

    This should remove most of the errors.

    #80857
    fifthhouse
    Member

    Ah this is great! I don’t know much about code but this much I think I can figure out.

    Much appreciated :)

    #81002

    In reply to: Rss ticker plugin

    chrishajer
    Participant

    Since there doesn’t appear to be any interest, or at least anyone interested hasn’t posted, maybe you should consider hiring someone to code it for you. You could then share the code with the community if you are so inclined.

    #32199

    Topic: Avatar Upload

    in forum Installation
    heredia21
    Member

    How or where do i add the code to have the avatars show up in bbpm?

    #55975

    In reply to: Show off your Forum !!

    KillerSneak
    Member

    http://test2.cell-systems.net/forums <- Template + Forums I’m working on now (test domain) it will be moved to http://www.cell-systems.net this weekend once i finalzie it.

    AdSense for bbPress

    Version 1.0.1 | By Seans0n

    Akismet

    Version 1.1 | By Michael Adams

    BBcode Lite

    Version 2.0.0 | By KillerSneak/_ck_ | (customized to work with WYSIWYG text editor)

    bbPM

    Version 0.1-alpha10 | By KillerSneak/Nightgunner5| (customized to work with WP theme layout)

    bbPress-WordPress syncronization

    Version 0.8.0 | By Ivan Babrou

    bbPress Attachments

    Version 0.2.7 | By _ck_

    bbPress Recent Replies

    Version 0.1b | By Ashfame

    Bozo Users

    Version 1.1 | By Michael Adams

    Role Manager

    Version 0.1 | By Nightgunner5

    Other:

    * Integrated theme with WordPress

    * new and easy HTML text editor (customized to work with “BBcode Lite Version 2.0.0 | By KillerSneak/_ck_ | -customized to work with WYSIWYG text editor)

    * Custom top user nav + user icon’s on group eg:

    -Admin icon

    -Moderator icon

    -Clan Memeber icon

    -Donators icon

    -Member icon

    * 1 tag cloud to work for BBpress and WordPress

    – and allot of other customized stuff to get everything WP/BB to look the same.

    #80840

    In reply to: Future of bbPress

    c00l2sv
    Member

    The only ans single database solutions you might consider at this moment (except MySQL which is already supported) is PostgreSQL ans SQLite.

    I would switch my WordPress to SQLite. Thought SQLite has no full support for alter

    #80995
    hpguru
    Member

    Or you can use a phpMyAdmin. :)

    #80295
    apam
    Member

    I’m still having trouble…tinymce seems to break up my template, doesn’t show pics in the post content untill I save and preview the post (not all images though…) and tag management keeps giving me errors. Everything seems to go away when I disable the plugin.

    I must say it’s getting quite difficult to get this forum to work as I’d like…must say if I can’t find a solution I might go back to my old smf forum…but I’d love to keep to bbpress.

    I can’t find help on other tinymce forums either…

    :( :( :(

Viewing 25 results - 22,926 through 22,950 (of 32,481 total)
Skip to toolbar