Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 26,626 through 26,650 (of 32,481 total)
  • Author
    Search Results
  • #68686
    chrishajer
    Participant

    Please post a screenshot of your admin screen after you log in and click Admin. There are normally more options than what you’re describing. I think they are “Users”, “Manage” and “Design” on the left, then a couple more on the right (settings and plugins.)

    For how to place a link to the forum in your WordPress site, that’s highly dependent on your theme. But a basic html link will normally work, depending on where you’re putting it.

    <a href="http://www.example.com/forums/">Forums</a>

    If you’re putting it near wp_list_pages, in an unordered list, then it needs to be wrapped in li tags.

    <li><a href="http://www.example.com/forums/">Forums</a></li>

    #55946

    In reply to: Show off your Forum !!

    epiphone
    Member

    Mine is:

    http://www.james-blogs.com/forum

    Im yet to begin involving the forum deeply into my whole blog, but it’s theme and databased intergrated :)

    #62200
    adrianshort
    Member

    I’ve had the same problem and have also “fixed” it by disabling the Allow Images plugin.

    I’m going to give the BBcode plugin a go, though if bbPress isn’t going to implement a rich text editor (and I don’t think it should) then a far better solution would be to use a lightweight markup system like Textile and/or Markdown.

    #68669
    beernews
    Member

    Thanks for your help, Chris. Shockingly it didn’t work. I am using bbOrg theme for which there is no rss php file. So I changed the one in kakumei but didnt work. Maybe there is an override built into BBPress, WordPress somewhere else with the exact same code?

    Note that I removed it on both my local server bbpress file and my actual live site’s server. Didn’t work in either case.

    http://beernews.org/ Look at the left sidebar.

    #68123

    Oh THAT’S what we’re playing! ;) I thought it was mine’s bigger!

    Plugins

    • Akismet
    • Allow Images
    • Bad Behavior
    • bbPress Smilies
    • Comment Quicktags for bbPress
    • Mass Edit – Moderate Posts
    • Spoiler Tags
    • Unread Posts

    And yes, I tried it with them ALL turned off and with ’em turned on.

    #68122
    WP: http://mydomain.org/
    bbPress: http://mydomain.org/forum/

    Apache version 1.3.41 (Unix)
    PHP version 5.2.5
    MySQL version 5.0.51a-community
    Architecture i686
    Operating system Linux

    Mine’s longer ;)

    #68666
    beernews
    Member

    I’ve looked everywhere. Mostly BBPress files though…rss.php, some of the functions files, the widgets files

    I would expect to see something like <post_author> ” on” <topic_id> somewhere in the php code and be able to delete everything before <topic_id> but not finding it.

    #55942

    In reply to: Show off your Forum !!

    Nghia
    Member

    Mine : http://www.w3sh.com/forum/

    Integrated with WP. no plugins so far :)

    #68665

    In reply to: bbpress to bbpress

    chrishajer
    Participant

    First, I think I would make sure the bbPress version are the same. If they’re not, first backup your MySQL database then upgrade bbPress at your current host. That way you have the same version of the code and the database.

    Now, dump the database, paying attention to the MySQL version in case you need to specify any compatibility options for the new host. If the version are close to the same, you’ll be OK just dumping it.

    Now that you have the bbPress code at the new server and a dump of the database, just import the old database on the new host, and you should be done.

    If the domain name changed, you have a couple more things to worry about. But you didn’t mention that: just a new host.

    #4213
    beernews
    Member

    I dont have BBPress Live enabled so I pull the forums into my WP blog via RSS widget. It says ‘[Author] on’ at the beginning of each post. I like how WP has an option to display author at the end of the post in italics instead.

    Where is the output code for the RSS that can be removed/tweaked?

    v 0.9.0.2

    #4211
    chrishajer
    Participant

    I just thought I would share my experience with an attempt at an integrated installation. I downloaded WordPress 2.6.3 via svn and then created a directory forum and downloaded bbPress alpha 2 via svn there. I modified the wp-config.php by hand and installed WordPress just fine. I didn’t do any further configuration of WordPress.

    Then I went to install bbPress with an attempt at integration. Things were going along pretty smoothly. (As an aside: I think the installer should tell you when it first asks for the keys that you don’t need to worry about them here if you’re going to be integrating, since you will be entering WordPress keys at a later point. I wasted time generating new keys here which end up being unused.) I selected all the integration settings, but did not use custom user tables. I got to step 3 and it said “Your installation completed with some minor errors. See the error log below for more specific information. ” The error below was “Forum could not be created!” (I’ve had that happen before.)

    Since this was a minor error, I figured I would just continue and see how it goes. Clicking the link to my forum results in a Redirect Loop error in Firefox3. The page hangs for a while, never loads, then times out.

    I just figured I would share that experience here. If anyone wants more information, please let me know.

    #68661
    chrishajer
    Participant

    I was able to make the links clickable by adding this to the SmallNav CSS:

    position: relative;

    z-index: 3;

     

    Then I removed the four margin settings. You might have to experiment with the positioning, but this at least makes the links clickable.

    #68658
    chrishajer
    Participant

    To post source code here, just use the backtick (upper left on a US keyboard, under the tilde) before and after your block of code.

    I noticed in your forum source there is a link to this style.css which does not exist:

    http://www.addiva.net/bbpress/style.css

    Not sure if that’s a problem or not, but it’s not right. In addition, you should validate your CSS here and fix any problems.

    http://jigsaw.w3.org/css-validator/validator

    I would start with those things and maybe something will stand out.

    #68657
    keress
    Member

    Actually, that’s not the way the code looks. I guess there’s no way to get code to read as code here. I guess you’ll just have to take my word for it I’m using standing HTML a href’s to dish up some links.

    #4210
    keress
    Member

    I’ve copied the same navbar I’m using on WordPress into BBPress, it has hard links, so it should be straightforward, but for some reason, within this header.php file, the links aren’t live.

    http://www.addiva.net/bbpress/

    The code looks like this:

    <div id=”smallNav”>

    Home

    | Possibilities

    | Events

    | Blog

    | Forum

    | Store

    About ADDiva

    | Meet Linda

    |Media

    | Resources

    | Contact </p>

    </div>

    <!– end smallNav –>

    #68121

    Oh, possibly.

    Operating system  	Linux
    Kernel Version 2.6.9-67.0.4.ELsmp
    Apache version 1.3.37 (Unix)
    PERL version 5.8.8
    PHP version 5.2.1
    MySQL version 5.0.51a-community

    #68120

    @sam: The function ‘display’ in the bbpress-live.php class ‘bbPress_Live_Widget_Forums’ appears to echo out the fora lists etc. Look who I’m preaching too ;) I must have missed something!

    Curious Ipstenu that the rest of your wp blog functions with this plugin enabled and in this state. Not my current experience. Server differences?

    #68119

    Viewing source was the first thing I tried. Old habits die hard ;) But really, there was nothing.

    I did not check the error logs, so I did that right now.

    On Server:

    Make sure error-log is set to verbose for now.

    On bbPress:

    Enable XML-RPC – YES

    On WordPress:

    Install plugin – Done

    Activate Plugin – Done (no errors)

    Configure Plugin –

    URL (http://jorjafox.net/forums/)
    ID/Password (Ipstenu / 555Nope!)
    Caching Enabled - NO
    Enable forums widget - YES
    Enable Topics widget - YES
    Copy new WordPress posts to bbPress (not implemented)

    Then I went into widgets and picked ‘bbPress latest topics’, put it at the bottom of my sidebar. I gave it the title of ‘Latest Topics’ and saved my changes.

    The header shows up on the bottom of the side bar, no content.

    Error log is empty. Frustration resumed :(

    By the way, if the standalone function is called to be echoed like print_r($myarray);, shouldn’t that output something?

    #4209
    _ck_
    Participant

    I just wanted to announce I have a primitive prototype of OpenID working with bbPress and should have a more stable version for experimental testing within a few days (likely by the end of the weekend). The only requirement is your PHP needs CURL with https (ssl) support, which many servers have or can easily add ie. via cpanel’s rebuild PHP (check your PHPINFO to be certain).

    I finally got an old openid 1.1 framework working with openid 2.0 so this makes it possible to use it with all the newest providers: aol, yahoo, microsoft and now even Google (as a “consumer”, not as a server).

    The biggest problem was making it work without extra libraries like the complex math support and even DOMXML which is not available on many shared hosting PHP4 servers. But found a way around that too ;-) I’ll eventually add fsockopen support with ssl so even CURL is not a requirement.

    ps. OpenID on WordPress.com needs to be fixed to offer a secure login when a cookie is not present like every other provider. This is annoying :-(

    #4205
    johnhiler
    Member

    I have been getting reports that registrants on my bbpress forum aren’t receiving their auto-generated password emails from my server.

    I’ve read a few threads on this forum that suggest workarounds. But I’m more interested in allowing my users to set their own passwords.

    There’s a neat WordPress plugin that does exactly what I want:

    http://wordpress.org/extend/plugins/wordpress-password-register/

    I don’t even need the email confirmation/validation code part. I just want users to be able to specify their own passwords. If bot registrations become a problem, I’d just install a captcha plugin.

    Can someone adapt that code into a bbpress plugin that allows for user-defined passwords? I’d be glad to pay $100 to anyone who can deliver a working plugin! Plus I’d be eternally grateful and would have no objections to open sourcing any code that came out of this.

    Please let me know!

    #68116
    Sam Bauers
    Participant

    The standalone functions in bbPress Live don’t print anything to the screen, they return an array. You need to do something like this:

    <?php
    $bbl_topics = bbpress_live_get_topics();

    foreach ($bbl_topics as $bbl_topic) {
    echo '<a href="' . $bbl_topic['topic_uri'] . '">' . $bbl_topic['topic_title'] . '</a>';
    }
    ?>

    #68558

    Thanks Deadpan11,

    The core behavior of bb-settings.php is to append BB_HASH to the cookie name on line 638:

    $bb->logged_in_cookie = ($bb->wp_cookies_integrated ? 'wordpress_logged_in_' : 'bbpress_logged_in_') . BB_HASH;

    Even in a non-WPMU installation such as this one, I would agree that this is a good coding protocol to follow. I did try your suggestion though, because I do want to understand, but the cookie was still created as wordpress_logged_in_blah3_blah5_blah8.

    This caught my eye over the weekend…

    In bb-settings.php line 592:

    $bb->wp_cookies_integrated = false;
    $bb->cookiedomain = bb_get_option('cookiedomain');
    if ( $bb->wp_siteurl && $bb->wp_home ) {
    if ( $bb->cookiedomain ) {
    $bb->wp_cookies_integrated = true;

    I even tried setting $bb->cookiedomain=” to allow the code to construct the value… no joy. No problems logging into bbPress, which is just fine for the moment.

    The code is alpha! Since others had had success I was trying to nail down my server environment deltas…

    I’ll push on with other projects for now :)

    #67851
    timskii
    Member

    Technically, it’s not just about pretty links and sitemaps. BBPress can produce much cleaner, better structured page code than certain other forum software.

    Meta descriptions and keywords are still used by search engines where available. Personally I take the tags associated with each topic and add them to the list of keywords. In the keywords meta:

    global $tags;

    if($tags) {

    foreach ($tags as $t) {

    echo $t->raw_tag.', ';

    }

    }

    That said, I still believe that asking whether something is SEO-friendly is asking the wrong question. Work on making forums user-friendly, which then attracts “quality” posts, and the search engines will follow.

    #68583
    _ck_
    Participant

    What they are asking for might be closer to post-count-plus.

    It doesn’t display it graphically though which would require some extra code to simply display a div with a background image at a designated width.

    #68585
    _ck_
    Participant

    Very nice work.

    Demo:

    http://bbshowcase.org/forums/?bbtheme=WPMimic

    don’t forget to add the info at the top of style.css

    /*
    Theme Name: WP Mimic
    Theme URI: http://idolsavenue.com/forums/topic.php?id=1
    Description: This theme is called "WP Mimic" because it is structured after the current themes of WordPress (.com and .org) forums.
    Version: 0.02
    Author: limited
    Author URI: http://idolsavenue.com/forums/
    */

    and make a proper screenshot

Viewing 25 results - 26,626 through 26,650 (of 32,481 total)
Skip to toolbar