Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 63,026 through 63,050 (of 64,487 total)
  • Author
    Search Results
  • #53485
    chrishajer
    Participant

    Interesting, your problem sounds just like this other one which is also unsolved:

    https://bbpress.org/forums/topic/90?replies=17

    #1259
    dfpradio
    Member

    I have a unique problem it seems. I have bbpress 0.75 installed and WP 2.0.5 installed and playing together nicely… except that I get a forward slash in front of apostrophes and quotation marks. I have found that if I take out the require_once( ‘/…/wp-config.php’); and define(‘WP_BB’, ‘true’); from the bbpress config.php the problem vanishes. I have been searching all over the forums, but haven’t found anything that seems to match.

    My forums are at: http://www.digitalfrontierplus.com/wordpress/forums

    bbPress config.php:

    <?php

    //This will get all the functions from WordPress into bbPress

    //require_once(‘path/to/wp-config.php’)

    require_once( ‘/home/users/web/b1442/pow.drinknbud/htdocs/wordpress/wp-config.php’);

    //Set this value in the config file so the functions defined in WordPress are not redefined

    define(‘WP_BB’, ‘true’);

    // ** MySQL settings ** //

    define(‘BBDB_NAME’, ‘****’); // The name of the database

    define(‘BBDB_USER’, ‘*****’); // Your MySQL username

    define(‘BBDB_PASSWORD’, ‘*****’); // …and password

    define(‘BBDB_HOST’, ‘*****’); // 99% chance you won’t need to change this value

    // ** WordPress MySQL settings ** //

    define(‘USER_BBDB_NAME’, ‘*****’);

    define(‘USER_BBDB_USER’, ‘*****’);

    define(‘USER_BBDB_PASSWORD’, ‘****’);

    define(‘USER_BBDB_HOST’, ‘*****’);

    // Change the prefix if you want to have multiple forums in a single database.

    $bb_table_prefix = ‘***’; // Only letters, numbers and underscores please!

    // If your bbPress URL is http://bbpress.example.com/forums/ , the examples would be correct.

    // Adjust the domain and path to suit your actual URL.

    // Just the domain name; no directories or path. There should be no trailing slash here.

    $bb->domain = ‘http://www.digitalfrontierplus.com&#8217;; // Example: ‘http://bbpress.example.com&#8217;

    // There should be both a leading and trailing slash here. ‘/’ is fine if the site is in root.

    $bb->path = ‘/wordpress/forums/’; // Example: ‘/forums/’

    // What are you going to call me?

    $bb->name = ‘DFP Forums’;

    // This must be set before running the install script.

    $bb->admin_email = ‘****’;

    // Set to true if you want pretty permalinks.

    $bb->mod_rewrite = false;

    // The number of topics that show on each page.

    $bb->page_topics = 30;

    // A user can edit a post for this many minutes after submitting.

    $bb->edit_lock = 60;

    // Your timezone offset. Example: -7 for Pacific Daylight Time.

    $bb->gmt_offset = -5;

    // Change this to localize bbPress. A corresponding MO file for the

    // chosen language must be installed to bb-includes/languages.

    // For example, install de.mo to bb-includes/languages and set BBLANG to ‘de’

    // to enable German language support.

    define(‘BBLANG’, ”);

    // Your Akismet Key. You do not need a key to run bbPress, but if you want to take advantage

    // of Akismet’s powerful spam blocking, you’ll need one. You can get an Akismet key at

    // http://wordpress.com/api-keys/

    $bb->akismet_key = ‘*******’;

    // The rest is only useful if you are integrating bbPress with WordPress.

    // If you’re not, just leave the rest as it is.

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

    $bb->wp_home = ‘http://www.digitalfrontierplus.com/wordpress&#8217;; // WordPress – Options->General: Blog address (URL) // No trailing slash

    $bb->wp_siteurl = ‘http://www.digitalfrontierplus.com/wordpress&#8217;; // WordPress – Options->General: WordPress address (URL) // No trailing slash

    /* Stop editing */

    define(‘BBPATH’, dirname(__FILE__) . ‘/’ );

    require_once( BBPATH . ‘bb-settings.php’ );

    ?>

    #52555
    A1ex
    Member

    This hacked version not works for cyrillic.

    I’ve make a plugin for automatic transliteration of tags.

    The plugin is available for view here and for download here

    Этот плагин действительно не работает для кириллицы. Вместо него я сделал плагин для автоматической транслитерации тэгов.

    Плагин можно посмотреть здесь и загрузить здесь

    #1258

    The management of time and timezone in bbPress needs some care soon, actually you have to set up in config.php the timezone of your server to have freshness works, but this way you loose the time of your timezone if different.

    This is not a problem if server and users are on same timezone or in adiacent ones, but as I’m setting up a forum all in italina that has a timezone GMT +1 but server is in LA on PST timezone all the things mess up, if i wanna have time of posts correct for italy i get freshness gettind mad showing up -1 years freshness if i set the PST time zone freshness works right but i get the post time in that timezone too and this is not nice neither right.

    I don’t think I’m the only one with this problem and the time management actually is not clear at all maybe it needs to have a server timezone offset and a desired tforum timezone offset or something like that.

    Any ideas ?

    #52427
    spencerp
    Member

    Yeah, I know I’m a bit crazy for doing this, cause it’s set for bbPress milestone 1.0 hahaha. Oh well, I’m just impatient like that … lmao..

    spencerp

    #53281
    UK Schools
    Member

    Hi mdawaffe,

    could you create one folder for me as well.

    I need http://svn.automattic.com/bbpress-i18n/sk/

    Slovak language “sk_SK”

    Translation is ready now.

    #51592

    In reply to: Google Adsense

    disier
    Member

    When i post, edit or delete somethin i get this error

    Warning: Cannot modify header information – headers already sent by (output started at /home/disiern/public_html/enblogeo/foro/my-plugins/bbpress-adsense.php:39) in /home/disiern/public_html/enblogeo/foro/bb-includes/pluggable.php on line 160

    how can i solve this??

    #52899
    spencerp
    Member

    @nateolsen, I just added ALL 3 databases into ONE database, like such:

    database_name (holding all three)

    bb_forums

    bb_posts

    bb_privatemessages

    bb_tagged

    bb_tags

    bb_topicmeta

    bb_topics

    mw_archive

    mw_categorylinks

    mw_externallinks

    mw_filearchive

    mw_hitcounter

    mw_image

    mw_imagelinks

    mw_interwiki

    mw_ipblocks

    mw_job

    mw_langlinks

    mw_logging

    mw_math

    mw_objectcache

    mw_oldimage

    mw_page

    mw_pagelinks

    mw_querycache

    mw_querycachetwo

    mw_querycache_info

    mw_recentchanges

    mw_redirect

    mw_revision

    mw_searchindex

    mw_site_stats

    mw_templatelinks

    mw_text

    mw_trackbacks

    mw_transcache

    mw_user

    mw_user_groups

    mw_user_newtalk

    mw_watchlist

    sk2_blacklist

    wp_bad_behavior

    wp_bas_log

    wp_bas_os

    wp_bas_pages

    wp_bas_refer

    wp_bas_searches

    wp_bas_ua

    wp_bas_visitors

    wp_bbpress_post_options

    wp_bbpress_post_posts

    wp_categories

    wp_comments

    wp_link2cat

    wp_linkcategories

    wp_links

    wp_options

    wp_post2cat

    wp_post2tag

    wp_postmeta

    wp_posts

    wp_secureimage

    wp_sk2_logs

    wp_sk2_spams

    wp_tags

    wp_tag_synonyms

    wp_usermeta

    wp_users

    Of course, used the normal database prefix for each one specifically. ;) :) It was mentioned though, that for the mw_ ones, you didn’t have to use the “mw_” prefix for when trying to mesh with bbpress/WP.. but, to play it safe, I used the default “mw_” prefix anyway.. Choice is your’s really.. :) ;)

    @mozey, nice!! I’ll have to try that out sometime, well, when I get more time. ;) :) Thanks for tips and pointers! ;) :)

    spencerp

    Trent Adams
    Member

    By default, the bbpress-integration.php plugin that you are using in WordPress brings over the registrations from bbPress and gives them the default role that you have for WordPress. That would mean that if they are given author status then that would be the default role for new members in WordPress. Maybe check that out.

    I tested this on my test forum and then changed the default role from subscriber to admin and sure enough the new user that I created came across in WP as an admin.

    Trent

    hkan
    Member

    I’ve done some searching around the forums regarding this issue; haven’t found anything sim. to my problem though – is the error on my side?

    I’ve set up wordpress and bbpress on my sandbox apache server and enabled sharing accounts between wordpress and bbpress. When I create a user on the wordpress end, that user gets correct status in bbpress. However, when I register a user through bbpress, it gets far too high privileges on the wordpress side (author)!

    I’d like to manually set new users to read-only on the blog side of things.

    How can I prevent this?

    #53469
    startribe
    Member

    Hmmm… I am going to have to dig into this a bit later. It looks like it is going to take some work. I am actually trying to integrate product advertisements that I have set up in wordpress to be pulled into my forum template. Not exactly sure how to do it. At first I imagined that I would create another directory in the root that both WP and bbP could share from, but I will have to check into this later.

    It would be awesome if WP and bbPress could share includes seamlessly.

    Anyhow, I have to get back to building the actual forum before I get caught up and miss our goal.

    If any other ideas or etc. come up, please share.

    Thanks Trent!

    Orion

    #53462
    Trent Adams
    Member

    I am not really the best one to answer on this particular issue, so I appologize in advance, but if I understand what you are asking based on previous information in post, /bb-includes/function.php has all the different bbPress functions to call and template-functions.php have specific template related calls.

    If that is useless information because I am not quite understanding, I would imagine Ardentfrost or someone else should be along with a better answer.

    Trent

    #53468
    Trent Adams
    Member

    I would just use the full path on the server:

    <?php include

    ('var/usr/www/yourdirectory/whatever.file'); ?>

    That should work shouldn’t it?

    Referencing this post

    Trent

    #1255
    startribe
    Member

    I am trying to use a call to navigate to the root directory in order to call on an include that is located in a directory outside of the bbPress directory.

    Is there anyone out there who could help me with a BB PHP command that will bounce me back to the root directory. I tried…

    <?php include('../../etc/etc'); ?> with out results.

    So, any suggestions or ideas would be greatly appreciated.

    All the Best,

    Orion

    #52898
    mozey
    Member

    On my setup, (different system, same concept),

    i used a centralized mysql table which contains a mesh of all of the variables of all systems!. The reason wy i did that is, some of these usertables contain information which would change the bahaviour of the software, such as roll, last login etc. SO its not a mater of authentication and session ONLY. You also need the other stuff!!!.

    i ALSO used a single portal for signup/signin. THIS SHOULD NOT BE SCARY (assuming that thinking does’nt hurt your brain). A good IDE will get everything done for you (search replace globally, find all instances of a function etc).

    I reccomend http://www.eclipse.org/downloads/ as an editor, and use PHP IDE as an ide ontop of eclipse. Be patiant, if you have’nt installed before, it could be a bit strang, but do take a better part of a weekend to figure out hw it works. TRUST ME, php will be your bizatch afterwards ;)

    #52832
    Null
    Member

    Np dude,

    Think I am going to release a tutorial when releasing the plugin, explaining how people can add their plugin(page) to the menu. THinks thats the best approach for now!

    #52897
    Nate
    Member

    Spencer, was just hoping for a quick clarification on all this: Did you use the same MySQL database for everything? In the thread here you use terms like “MediaWiki database” and “WP database,” but I’m wondering whether that actually just means the MediaWiki tables and the WP tables, all contained in one MySQL database. Do tell. :)

    Thanks,

    Nate

    #52831
    ardentfrost
    Member

    I was referring to scale. Unless it’s in the core, it’s too large to expect others to make their code friendly with your code. If you have a thousand plugin authors and 10% of them do that, it just seems unreasonable that the other 900 will add 100 different things to their code to be friendly with other plugins. And if those 10% each write multiple plugins that way, it’s even MORE things the other 900 have to add to all their plugins.

    It’s nothing against YOU, it’s just that you have to think about scale, and what you’re asking isn’t scalable.

    #52341
    ateale
    Member

    I forgot to give a big thankyou to jaim3! Thanks mate! Your script just made life a million times easier for me!

    Cheers!

    #50359

    In reply to: Cannot select DB.

    ateale
    Member

    to run a script to convert phpbb2 data to bbpress i had to add add this handler to the .htaccess folder in the root of my site:

    AddHandler application/x-httpd-php5 .php

    That got the script running, but then I was unable to access my bbpress install. I’d receive:

    Cannot select DB

    So I took the “AddHandler application/x-httpd-php5 .php” out and it seems to work perfectly.

    Phew!

    Does that mean that bbpress doesn’t work with php5?

    cheers!

    Adam Teale

    #52340
    ateale
    Member

    kickass! yes our server was set by default to php4. The server guys said:

    We have checked our server logs. The reason for the issue is not related to the memory limits for your account.

    The file_put_contents() function is only available in PHP 5.

    By default our servers handle any requests to .php file through the PHP 4 interpreter. By default the PHP 5 interpreter processes only files with .php5 extension.

    If you want to change this in a way that .php files are processed by the PHP 5 interpreter you should put the following line in your /www/blog/.htaccess file:

    AddHandler application/x-httpd-php5 .php”

    #52969
    bbolman
    Participant

    I’m trying to amass a list of links to sites related to bbPress (authors’ sites, info, etc) for the website. If you have a site of that nature, you can email me, or post it here to be added.

    #53292
    Trent Adams
    Member

    <?php bb_stylesheet_uri(); ?> does work for me!?

    Anyways, you can also do something like following I did in bbpress-mobile plugin:

    <?php $stylesheet = (bb_get_option('uri') . 'my-templates/mobile.css'); ?>

    <link rel="stylesheet" href="<?php echo $stylesheet; ?>" type="text/css" />

    Trent

    #53241

    In reply to: tag.php access issue

    startribe
    Member

    mdawaffe,

    I’m sorry, I just saw your request today, so I was not able to give your suggestion a try, but it looks like the issue was resolved.

    I have been focusing on our templates for our WordPress site the last 2 weeks, but now I am back in the mix to get our forum up and running.

    Its good to be back @ bbPress.

    All the Best,

    Orion

    #1222
    startribe
    Member

    Hey Community,

    I am trying to link to an image in the “my-templates” directory for my bbpress template. When editing templates in WordPress I used:

    <?php bloginfo('stylesheet_directory'); ?>

    Is there something similar that I can use for bbPress?

    I tried:

    <?php bb_stylesheet_uri(); ?>

    & it didn’t work.

    Anyhow, any help would be greatly appreciated.

    Thanks,

    Orion

Viewing 25 results - 63,026 through 63,050 (of 64,487 total)
Skip to toolbar