Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 23,926 through 23,950 (of 32,480 total)
  • Author
    Search Results
  • #78124
    Marius-
    Member

    I’ve disabled all non-working plugins, but I can’t disable working ones. I’ve actually launched the forum for public use now, so I can’t mess around too much.

    I’m depressed now :/

    #78106

    In reply to: Bavatars doesn't work!

    Marius-
    Member

    Again, I have no clue about permissions and codes and stuff. I just upload files to my server. And no, that directory does not exist. Atleast not as I can see.

    #78105

    In reply to: Bavatars doesn't work!

    chrishajer
    Participant

    Does this directory exist and is it writable (0755 permissions on the directory)

    /home/michael/public_html/forum//avatars/c/c4/c4c/

    Also, the double forward slash there doesn’t need to be there. This is not causing your problem, but it is unnecessary. Something has a leading slash or trailing slash that’s unnecessary.

    #31506
    Marius-
    Member

    It gives me this error when uploading an avatar image:

    Warning: imagepng() [function.imagepng]: Unable to open '/home/michael/public_html/forum//avatars/c/c4/c4c/c4ca4238a0b923820dcc509a6f75849b.png' for writing: No such file or directory in /home/michael/public_html/forum/bb-plugins/bavatars/bavatars-profile.php on line 42

    What do I do?

    #77184
    Ben L.
    Member

    Technically, this would be threaded posts, and yes, avatars are resizable with basic code.

    post_author_avatar( 48 ); makes 48×48 pixel avatars, post_author_avatar( 80 ); makes 80×80 pixel avatars, etc.

    #77182

    In reply to: cannot install plugins

    johnhiler
    Member

    Yah, a lot of plugins don’t have admin menus… they either:

    * Have no settings at all, or

    * Have the settings at the top of their code, and require you to edt them using a text editing program

    Hopefully that’s the case! If you’re not sure, let us know which plugins you’re using…

    #60374
    chandersbs
    Member

    This is not working either on 1.0.1 :(

    #76995

    I didn’t get what are you trying to do? Can you explain further?

    chandersbs
    Member

    I haven’t been here for a while. Will try it for sure and give feedback.

    #77608

    There is a direct function for your need but I can’t recall it at the moment.

    How about the following?

    <?php $avatar = bb_get_avatar( $user->ID ) ;
    echo $avatar; ?>

    I took it from the profile.php

    #78090

    Try hardcoding <?php topic_author(); ?> in your template at the place where do you want the Author name to appear.

    #78063
    Olaf Lederer
    Participant

    Hi,

    you mean like on my frontpage (check the link from my profile)

    I use this code:

    <?php while ( bb_forum() ) :
    if (get_forum_parent_id() == 0) : ?>
    <?php if (bb_get_forum_is_category()) : ?>
    <tr<?php bb_forum_class('bb-category'); ?>>
    <td colspan="3"><?php bb_forum_pad( '<div class="nest">' ); ?><a href="<?php forum_link(); ?>"><?php forum_name(); ?></a><?php forum_description( array( 'before' => '<small> – ', 'after' => '</small>' ) ); ?><?php bb_forum_pad( '</div>' ); ?></td>
    </tr>
    <?php continue; endif; ?>
    <tr<?php bb_forum_class(); ?>>
    <td><?php bb_forum_pad( '<div class="nest">' ); ?><a href="<?php forum_link(); ?>"><?php forum_name(); ?></a><?php forum_description( array( 'before' => '<small> – ', 'after' => '</small>' ) ); ?><?php bb_forum_pad( '</div>' ); ?></td>
    <td class="num"><?php forum_topics(); ?></td>
    <td class="num"><?php forum_posts(); ?></td>
    </tr>
    <?php
    endif;
    endwhile; ?>

    The function get_forum_parent_id() is located in my personal plugin file:

    function get_forum_parent_id( $forum_id = 0 ) {
    $forum = get_forum( get_forum_id( $forum_id ) );
    return apply_filters( 'get_forum_parent_id', $forum->forum_parent, $forum->forum_id );
    }

    #78069
    Olaf Lederer
    Participant

    I know this function from many type of websites but never used on a forum :)

    don’t think that it will be easy to develop inside bbpress, check the plugin list I thought I saw some old extension there

    ps. Pimp is a word young people like to say (pimp a car)

    #77060

    In reply to: bbpress and memcache?

    johnhiler
    Member

    Ruby on Rails has some stuff to allow memcached storage of user sessions:

    http://awesomerails.wordpress.com/2008/06/26/memcache-sessions-in-rails/

    @finalwebsite – _ck_ is a female developer. :-) I was referring to her statements that “the performance boost will be trivial, almost non-existent for a single server setup” and ” Memcache is only beneficial for multi-server systems, it’s why it was invented in the first place.” But ymmv!

    #77781
    DennisH
    Member

    @johnhiler Thanks for the links. I’ve decided it only makes sense for us to use BB if it was deeply integrated. I’m willing to take the server hit, it can’t be any worse than what phpbb is doing.

    @mark-k I think you would be everyones hero if you pulled it off. Instead of one big plugin, maybe you could do several smaller ones.

    The one thing I can’t wrap my head around is login pages and profile pages. Having 2 different pages (integrated or not) is not only confusing to users it’s confusing to administrators. In a perfect world BB would handle all of this, but we know that’s not the case. So what to do? You can’t have a BB “login box” in WP, but BB should be their only profile page (that’s where they will be uploading avatars, checking PMs, etc.). So could you redirect WP login page to BB? If so how would you automatically redirect them back to the last visited blog page? I’m so confused I don’t even know how to write these questions intelligently. How do you have just one login page and just one profile page?

    PS

    I got the avatars working. :)

    Olaf Lederer
    Participant

    I thought the multi CSS border has covered IE browsers too :(

    …looks good in chrome and FF on Linux :)

    #77159
    Olaf Lederer
    Participant

    Hi,

    you need to check the old and the new table structure (use phpmyadmin) for this.

    next you need to convert the old tables to the format of the new tables.

    Learn from how bbpress will create the records inside the tables and import your old data this way.

    I don’t think that there is a tutorial on how to do that (didn’t know that Joomla has a forum module)

    :)

    #67349

    In reply to: All setting use cache

    Tomcraft1980
    Member

    Is setting up this code in bb-config.php still important fpr bb 1.02 as it became part of bb-settings-php?

    $bb->load_options = true;

    kind regards

    Tom

    #77054

    In reply to: bbpress and memcache?

    frooyo
    Member

    @usera

    Instead of memcache, output caching might be a better option for non-logged in user. Something like WordPress’ SuperCache plugin.

    More information can be found about this discussion here:

    https://bbpress.org/forums/topic/covert-wp-super-cache-plug-in-for-bbpress#post-37072

    Essentially, a lot of people would love the SuperCache plugin to be converted for use with bbPress … but no one has yet committed to performing the work needed to convert the plugin :(

    #76864
    johnhiler
    Member

    Hehe, most people talk as though bbPress doesn’t exist. :-)

    I personally talk as if bbPress 1.0 doesn’t exist… 0.9 or bust!

    I haven’t used Vanilla, so I can’t comment on them… I wish there was more benchmarking across boards platforms for speed. But I haven’t seen much on that front…

    #77935
    anandasama
    Member

    It’s not a deep integration: But that’s something I will try later. :)

    johnhiler
    Member

    You might want to try the new CSS Q&A site that’s affiliated with stackoverflow… http://doctype.com

    I have nothing to do with it – but it’s designed for CSS Q&A! :-)

    Marius-
    Member

    Thanks man. Can I post both codes without them conflicting each other?

    Both border radius and mozilla codes?

    And using border-radius, do you have input each of the four corners, like in the Moz-code? Or can you just specify one line like the one you gave me?

    Hi, do you notice the little -moz thing in front of the CSS property? That is an internal Firefox only CSS property. IE does not support rounded borders at all (and maybe will not soon). Safari on the other hand and all other webkit based browsers (Chrome, Konqueror) do support it via their own special CSS properties.

    So for Safari(and Chrome) the code will be:

    -webkit-border-radius: 6px;

    for Konqueror (not very widespread but anyway):

    -khtml-border-radius: 6px;

    and since rounded borders are a property from the upcoming CSS3, here you have the standard definition (which you should also include for the bright moment in the future when all browsers will natively support it):

    border-radius: 6px;

    Of course using these properties will render your CSS invalid in the W3C validator.

    Extended info on CSS3 border-radius:

    http://www.css3.info/preview/rounded-border/

    Cheers :)

    Pssst! But hey – is that a bbPress issue? And why post in “Installation” subforum?

    #78022

    I was hoping someone could do it for me.

    Well there’s your problem right there :)

    Making a theme is easy AND it won’t break the source code or become beyond repair. A theme is all HTML and CSS, with a little PHP tossed in, and not the coding kind of PHP where you have to make SQL calls. Unless you want to, of course.

    Go to https://bbpress.org/documentation/themes/ for the basics. You’ll need this under your belt if you ever hope to maintain a forum without going nuts.

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