Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 20,276 through 20,300 (of 32,499 total)
  • Author
    Search Results
  • #92446

    Pagal,

    I know you dislike me always saying it, but GOOGLE, then ask.

    I did and top search results was…

    https://bbpress.org/forums/topic/bug-found-bbpress-with-wp-super-cache

    But even better than that, if you click on “wp-super-cache” tag that YOU typed in, guess what: It lists 3 topics, yours and 2 others that tell you how to fix this problem:

    https://bbpress.org/forums/topic/bug-found-bbpress-with-wp-super-cache

    https://bbpress.org/forums/topic/plugin-problem

    Honestly mate, if you don’t want to use a search engine, I can’t make you, but try looking for yourself first, please :)

    #34996
    pagal
    Participant

    No doubt its a really good plugin for wordpress

    http://wordpress.org/extend/plugins/wp-super-cache/

    But it not works with bbPress.

    When I activate this plugin then wp works but I’m getting a blank screen for my forums,

    Nothing in forums, nor in source code simple white page.

    and my error log for bbPress

    /path/to/wp/wp-includes/cache.php on line 93<br />
    [05-Aug-2010 17:17:08] PHP Fatal error: Call to a member function get() on a non-object in /path/to/wp/wp-includes/cache.php on line 93<br />
    [05-Aug-2010 17:17:14] PHP Fatal error: Call to a member function get() on a non

    So, Simply I want to stop this plugin to work with forums.

    I’m using

    Wordpress 3.0.1

    bbPress 1.0.2

    Deep integration.

    If you could help, I would greatly appreciate it.

    Thanks,

    P.

    #92448
    thomasfals
    Member

    Seems like I inserted a code tag at the wrong place in the above post. However, the keys are correct on both sides.

    #34997
    thomasfals
    Member

    I have installed wordpress 3.0.1 and bbpress 1.0 inside the wordpress folder. They share the same database.

    I have added the following lines to the wp-config before the mysql strings:

    define( 'COOKIEHASH', 'd1f7eec6931cdc9bcabcda54b479078e' );
    define( 'SITECOOKIEPATH', '/' );
    define( 'COOKIEPATH', '/' );

    And these longer down:

    define('AUTH_KEY',         'Lut=fA6L$vvH;jt+<3$.Uu;-x$SScbTh}>I0$G7d8<code></code>%H]/%F<eFY

    )NM6tMw_2ao’);

    define(‘SECURE_AUTH_KEY’, ‘Q0e8f|n[NN-7-}w-:9-}s-Yt5UjbM-_E>]88/j|cgG d++%q7m%kx+Y*|Vn&c{)8’);

    define(‘LOGGED_IN_KEY’, ‘YhYj/aHOg>(D|2C({PUGC {QCh?<^y-8-[EGp-]{IYKz{o.XtwLLp3z|i5>x&&’);

    define(‘NONCE_KEY’, ‘-t%dnVN}E?2lFeXbl!Kqaaa@o3|u8|%I5cUMlZ:Kwj$dX,*V(ilrFokuF]w9$h??’);

    define(‘AUTH_SALT’, ‘^B-eC)mvb?-Swa!0V[W,; -FwUNW^-;Rqc-+GrHmlw64Qaa7w:.fUceuEqv;Na(/’);

    define(‘SECURE_AUTH_SALT’, ‘Hyv|rxFT^1it2pfXQ|S-KAwIL$Q[D^+-Pv=9XAW.V}r}H&cXZ@%=F*ds8Em:Q`8M’);

    define(‘LOGGED_IN_SALT’, ‘b#A_A2wBKz-):+EVBE$ZpOZ]k!fEFYh(K@ZJP+y W/casO0aP8nx|b/)O*p~M_OK’);

    define(‘NONCE_SALT’, ‘~Il&]x.h,Pl0g2ac{jSZ]XEAU –kn{Hw;@&B`dZ[#/uaNyQ+z9K)YWfWhmX +

    M7′);

    These have been added to the bb-config.php before the mysql strings:

    define( 'SITECOOKIEPATH', '/' );
    define( 'COOKIEPATH', '/' );

    And these longer down:

    define('BB_AUTH_KEY',         'Lut=fA6L$vvH;jt+<3$.Uu;-x$SScbTh}>I0$G7d8<code></code>%H]/%F<eFY

    )NM6tMw_2ao’);

    define(‘BB_SECURE_AUTH_KEY’, ‘Q0e8f|n[NN-7-}w-:9-}s-Yt5UjbM-_E>]88/j|cgG d++%q7m%kx+Y*|Vn&c{)8’);

    define(‘BB_LOGGED_IN_KEY’, ‘YhYj/aHOg>(D|2C({PUGC {QCh?<^y-8-[EGp-]{IYKz{o.XtwLLp3z|i5>x&&’);

    define(‘BB_NONCE_KEY’, ‘-t%dnVN}E?2lFeXbl!Kqaaa@o3|u8|%I5cUMlZ:Kwj$dX,*V(ilrFokuF]w9$h??’);

    define(‘BB_AUTH_SALT’, ‘^B-eC)mvb?-Swa!0V[W,; -FwUNW^-;Rqc-+GrHmlw64Qaa7w:.fUceuEqv;Na(/’);

    define(‘BB_SECURE_AUTH_SALT’, ‘Hyv|rxFT^1it2pfXQ|S-KAwIL$Q[D^+-Pv=9XAW.V}r}H&cXZ@%=F*ds8Em:Q`8M’);

    define(‘BB_LOGGED_IN_SALT’, ‘b#A_A2wBKz-):+EVBE$ZpOZ]k!fEFYh(K@ZJP+y W/casO0aP8nx|b/)O*p~M_OK’);

    define(‘BB_NONCE_SALT’, ‘~Il&]x.h,Pl0g2ac{jSZ]XEAU –kn{Hw;@&B`dZ[#/uaNyQ+z9K)YWfWhmX +M7’);

    In the wordpress integration plugin I checked that the table prefix is set to wp_. Also the “auth”, “secure auth” and “logged in” cookies are locked as they have been matched.

    The wordpress url is set correct and the bbpress integration plugin has been added and the bbpress url is set. I have deleted all cookies, but regardless I am not logged into bbpress when I log into wordpress.

    I have mapped the users as key, moderator, member, member, member. Any ideas what I am doing wrong?

    #92398
    Rich Pedley
    Member

    Nice ;)

    #34989
    sanction
    Member

    How can I add a menu link back to WordPress from the

    “Welcome, user | Admin | Log Out” menu?

    I looked everywhere!

    Been noobafied… :(

    #92330

    In reply to: [help] integration

    notApro
    Member

    Thank you for that tutorial it’s good..

    :)

    So far so good.. no problems.

    Only i found some problem and i had to double check on the last step to get it working 100%.

    I’am working on a Mac with Coda and i copy-/past the absolute path to my bb-config.php file (thanks to the abs.php file) and saved it.

    But i hadn’t seen that Coda messed up my code when saving. (bad)

    include_once( ‘/var/www/vhosts/my-domain.com/httpdocs/wp-load.php’ );

    became:

    include_once( övar/www/vhosts/my-domain.com/httpdocs/wp-load.phö );

    Look at the first and last ‘ ‘ things.

    Thats why i got a white screen on the forum page.

    Very silly, and it can cost you lots of frustration if you don’t check things twice..

    #34987
    Rose
    Member

    I’m creating a website with WordPress and bbPress that needs a section where someone can fill out an application form (from a WordPress page) and that will create a new topic in bbPress with the info they filled in.

    We decided that the easiest way would be to have the form data submitted straight into the bbPress database.

    I experimented with phpmyadmin by adding new records with the correct info in bbposts, increased the post counts in bbtopics and finally used the post time I’d set in bbposts (post_time) with topic_time to update the ‘freshness’. I used phpmyadmin’s default date/time selector to replicate the records’ formatting correctly.

    While the new post showed up perfectly and the post counts were correct, the freshness came up as being “-1 years”

    I changed the code in front-page.php to the following as outlined by _ck_ :

    <td class="num">" title="<?php echo date("r",strtotime($topic->topic_time)); ?>"><?php topic_time(); ?></td>

    so that I could see what it was coming up with as the posted date and time. The results were… ‘interesting’ –

    On mousing over the -1 years, I got the correct date and time.

    On mousing over the correct freshness times of other posts I had made the same day, I got a date and time that seems to be 12 hours behind.

    Here are the links to images outlining this:

    -1 years freshness but correct date/time image

    ‘Normal’ freshness time but with wrong date/time image

    Can someone please explain what is going wrong and if possible how to fix it or get around this problem with adding topics directly to the database. I’m starting to /facedesk so help would be much appreciated!! :)

    #34986
    chang
    Member

    Hi,

    The default bbpress post doesn’t have the Reply function… is there any plugins that have this feature?

    I tried easy mention but it didn’t work at all =(

    Thank you!

    #92354

    In reply to: Theme Problem

    chrishajer
    Participant

    So what is the name (name of the folder) of another theme you installed?

    In almost every case, the permissions on the my-templates of the actual template folder are wrong. Double check those. If not that, be sure the themes are not nested inside other folders. Should be like this:

    bb-config.php
    ----my-templates/
    customtheme-one/
    customtheme-two/

    Not:

    bb-config.php
    ----my-templates/
    customtheme-one/
    theme-folder/
    customtheme-two/
    theme-folder/

    pagal
    Participant

    Really thanks Ben L. :-)

    You are a genius person, I know you can do it.

    Let me check it, stay connect.

    “I don’t think this information is required.”

    You know bro, this is partly why we find it so hard to help you.

    I posted the solution to this a few months ago, you can search for it via tags or my profile; but the answer is:

    Lots of people + private message = what email is for

    The required code is on my other post

    #92186

    In reply to: Spam


    @Kev
    , But I still did not understand the solution!

    I need alternative… do you have?

    Nope, there isn’t one.

    Any automated solution can and will eventually be beated by spam-bots, based on the fact that they are upgraded to mimic human behavior.

    Any automated solution becomes less effective over time.

    And automated solutions against human spammers make 0 difference at all.

    Did you mean there is no need of captcha

    Yes. Captcha’s stop spam-bots quite effectively, but also stop a large percentage of human users. Captcha’s do not stop human spammers.

    Captcha’s are like wearing a clock round your neck ( http://www.blogcdn.com/www.theboombox.com/media/2008/02/flavor-flav-200-020608.jpg ). It seemed like a good idea at one time ;-)

    …and allow people to send thousand of fake emails and register users

    No.

    There are other methods of cutting down on the spam. You just can’t stop the spam entirely. If you run a website, YOU will have to moderate in some form. It’s just the way of it.

    But making your users prove they are human every time they post is simply a very bad option. It’s not your users fault there’s spam on your forum/blog/website.

    #92145

    In reply to: Topic tooltips

    ianhaycox2
    Member

    Hi,

    Thanks for the response.

    I tried as suggested but I always get the post content of

    First post W00t!

    The topic_id passed is different each time, but it always returns the post content for topic id 1.

    I’ve written a few WordPress plugins, but the lack of comments and documentation in the bbpress code is making it hard to work out what populates the global topics and posts variables.

    How do I get a post given a topic ID ?

    EDIT: Just worked out I need get_post_text( $post->post_id ) !

    Thanks

    Ian.

    #92270
    huntography
    Member

    I installed these but did not have all active at once.

    Akismet

    Allow Images

    AutoRank

    bb-ga

    BBcode Lite

    bbPress Integration

    bbpress SEO tools

    bbPress signatures

    bbRatings

    Bozo Users

    Facebook Like

    Google Sitemaps

    Members Online

    Nicer Permalinks

    Profanity Filter

    Show Avatar

    Social It

    User Photo for bbPress

    The issue occurs with any theme. Could it be a database issue?

    Thanks Chris.

    R

    chrishajer
    Participant

    Looking at the theme files, the function pagelines_localize is only declared once, but with deep integration, it’s trying to be redeclared. So, wrapping the function in a conditional should work to prevent it from being declared again.

    // LOCALIZE
    if(!function_exists('pagelines_localize')) {
    function pagelines_localize(){
    // LOCALIZATION stuff
    }
    }
    ?>

    zaerl
    Participant

    Template file post-form.php/edit-form.php. Change the textarea cols/rows values.

    chrishajer
    Participant

    pagelines_localize()

    That’s coming from your theme. Try switching to the default WordPress theme and see if the error is still present.

    I can’t download a copy of the Pagelines theme, so can you post the lines from about 50 to 65 in this file:

    /wp-content/themes/iblogpro4_dev/core/globals.php

    At least from line 53 to line 61, but I suspect there may be some conditional around it and need to see the whole context. If you want, you can email me that file at chrishajer [at] gmail [dot] com as well. Looks like you will need to try and declare that function only if it isn’t already declared. This would be a modification to the WordPress theme file.

    But, try the default WordPress theme and see if integration works, or gives another type of error.

    #92283

    In reply to: Where are cookies set?

    Ben L.
    Member
    #92143

    In reply to: Topic tooltips

    Ben L.
    Member
    function topic_tooltip() {
    $topic_id = get_topic_id();
    $post = bb_get_first_post( $topic_id );
    $post_content = strip_tags( get_post_text( $post ) );
    // Do something to $post_content to make it short here
    echo ' title="', esc_attr( $post_content ), '"';
    }

    #92227
    pastormick
    Member

    thanks Ben L. that answers my question. May your code always be poetic :)

    #92052

    Hi! If I logout and login again, nothing changes :/

    #34961
    pedagog
    Member

    Hello all

    Could somebody tell me where the cookies are set in bbpress ie, which files and which lines of code if possible.

    Thanks

    What version of WordPress are you using?

    What version of bbPress are you using?

    please :)

    #92182

    In reply to: Spam

    Hi Korti,

    The issue with captcha’s comes down to the fact that you’re asking users to prove they’re not spammers by a method only avalible to be answered by a percentage of your legitamate posters. It’s not their fault the software you chose (or, we’ve all chosen) can’t handle the spam.

    The realism is, if you’re running 100 sites, you should have a moderation policy in place. With people/human moderators. No software system, ever in the history of the world, has stopped 100% of spam. Infact, none have even come close to catching 100% of spam.

    It’s all about percentages, and putting systems in place to get the spam coming through down to a managable number. I agree that typing any 4 numbers into a box doesn’t take long or put people off, but that’s a massive over simplification.

    Captcha’s don’t:

    1) Make any difference to human spam

    2) Work if the user is on an older browser

    3) Work if the user has JavaScript turned off

    4) Work is the user has Images turned off

    5) Work on mobile devices (by and large)

    6) Meet any accessability standards

    7) look or work the same for people with sight issues. (and the audio captchas simply don’t work).

    8) Work in RTL languages / displays

    9) Work in non-latin based languages as default (arabic / manderin / cantonese)

    10) Work without a mouse (if using a reCaptcha).

    Percentage wise, that’s a HUGE HUGE HUGE percentage of the world right there.

    As a Real World example: I’m currently onsite at a client’s campus running analystics and UX/IA for their new University enrolment system. Online enrolment is down just over 20% from this time last year (not a big worry), but failed registrations is up by over 400%. Number one reason: people failing the captcha.

    Captcha instantly fixed it and I still get just as many emails from customers asking questions if not more

    Maybe you’re getting more emails because people who are serious can’t use your form to post.

    What about those that are serious, but after multiple attempts at using your captcha simply gave up.

    I do not think an extra 10th of a second for a captcha code would make people go anywhere else

    Its cool that you think that, but there is so much data out there that says otherwise.

    We have almost 20 years of HCI data availible, and we know for a certainty that the percentage of users who complete registration/sign-in/posting drops at an alarming rate the longer the process goes on.

    Have you ever noticed how captcha’s were everywhere in 2007, but are virtually no-where now?

    I am in no way a “bad” moderator a busy one yes.

    I don’t doubt that mate. Approx 100 sites? I couldn’t even begin to imagine.

    Take Care.

Viewing 25 results - 20,276 through 20,300 (of 32,499 total)
Skip to toolbar