Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 20,776 through 20,800 (of 32,481 total)
  • Author
    Search Results
  • #34571
    noepiyu
    Member

    i upgraded my bbPress to latest version 1.0. But i have a warning message:


    Warning: file_exists(): open_basedir restriction in effect. File(/www/***.org/d/e/n/denemefrm/bb-config-path.php) is not within the allowed path(s): (/www/***.org/d/e/n/denemefrm/htdocs/) in /www/***.org/d/e/n/denemefrm/htdocs/bb-load.php on line 141 Warning: Cannot modify header information – headers already sent by (output started at /www/***.org/d/e/n/denemefrm/htdocs/bb-load.php:141) in /www/***.org/d/e/n/denemefrm/htdocs/bb-includes/backpress/class.wp-auth.php on line 273 Warning: Cannot modify header information – headers already sent by (output started at /www/***.org/d/e/n/denemefrm/htdocs/bb-load.php:141) in /www/***.org/d/e/n/denemefrm/htdocs/bb-includes/backpress/class.wp-auth.php on line 273 Warning: Cannot modify header information – headers already sent by (output started at /www/***.org/d/e/n/denemefrm/htdocs/bb-load.php:141) in /www/***.org/d/e/n/denemefrm/htdocs/bb-includes/backpress/class.wp-auth.php on line 273 Warning: Cannot modify header information – headers already sent by (output started at /www/***.org/d/e/n/denemefrm/htdocs/bb-load.php:141) in /www/***.org/d/e/n/denemefrm/htdocs/bb-includes/backpress/class.wp-auth.php on line 273 Warning: Cannot modify header information – headers already sent by (output started at /www/***.org/d/e/n/denemefrm/htdocs/bb-load.php:141) in /www/***.org/d/e/n/denemefrm/htdocs/bb-includes/functions.bb-pluggable.php on line 232

    —-

    How can i solve this problem???

    #34568
    _KB_
    Participant

    I love this forum software, that’s why I’m here to discuss it, to participate in community, learn more about it. Hope it will be a nice experience :-)

    Regards,

    KB

    #89137
    kikko088
    Member

    ooooops, i add all :D excuse me but i’m not expert…:) now i remove the red code and add green code but the slah remain :(

    #90229

    In reply to: bb_forum_pad()

    It’s for adding padding.

    Specifically for faking a heirarchal tree view in a parent/child relationship.

    bb_forum_pad( '<div class="nest">', 1 );

    it eventually calls:

    $bb_forums_loop->pad( $pad, $offset );

    Just to be clear, I am just copy and pasting the information found in teh first link in google for typing in “bb_forum_pad”. This information is also in the actual source code, if you search for “bb_forum_pad”.

    :)

    #90214
    zaerl
    Participant

    Open phpmyadmin. Run this SQL query: http://pastebin.com/9VhTGNt9 If you use a table prefix different from bb_ you need to change the query.

    Keep in mind that this code is without warranty.

    #89928
    _ck_
    Participant

    Trading insults is not very mature, therefore I think it’s time to close this topic.

    pagal, you just have to be flexible, you can’t always get what you want for free, so you either have to adjust and find another way to do it or hire a coder to make what you want.

    The fields in the user profile are unfortunately handled in a very inconsistent way, it doesn’t even use the same code on the registration page vs. the profile edit page vs the profile display page which is a symptom of the adhoc nature of how bbpress was built. But I don’t think even wordpress has that ability built in yet.

    Rootside
    Member

    You’re wanting to compare an unsupported, unintentional, unadvisable, found-by-mistake hack (that doesn’t always work) against a theoretical piece of software. It’s a no-brainer which will compare favourably.

    Yeah well, exactly.

    The comparison you propose might be fair when it comes to judging pure performance, but a “normal” integration doesn’t give you what you and your users should expect:

    Common elements like a header, a navigation and other functions should be available and work the same across the whole site without you having to mimic them for a forum section, changes you might make to those elements shouldn’t have to be made twice, and if you get a single admin panel at the backend on top of all that, then that theoretical piece of software becomes extremely desirable.

    Proper integration, if I may call it that, is an absolute requirement in my opinion, because a forum is always just one component of a larger website in what I do, and I’d be surprised if that didn’t apply to many people here. It then becomes a different problem, of course: is the loss of performance on my forum pages acceptable, does it scale (does it blend ;-), what kind of hosting would I need to run things smoothly etc.? That’s kind of what I’m trying to feel out, and I just have the feeling that a plugin wouldn’t do such a bad job, all things considered.

    Fully agree with your point that Matt is the one who would have to get things moving after basically announcing that this is going to happen.

    #90213
    rohan_shenoy
    Member

    Thanks Kevin.

    Right now, there is no bb_capabilities meta_key for every user. Therefore, I must create it using PHP/SQL code it seems!

    #90212
    Gautam Gupta
    Participant

    Here’s the SQL:

    UPDATE bb_usermeta SET meta_value = 'a:1:{s:6:"member";b:1;}' WHERE meta_value = 'a:1:{s:8:"inactive";b:1;}'

    Change bb_ if you have any other table prefix. Also change " to the correct one.

    #89927
    zaerl
    Participant

    No please pagan. Don’t choose another forum software. I am here for you and you know what? I will work for you for free. I will spend hours in a plugin that will be useful only for you. Normally I get 20€/h when I write code but you are special.

    Don’t hurt my feelings. Don’t say that I’m not able to do anything (for free).

    #89618
    WimTibackx
    Member

    I might not have been very clear on that. Foremost I want to fork WordPress and turn it into a fast, modern and elegant cms. At the same time I want to fork WordPress and bbPress to run as plugins on that cms. I just used the backpress name in my post to avoid using WordPress two times.

    I’m personally not that interested in a standalone forum, but in a forum that integrates on my normal website easily and a normal website that is modern, fast and easily extendible. The current WP codebase might have the fast-part but it isn’t modern and it isn’t easily extendible (ok, it’s better then phpBB for example but more object oriented code wouldn’t do bad at all).

    rohan_shenoy
    Member

    Hi guys,

    I just successfully converted my forum from MyBB to bbPress.

    However, I realized that most of the members are now Inactive! Can someone tell me an easy way to set their roles to Member. I know that I can personally edit their profiles and update their roles, but I can’t do it over 2000 times :(

    Thanks.

    #90124

    In reply to: function bb_auth

    but there is nothing in the function definition for an argument 'logged-in'

    how did you get that?

    #89924
    _ck_
    Participant

    I’ve decided this is not something I want to get into. Way too much work for one specific solution and multi-input fields like birthday are going to be very complicated.

    The sites you see this on already have full-time programmers while you don’t know how to code at all so you are going to constantly rely on begging for free help from others.

    Since you are using WordPress integrated I recommend you just use an existing plugin for it to do this instead.

    #90123

    In reply to: function bb_auth

    Ben L.
    Member

    bb_auth() can be called with 'logged_in' as the $scheme to check if a user is logged in.

    #87841
    chrishajer
    Participant

    Yes, if the updates work as designed. We always were running the trunk version, but for some reason, the updates didn’t always work. I’m not even sure when they run. But the new code appears here automatically.

    #90122

    In reply to: function bb_auth

    @Ben

    Didn’t get your point. I can’t see that in file either functions.bb-pluggable.php

    #89131
    Gautam Gupta
    Participant

    Do you load WordPress’ wp-load.php in bbPress?

    #90121

    In reply to: function bb_auth

    Ben L.
    Member

    There’s also bb_auth( 'logged_in' ) if you aren’t checking if the user can be in bb-admin.

    #90027

    In reply to: bb_get_posts_rss_link

    Gautam Gupta
    Participant

    It is used for the bb_get_uri function (which generates the URL).

    rohan_shenoy
    Member

    It is fixed in trunk, you can copy the changes to your install from here – https://trac.bbpress.org/changeset?new=2383%40%2F&old=2381%40%2F

    Thanks a lot Gautam :)

    On second thought,

    Can you please tell me why the error arised? I had not edited any php file. All I did was fiddled with database!

    #87838
    chrishajer
    Participant

    Heh – the update finally took place automatically. We added that revision to the header a while back, but the code was not being updated here.

    Also, We’re actually running 2442 here – the note I added to the version was the current revision. I should have jumped ahead one when I checked the code in. So, trunk and here are the same thing, despite the meta header.

    #83802
    astaganaga
    Member

    Love it

    Folks,

    please don’t derail this thread with nonsense about another forum software, we’re still trying to sort this one ;-)

    #90119

    In reply to: function bb_auth

    function bb_auth( $scheme = 'auth' )
    { // Checks if a user has a valid cookie, if not redirects them to the main page
    }

    I’m guessing it “Checks if a user has a valid cookie, if not redirects them to the main page”

    First link on google

Viewing 25 results - 20,776 through 20,800 (of 32,481 total)
Skip to toolbar