Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 20,126 through 20,150 (of 32,499 total)
  • Author
    Search Results
  • #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' ) : ?>

    #35204
    Ivanr6
    Member

    Hi, i need help with code. When I try to reactivate my password, I get this error:

    Parse error: syntax error, unexpected ‘,’ in /home/iportalc/public_html/iOglasnik/bb-templates/iBlogProForum/password-reset.php on line 12

    this is the original code:

    <?php bb_get_header(); ?>

    <h2 role=”main”><?php _e(‘Password Reset’, FTDOMAIN); ?></h2>

    <?php if ( $error ) : ?>

    <p class=”notice error”><?php echo $error; ?></p>

    <?php else : ?>

    <?php switch ( $action ) : ?>

    <?php case ( ‘send_key’ ) : ?>

    <p class=”notice”><?php _e(‘An email has been sent to the address we have on file for you. If you don’t get anything within a few minutes, or your email has changed, you may want to get in touch with the webmaster or forum administrator here.’, FTDOMAIN); ?></p>

    <?php break; ?>

    <?php case ( ‘reset_password’, FTDOMAIN ) : ?>

    <p class=”notice”><?php _e(‘Your password has been reset and a new one has been mailed to you.’, FTDOMAIN); ?></p>

    <?php break; ?>

    <?php endswitch; ?>

    <?php endif; ?>

    <?php bb_get_footer(); ?>

    #93339

    In reply to: Avatar size

    zaerl
    Participant

    Template file post.php:

    post_author_avatar_link(whatever you want);

    #93317
    chrishajer
    Participant

    Take a look at this page on your forum:

    http://focoblog.com/focoforo/topic.php?id=585

    View the source of that page. Find the tags, for example, “Opus Dei“. The source looks like this:

    <li id="tag-1878_12"><a href="http://focoblog.com/focoforo/tags.php?tag=opus-dei" rel="tag">Opus Dei</a> </li>

    The tag id is 1878, and the person who added the tag is id 12. If you want to see their profile, just use that ID in the URL for profile.php, like this:

    http://focoblog.com/focoforo/profile.php?id=12

    That’s all there is to it. There have been plugins that showed all tags by a specific person and things like that, but this is the most direct way to find out the ID of the member who added a specific tag to a specific topic.

    #35200
    johntones
    Member

    Hi! Sorry if my English is not perfect. :)

    If I’m the Admin of a bbPress forum (this one: http://www.focoblog.com/focoforo), can I see the identity of the author(s) of the different tags or is it completely anonymous?

    Thanks a lot,

    Tones

    #93303
    Rich Pedley
    Member

    me ;)

    #90190
    chrishajer
    Participant

    The revision is r2535 but the text in the admin panel comes from bb-includes/functions.bb-meta.php around line 299. That text needs to be changed manually every time you check in code. Looks like they forgot to change it the past couple times.

    I just updated it, so if you check out a new copy, that will be the only file changed, you will have revision 2536, and it will work exactly as 2535 did when it said 2530 in the admin.

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