Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 21,701 through 21,725 (of 32,481 total)
  • Author
    Search Results
  • #86378
    johnhiler
    Member

    Actually, it looks like bb_topic_labels prints both of them on my install… but I’m on 0.9.x:

    <div class="posttitle"><?php echo $sticky_label;?><?php bb_topic_labels(); ?><a>"><?php topic_title(); ?></a> <span class="postinfo"> by <?php $topic_author = get_topic_author(); ?> <a>topic_poster ) )) ?>"><?php echo($topic_author) ?></a> <?php echo get_topic_start_time(); ?> ago</div>

    There are some known bugs with Support Forum and 1.0… do you see an error like this one?

    https://bbpress.org/plugins/topic/support-forum/page/3/#post-1565

    If so, there’s a fix posted at that link I believe!

    Or if you don’t see an error like that, please let us know exactly what behavior you see when you activate the plugin and then close a topic and change its status using Support Forum. Thanks!

    #85366

    Nice catch! ;)

    I will clean all of them up. Any ideas about the plugin to show preview of bbpress themes?

    #85231

    I’m building a migration script that does migration automatically. As for what bbPress itself evolves into, I’m not sure if it will get easier or more difficult, but I plan on accommodating a reasonable amount of trouble ;)

    #81489
    chrishajer
    Participant

    Umm, the code is committed so it will be in the next release. It’s in the trunk version now, but I don’t recommend running that on a production site.

    #85364
    gerikg
    Member

    That’s normal, it’s in the default theme as well.

    <?php
    $_head_profile_attr = '';
    if ( bb_is_profile() ) {
    global $self;
    if ( !$self ) {
    $_head_profile_attr = ' profile="http://www.w3.org/2006/03/hcard"';
    }
    }
    ?>

    #86382
    gerikg
    Member

    try using Firefox and an addon called FireBug.

    It’s something useful to find what part of the site is using what css.

    your body tags for WP

    body {
    color:#444444;
    font-family:Arial,Helvetica,Sans-serif;
    font-size:0.79em;
    margin:0;
    padding:0;
    text-align:center;
    }

    Your Body Tags for bbP

    body {
    background-color:#F9F7F5;
    font:62.5% 'Trebuchet MS','Lucida Grande',Arial,Helvetica,Sans-serif;
    margin-bottom:50px;
    }

    you can start by changing your font on bbP to Arial,Helvetica,Sans-serif; and add in font-size… etc etc

    Try it!

    #33908

    Hi,

    is there any way to list a specific users posts/replys?

    Something like: add_filter('get_thread_where', create_function('', 'return "p.poster_id = ' . $specific_author_id . '";'));

    I want to create a link on the profile page, under the user name, something like “Show all posts by this user”. This is the easy part for me, but I cant create the page for the posts list.

    Any idea how to do this?

    Thanks in advance.

    #86267

    In my case, I have not created any plug-ins or templates.

    I changed Permissions on ‘my-plugins’ and ‘my-templates’ to 755 (from 750) but I still get the error every time I click on a topic.

    The bug seems to be in ‘functions.bb-template.php’ which is exactly as it was downloaded from bbPress.

    This is the important part of the error message –

    Warning: include() [function.include]: Filename cannot be empty in /home/…/public_html/members/bbpress/bb-includes/functions.bb-template.php on line 45

    Can we get a techo from bbPress to checkout the code, particularly, why are the brackets empty?

    Thanks

    Derek

    #33903
    copperblade
    Participant

    Notice my “kakumei black” theme:

    http://heroesonly.com/heroes/bbpress/

    Hi, I have finally converted over from phpBB2. I wanted to do this for a long time, and had done some trial runs in the past, but only now have I committed myself to bbPress. I think it’s for the better. phpBB3 still uses the brain-dead “mod” system of editing the code instead of using a plugin API. (Yes I did write phpBB mods.)

    Now I’m hearing all this talk about bbPress going away, etc. etc. I think it’s ridiculous that people are getting worried about this. bbPress is awesome.

    I don’t know how to tag this post… any suggestions?

    #86376
    johnhiler
    Member

    It’s possible to have both… I hacked Support Forums to display whether these user-submitted Ideas were Under Review, Reviewed, or Implemented:

    http://ideas.weddingbee.com/

    And both the Support Forum “status” and the “closed” label appear… is that what you’re going for? If so let me know, and I can post the code I used to display the labels.

    #81487
    chrishajer
    Participant

    gerikg, I just committed the patch to fix this. I believe bbpress.org is running trunk and it updates on some sort of schedule/cron, so that fix will be present here tomorrow probably. Could you test again tomorrow?

    I don’t know when or how the code gets updated here, but I am seeing my changes here a day or two after committing to trac.

    Thanks

    #86374
    gerikg
    Member

    it’s conflicting with

    bb_topic_labels();

    #80717

    In reply to: When bbpress 1.0.3?

    Windhamdavid
    Member

    @chishajer ~ thk u for your efforts here on bbpress. i second your opinion! open source doesn’t die, it just forks..

    and with 9 active tickets 1.0.3 is just around the corner. :)

    #86320

    In reply to: Hide topics

    zaerl
    Participant

    I’m working on a little plugin that is a rework of Hidden Forums. It will allow the user to hide topics as well of forums. I will post the code after some testing.

    Gautam Gupta
    Participant

    This is a fix just to solve your problem:

    1. Open /bb-includes/backpress/class.wp-http.php
    2. At the starting, after <?php put (on a new line):

      if ( !class_exists( 'WP_Http ' ) ) {

    3. And at the end put:

      }

    I would probably report this issue on the BackPress trac

    capsx
    Participant

    /bb-includes/backpress/class.wp-http.php (bbPress 1.1-alpha revision 2412)

    BBPRESS functions:

    function &_wp_http_get_object() {

    function wp_remote_request($url, $args = array()) {

    function wp_remote_get($url, $args = array()) {

    function wp_remote_post($url, $args = array()) {

    function wp_remote_head($url, $args = array()) {

    function wp_remote_retrieve_headers(&$response) {

    function wp_remote_retrieve_header(&$response, $header) {

    function wp_remote_retrieve_response_code(&$response) {

    function wp_remote_retrieve_response_message(&$response) {

    function wp_remote_retrieve_body(&$response) {

    conflict with WORDPRESS (WordPress 3.0-alpha revision 13909) /wp-includes/http.php the same functions

    #86319

    In reply to: Hide topics

    johnhiler
    Member

    The tricky thing with Hidden Forums is the lack of a frontend. The plugin doesn’t have a frontend at all… there are only manual settings which let you set individual forums as hidden or not. The frontend is handled through bbPress’ built-in “move topic” pulldown…

    That said, someone might be able to hack Hidden Forums to add an extra frontend toggle that lets admins hide individual topics! :-)

    #86336

    In reply to: Topic tags

    gerikg
    Member

    from SAM

    “A first attempt at getting WordPress 2.7 and bbPress 1.0 to play nice again is now in trunk [1862].

    I’m specifically talking about “deep” integration, i.e. when you include WordPress inside bbPress to gain access to WordPress’ functions.

    This will need a lot of testing, so please post any issues you have on the relevant Trac ticket, #972 (which will stay open until some more testing has occurred).

    I recommend using the following code at the top of your bbPress bb-config.php file to include WordPress inside bbPress:

    if ( !defined( ‘ABSPATH’ ) ) {

    include_once( ‘/Full/Path/To/wp-load.php’ );

    }

    Note that this includes “wp-load.php” not “wp-config.php” or “wp-blog-header.php”. This avoids running WordPress’ template loader which presumably isn’t needed inside bbPress. Some implementations may want it though, so if you find you need it then give it a go and let us know how that goes.

    Also note that all filters and actions set in WordPress whether default or added by plugins or themes are cleared out completely. That means that plugins and themes installed in WordPress cannot add filters or actions to bbPress at all. This may have some implications I’m not aware of yet.

    Go nuts! “

    gerikg
    Member

    Does adding:

    define( 'COOKIEHASH', '9999999999999999999999' );
    define( 'COOKIE_DOMAIN', '.website.com' );
    define( 'SITECOOKIEPATH', '/' );
    define( 'COOKIEPATH', '/' );

    to bb-config.php do anything or it’s just dead weight?

    #86318

    In reply to: Hide topics

    zaerl
    Participant

    I think that Hidden Forums can be modified in order to hide individual posts. It’s just a matter of changing the hidden_forums_filter filter function but it seems that the author doesn’t update her plugin no more.

    #84567

    In reply to: bbPress mobile version

    chandersbs
    Member

    Still looking forward to the codes……

    #86262

    I have a similar problem –

    I installed bbPress today and logged in as administrator then tried to move around the initial post.

    Whenever I try to ‘Send Post’ (also when I try to ‘edit’ a post/topic; or click on a topic as administrator), I get the following error msg –

    Warning: include() [function.include]: Filename cannot be empty in /…../public_html/members/bbpress/bb-includes/functions.bb-template.php on line 45

    Warning: include() [function.include]: Filename cannot be empty in /home/…/public_html/members/bbpress/bb-includes/functions.bb-template.php on line 45

    Warning: include() [function.include]: Failed opening ” for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/…./public_html/members/bbpress/bb-includes/functions.bb-template.php on line 45

    I have re-FTPed ‘functions.bb-template.php’ but I still get the same problem.

    There seems to be a bug in the code of ‘functions.bb-template.php’ – i.e. there is nothing within the brackets after the include function ().

    Any way of resolving this quickly?

    Thanks

    Derek

    #86325
    miruru
    Member

    After some more testing, i’ve managed to get it working exactly how I wanted. You’ll need to change it in front-page.php.

    If you want the code, here it is: http://pastie.org/896738.txt.

    Hope it works for anyone who wishes to use it.

    edit: i mentioned that you need to replace forum.php with the above code, this was a mistake so you will need to revert the forum.php back to it’s original state and only change the front-page.php.

    #84753

    In reply to: Plugins You Want !!!

    chengdu-living
    Participant

    Does anyone know how much time there is between official releases, approximately? I’m just wondering if I’ll be waiting weeks, months, or years. :)

    #86306
    Farhad
    Member

    don’t work this code and nothing appear

Viewing 25 results - 21,701 through 21,725 (of 32,481 total)
Skip to toolbar