Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 19,951 through 19,975 (of 32,499 total)
  • Author
    Search Results
  • #35452

    When I install it using buddypress I get this when I click the “FORUMS” tab:

    Warning: mysql_get_server_info(): supplied argument is not a valid MySQL-Link resource in /home/********/public_html/wp-includes/wp-db.php on line 1582

    Can someone help me? I really need to use bbpress! :(

    #94313
    maxumimike
    Member

    Varjik.

    There are plugins for both private messaging and a WYSIWYG editor.

    BBPress does work well with WordPress, better than any other forum software. What people like you fail to understand is that whilst, relatively, integrating BBPress with WordPress is easy, it is not something a basic WordPress user who does not have any knowledge of PHP should really do, unless you are prepared for the challenge and prepared that you mgiht not be able to do it.

    Regarding themes, you need to edit the BBPress theme you are using. You need to add the Get_Header and Get_Footer tags of your WordPress theme to your BBPress theme files. If you wish to use a sidebar you will need to reference the sidebar too.

    You then need your Forum to fit in the Wrapper of your WordPress theme, you do this by referencing the wordpress themes CSS wrapper in the BBPress themes files, using div tags.

    You also need to then make sure a copy of your BBPress CSS is in the same directory as your wordpress CSS, you then need to reference the BBPress CSS in your wordpress header.

    If you know what you’re doing with web design then those steps should be fairly easy to follow. At the end of the day, a certain level of expertise is required to integrate BBPress with WordPress.

    I have managed it, you can see the result at:

    Discussions

    As you can see, both the WP site and the BBPress forum use the same theme.

    Personally, I think if you are already looking to phpNuke then WordPress is probably not for you. I personally think phpNuke is the poor mans WordPress, it’s gimmicky and performs poorly, but if that’s what you find easiest then it’s whatever you think is best :)

    #93915
    paulhawke
    Member

    If we are talking “blue sky” here, I’d like to propose a re-think of the content of “forum”, “topic”, “thread” and “profile” pages. WordPress site maintenance took a giant step forward with the addition of widgets.

    Blogger.com is aimed at the masses (as any good forum software ought to be) and the “blog layout” tool is a great example. Drag + drop gadgets from a palette and tweak the look of the blog without ever editing a line of code.

    Wouldn’t it be nice if forum themes revolved around skinning just the presentation, and the structure of the page could be as simple as drag + drop in the admin area?

    Wouldn’t it be nice to allow widgets developed by other people to be dropped into place on the various pages that make up the site? What would it take to allow WordPress widgets to co-exist with bbPress ones?

    Now that would make moderating and tweaking a forum easier!

    Actually, while I think of it, a “get more widgets” link in the admin area, that seamlessly downloads and activates widgets would be awesome. All the smartphones are going toward an “App Store” why shouldn’t we?

    #85071
    Taeo
    Member

    It is all done on bbPress.

    I’ve considered making a free theme to get my name out there. But if I do I will most likely wait until the new version is released (the WP plugin). It would allow me to simplify the code somewhat I think. As it stands right now the theme and plugin is a bit of a mess as I was learning and adding features as I went.

    #94278

    In reply to: Invite a friend plugin

    mr_pelle
    Participant

    Well, I believe this feature is missing mainly because bbPress is not a social network.

    If you want to invite someone to a forum, just send him/her its web address! ;)

    #94093

    figured it out:

    in post.php:
    <p><strong><a>"><?php post_author(); ?></a></strong>

    in bb-avatars.php:
    if ( $link = get_user_profile_link( $author_id ) ) {
    echo '<a href="' . attribute_escape( $link ) . '">' . $avatar . '</a>';

    #35434
    christofius
    Member

    I have been having trouble with the buddypress forums. Basically, everything on the wordpress side of things works, and everything else BP wise works too. However, when I post a topic, the topic get’s posted, but the post doesn’t. So it says that there are 0 posts in the topic.

    I am running wordpress 3.0.1 (not on multisite mode) and buddypress 1.2.5.2 in a root install. I have made one code change: before this I was getting an error because of mysql_get_server_info on wp-db.com, so I changed line 1589 (or somewhere around there from return preg_replace( '/[^0-9.].*/', '', mysql_get_server_info( $this->dbh )); to return preg_replace( '/[^0-9.].*/', '', mysql_query("select version() as $this->dbh") );, and that error stopped.

    This is not because of any plugins or themes that I have installed: I have tried deactivating all of them to no result. I can not find any solution in any other topics.

    And the problem is because of buddypress, not bbpress. I tried installing bbpress separately and integrating it with buddypress, and the same problem occurred when I posted on the buddypress end, but it didn’t when I posted on the bbpress side.

    xmlrpc is enabled.

    Thank you for your help.

    #90528
    chandersbs
    Member

    Already 2 months since the creation of this topic, and still not fixed — wow way to sell bbpress :)

    #94220
    pagal
    Participant

    @ricardouk, Thank you so much for your time and interest.

    some say 0.9.2 is faster but even if it is faster i can´t really notice it.

    Yes, I’m totally agree with you, I also can’t find any difference.

    the next version (pluggin) will be what everyone wanted,

    I don’t think so, I analyse that most of people/developers don’t want this plugin, they love standalone.

    What you think, This plugin will win the situation? Nope never,

    I’m afraid, How can biggest sites will move to this plugin.

    And those who just want to run community without WordPress, Will like it?

    off course, they need a separate forum solution.

    And what about those plugins which have developed for bbPresss standalone, Will developers again make them compatible for bbPress plugin?

    I don’t think so.. specially _ck_ will not remake them.

    Community forums is a separate issue, It should remain separate.

    Its a stupid idea to messing it up with WP. My apologies.

    I’m also not happy with those five forums software which you’ve mentioned. They all looks like same including vbulletin. They are complicated, heavy.

    You know which I choose bbPress? because of its motto :)

    yes, its really simple, fast and elegant.

    I don’t know why management remove these “three words” which was the identity of bbPress.

    With Regards,

    Pagal

    #94272

    In reply to: fetch RSS feed

    DKB
    Participant

    Thank you for the suggestion.

    With that code i get this:

    title

    first 10 words

    i want to have this:

    title

    first 10 words

    So there is too much spacing.

    #92873
    chandersbs
    Member

    Sorry for the very late reply… and thanks for your reply

    I’m using tons of plugins actually :( and using bbpress version 1.0.1

    The plugin which is causing this is ck’s unread post plugin.

    Luckily, this problem is only noticed by keymasters.

    I don’t really want to turn off this plugin, since its a very usefull plugin to see what is new on the forums.

    I just don’t understand how it started happening all of a sudden.

    #94271

    In reply to: fetch RSS feed

    Ricardo
    Participant

    you can use rss widgets on the homepage… if you mean “hardcoding it” to the template use the following code:

    <?php if(function_exists(‘fetch_feed’)) {

    include_once(ABSPATH.WPINC.’/feed.php’);

    $feed = fetch_feed(‘http://www.domain.com/bbpress/rss&#8217;);

    $limit = $feed->get_item_quantity(7); // specify number of items

    $items = $feed->get_items(0, $limit); // create an array of items

    }

    if ($limit == 0) echo ‘<div>The feed is either empty or unavailable.</div>’;

    else foreach ($items as $item) : ?>

    <div>

    get_permalink(); ?>”

    title=”<?php echo $item->get_date(‘j F Y @ g:i a’); ?>”>

    <?php echo $item->get_title(); ?>

    </div>

    <div>

    <?php echo substr($item->get_description(), 0, 200); ?>

    <span>[…]</span>

    </div>

    <?php endforeach; ?>

    and edit the following:

    $feed = fetch_feed(‘http://www.domain.com/bbpress/rss&#8217;);

    $limit = $feed->get_item_quantity(7); // specify number of items

    <?php echo substr($item->get_description(), 0, 200); ?>

    #77438
    mr_pelle
    Participant

    The code above has some errors in it: $thisPage is used when calling bb_list_pages() recursively, but this param isn’t defined anywhere but in the function’s description… =P In function definition that param is instead named $parent_uri.

    Moreover $kids <> "" should be replaced by !empty($kids) and I’m not sure that wordpress_mu_primary_blog_id has any meaning now that WP 3.0 has merged WP and WPMU…

    Last, calling bb_list_pages() with no args, makes if ($depth == 0) true, resulting in an empty string returned. It would be good to use the same template of wp_list_pages(), which lists all pages if no param is passed to it (see docs). By the way, this could be the reason why you get nothing displayed when calling the function.

    #31901

    Topic: made the switch

    in forum Showcase
    cichlid
    Member

    I just want to say thank you to the following people who contributed plugins and made my life much easier.

    Thomas Klaiber

    Eduardo Graells

    Michael Adams

    Nightgunner5

    _ck_

    Rich Boakes & Frédéric Petit

    Rhys Wynne

    Francesco Bigiarini

    Well, thats out of the way. :)

    I switched from phpBB3 to bbpress 1.0.2 because I couldn’t stand the huge administration section and the constant spam. In addition I had problems integrating phpbb with wordpress (yes, I tried, wp-united and hated it).

    It took me roughly 2 days to implement the forum and wordpress the way it is now and I converted the data from phpbb to bbpress. Lost a lot of users because they couldn’t convert for whatever reason but I managed to keep all the data.

    Forum Address: http://www.cichlidexplorer.com/forum

    It still needs work!!

    #94237

    Okay, I made the following change in integrated-footer.txt file:

    </div>
    <?php get_footer(); ?>
    </div>

    It arranges the footer on the homepage. But on the other pages this mess (and the other pages worked fine with the file without modification). How do I fix this?

    Att,

    #94236

    Hello,

    I turned off the plugins that added style lines that you indicated. I do not know anything was resolved, honestly … :-(

    I think I made a wrong issue in file footer.php, I will check it shortly.

    Oh, about the mistakes of styles, I’m in the “cleaning” process of the bbPress’ CSS. But which of the two files I need to edit: bb-style.css style.css?

    I appreciate your help.

    Att,

    Edit: I think what is messing up the footer is the integrated-footer.txt file, since it closes some <div> tags.

    No?

    #94235
    wblogan
    Member
    <style type="text/css">.signature {padding:1em; border-top:1px solid #ccc; font-size:0.87em; color:#444;}</style><style type="text/css">.bb_smilies {border:0; vertical-align: middle; padding-bottom:1px;}
    .bb_smilies {cursor: pointer; cursor: hand;}
    #bbClicker {position: absolute; float: right; visibility: hidden; background: buttonface; width: 150px; border:2px inset buttonface; font: 1.2em times, serif;}
    #bbClicker img {padding:5px;}
    #bb_smilies_toggle {float:right; padding: 0px 6px 1px 6px; margin: 1px 7px 2px 0; font: 1.2em times, serif; word-spacing: -1px; height: 16px; vertical-align:middle; line-height:16px;');}

    In the styles above (wherever they are coming from) this style line-height:16px;');} is wrong. It should be line-height:16px;}.

    I suppose this could be throwing everything off.

    #94234
    wblogan
    Member

    I would try commenting this line out; maybe it needs to be in a different place?

    <link rel="profile" href="http://gmpg.org/xfn/11"/>

    Where are these internal styles coming from if you have not added them to header.php?

    `<style type="text/css"><br />
    .signature {padding:1em; border-top:1px solid #ccc; font-size:0.87em; color:#444;}<br />
    </style><br />
    <style type="text/css"><br />
    .bb_smilies {border:0; vertical-align: middle; padding-bottom:1px;}<br />
    .bb_smilies {cursor: pointer; cursor: hand;}<br />
    #bbClicker {position: absolute; float: right; visibility: hidden; background: buttonface; width: 150px; border:2px inset buttonface; font: 1.2em times, serif;}<br />
    #bbClicker img {padding:5px;}<br />
    #bb_smilies_toggle {float:right; padding: 0px 6px 1px 6px; margin: 1px 7px 2px 0; font: 1.2em times, serif; word-spacing: -1px; height: 16px; vertical-align:middle; line-height:16px;');}<br />
    </style>`

    I looked at your site with Firefox and opened the error console, and I think something in these styles might be causing a problem.

    Have you edited bbpress/frontpage.php?

    Check anything you have edited for missing or misplaced closing tags.

    I’m out of my element here. These are just the things I would try. (I wish someone who knows more than me would jump in here.)

    #94233
    <link rel="profile" href="http://gmpg.org/xfn/11" />
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/bb-style.css" type="text/css" />
    <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
    <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />

    This is the edit of the header.php. It’s the only change I made in this file.

    And, no. I’m not importing another style outside my domain, and I’m using Opera 10.62.

    Thanks for the assistance.

    #94230
    wblogan
    Member

    Though integration appears to be working and the style sheet is being called in the twentyten/header.php your style sheet is not getting loaded.

    /**** Style sheets whose contents could be loaded were ****/<br />
    /**** imported instead. Rule order may be incorrect ****/<br />
    /**** as a result. ****/

    Perhaps someone else here can tell you why that is, or you may need to google it to find out why. Don’t take this the wrong way, but I’m not the person to help you beyond what I’ve told you (and what I have told you may be wrong). There’s too much I have not learned. Besides that, I’m not sure that this is the place to get help with CSS. I’ve learned what little I know about CSS from places like http://www.w3schools.com/css/. There are tools to help you with changing styles. I use the Google Chrome browser, but your browser no doubt has a “view source” feature. Google Chrome allows you to inspect elements and alter styles, and you can get the Firebug extension for it (which imho is better than chrome’s inspect element). I find the Jesse R. “edit styles” bookmarklet very useful for learning and changing css (https://www.squarefree.com/bookmarklets/bookmarklets-all.html).

    But the first order of business is to figure out why the style sheet is not being loaded.

    #94258
    curtismchale
    Member

    and we have some access logs coming through now

    70.69.128.69 - - [20/Sep/2010:19:59:48 -0700] "GET /fraservalleywhitewater.com/forum HTTP/1.1" 301 246 "-" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; GTB0.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30729; OfficeLiveConnector.1.5; OfficeLivePatch.1.3; .NET4.0C; AskTbBLT/5.8.0.12304)"
    70.69.128.69 - - [20/Sep/2010:19:59:49 -0700] "GET /fraservalleywhitewater.com/forum/ HTTP/1.1" 500 20 "-" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; GTB0.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30729; OfficeLiveConnector.1.5; OfficeLivePatch.1.3; .NET4.0C; AskTbBLT/5.8.0.12304)"

    still nothing in the error logs that has anything to do with /forum

    #54443

    In reply to: Add nofollow to links

    thank you! thank you!!!!! works perfectly :)

    #94116

    In reply to: Town Forum Theme

    Nice :)

    Liked it

    #94202
    wblogan
    Member

    Well, you’ve introduced me to subversion. I had no idea. I don’t know whether to thank or cuss you! :) I’ve downloaded svn packages (I run the Ubuntu distribution of Linux on my computers) and am working through documentation. I’ll get it sooner or later. Thanks!

    #94227

    I will make this changes and back here soon.

    Thanks for the help :-)

    Att,

Viewing 25 results - 19,951 through 19,975 (of 32,499 total)
Skip to toolbar