Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 20,126 through 20,150 (of 32,505 total)
  • Author
    Search Results
  • #93511

    It depends on what you’re after.

    If your forum needs a specific Mobile version, then you’ll need to scout around.

    If your forum needs a specific mobile stylesheet/theme, then creating one for bbPress is very simple, but there isn’t a public one out there that I know of.

    Forums are tricky things. Worth it, but tricky.

    Define your requirements, whats a must have and a nice to have, and you can make a decision alot easier that way :)

    #93136
    zaerl
    Participant

    I am not a professional programmer but I think if we can change the code (maybe on post.php file?) where it says “make” http:// and www. texts to hyperlink, maybe it will work?

    One question, one topic.

    #93134
    minervaa
    Participant

    **Keep in mind that, obviously, it is not retroactive. Preexisting posts aren’t affected.**

    Yap I know that, I posted few new posts (by non admin member) just to test it

    I am not a professional programmer but I think if we can change the code (maybe on post.php file?) where it says “make” http:// and www. texts to hyperlink, maybe it will work?

    Just a thought by the way

    #93423

    In reply to: I lost my admin pages

    chrishajer
    Participant

    There is no forum there http://noclassifieds.net/forum/

    [~]$ curl -I http://noclassifieds.net/forum/
    HTTP/1.1 404 Not Found
    Date: Thu, 02 Sep 2010 15:28:49 GMT
    Server: Apache
    X-Powered-By: PHP/5.2.14
    Expires: Thu, 19 Nov 1981 08:52:00 GMT
    Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
    Pragma: no-cache
    Set-Cookie: PHPSESSID=h1rjpi92bf0u5i0lh6tnrrvmu0; path=/
    Vary: Accept-Encoding
    Content-Type: text/html

    #93475

    In reply to: It's over

    _ck_
    Participant

    Nothing is over unless you don’t know how to code and are in a rush.

    bbPress is very stable and very fast and there are literally ten thousand sites using it.

    Every month that goes by you’ll simply have more options.

    #87201
    Gautam Gupta
    Participant

    LOL x 2 :P

    #87199

    LOL at same comment, which I just ran across in the code.

    #93473

    In reply to: It's over

    Thanks Raize,

    I’ve not had a good laugh on these forums in months :)

    VanillaForums (v1) was a good effort, for a small few it matched their needs well, and certainly had a community that wanted to drive it on. v2 though, and it’s 2.5 year development cycle, has been quite disasterous with some brilliant spin.

    The plan to move to a custom built platform “Garden” (their equivalent of backPress) was re-written twice over 2 years, and just 3 months ago they also changed how all v2 forums are themed – by using an external templating system called Smarty instead of PHP.

    That said, it’s not like bbPress is without it’s issues either (people in glass houses etc…), but given the poor state of a just released and not brilliantly tested software thats taken over 2 years to throw together… I’d probably not make too many assumptions that it’s going to impact other software in the same vertical, ha, and I’d sure as heck not tell people to pack their bags ;-)

    #93490

    In reply to: Bavatar Image…

    hermann87
    Member

    Now I feel stupid :-P. I don’t know where Bavatar saves my avatars.. I suppose that’s the problem. There is no such file. But where should that be?

    My avatar is not stored, I can always upload a new one and it will still show up as empty.

    #35227

    Topic: It's over

    in forum Installation
    Raize
    Member

    Vanilla 2 is here (http://vanillaforums.org) and they are working on a full integration with WordPress.

    Even Matt M. is supporting it. Start packing your bags :P

    minervaa
    Participant

    Where would you paste the code? on the post.php file?

    chrishajer
    Participant

    You need to temporarily rename that config.php file to something else to allow the installer to continue, then change the name back. Or find the code that prevents bbPress from installing when it finds a config.php, and disable that so the installation can continue. I would just rename the file for a minute or two while you install bbPress, then change it back.

    I tried that and it would stack it on the end anyway… so i would get for example

    home/user/directory/forum/home/user/directory/blog/file.php

    out of desperation i tried the absolute path :)

    just tried something else… I took the important parts out of the header and footer files and put them into the bbpress template files. it is loading now… sort of.

    now onto the game of figuring out how to get some wordpress functions to work. I have the sliding door theme in wordpress, so ugghhh……..

    thanks for your help!

    trying to integrate bbpress to use my wordpress theme… but running into problems. when i put the code into the bb.config file

    require_once(‘../blog/header.php’);

    if (file_exists(‘../blog/header.php’))

    require_once(‘../blog/header.php’);

    else

    if (file_exists(‘../../blog/header.php’))

    require_once(‘../../blog/header.php’);

    it stacks the path on top of the forum path instead of where it belongs… giving me the error:

    Warning: require_once(../blog/header.php) [function.require-once]: failed to open stream: No such file or directory in /home/xxxx/public_html/forum/bb-config.php on line 70

    Fatal error: require_once() [function.require]: Failed opening required ‘../blog/header.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/xxxx/public_html/forum/bb-config.php on line 70

    has anyone else had this problem… and can you share how to fix it?

    I’m using the method of replacing the header.php file content with <?php get_header(); ?> and the footer with <?php get_footer(); ?> if there is a better way of going about this, I’m open so please share :)

    thanks!

    #93292
    zaerl
    Participant

    wp_ = wordpress

    wp_bb_ = bbpress

    admin ID = 1

    wp_usermeta:

    1 wp_capabilities = a:1:{s:13:"administrator";b:1;}

    1 wp_bb_capabilities = a:1:{s:9:"keymaster";b:1;}

    logout, login.

    #93291

    This version (original) of bbPress isn’t compatible tiwh BuddyPress. I’m afraid you have to ask on the BuddyPress forums for how they fix these things :(

    #35216
    coastwise
    Member

    This may seem like a strange request so I’ll try to describe the whole situation. I have a couple of web applications I have tied together by creating an OpenID Provider server for the main app, and configured bbpress as a Consumer using a modified version of the OpenID Plus plugin. Everything works great except logout. Since each app controls its own session information separately, logging out of one does not log out of the other. I can hook into bbpress’ logout to call the appropriate function in my main app, but the opposite direction is proving difficult.

    In my logout function external to bbpress I have the following:

    require ('../forum/bb-load.php');

    bb_logout();

    but receive this error when its executed:

    Fatal error: Call to a member function suppress_errors() on a non-object in ***/forum/bb-includes/functions.bb-core.php on line 63

    Line 62 and 63 from the file in question

    global $bbdb;

    $bbdb->suppress_errors();

    I don’t understand how it could get as far as this line without setting $bbdb in bb-settings.php. Any ideas?

    #93360
    Daniel Juhl
    Participant

    $decimals = ( is_null( $decimals ) ) ? $bb_locale->number_format : intval( $decimals );

    This line (443) in the same file (/bb-includes/class.bb-locale.php), it returns a comma (,) when $decimals isn’t a number, which isn’t correct according to the PHP manual.

    Why are we setting it to $bb_locale->number_format and not 0 when $decimals aren’t set?

    #93358
    Daniel Juhl
    Participant

    I just found the code making the “error”.

    /bb-includes/class.bb-locale.php : Line 445

    $num = number_format( $number, $decimals, $bb_locale->number_format, $bb_locale->number_format );

    I can also tell, that the server is up to date, running the latest PHP 5 etc.

    #93344

    In reply to: Avatar size

    MathiasB
    Member

    Yes, but i’m not a bbpress / php expert :)

    #93327
    Gautam Gupta
    Participant

    Twitter only supports 140 characters so if we even get the functionality to parse the tweet, there wont be much space left for the content that could be entered by the user.

    Eg., the tweet could be @bbpress [new-topic] Topic Title:- Post Content or @bbpress [topic-1234] Reply Content. Then we could monitor all the tweets sent to @bbpress from forums by setting up a cron job and then do the other things..

    #93343

    In reply to: Avatar size

    chrishajer
    Participant

    So, it would look like this?

    <?php post_author_avatar_link(80); ?>

    for 80×80 pixel avatars?

    #93347
    chrishajer
    Participant

    If you’re going to use the text domain (FTDOMAIN) then you need to use the _e function. One or the other. Without the _e function, as zaerl recommends, or as it is in the original, but then you need to use the _e function. It would be important if you ever wanted to translate the forum to another language. If not, then the solution zaerl recommends will cause no future problems.

    #93340

    In reply to: Avatar size

    MathiasB
    Member

    Thx!

    Didn’t know that it was so easy :)

    #93346
    zaerl
    Participant

    <?php case ( 'reset_password' ) : ?>

Viewing 25 results - 20,126 through 20,150 (of 32,505 total)
Skip to toolbar