Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 32,251 through 32,275 (of 32,377 total)
  • Author
    Search Results
  • #794
    Atsutane
    Member

    PHP Warning: rawurlencode() expects parameter 1 to be string, array given in /home/spider/public_html/wp/wp-includes/classes.php on line 1658

    Well i have that problem when i integrate my bbpress with wordpress. It only happen when i view “manage->post” and “manage->pages”. I already edit the classes.php and it only fix my “manage->post”. My “manage->pages” are still broken.

    If i disable the integration, everything work perfectly without any error. Anyone know how to fix this thing?

    #50107

    In reply to: Integration with WP

    Atsutane
    Member

    @kannued

    Actually u can load bbpress into wordpress :) I have tried it and it work perfectly. https://bbpress.org/forums/topic/61?replies=3

    #50495

    In reply to: post count – 1

    ear1grey
    Member

    Try this… copy bb-template/front-page.php to my-templates/front-page.php and then in that file find:

    <th><?php _e('Posts'); ?></th>

    then change ‘Posts’ to ‘Replies’. Now, in your my-plugins folder create a file called decrement-posts.php and put this in it:

    <?php

    function bb_decrement( $value ) {

    return $value-1;

    }

    add_filter( 'get_topic_posts', 'bb_decrement', 1);

    ?>

    #50635
    Nola1974
    Participant

    Changes I made:

    example: http://overnights.org/profile/2

    style.css

    #userinfo { margin: 10px 0 5px; width:45%; float:left;}

    #userinfo dt { font-weight: bold; }

    #userinfo dd { margin: 0 0 5px; }

    #useractivity { margin: 10px 0 5px; width:45%; float:right;}

    #useractivity dt { font-weight: bold; }

    #useractivity dd { margin: 0 0 5px; }

    profile.php

    <?php bb_profile_data(); ?>

    <div id="useractivity">

    <h3><?php _e('User Activity') ?></h3>

    <dt><?php _e('Recent Replies'); ?></dt>

    <?php if ( $posts ) : ?>

    <?php foreach ($posts as $bb_post) : $topic = get_topic( $bb_post->topic_id ) ?>

    <dd><a href="<?php topic_link(); ?>"><?php topic_title(); ?></a> <?php if ( $user->ID == $bb_current_user->ID ) _e('You last replied'); else _e('User last replied'); ?>: <?php bb_post_time(); ?> ago.

    <?php

    if ( strtotime(bb_get_post_time()) < strtotime(get_topic_time()) ) {

    echo ' <span class="freshness">'. __('Most recent reply: ');

    topic_time();

    echo ' ago.</span>';

    } else {

    echo ' <span class="freshness">'. __('No replies since.') .'</span>';

    }

    ?>

    </dd>

    <?php endforeach; ?>

    <?php else : if ( $page ) : ?>

    <?php _e('No more replies.') ?>

    <?php else : ?>

    <?php _e('No replies yet.') ?>

    <?php endif; endif; ?>

    <dt><?php _e('Threads Started') ?></dt>

    <?php if ( $threads ) : ?>

    <?php foreach ($threads as $topic) : ?>

    <dd><a href="<?php topic_link(); ?>"><?php topic_title();

    ?></a> <?php printf(__('Started %s ago'), get_topic_start_time()) ?>

    <?php

    if ( strtotime(get_topic_start_time()) < strtotime(get_topic_time()) ) {

    echo '<span class="freshness"> '. __('Most recent reply: ');

    topic_time();

    echo ' ago.</span>';

    } else {

    echo '<span class="freshness"> '. __('No replies.') .'</span>';

    }

    ?>

    </dd>

    <?php endforeach; ?>

    </div>

    #50494

    In reply to: post count – 1

    Nola1974
    Participant

    No, I see what he means. Saying “1 post” is redundant.. if there wasn’t one post in that topic, the topic wouldn’t exist. :) It should say “REPLIES” and list the number of posts in the topic, minus 1 (the original post.)

    How we do that, I have no idea.. I’m still trying to find a list of template tags and attributes.

    #50616

    In reply to: deleting users

    Nola1974
    Participant

    btw, my installation is at http://overnights.org – come log on while I figure this out.. overnighters, unite! :)

    #50559
    AphelionZ
    Participant

    The quickest way to hide the forums is to simply delete the elements from the UI in the templates. Do you edit HTML or know somebody that does?

    Just use <!– and –> to comment out the registration link, or comment out the php that renders it

    You can also use an .htaccess file to make your forums directory password protected with a master user:pass.

    If this is over your head, like i said, ask somebody. ask me! :)

    The login problem seems to be troubling a lot of people, including myself.

    #50552
    bpartch
    Member

    Hello

    There is apparently some issue with the install or something as it is not getting your .css file. If you try to visit the .css url you get an internal server error:

    http://n22.awardspace.com/forums/bb-templates/style.css

    I am not sure what the easiest way is to fix this but I would uninstall and reinstall it again making sure all the stuff in the config.php file is accurate.

    Someone else may have a easier solution.

    Hope this helps. :)

    #49417

    In reply to: Importing from phpBB

    RedSkunk
    Member

    Please! You’ll have to be patient.. we are lucky we got this phpBB to bbpress importer this quickly.. jeesh! I’m sure brunotorre will probably make up more import scripts then..

    If not brunotorre, then someone else I’m sure.. We’ll just have to be patient here.. Just my 2 cents …

    I was able to use his script to bring over all of my users, just by modifying the table names that it was calling for from phpBB. But his code got more complicated, especially for the posts.. For someone who has a firm grasp on php, it wasn’t as much to ask as it might seem.. But I ended up bringing over the info by hand via PHPMyAdmin… Nearly everything, minus the dates of posts since PunBB put that info on a different table altogether.

    But yeah, I’m not faulting brunotorre for not getting to my issue immediately. The demand for PunBB->BBPress is prolly going to always be small. Kudos for brunotorre’s work, def!

    #49677

    In reply to: Ultimate BBpress Guide

    edwinkort
    Member

    Great, thanks. Although I’m still having problems installing this :(

    Parse error: syntax error, unexpected T_VARIABLE in /home/bookieb/public_html/bbpress/config.php on line 46

    Line 46 (and further):

    $bb->wp_table_prefix = ‘wp_’; // ‘wp_’; // WordPress table prefix.

    $bb->wp_home = ‘www.bookieboy.co.uk’; // WordPress – Options->General: Blog address (URL) // No trailing slash

    $bb->wp_siteurl = ‘www.bookieboy.co.uk’; // WordPress – Options->General: WordPress address (URL) // No trailing slash

    #50070
    mozey
    Member

    nice work :)

    #50507

    In reply to: Tags looks very big

    jammed
    Member

    Okay. Thanks for the link. :)

    #49745

    In reply to: Keep bbPress Light

    ranrar
    Member

    why not do as wordpress does? just copy a script/code into a folder and then activate the plug-in and then folow the install instructions acorting too the plug-in readme about tags? and so on?

    then you can easly can deside yourself witch you need this plug-in ore not just like wordpress.

    #49766

    In reply to: Plugin Requests

    Nola1974
    Participant

    I would like a plugin with a imageshack/fapomatic upload form. :)

    #775
    mistainu
    Member

    #1. have a smoother “intuitive” integration between wordpress and bbpress?

    #2. plugins and theme options pages in control panel *doh* :D

    #3. in the bbpress control panel, have a link that says “over to wordpress” and vice versa; that would require bbpress and wordpress to “recognize” each other’s presence on the website. a result of suggestion #1

    #4. search function? etc

    that’s all i can muster… otherwise it’s awesome.

    #50470
    mistainu
    Member

    nevermind, i figured out what went wrong:

    near the bottom…

    // Use the following line *only* if you will be loading WordPress everytime you load bbPress.

    //define('WP_BB', true);

    so i removed the //

    define('WP_BB', true);

    and that’s what caused the problem… now that i replaced the // back, integration works fine. but i have a question?

    what was that line even supposed to do? i thought load everytime means i can callup the wordpress functions in the bbpress template? or something to that extent? someone please clarify?

    #49416

    In reply to: Importing from phpBB

    spencerp
    Member

    What about importing from PunBB?

    *sigh*

    Please! You’ll have to be patient.. we are lucky we got this phpBB to bbpress importer this quickly.. jeesh! I’m sure brunotorre will probably make up more import scripts then.. ;) =)

    If not brunotorre, then someone else I’m sure.. We’ll just have to be patient here.. Just my 2 cents … ;) =)

    spencerp

    #50480
    AphelionZ
    Participant

    Did not work, I put a print statement in the userspace.php, printing “This code is being executed.” and it showed up, but does not solve the whitespace problem.

    #49764

    In reply to: Plugin Requests

    ear1grey
    Member

    Thx Philip – Naturally I was hoping to avoid the XML round-trip, but I’ll swallow that little overhead-pill for now! :)

    #49779

    In reply to: Permalinks?

    Jaxia
    Member

    Ahhh, my bad. I thought that is what ”pretty’ permalinks did. Something to look forward to :)

    (BTW, xdforum uses mod rewrite rules to make it work. It’s a wordpress forum plugin. Nifty, but I guess it depends on which features are more important to the end user right now :) )

    #50477
    AphelionZ
    Participant

    I copied this code into a file called userspace.php and then copied that file into the my-plugins folder. Is there anything else I need to do?

    Professor Stigious is also the keymaster. Is this super problematic?

    btw thank you for your fast response!

    #50353

    In reply to: Cannot select DB.

    The domain should be http://localhost and the path should be /~myusername/bbpress/ but that shouldn’t stop the database connection.

    Do you know if you have PHP’s mysqli extension loaded (as opposed to the normal mysql)? If you do, try copying bb-includes/db.php to bb-includes/db-mysqli.php to overwrite that later file (it seems to be out of date).

    Please let me knw if that helps or not.

    #49776

    In reply to: Permalinks?

    Jaxia
    Member

    I must be missing something. I tried the +Multi thing, and I kept getting an error about no input file. So, I copied the code into my .htaccess file and put it in the right directory, but my links still look like this:

    http://www.youknowyouwanna.net/forums/forum/1

    How can I get it to use the names of the forums, and the titles of the threads? Thanks!

    #49415

    In reply to: Importing from phpBB

    marky
    Member

    My mistake; you’re absolutely right — it only displays deleted posts. :-)

    #49413

    In reply to: Importing from phpBB

    brunotorres
    Member

    Marky, just after posting here I realized I forgot to convert the bbcodes. I’ll try to make it shortly.

    About the announcements and sticky, I’ll give a look too.

    But I still don’t have a clue why posts don’t appear on the admin. If you or anyone know why, please let me know.

Viewing 25 results - 32,251 through 32,275 (of 32,377 total)
Skip to toolbar