Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 27,076 through 27,100 (of 32,481 total)
  • Author
    Search Results
  • #66589
    chrishajer
    Participant

    Backticks for code go around anything at all, and make it a monospaced font, like where you have blockquote above. If you want to use the html <blockquote> just type [blockquote] without any backticks (use angled brackets rather than the brackets I used to make sure it did not render.) I think you did something like backticks around the HTML for [blockquote] which is not necessary. Just use HTML where you need it and then use backticks anywhere where you want to show the actual HTML, not have it be rendered.

    #66588
    keress
    Member

    blockquote

    You only need to share databases to have integrated user logins.

    /blockquote

    Thanks for responding, Chris. I’m still confused about this. It sounds like, from the documentation like above, integrating the cookies will accomplish the same thing:

    blockquoteIntegrating cookies allows your users to log in to either your WordPress blog or your bbPress forums and be effectively logged in to both.

    /blockquote

    I do want it to be pretty seamless for our users. I want them to only have to register once, and not to have to log in again when they cruise to the forum. On the face of it, it would seem like we need to share one database. BUT, that seems a bit scary, like the kind of scenario where I could wipe out our existing WP installation.

    If that’s the route I should go, how do I go about it? Uninstall the bbpress I just created, then go through the installation again, except this time enter our wp database info?

    I tried doing the integration last week for the two databases I have currently set up, and had to add a line into my wp-config about a secret key. With that, an error message came up instead of the blog, choking on that line. It was a day before I got wind of it, so it didn’t look very good.

    I want to have a clearer understanding this time before I start messing around with these settings.

    BTW, what am I missing with the markup here? It says to put the code between backticks `, but it’s not working.

    #66834
    ganzua
    Member
    Where did you originally generate the keys, from the WordPress random url? I'll report that bug to them if that's where you got them from.

    Yes, keys are from the WordPress random url. I’m not sure if this is a bug, I think ¡t’s a problem with bbpress utf-8 encoding and foreign computers that are iso-whatever.

    Besides, I’ve found more problems in my bb 1.0alpha – wp 2.6.1 b2 integration attempt;

    1 I can’t find a secure key salt in the last wp version.

    2 Logins integration seems to work fine but as soon as you include

    require_once('.../wordpress/wp-blog-header.php')

    all is messed; I lost the settings link on the dashboard, add new topic didn’t work, when no logged in I get this meesage instead of the last poster of a topic;

    Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in D:wampwwwwordpressbbpressbb-includesbackpressclass.bpdb.php on line 360

    I’ll report more errors if I find any

    #66906

    In reply to: Creative Commons T&C

    chrishajer
    Participant

    Thanks _ck_ – I should have read the FAQ for the plugin :-)

    #66904

    In reply to: Creative Commons T&C

    grifter
    Member

    Thanks Chris. Those are all good ideas :-)

    #66855
    chrishajer
    Participant

    Very odd. I can see what you’re talking about now. There is the <h2>Reply</h2> but then something goes wrong.

    This is in the source:

    <h2 class="post-form">New Topic</h2>

    </div>

    <!--
    If you like showing off the fact that your server rocks,
    <h3>0.150 - 15 queries</h3>
    -->

     

    Looks like bbPress has it until the <h2 class="post-form">New Topic</h2> part, then WordPress takes over for some reason. At least it looks like that’s what’s happening. If you look at the source of the page you’ll see what I mean.

    Sorry I don’t know what’s causing the problem, but it’s interesting to look at nonetheless.

    It is a very attractive theme, I’ll give them that, and it would be relatively easy to make a theme for BBPress that looks just like that.

    I’d love to have a stab at it myself, but I’m really busy developing a forum theme for a for a new site I’m working on – It has a lot in common with that layout as it happens. I will probably release my theme when it’s done, but I only get a couple of hours a night to work on it, so it’s probably some time away from being public.

    I’ll fave this topic to remind me that I’ve committed to sharing my theme ;)

    #66488

    In reply to: TalkPress suggestions

    We will not be able to download talkpress and do some hosting on our own? We can do that with wordpressMU, so why not with talkpress?

    BBPress == WordPress(.org)

    TalkPress == WordPress.com

    WordPressMU came after WordPress.com if my memory serves me right, so we probably won’t be seeing a BBPressMU until sometime well after TalkPress goes live (which itself is probably a year or so away).

    Of course, it may never happen, I’m just speculating. ;)

    I’m using BBPress 1.0 alpha and working on a new theme almost completely from scratch.

    I have added the post_form() function to my front-page.php template file as I want to allow people to start a new topic direct from the home page.

    Naturally, this requires people to be able to select a target forum for their post and the post-form.php template contains the bb_new_topic_forum_dropdown() function which is supposed to show the drop down list, however for some reason it doesn’t appear. The code around it shows ok, so it’s not a problem with the if statement that checks if we’re on the homepage or not…

    So… is that a bug in BBPress that needs to be submitted to trac or am I doing something that I shouldn’t be doing?

    #65749
    corenominal
    Member

    No word back from Dreamhost support, but it appears as if many DH customers are experiencing similar issues with other applications. I managed to fix my issue by logging into my DH account and changing the PHP version from 5.2.x -> 4.4.x and then back to 5.2.x.

    Hope this helps someone :)

    #66854
    holloway
    Member

    Well I fixed that, must have been a bug in the original skin. The issue is apparent on all skins- I’ve just reinstalled the default skin and set that as the current skin if you can have a look.

    I’m really at a loss as to what is causing it to cut off :s.

    ganzua
    Member

    Well I tried to integrate bbpress with my wordpress theme and I after calling wp functions by adding

    require_once('/wamp/www/wordpress/wp-blog-header.php')

    I realized that I had no settings link on the bbpress dashboard. I removed that line and the link appeared again but no theme integration.

    BBPress as wp plugin for 1.0 final is too much asking, isn’t it?

    #66830
    ganzua
    Member

    Hi ck! (great integration guide, BTW)

    I managed to make a basic integration with bbpress 1.0 alpha and wp 2.6.1 beta2.

    However bbpress reported an error in line 19 of its config file.

    Checked and it was the cookie keys that are not well fetched. Perhaps it is a problem with foreign computers and character encoding, I don’t know.

    Where it says;

    define('BB_SECURE_AUTH_KEY', '1234´´´56789');

    it is appearing;

    define('BB_SECURE_AUTH_KEY', '1234');

    Maybe the ticks and php. I solved this issue by copy pasting the right keys from wp config file.

    #3803

    Topic: Error on install

    in forum Installation
    sigmaweb
    Member

    I installed bbpress in MySQL5. Install went fine. Now I get the following error when I go to my bbpress url:

    Warning: bb_load_template(/home/greenpre/public_html/discussion/bb-templates/kakumei/front-page.php): failed to open stream: Permission denied in /home/greenpre/public_html/discussion/bb-includes/template-functions.php on line 17

    Please help.

    Thank you!

    Larry

    #66853
    chrishajer
    Participant

    Why is this listed as a stylesheet in the source? It gives a 404 then includes the whole WordPress page as a stylesheet:

    <link rel="stylesheet" href="http://www.audioscribbler.co.uk/oldboards/my-templates/bbpress-forum/style2.css?v=8" type="text/css" />

     

    I don’t know if that has anything to do with it, but it’s not right.

    Also, does the problem you’re describing happen with the stock template as well?

    #66843
    _ck_
    Participant

    You can fix this if you have phpmyadmin.

    Do you have it?

    go into your bb_usermeta (or wp_usermeta)

    and find that last administrator you made, it will look like:

    bb_capabilities a:1:{s:13:"administrator";b:1;}

    and just change the meta_value to

    a:1:{s:9:"keymaster";b:1;},

    user_id meta_key meta_value

    #66289
    _ck_
    Participant

    The search box is not hard coded in the core, it’s only in the template – it won’t be forced on other templates.

    Just look in header.php

    <?php login_form(); ?>
    <div class="search">
    <?php search_form(); ?>
    </div>

    The three “search” lines can be removed or just comment out this:

    <?php // search_form(); ?>

    #66823
    _ck_
    Participant

    The way I deal with fixing topicmeta is like this, though there may be other ways:

    old:

    if ( $topics = (array) $bbdb->get_col("SELECT topic_id FROM $bbdb->topicmeta WHERE meta_key = 'rating'") ) :

    new:

    if (bb_get_option('bb_db_version')>1600) {$item="object_id as topic_id"; $table="$bbdb->meta WHERE object_type='bb_topic' AND";}
    else {$item="topic_id"; $table="$bbdb->topicmeta WHERE";}
    if ( $topics = (array) $bbdb->get_col("SELECT $item FROM $table meta_key = 'rating'") ) :

    #66789

    In reply to: stylesheet_directory

    chrishajer
    Participant

    Well, that function gives the URI of the stylesheet, which will be a file, not a directory (sorry). Try this instead:

    <link rel="stylesheet" href="<?php bb_active_theme_uri(); ?>css/enplus.css" type="text/css" />

    You had some other errors in there too, in addition to the wrong function I gave you.

    There’s lots of neat stuff in bb-includes/template-functions.php – take a look.

    #66788

    In reply to: stylesheet_directory

    csseur3
    Member

    yes, yes. But i have a other css in my bb-templates/tpl1/css/enplus.css

    how to add this? i want that it works even if i rename my theme, or if i share it.

    <link rel="stylesheet" href="<?php bb_stylesheet_uri( 'css/enplus.css' ); ?>" type="text/css" />

    doesn’t work.

    #66787

    In reply to: stylesheet_directory

    chrishajer
    Participant

    From header.php

    <link rel="stylesheet" href="<?php bb_stylesheet_uri(); ?>" type="text/css" />
    <?php if ( 'rtl' == bb_get_option( 'text_direction' ) ) : ?>
    <link rel="stylesheet" href="<?php bb_stylesheet_uri( 'rtl' ); ?>" type="text/css" />

     

    bb_stylesheet_uri();

    #66739

    In reply to: Sitemap generator

    csseur3
    Member

    you can choose the location of the sitemap.xml file, and the name too :) (see at the top of the mod)

    create the .xml file and chmod 777, make a new post and see the .xml file, the sitemap is completed :)

    #66798

    In reply to: 1.0 translations

    csseur3
    Member

    for information, i use poedit :)

    Bye

    #3795
    darky2
    Member

    As the title says, I’m searching for this feature. Could anybody tell me how to start? For example: If I type ==Page 1== in the text it creates a “Page 1” inside the topic.

    Please :)

    #66822
    843008
    Inactive

    and how to fix it? is there any patch, please? :)

Viewing 25 results - 27,076 through 27,100 (of 32,481 total)
Skip to toolbar