Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress'

Viewing 25 results - 25,951 through 25,975 (of 26,672 total)
  • Author
    Search Results
  • #54328
    donnavitan
    Member

    Hello chrishajer,

    I’m definitely seeing the () error when I look at the source.

    I have installed the latest xampp, wordpress and bbpress locally for testing purposes. My config is as follows:

    $bb->wp_table_prefix = 'wp_';

    $bb->wp_home = 'http://localhost';

    $bb->wp_siteurl = 'http://localhost';

    I really don’t think I should be getting this error, so must I configure something else? Any help would be greatly appreciated. Thank you.

    kirkk
    Member

    Although it is Turkish but as u see on that page there is no Add New link or when u want to click on Profile u will have an error screen about “Page Not Found” or something like that. I couldnt understand that why i am having this problem.

    Also i cant see the site styled on FireFox2

    Note: I integrated bbpress with wordpress and they are using the same database. WordPress is a sub-directory of an other site of mine and bbpress is a sub-directory of wordpress.

    #54834

    In reply to: .htaccess/Cookie woes!

    macwise
    Member

    STATUS: RESOLVED

    Ziyphr,

    I’ll preface this by saying that I love Ahi Tuna dishes at restaurants. What is it about that huge hunk of raw fish meat that’s only seared to (probably) keep men’s wives from refusing to share a bed with a man who would eat a classic “dry heave” food. So, why do I like it? Well, it’s not the big chunk of meat that draws me in and pleases my palate. It’s the simple glaze that I often find on top; the light, sweet sauce that perfectly compliments the fish. As they say, “The secret’s in the sauce.”

    So, the “sauce” for this problem was the secret, and the sauce ended up being all too simple. Ziyphr first directed my friend and I to wp-settings.php. (He said to check out line 185, but mine was around 151-160). I found the code that called the siteurl and home, both of which would have returned http://babyquestions101.com, as that is what I have listed in my admin panel. I thought I needed to modify those to somehow spit out two domains, with the www and sans.

    My friend also informed me that he believed that cookie domains really need two dots, the first before the domain and the second after the domain but before the ‘com’. In my case it would be .babyquestions101.com. How to get ‘siteurl’ or ‘home’ to reflect that was a challenging thought.

    One side-note for anyone trying this same thing, DON'T CHANGE YOUR SITE ADDRESS OR HOME ADDRESS TO ANYTHING OTHER THAN \"WWW.MYURL.COM\" OR \"MYURL.COM\" IN THE ADMIN PANEL. Doing so will cause you more headaches than when you meet your mother in law for the first time. (Ok, that was an exaggeration, but only slightly).

    Once I got that mess sorted out, we tried to hard code in the .babyquestions101.com, replacing

    define('COOKIEPATH', preg_replace('|https?://[^/]+|i', '', get_settings('home') . '/' ) ); with

    define('COOKIEPATH', '.babyquestions101.com');

    This didn’t work, and all hope was lost. Curiosity getting the best of me, I opened up my preferences panel in Safari and pulled up the list of all my stored cookies to see if there were any similarities/discrepencies between my cookie and other sites’ cookies. This is where I saw my cookie had the value “www.babyquestions101.com” under the heading “website” where most other sites were listed as “.siteurl.com”, missing the www that seemed to be plaguing me. I decided that was what I needed changed, and when I looked back at the code in wp-settings.php, I discovered that line 160 was unique from the others.

    if ( !defined('COOKIE_DOMAIN') )
    define('COOKIE_DOMAIN', false);

    I decided to change this to this:

    if ( !defined('COOKIE_DOMAIN') )
    define('COOKIE_DOMAIN', '.babyquestions101.com');

    What do you know…I dumped my cookies for my site, refreshed the page, logged in, checked the cookie, and there it was, ‘.babyquestions101.com’. Now for the true test, I got rid of the ‘www’ in the address bar, hit return, and VOILA! I was still logged in. Everything was seamless. I was now the owner of a spiffy wordpress/bbpress integrated site that shared cookies across sites and subdomains. No crazy .htaccess directives, no checking and double checking every last link in my site to reflect my choice of domains.

    This is the way it should be done. I’m quite surprised it was such a simple solution, and that nobody seemed to be aware of how simple the solution is. I hope this is helpful to someone else trying to share cookies across multiple subdomains.

    #51970
    fel64
    Member

    I like this plugin a great deal, because it works so nicely right off the bat :D

    Since my forum is in a subdomain, I had to change the code a bit (just coded in the location of my forums instead of letting it grab my blog location and adding a path). But a very minor thing to do for a very nice plugin. :)

    #54865
    brakai295
    Member

    hi there,

    thanks for the quick reply. No, I’m not using WordPress. It’s a self-made community system. Actually I’m not the one who programmed it, I’ve just designed and produced all the templates. But I’m also the one who decides what way to go with the forum.

    Has anyone here successfully integrated bbpress into their own website with 3rd party member database etc.?

    #54864
    bbolman
    Participant

    Are you using WordPress or WordPress MU for your blogging system? If so then the integration is really easy and simple. I would suggest taking a look at these tutorials:

    https://bbpress.org/documentation/integration-with-wordpress/

    https://bbpress.org/documentation/themes/

    #1457
    tzangms
    Member

    Today I am integreating wordpress and bbpress, it’s works fine, but after I set BBLANG to my language(zh_TW), this message below shows up.

    “Fatal error: Cannot redeclare class streamreader in /path/to/bbpress/bb-includes/streams.php on line 26”

    Coz StreamReader class has been declared in wordpress, but bbpress will declare it again in ‘bb-settings.php’, this coz the error.

    here is the code in ‘bb-settings.php’

    Code:
    include_once(BBPATH . BBINC . ‘streams.php’);
    include_once(BBPATH . BBINC . ‘gettext.php’);

    I use class_exists to avoid these two files, ‘streams.php’ and ‘gettext.php’ to be include twice.

    the code came into these:

    Code:
    if (!class_exists(‘StreamReader’))
    include_once(BBPATH . BBINC . ‘streams.php’);

    if (!class_exists(‘gettext_reader’))
    include_once(BBPATH . BBINC . ‘gettext.php’);

    then it works! bbpress came back to normal, but my language file seems not to be loaded.

    After all, I find out, that bbpress uses wordpress function after integrate, so I place my .mo file into /path/to/wordpress/wp-includes/languages/ , then, my language file finally loaded. but ….. here is another problem, the .po of wordpress and bbpress will mess up into one file. but I want my wordpress not to be translated. ><

    #53602
    fel64
    Member

    Hey,

    I just wanted to say that I just installed bbPress in a subdomain from my forum and got the cookie syncing to work fine.

    Much thank to Trent, who provided half the solution:

    $bb->cookiedomain = '.lumanation.com';
    $bb->cookiepath = '/';

    made it so that forum-generated cookies worked for the entire website. I had to go into wordpress root and edit wp-settings.php line 190:

    define(COOKIE_DOMAIN, '.example.com');

    I do not understand how it worked previously, as it defined it simply as false (I assume that the browser will automagically substitute the domain that the user is currently on?). However, hardcoding the domain worked for me, and as long as I remember to change this in future upgrades I should be fine.

    I did have troubles, especially logging out, while testing all this, and found that it’s vital to clear your cookies manually as the wordpress/bbpress logouts were clearing different cookies and you could stay logged in despite trying to log out.

    But yeah, I’m all good. :) Thanks guys.

    #54802
    macwise
    Member

    Ok, this is the solution that worked for me. I did have to add the rewrite rule, as multiviews isn’t working on my server??? (I think I’m running on php4, is that why?) So, for others who want a wal-mart type bb build ;) here’s a recap of what I did:

    I created a page in my bbpress root called contest.php. Inside of that page I put:

    <?php
    require('./bb-load.php');
    bb_load_template( 'contest.php' );
    ?>

    I then created my contest.php page with the content I needed (the template)

    The last thing I did was to put these two lines in my .htaccess file IN MY FORUM ROOT FOLDER, (not my wordpress root folder):

    RewriteRule ^contest/$ /forum/contest.php [L,QSA]
    RewriteRule ^contest$ /forum/contest.php [L,QSA]

    This basically says that myurl.com/my/forum/directory/contest (without the trailing backslash)

    and myurl.com/my/forum/directory/contest (with the trailing backslash)

    will both point to the contest.php page in the root forum directory.

    As so1o said, this last part in .htaccess may be unnecessary if you have multiviews enabled (if your .htaccess file in your FORUM directory has this line: “Options +MultiViews”). Maybe someone else can confirm/deny this, as my configuration is different.

    Hope this helps someone else who needs some custom functionality out of bbpress.

    #54801
    so1o
    Participant

    macwise..

    if you are ok hacking the code.. create a page contest.php in the root forum folder

    add require_once('./bb-load.php'); on the top of the page. and write whatever code you want in the page.. that should create a static page with bbpress functions..

    as far as rewrite is concerned.. im not 100% sure but i think multiviews will automatically translate /contest.php to /contest/. test it and see.

    #54800
    macwise
    Member

    bbolman,

    thanks for the idea. I would probably prefer to do this. However, I have a few bbpress functions being called in the code on the page, and though I could probably dig about and find out how to replace it with wp code, it was not the most pleasant thought. I figured I’d just throw a page up on the bbpress side, and have it resolve at a myurl.com/directory/ as is common with wordpress. I found out how to take care of this…I achieved this by adding two lines in the .htaccess file…

    RewriteRule ^contest/$ /forum/contest.php [L,QSA]
    RewriteRule ^contest$ /forum/contest.php [L,QSA]

    I’m not trying to start a battle here, but I think your response, Null, might be a bit short-sighted and aggressive. After all, if I feel my software needs a static page, that may just be what it in fact does need.

    I agree with bbolman that this would probably be more efficiently handled by wordpress. However, since bbpress is still in it’s infancy, and it’s not integrated fully yet with wordpress, (this is my way of trying to sound like I’m not a completely right-brained individual), I think it’s fair to say that these decisions aren’t so cut and dried. Anyway, I appreciate the responses all the same, and will post any further findings here…

    #54829

    In reply to: .htaccess/Cookie woes!

    macwise
    Member

    Ziyphr,

    Thank you so much for your reply. I think this is really the solution that I have been looking for. It just doesn’t make sense to me to only have one subdomain registered in the cookies, and I wasn’t sure how wordpress handled the adding of a subdomain.

    I am still moderately new to php, so I’m not sure I follow the last paragraph in terms of proper form and syntax, and so I’d prefer to ask that “stupid question” rather than sound smart and fail. ;). Can you let me know exactly what you think should go there, in terms of syntax? That would be greatly appreciated.

    P.S. It sounded like you meant to say “You should NOT need to use .htaccess? Just checking to be sure…

    Thanks so much for your help.

    #52900
    hery
    Member

    There is an attempt here… Maybe usefull or not.

    http://hery.blaogy.org/2007/02/21/mediawiki-wordpress-integration/

    #54799
    bbolman
    Participant

    Why not just make a wordpress page? People would still be logged in to see it if you have an integrated installation.

    #1454
    macwise
    Member

    I am currently having a problem where when I log in to wordpress (or bbpress) at url:myurl.com, then click a link that is directed to http://www.myurl.com, then I am no longer logged in. (Cookie issues). I am trying to figure out how to define either *.babyquestions101.com (preferably), or if that won’t work then babyquestions101.com AND http://www.babyquestions101.com.

    Give it a shot here:

    http://babyquestions101.com/

    and the forum is here:

    http://babyquestions101.com/forum/

    PLEASE CREATE ANY ACCOUNTS WITH THE WORD “TEST” AND ANOTHER WORD/NAME IN THE ACCOUNT NAME, unless of course you intend on keeping the account.

    UPDATE:

    My wordpress options blog url (in the wordpress admin panel) is listed WITH the “www” in front of the domain.. I am digging into mod_rewrite directives, but to be honest, I’m not really grasping it. Right when I think I have it figured out, it throws me. I have been able to get requests going to http://babyquestions101.com to redirect to http://www.babyquestions101.com/ using mod_rewrite in the .htaccess files. However, when I try it out in the forums, (http://babyquestions101.com/forum/) it just resolves at that address, and doesn’t insert the www. Any ideas?

    #1450
    enquirer32
    Participant

    I have installed the latest version of bbPress in a sub-directory of my blog ../bb

    Links for template pages generally work and so does the link to the admin and presentation, plugins etc.

    But the links to Add Topic, Forums etc all just take me back to the blog home page. Is this something to with WordPress Integration which I have somehow messed up?

    Any help much appreciated

    #54798
    Null
    Member

    This is a forum!!!!!!! Not a CMS or something else……..

    #1447
    macwise
    Member

    Hello,

    I need to add a custom page to my forum that acts like any other page, but with custom content I have added. It’s actually going to be a “Contest Status” page, where users can check to see if they have completed the steps necessary to enter the contest, and once they have to track the contest’s progress. I know how to create a custom page in wordpress that just points to:

    http://www.myurl.com/chosen-page-name

    but I can’t quite wrap my brain around this in bbpress. I want the most elegant, simplest, and most unobtrusive solution I can find. I would love the page to resolve to:

    http://www.myurl.com/forum/contest

    Is this functionality built in? Is it plugin-able? (I’ve never built a plugin). Is there a simple workaround?

    Any tips or information is greatly appreciated.

    #54795
    mirce
    Member

    Thanx,

    I am not sure that ?page=2 will be followed by search engines. bbPress have a better spiderability then all the other forums and WordPress, it would be a shame to loose so many pages.

    #1446
    mirce
    Member

    Hi,

    Mod rewrite rules set up for bbPress are OK and are better then the ones WordPress uses. However some tweaking can be done to make things better.

    I’ve tried to put up together a permalinks plugin. I think that I am half way done but I need some help finishing things up.

    The plugin can be downloaded from:

    http://www.phpdigest.net/

    You can take a look to my test site:

    http://www.dfur.com (the template is not finished)

    The forum link was changed from:

    http://www.example.com/forum/forum_id

    to

    http://www.example.com/forum_name

    The topic link was changed from:

    http://www.example.com/topic/topic_id

    to

    http://www.example.com/forum/topic_id

    I need help with creating the pagination mod_rewrite rules (page_2 ). Please let me know if anyone can help with setting up new pagination mod_rewrite rules for this page:

    http://www.dfur.com/designer_furniture/topic5

    Thank you,

    Mircea Piturca and Paun Narcis Iulian.

    #54540
    bbolman
    Participant

    To throw in my two cents… I personally would lean towards “themes.” My reasoning: since one of the biggest parts of bbPress is the WordPress integration, I believe bbPress and WordPress oughta use the same lingo for that. If a template author wants to do matching templates for bb and WordPress he’ll have to have the “Blank Theme” for WordPress and the “Blank Template” for bbPress. To me this adds to the confusion, and since WordPress has been around and people are used to theme, why make them have to learn more lingo?

    #54538
    chrishajer
    Participant

    I think template is simple enough, it’s just different :)

    I also personally feel “template” is more ‘correct’ than “theme”. Unlearning “template” when starting with WordPress was hard.

    http://en.wikipedia.org/wiki/Template

    http://en.wikipedia.org/wiki/Theme

    I think bbPress is correct, and WordPress is wrong.

    Also, if you’ve ever used K2 with WordPress, you know that they have something called schemes which are pure CSS modifications to change the look. To confuse things even more, the “schemes” in K2 are in a folder called “styles.”

    sorry for all the edits …

    #54722
    Trent Adams
    Member

    Without stepping out too far on a limb, I think that each blog (or forum) has it’s own key to keep track of what is done with each user and require their own key. Since they are free, it isn’t too hard to get one, just go to this post and follow the directions.

    I see what you mean about having a special bbPress key, but I doubt if it will ever happen in the near future.

    Trent

    #1443
    ukrob12
    Member

    I uploaded everything then went to install, just to be faced by “Cannot select DB.”

    I had a look around these forums but can’t seem to find anything to get it working. WordPress is working fine from the same database.

    Thanks in advance for any help

    #54536
    chrishajer
    Participant

    I personally don’t think this is a big issue. I had to change my brain to think of templates as themes in WordPress, so it doesn’t matter much to me. What they’re called is much less important than how they’re managed and modified.

Viewing 25 results - 25,951 through 25,975 (of 26,672 total)
Skip to toolbar