Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '+.+default+.+'

Viewing 25 results - 5,576 through 5,600 (of 6,777 total)
  • Author
    Search Results
  • #80655
    jeffreyw4
    Member

    Thanks for your reply.

    Well, as I said, I originally uploaded it with the containing folder included. So the server didn’t “see” any of the files. It just read the default page which is a “this site is coming soon” html file.

    Once I uploaded without the containing folder the server saw the files and a screen querying for database info appeared.

    I’m not sure what you mean by “the” file structure. There isn’t much on the server before the bbPress files are uploaded. I left only the bare bones before uploading bbPress to avoid confusion.

    J

    #32116
    jeffreyw4
    Member

    Hi,

    So I uploaded the uncompressed files as instructed. Which of course come wrapped in a folder. Not being instructed otherwise, I uploaded the entire folder, wondering silently how the server would know how to handle the files.

    Item number 4 carries the rather cryptic instruction to “Visit the intended URL of the bbPress site” which I think means to go to the website to which the bbPress files have been uploaded. Which I did.

    Then it says that “You will be greeted with the bbPress installer”

    Of course this didn’t happen.

    Okay, so I figured you must have to remove the containing folder after all. So reupped the files now in unwrapped form.

    Having done this a screen did appear which queried for database info. I entered all of that and it said that it “couldn’t establish a connection with the database”.

    So I went into godaddy and created a new one thinking perhaps the password was wrong (though I checked it three times).

    Maybe this was my undoing: I looked at the Godaddy instructions for installing bbPress. They claim you should edit the bb_config file directly. So I put in the database info for the new database. The sticking point is always the host name which everyone defaults as ‘localhost’. But that doesn’t work with Godaddy. So I pulled the hostname from the Server variables and settings and put that in the quotes. I upped that and….

    Now it is saying I have to edit a table prefix which I assume is this line:

    $bb_table_prefix = ‘bb_’;

    I really have no idea what would go here.

    Any ideas??

    Thanks for any help.

    Jeff

    #81185

    I believe that the issue was the reverse, that is: how to add the blog menu onto the forum.

    If this is the case – the way I have done it – you edit header.php of your forum theme and add the menu tabs there, to match the ones of your blog. Make sure it is a custom theme and add it to my-templates folder, or you will lose it when you upgrade bbPress next time (if left as the default Kakumei).

    Just after

    <div id="header" role="banner">

    you add the html for the tabs (for id “navigation” add it to the style sheet). For example:

    <div id="header" role="banner">
    <ul id="navigation">
    <li><a href="blog url" title="Main Blog">Blog</a></li>
    <li><a href="forum url" title="Forums">Forums</a></li>
    <li><a href="another page url" title="Whatever Page">Whatever Page</a></li>
    <li><a href="contact page url" title="Contact Me">Contact Me</a></li>
    <li><a href="about page url" title="About">About</a></li>
    </ul>
    </div>

    Hope this helps.

    #32215
    Collisionx
    Member

    Hi

    I have tried integrate wordpress into bbPress according to the documentation, in my localhost, and im getting this error.

    Fatal error: Call to undefined function bloginfo() in C:wampwwwgm_wordpresswp-contentthemesdefaultfooter.php on line 12

    Do i have to call every file in wordpress with “require_once”… Or is there any other solution ?

    I ll be great if you guys can help me out.. :)

    Thanx

    #32208

    Topic: left aligned

    in forum Troubleshooting
    mmalaney
    Member

    I have installed BBPress and integrated it with my WP install and theme. The issue I am running into is the BBPress seems to be aligned left, I am using the default kakumei theme, any help on how to center it onto my page would be greatly appreciated. Link to my BB install is below.

    http://www.wisconsinsportsnation.com/community/

    #32178
    darxmac
    Member

    Hi All

    I have a bbpress install that is deep integrated with a wordpress MU 2.8.4. Everything is working perfectly, except that when i try to change the default language. When i remove the deep interagtion hook and use the default theme it works.

    I can see in trac (ticket/1096)that this is supposed fixed (maybe) but could it be because i’m using wordpress mu instead of the regular ? … any ideas/workarounds ?

    /thomas

    Cripes, no need for all that object-based markey, bbPress has functions to pass as a string rather than echo…

    <?php
    /*
    Plugin Name: Meta Headers
    */

    function meta_heads() {

    global $posts, $tags;

    if ( $posts ) {
    $out = $posts[0]->post_text;
    $out = strip_tags( $out );
    $out = str_replace( array( "n", "r" ), ' ', $out );
    $out = substr($out, 0, 200); // only display the first 200 characters of the first post
    }

    if( empty( $out ) )
    $out = 'Default description';

    echo "n".'<meta name="description" content="'.$out.'" />';

    if ( !empty( $tags ) ) {
    $keywords = '';
    foreach ($tags as $t) {
    $keywords.=$t->raw_tag.', ';
    }
    echo "n".'<meta name="keywords" content="'.substr($keywords,0,-2).'">'."n"; // displays any tags associated with a topic as keywords
    }

    }

    add_action( 'bb_head', 'meta_heads' );

    That will strip HTML, but not bbCode

    merlin214365
    Member

    So after trying many plug-ins for meta data i found out that most don’t work at all with the newest version of bbpress and others do a poor job so i decided to write my own little php code no plug-in needed.

    I wrote some php code to include a meta description based on the first 200 characters of the post and a default description if there is no post ( i.e the front-page ). Also meta keyword’s that displays any tags associated with that post as keywords.

    So just add this to your header

    <?php<br />
    if ($posts) {<br />
    foreach ($posts as $bb_post) : $del_class = post_del_class();<br />
    $old=ob_get_contents(); ob_clean(); ob_start(); // you may leave ob_start();<br />
    post_text();<br />
    $out.=ob_get_contents(); ob_clean();<br />
    endforeach;<br />
    $out = preg_replace('#<p[^>]*>(s| ?)*</p>#', '', $out); // takes out <p><br />
    $out = substr($out,0,200); // only displays the first 200 lines of the first post.<br />
    echo '<META NAME="Description" CONTENT="';<br />
    echo $out;<br />
    echo '">';<br />
    }<br />
    else {<br />
    echo '<META NAME="Description" CONTENT="This is your defalt description edit this to what ever you want ">'; // This displays when where is no post<br />
    }<br />
    global $tags;<br />
    if (!empty($tags)) {<br />
    $keywords=""; foreach ($tags as $t) {$keywords.=$t->raw_tag.', ';}<br />
    echo "n".'<meta NAME="keywords" CONTENT="'.trim($keywords,", ").'">'."n"; // This displays any tags associated with that post as a keyword<br />
    } ?>
    #80927

    In reply to: Get Profile Links

    function bb_get_admin_link( $args = '' ) {
    if ( !bb_current_user_can( 'moderate' ) )
    return;
    if ( $args && is_string($args) && false === strpos($args, '=') )
    $args = array( 'text' => $args );

    $defaults = array('text' => __('Admin'), 'before' => '', 'after' => '');
    $args = wp_parse_args( $args, $defaults );
    extract($args, EXTR_SKIP);

    $uri = esc_attr( bb_get_uri('bb-admin/', null, BB_URI_CONTEXT_A_HREF + BB_URI_CONTEXT_BB_ADMIN) );

    return apply_filters( 'bb_get_admin_link', $before . '<a href="' . $uri . '">' . $text . '</a>' . $after, $args );
    }

    So if you don’t mind bypassing the moderation ability check, just use

    esc_attr( bb_get_uri('bb-admin/', null, BB_URI_CONTEXT_A_HREF + BB_URI_CONTEXT_BB_ADMIN) );

    or

    bb_get_uri('bb-admin/', null, BB_URI_CONTEXT_A_HREF + BB_URI_CONTEXT_BB_ADMIN);

    depending if you’ll be escaping the URL later.

    To keep the check, use if ( bb_current_user_can( 'moderate' ) )

    #80855

    In reply to: Custom Theme

    PickledPC
    Member

    Yeah don’t want to use an iFrame. I can get it to call the header but nothing else. It’s not calling my stylesheet. I’m only using header, footer, front-page, style.css. WordPress theme wasn’t that bad as i have good knowledge of html and css but no php knowledge until now. BBpress is giving me a fit and I want it to work because I like it, don’t want to revert to a forum plugin….All the info I read is changing the default theme or using these simple files from the wordpress theme to start. Any suggestions?

    Thanks

    JesperA
    Member

    I tested both Valendesigns and Ohnas solution with no success, it just shows the default gravatar icon!

    Edit: BTW using bbPress 1.0.2

    #78900
    adamcap
    Member

    This doesn’t seem to be working for me, all users seem to be assigned a default profile from my wordpress sync plugin. They are assessed as anonymous for some reason and given a specific profile from that plugin.

    #80619
    chrishajer
    Participant

    It will integrate users with WordPress, if you want that.

    It’s easiest to just use the WordPress database – just be sure the table prefix is different for WordPress and bbPress. WordPress uses wp_ by default and bbPress uses bb_ by default. Just be sure they are different, or bbPress will mess up your WordPress installation. Like this:

    https://bbpress.org/forums/topic/extreme-database-help-im-an-idiot

    #80615
    hpguru
    Member

    bbPress example http://keskustelu.hpguru.net/ (Default Kakumei Blue theme)

    You can start from documentation https://bbpress.org/documentation/

    #32063
    weildish
    Member

    (As an afterthought, this ought to be in troubleshooting, but I can’t change it… sorry!)

    Hello. Let me introduce myself. I am an idiot.

    I installed bbPress to my server. I wanted to have user integration with my WordPress installation. Great. I ran the installation, but I knew I’d have to do a lot of things manually because of my server set up. I entered the appropriate information for the config file, and it prompted me to create the config file with certain information in it because it didn’t have permissions to do so. Exactly what I expected. I ran the rest of the setup as it should go, and when I had it commence with the installation, it said that it had installed but with some minor errors. I looked at the config file, and the keys hadn’t been saved. So I entered in the keys as they should have gone, but then I stupidly changed the blasted database prefix to the same prefix as my WordPress installation thinking for some stupid reason that I was changing the setting for WordPress integration! IDIOT! It installs again with some “minor errors,” but this time going to the address of the forum actually brought up the forum instead of the installation prompt. I mozy on over to my WordPress installation (http://ipfcubed.com&#8211; which I’ve currently set to be inaccessable to the public– you’ll see why). Now every single draft and scheduled post (as well as unapproved submissions from contributors in the community) is now visible on the main page. When I make a new post, it says the year is 1999 (EDIT: Sorry– the date is still correct, but the post’s address says that it’s 1999: http://ipfcubed.com/1999/11//. The published posts count is also off– it says I have zero published posts in the dashboard. I can see that I’ve majorly messed up the posts table. Can someone PLEASE help me fix it? Any and all suggestions are welcome! Below I’ve provided both the error message and the installation log that it gave me:

    THE LOG (errors below this):

    Referrer is OK, beginning installation…<br />
    >>> Setting up custom user table constants</p>
    <p>Step 1 - Creating database tables<br />
    >>> Modifying database: jordan_wp (localhost)<br />
    >>>>>> Table: ipf3_forums<br />
    >>>>>>>>> Creating table<br />
    >>>>>>>>>>>> Done<br />
    >>>>>> Table: ipf3_meta<br />
    >>>>>>>>> Creating table<br />
    >>>>>>>>>>>> Done<br />
    >>>>>> Table: ipf3_posts<br />
    >>>>>>>>> Adding column: post_id<br />
    >>>>>>>>>>>> SQL ERROR! See the error log for more detail<br />
    >>>>>>>>> Adding column: forum_id<br />
    >>>>>>>>>>>> Done<br />
    >>>>>>>>> Adding column: topic_id<br />
    >>>>>>>>>>>> Done<br />
    >>>>>>>>> Adding column: poster_id<br />
    >>>>>>>>>>>> Done<br />
    >>>>>>>>> Adding column: post_text<br />
    >>>>>>>>>>>> Done<br />
    >>>>>>>>> Adding column: post_time<br />
    >>>>>>>>>>>> Done<br />
    >>>>>>>>> Adding column: poster_ip<br />
    >>>>>>>>>>>> Done<br />
    >>>>>>>>> Setting default on column: post_status<br />
    >>>>>>>>>>>> Done<br />
    >>>>>>>>> Changing column: post_status<br />
    >>>>>>>>>>>> Done<br />
    >>>>>>>>> Adding column: post_position<br />
    >>>>>>>>>>>> Done<br />
    >>>>>>>>> Dropping index: PRIMARY<br />
    >>>>>>>>>>>> Done<br />
    >>>>>>>>> Adding index: PRIMARY<br />
    >>>>>>>>>>>> SQL ERROR! See the error log for more detail<br />
    >>>>>>>>> Adding index: topic_time<br />
    >>>>>>>>>>>> Done<br />
    >>>>>>>>> Adding index: poster_time<br />
    >>>>>>>>>>>> Done<br />
    >>>>>>>>> Adding index: post_time<br />
    >>>>>>>>>>>> Done<br />
    >>>>>>>>> Adding index: post_text<br />
    >>>>>>>>>>>> Done<br />
    >>>>>> Table: ipf3_terms<br />
    >>>>>>>>> Changing column: term_id<br />
    >>>>>>>>>>>> Done<br />
    >>>>>>>>> Changing column: name<br />
    >>>>>>>>>>>> Done<br />
    >>>>>> Table: ipf3_term_relationships<br />
    >>>>>>>>> Changing column: object_id<br />
    >>>>>>>>>>>> Done<br />
    >>>>>>>>> Changing column: term_taxonomy_id<br />
    >>>>>>>>>>>> Done<br />
    >>>>>>>>> Adding column: user_id<br />
    >>>>>>>>>>>> Done<br />
    >>>>>> Table: ipf3_term_taxonomy<br />
    >>>>>>>>> Changing column: term_taxonomy_id<br />
    >>>>>>>>>>>> Done<br />
    >>>>>>>>> Changing column: term_id<br />
    >>>>>>>>>>>> Done<br />
    >>>>>>>>> Changing column: parent<br />
    >>>>>>>>>>>> Done<br />
    >>>>>> Table: ipf3_topics<br />
    >>>>>>>>> Creating table<br />
    >>>>>>>>>>>> Done</p>
    <p>Step 2 - WordPress integration (optional)<br />
    >>> WordPress address (URL): http://ipfcubed.com/<br />
    >>> Blog address (URL): http://ipfcubed.com/<br />
    >>> WordPress cookie keys set.<br />
    >>> WordPress "auth" cookie salt set from input.<br />
    >>> WordPress "logged in" cookie salt set from input.<br />
    >>> Fetching missing WordPress cookie salts.<br />
    >>>>>> WordPress "secure auth" cookie salt not set.<br />
    >>> User database table prefix: ipf3_</p>
    <p>Step 3 - Site settings<br />
    >>> Site name: IPF³ Forum<br />
    >>> Site address (URL): http://forum.ipfcubed.com/<br />
    >>> From email address: jordanspencer@ipfcubed.com<br />
    >>> Key master role assigned to existing user<br />
    >>>>>> Username: admin<br />
    >>>>>> Email address: jordanspencer@ipfcubed.com<br />
    >>>>>> Password: Your existing password<br />
    >>> Description: Just another bbPress community<br />
    >>> Forum name: The General of Electric<br />
    >>>>>> Topic: Your first topic<br />
    >>>>>>>>> Post: First Post! w00t.<br />
    >>> Key master email sent

    There were some errors encountered during installation!

    ERRORS:

    SQL ERROR!<br />
    >>> Database: jordan_wp (localhost)<br />
    >>>>>> ALTER TABLE <code></code>ipf3_posts<code>ADD COLUMN</code>post_id

    bigint(20) NOT NULL auto_increment;

    >>>>>> Incorrect table definition; there can be only one auto column and it must be defined as a key

    SQL ERROR!

    >>> Database: jordan_wp (localhost)

    >>>>>> ALTER TABLE ipf3_posts ADD PRIMARY KEY (post_id);

    >>>>>> Key column ‘post_id’ doesn’t exist in table

    Thank you!

    #32087
    kirkpatrick
    Member

    I have a deep integration of bbPress 1.0.2 and WordPress 2.8.4 at riogallinasschool.org, using a heavily modified Kakumei template.

    Integration works well. I only register users from WP. Logins work from either BBP or WP. WP users appear correctly to BBP (every user can log in from both WP and BBP)..

    Logout from WP is fine regardless of where the login occurred (so, no cookie problems).

    However, when logging out from BBP (using the Kakumei “Log out” link), the logout occurs (so cookies are working), but I am redirected to a 404. The logout link is bb-login.php?logout=1. I have found that, on the other hand, the link bb-login.php?logout=0 (as typed in) works just fine — logs out, redirects back to page.

    I have hacked a solution. I don’t understand it (I haven’t yet been able to follow the use of the GET variable logout to find where it’s value is used anywhere). But in case anyone else has this problem, here’s the hack.

    The logout link is produced by the function call bb_logout_link(); in the template’s logged-in.php file.

    bb_logout_link is defined in bb-includesfunctions.bb-template.php, and effectively calls bb_get_logout_link with the same arguments. In the latter function, around line 2737, the value logout=1 is hard-coded.

    I have changed the code for bb_get_logout_link so (a) it defaults to logout=1 if logout is not specified in the call to bb_logout_link (thus the hack is non-destructive), but (b) the call bb_logout_link(‘logout=0’); overrides the default.

    This produces the working link, so the “Log out” link works.

    Here’s the code

    Old line 2737 of bb-includesfunctions.bb-template.php was

    $query = array( 'logout' => 1 );

    I changed that to the following (which works because the args were “extract”ed, so $logout has a value from the call to bb_logout_link):

    if ( $logout==NULL ) $logout = 1;  // Defaults to 'logout=1'
    $query = array( 'logout' => $logout ); // Changed '1' to '$logout'

    Then in the template’s logged-in.php, I added the argument to the call to bb_logout_link:

    bb_logout_link('logout=0');

    It works for me.

    Has anyone else has had this problem? If not, I must have broken something somewhere else — so I’d like to know.

    Can anyone explain the bug, or explain where the value of logout is used? (I’ll keep looking, and will post a followup if I find it, but I’m not expert at the subtleties of apply_filters, which appears to be the only possibility.)

    Thanks.

    #80508
    johnhiler
    Member

    This is actually built into the core, as I understand it… users can’t post more than every ___ seconds (I think the default is 30 seconds, but I’m not sure).

    You can actually increase or decrease the “throttle time” with this plugin:

    https://bbpress.org/forums/topic/change-throttle-also-is-it-based-on-username-or-ip

    There are a few threads on throttling on the boards!

    https://bbpress.org/forums/tags/throttle

    #80545
    nickaster
    Member

    Thanks yeah, I looked at those threads and didn’t find anything. Recounting did nothing… yes… I think I did knock out that “pick a forum” thing…. however, I guarantee that didn’t cause the problem because I’ve been posting test posts left and right since then. Only immediately after deleting my tests did the problem kick in… hadn’t make any changes to the theme. It’s definitely theme related, as the default theme works… very strange. I’ll put that dropdown thing back and see what happens.

    #32061
    InvTrdr
    Member

    How do I change the font size on the left of the Header area which says login, register, lost password etc.? Click on this link http://www.invictatrader.com/bbpress to see the header. I could not find it in the CSS unless I missed something or it was set to default in the core files. I am using the default stock theme “Kakumei”.

    Thank you.

    #80444

    The words are stored in a file called logged-in.php in your theme.

    In Kakumei (the default), it looks like this:

    <p class="login">
    <?php printf(__('Welcome, %1$s'), bb_get_profile_link(bb_get_current_user_info( 'name' )));?>
    <?php bb_admin_link( 'before= | ' );?>
    | <?php bb_logout_link(); ?>
    </p>

    Using __( translates into the appropriate language, and %1$s is a placeholder that gets replaced by the user’s name

    Not sure why it’s saying Welcome twice though

    #80413

    I am currently attempting something similar. I have an integrated WP and bbPress but want to switch to WPMU. I’ve successfully imported the user tables through phpMyAdmin. There are three columns you need to add to the wp_users table:

    display_name - varchar(250) - blank default value
    spam - tinyint(2) - default value = 0
    deleted - tinyint(2) - default value = 0

    And in wp_usermeta table you need to do a SQL search and replace to change all values that have wp_ to wp_1_ (because the main blog in WPMU has got that table prefix)

    UPDATE wp_posts SET meta_key = replace(meta_key, 'wp_','wp_1_');

    xarzu
    Participant

    I am trying to set up BBPress with WordPress so that they work together.

    I have already got WordPress installed and set up. I tried to get a plugin installed to make it work with another BB, MyBB, but I had some problems installing this plug-in and so I did my best to remove it. I doubt this is what is causing my current problems, though.

    I installed BBPress and when I did there were options to provide so that it would work with WordPress. But it did not seem to work.

    I then installed the plug in. And I tried it briefly.

    But then I noticed that I also needed to install the same plug in on the BBPress side. But now I notied that I could not go to the admin directory. When I typed the path to the admin area for BBPress it automatically went to the default BBPress root directory.

    One possible issue might be the fact that I declared the keymaster on the BBPress to be the same username as the admin for WordPress. And the only password that will work when I log on to BBPress is the same password I used for WordPress. Will that be an issue.

    The problem is that I ccnot go to the admin panel on the BBPress to do anything.

    Please help.

    #32025

    Topic: Navigation

    in forum Troubleshooting
    ZoiX
    Member

    Hi all!

    I have a bbPress instalation at http://foro.inkframe.com

    If you click the page number 2, everything fine, but, if you click in the number 1 or “Anterior”, the forum show page 2 again, like a F5. The only way for come back to the first page is clicking in the title.

    I am not expert in bbPress theme development, but anyway I think that is not the problem, the only option I change, is the number of posts to 10, I am not sure, but, by default is 20. Thank you for your help :)

    #32021
    Erik
    Member

    I’m in the middle of my first bbpress theme design and have a couple hopefully simple questions.

    1) How can I change the size of the Avatar size?

    2) I’m using the default themes basic layout structure and then theming my design around that. The somewhere and I can’t seem to find it there is a style that makes the odd number row a light gray and the even number rows white. I’m just looking for a way to make both of them a shade of gray but were they are still different colors. I would also like to do this to the topics and forums list on the front page of the bbpress install but haven’t figured out how make it happen dynamically and it sure looks like there is a way.

    #77567

    In reply to: Forum-Wide RSS Feed

    chrishajer
    Participant

    The default RSS feed for the home page includes recent posts in all forums and all topics. Do you want something different than that?

Viewing 25 results - 5,576 through 5,600 (of 6,777 total)
Skip to toolbar