Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 11,226 through 11,250 (of 11,584 total)
  • Author
    Search Results
  • #54267
    Sam Bauers
    Participant

    New patch for 0.8.1 (build 719) just uploaded here. I have not tested this patch on a fresh install, but the changes from the last patch are minimal. Just a couple of line numbers and implementing the new attribute escape function in a couple of places.

    spencerp – you should consider using an SVN client to update your live site, it is much easier to apply the changes to core using SVN, they generally don’t conflict with this patch.

    #54670

    In reply to: Import SMF to bbPress

    lonemadmax
    Member

    I’m very sorry. My SMF forum was not in UTF-8. If your try was in a test bbPress forum, try again deleting all utf8_encode calls in the script (leave the argument, of course).

    #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.

    #53878

    In reply to: Bozo problem

    Trent Adams
    Member

    Have you updated to the 0.8.1 version of bbPress yet? If you upgrade, you will see the checkbox to unedit the BOZO portion as chrishajer has suggested above with screenshots. Just make sure you overwrite all the files so that you are using the most recent version of each file and then test it again with and without the Akismet turned on.

    Trent

    #54690
    fel64
    Member

    Any update on that plugin?

    #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. :)

    #53567
    skrimpy
    Member

    and I fixed the latest discussion issue with the front-page-topics.php plugin (https://bbpress.org/plugins/topic/3?replies=6) and it seems to be working fine. I had one user and my sock account help me test it lol, I will work on getting everything set up this afternoon and see if it all goes well.

    #53566
    skrimpy
    Member

    Ok I seem to have it working now. I did have display-name.php installed. I think the problem was with another plugin: bb-limit-latest-discussion.php. I took that plugin down and the forum restriction plugin began to work properly.

    I still get an error when I put in my display name; however it does give me access to the forum category. This afternoon I’m going to work on getting all the forum categories set up the way I want and I’ll let you know if it seems to be working right for everyone.

    I like the limit discussion plugin because it makes for a cleaner forum; however having restricted access to forum categories is more important to the purpose of my boards so I’m just going to leave the limited discussion plugin off for now.

    thanks David :)

    #53874

    In reply to: Bozo problem

    Trent Adams
    Member

    Unless I am missing something, I think radkitten’s issue is that they are a bozo when they head back into their profile and they see a checkmark in the box. They can correct me if I am wrong. It most likely has Akismet as the problem because the user is passed through Akismet filter when you view your profile and it may keep flagging them. That is why I wanted them to set Akismet to false in the config.php to make sure that it doesn’t get passed through and test it out.

    Trent

    Trent Adams
    Member

    This is something that mdawaffe is working on to be implemented in the next version of bbPress because it is almost a ‘bug’ to have certain users even tested against Akismet and the topic check with Akismet will be obsolete here soon. This will definetely be in the next major release!

    Trent

    #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…

    #53867

    In reply to: Bozo problem

    I’m having this same issue. I deleted the table in phpmyadmin, and decided to test it and re-edit my profile. when I edited my profile I was again set as a bozo. anything I can do to stop this?

    #50414

    In reply to: Importing from vanilla

    Ziyphr
    Member

    The last phpBB to Vanilla converter doesn’t work perfectly with the latest Vanilla so needs some fiddling. Both Vanilla and bbPress could do with investing in a universal converter similar to what punBB has. It’s a lot of work but will be worthwhile.

    #54618

    In reply to: Plugin: bbMenu 1.0

    Null
    Member

    Hi,

    What kind of items would you like to add? Is it a plugin page like the memberlist plugin, or a link to another website, or a link to your homepage.

    The last one is technically hard to do cause of the way bbPress id’s there pages. bbMenu uses this to highlight the menu item when you are on a certain page. Since your homepage proberbly doesn’t support/use this, you can add an item in the menu, but it proberbly wouldn’t highlight when you are on that page.

    Hope you understand what I mean…

    If you want to add an “off-link” (the link goes to wikipedia or something) you could add this into bbmenu.php (not tested):

    At the bottom find:

    echo '<li ' . $first . '><a ' . $current . ' href="' . $rw['page'] . '">' . $rw['item'] . '</a></li>';

    Underneeth it add:

    echo '<li><a href="link-to-your-thingy.com">Thingy-name</a></li>';

    (Ignore the this forum adds them when editing this topic)

    This should add a new link ad the end in your menu, but you will not see it in the admin, or be able to put it anywhere else… It will also not be highlighted when you are on that page (in case you use it to go to your homepage)

    #54616

    In reply to: Plugin: bbMenu 1.0

    Null
    Member

    suleiman, I would like you to test this version to see if this fixes the tabel install issues.

    Follow these steps:

    1- Go to your myplugins folder and delete bbmenu.php (you only need to remove this bbmenu-file, leave all others in). Now go to the admin menu and check if the Menu link in it is gone.

    2- With phpmyadmin, remove the bb_menu table from your database.

    3- Now upload the new bbmenu.php (test)version to your myplugins folder (see below for download)

    4- Go to your admin page, press the menu link and refresh the page.

    Let me know

    The bbMenu testversion:

    http://www.sourceskins.com/bbmenu-test.zip

    #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

    #54265
    spencerp
    Member

    Is this going to get submitted into the SVN trunk for 1.0 soon, or..? I’m really hoping so, all this “applying patches” is getting tiresome and confusing, sigh.

    It’s one of the main reasons I haven’t even upgraded my bbPress forums to the latest full .80, with category enhancement, just seems pointless… =(

    spencerp

    #54776
    nickbrady
    Member

    Hi, chrishajer

    In the tests we have done, it does work adding a new topic and also adding new tags to an existing topic.

    #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.

    #54788

    In reply to: LDAP Plugin Help

    rkruk
    Member

    Hi

    thanks for the quick reply.

    Yes the IP, userid, pass is correct.

    The domain string is where i may be having trouble as i am not sure wat to put in there. I have tried multiple domain strings but no success.

    Have tried both TLS on/off.

    I am fairly certain that the firewall is set ok.

    We have other applications using the ldap server successfully, however from different servers.

    I have successfully used the following code example to produce a connection and return a result from the LDAP server. maybe this can help you debug the issue?



    <?php
    // basic sequence with LDAP is connect, bind, search, interpret search
    // result, close connection

    echo "<h3>LDAP query test 2</h3>";
    echo "Connecting ...";
    $ds=ldap_connect("192.168.1.73"); // must be a valid LDAP server!
    echo "connect result is " . $ds . "";

    if ($ds) {
    echo "Binding ...";
    $r=ldap_bind($ds); // this is an "anonymous" bind, typically
    // read-only access
    echo "Bind result is " . $r . "";

    echo "Searching for (sn=S*) ...";
    // Search surname entry
    $sr=ldap_search($ds, "o=Lions", "sn=S*");
    echo "Search result is " . $sr . "";

    echo "Number of entires returned is " . ldap_count_entries($ds, $sr) . "";

    echo "Getting entries ...";
    $info = ldap_get_entries($ds, $sr);
    echo "Data for " . $info["count"] . " items returned:";

    for ($i=0; $i<$info["count"]; $i++) {
    echo "dn is: " . $info[$i]["dn"] . "";
    echo "first cn entry is: " . $info[$i]["cn"][0] . "";
    echo "first email entry is: " . $info[$i]["mail"][0] . "<hr />";
    }

    echo "Closing connection";
    ldap_close($ds);

    } else {
    echo "<h4>Unable to connect to LDAP server</h4>";
    }
    ?

    #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.

Viewing 25 results - 11,226 through 11,250 (of 11,584 total)
Skip to toolbar