Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 9,451 through 9,475 (of 11,591 total)
  • Author
    Search Results
  • #72438

    Hello Kevin!

    Thanks for your reply! :D

    I did a clean install of WP 2.7 and then I activated Ann’s plugin.

    Then I added the code those three lines in wp-config.php and lost access to dashboard.

    Redirect Loop

    Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

    The browser has stopped trying to retrieve the requested item. The site is redirecting the request in a way that will never complete.

    * Have you disabled or blocked cookies required by this site?

    * NOTE: If accepting the site’s cookies does not resolve the problem, it is likely a server configuration issue and not your computer.

    I am currently testing on localhost (XAMPP). Any idea what is causing this loop? May be I need to edit those lines but I dont know how to.

    I had to delete the plugin from the plugin directory to access dashboard again.

    I would not think of going beyond WP 2.7 unless I am unable to achieve the sync. And regarding the Open ID integration, I would like to keep myself away from it as I need to allow only registered users to login.

    #71221

    In reply to: List all Tags?

    deadlyhifi
    Participant

    Modified: trunk/bb-admin/admin-ajax.php (2016 => 2017)

    Fix adding of existing tags to a post via AJAX. Tags used to be added but didn’t have any UI response.

    Perhaps this was the issue and not my mod (see above post). Not tested it out yet…

    #72451
    noah-graff
    Member

    Thanks, but is this going to count every post that is put on? or just count posts of the most avid posters? Not sure this totally solves the problem?

    I know that it sounds like a lot of money. At this point we just really need to build up traffic. We are a magazine about the Precision Machining Industry and we want to create a community of people sharing perspectives and technical advice.

    We are doing email blasts with a contest to get people to come to the site. If you have any good ideas on how to build up traffic or make it better I’m all ears. The URL is http://www.shopdocforum.com. We really need to change our appearance first off, but we were trying to have a bit of continuity with our blog and website.

    In any case, thanks for the tip. But if you’re bored…

    Noah

    #72401

    In reply to: link back to blog

    cldnails
    Member

    I use CARP RSS to insert the latest posts from my blog within my bbPress forum. Also, as mentioned, make sure you are editing the header file from within the specific theme you are using. It’s not one header file fits all.

    #72425
    cloudhopper
    Member

    The 101 referred to doesn’t cater for the fact that the names for the various keys seems to have changed.

    The route I followed (using the “freshly baked cookies” plugin, and using 0.9.0.4) calls for a “secret key”, but the latest version of wordpress doesn’t refer to such a beast. I opted for the AUTH key, guys, figuring that if it was wrong, the bbPress install would let me know. It worked.

    Perhaps a minor tweak to the 101 would help in this respect?

    As it happens, I went on to experience “fatal errors” when I tried to activate said plugin, so I clearly haven’t finished with the integration efforts myself! :o)

    #72409
    Txanny
    Member

    I tested both.

    1.0-alpha integrates better but is more unstable and there are lots of errors. I would no use it on a live site.

    0.9.0.4 is much stable, and runs fine. I used this plugin https://bbpress.org/plugins/topic/freshly-baked-cookies/ and then forced always to login/logout from WordPress. That works perfect. Login/out from bbPress does not run correctly in this situation, so I preferred to force to login/logout from wordpress.

    In my case I was talking for a project 6-9 months vista, to be finished later this year. This makes things a bit different as I hope then bbPress 1.0 will be more mature.

    Also consider that you always can upgrade from 0.9 to 1.0… but you can NOT to downgrade from 1.0 to 0.9. So, perhaps I would start from the stable version.

    Regards,

    Txanny.

    #72408

    @ _ck_

    I am also going to use bbPress alpha for a live site. I don’t want to use any plugins. Just what bbPress is offering at the moment is required (more functionality is not a pain though). Should I go for it as I have tested with WP 2.7 for login syncs (partly – the way i want with my custom user panels). Would like to know your opinion. Thanks!

    #72423
    jrock87
    Member

    I am trying to install the latest stable version 0.9.0.4. Is this the proper version that i should be using for integrating with WordPress 2.7.1?

    #4995
    _ck_
    Participant

    HttpOnly cookies are a security advancement that is finally supported now by all major browsers (Firefox eventually got it right in 3.1, while IE 7 still has a bug but it generally works).

    HttpOnly means a cookie cannot be read by javascript in the browser, only by the server (via PHP, etc.) This practically stops XSS exploits and makes it much harder if not impossible in most cases.

    HttpOnly may “save your bacon” when a plugin has a security hole (like Private Messaging and bb-Reputation 0.0.5) and prevent a malicious script from forwarding your keymaster cookie to someone else via a XSS script.

    I manged to get them to include HttpOnly in WordPress 2.7 and bbPress 1.0 but it’s still not in older WordPress or bbPress 0.9 because they worried about backward compatibility with some WordPress plugins that try to directly read the cookie (bad technique) instead of using server-side helpers.

    However there are NO bbPress plugins that direct read the auth cookie and very few WordPress plugins still do this. I am not 100% positive how it will affect ajax but it shouldn’t because it’s still authorized on the server-side via PHP.

    So if you’d like to try out HttpOnly on your bbPress 0.9, here’s how, it’s as simple as a mini-plugin. Note that if you are already using a cookie replacement plugin like my “Freshly Baked Cookies” or “Year Long Cookies” you will need to edit them instead of using the following (you can only use one cookie replacement plugin at a time).

    I’d appreciate any feedback or experiences with this, especially if it causes problems:

    Save this as _HttpOnly.php and upload into your my-plugins/ directory:

    <?php
    /*
    Plugin Name: HttpOnly Auth Cookie
    */

    function wp_set_auth_cookie($user_id, $remember = false) {
    global $bb;

    if ( $remember ) {
    $expiration = $expire = time() + 1209600;
    } else {
    $expiration = time() + 172800;
    $expire = 0;
    }

    $cookie = wp_generate_auth_cookie($user_id, $expiration);
    do_action('set_auth_cookie', $cookie, $expire);

    setcookie($bb->authcookie, $cookie, $expire, $bb->cookiepath, $bb->cookiedomain. '; HttpOnly' );
    if ( $bb->cookiepath != $bb->sitecookiepath )
    setcookie($bb->authcookie, $cookie, $expire, $bb->sitecookiepath, $bb->cookiedomain. '; HttpOnly' );
    }
    ?>

    To prove it’s working, you CANNOT use the Firefox webdeveloper plugin because that looks at the cookie in Firefox’s chrome, not at the user level. What you have to do is

    1. prove you can see your bbpress/wordpress cookie by typing or copying this to your browser address bar javascript:alert(document.cookie);

    2. install the plugin

    3. log out and then log in

    4. again type or copy this to your browser address bar javascript:alert(document.cookie);

    5. if it’s working, you should NOT see your wordpress/bbpress cookie in the alert

    Currently the only plugin I am aware of that tries to read the cookie directly in WordPress is the WP-UserOnline plugin from GamerZ, and he may have even fixed that by now in the newest versions. However there may be others, so test your setup.

    #57287

    In reply to: LaTex support

    I’ve had a go at adapting one of the WordPress plugins (easy LaTeX) for bbPress. It works for me, but there are probably a few things a little too specific to my set-up for it to be released “in the wild” – for example, I’m using both WordPress and bbPress so there’s a little cross-over information which wouldn’t be available on a bbPress-only site (putting in some options for that would probably be a good idea).

    However, it might be suitable for beta-testing. I’ve put a copy here if anyone’s interested in taking a look and tweaking it.

    A few details:

        It uses a public server so no need for LaTeX to be installed locally.

        It uses a cache (needs to be writable by the server) to save on server load.

        It has a two-step parsing (not in the original) since forum posts are saved in their original format. This makes it more robust since the plugin allows for changing the tags that surround the mathematics. The saved format uses <math> tags which has the added advantage of avoiding markdown processing.

        Due to being a rather limited programmer, I ended up copying stuff from other plugins to get it to work without really understanding what I was doing (particularly with add_filter and the like) so if some kind soul wishes to take pity on me and clean up my code I’d be very grateful.

    #4989

    Not a great title but it’s after 3am here.

    I remembered in October last year _ck_ posted a link to ForumMatrix and it’s information on BBpress:

    http://www.forummatrix.org/show/bbPress

    Now, if it’s not someone involved with the project that keeps ForumMatrix up to date, then i’m very sorry for asking but right now i find it a good source of “where we’re at”, but ee seem to have PLUGIN listed in every box. The thing is, i dont think we have plugins for some of this stuff.

    For example, where is the WYSIWYG plugin?

    According to forum matrix BBpress has plugins for Full BBcode, WYSIWYG editor, nested quotes, syntax highlighting, multiple file attatchments, acl, blacklist, warnings, suspensions, ip-block, audit logging, user reports, rating/karma system, custom profile fields, split threads, calendar, pruning , archiving, export private messages, lo-fi view.

    Thing is, i dont see any working plugins that do those jobs. Now, i’m more than happy to admit that i may be wrong (be great if i was), but i do find the whole current plugin page a bit of a mess (given that the latest plugins, latest talked about plugins, and the highest rated plugins are generally quite similar).

    Any help in finding working plugins that BBpress is supposed to have would be really helpful :)

    Thank you all

    #65893
    _ck_
    Participant

    Showing the gravatar for topic starter and last poster would be something like this (untested)

    Topic started by
    <?php echo "<img src='http://www.gravatar.com/avatar.php?gravatar_id=".md5(bb_get_user_email($topic->topic_poster))."'> $topic->topic_poster_name"; ?>
    Last Poster
    <?php echo "<img src='http://www.gravatar.com/avatar.php?gravatar_id=".md5(bb_get_user_email($topic->topic_last_poster))."'> $topic->topic_last_poster_name"; ?>

    #4988
    Txanny
    Member

    Hello,

    Next days (or weeks) I sill start a new project. It will take long to develop and probably it will be finished later this year. I think it will 6 months or a bit more. It must be integrated with the latest version of WordPress.

    So, I’m thinking about starting the project with the 1.0 alpha versions. I know it’s not as stable or secure as 0.9.x but hope it will be later this year. I’ve seen there are lots of changes from 0.9 to 1.0 and perhaps will be easiest to merge the new 1.0 versions than 0.9 to 1.0…

    What’s your opinion? It’s the best idea to start the project with the alpha version ? Or you would start it with 0.9x and in the future you will make all arrangements to upgrade it? Consider that it will be finished this year fall.

    Thanks for your comments,

    Txanny.

    #4984

    Topic: Amended Profile page

    in forum Themes
    deadlyhifi
    Participant

    (profile.php in theme folder)

    My users were asking for the ability to jump to the last post on the ‘User Activity’ area within their profile page. So I amended the page to use tables like the favorites listings do with two columns >

    TOPIC > DETAILS

    topic name > You replied 2 weeks ago. No replies since.

    <?php bb_get_header(); ?>

    <h3 class="bbcrumb"><a href="<?php bb_uri(); ?>"><?php bb_option('name'); ?></a> &raquo; <?php _e('Profile') ?></h3>

    <div class="vcard">

    <?php if ( $avatar = bb_get_avatar( $user->ID ) ) : ?>
    <div id="useravatar"><?php echo $avatar; ?></div>
    <?php unset($avatar); endif; ?>
    <h2 id="userlogin"><span class="fn"><?php echo get_user_display_name( $user->ID ); ?></span> <small>(<span class="nickname"><?php echo get_user_name( $user->ID ); ?></span>)</small></h2>

    <?php if ( $updated ) : ?>
    <div class="notice">
    <p><?php _e('Profile updated'); ?>. <a href="<?php profile_tab_link( $user_id, 'edit' ); ?>"><?php _e('Edit again &raquo;'); ?></a></p>
    </div>
    <?php elseif ( $user_id == bb_get_current_user_info( 'id' ) ) : ?>
    <p>
    <?php _e('This is how your profile appears to a logged in member.'); ?>

    <?php if (bb_current_user_can( 'edit_user', $user->ID )) : ?>
    <?php printf(__('You may <a href="%1$s">edit this information</a>.'), attribute_escape( get_profile_tab_link( $user_id, 'edit' ) ) ); ?>
    <?php endif; ?>
    </p>

    <?php if (bb_current_user_can( 'edit_favorites_of', $user->ID )) : ?>
    <p><?php printf(__('You can also <a href="%1$s">manage your favorites</a> and subscribe to your favorites’ <a href="%2$s"><abbr title="Really Simple Syndication">RSS</abbr> feed</a>.'), attribute_escape( get_favorites_link() ), attribute_escape( get_favorites_rss_link() )); ?></p>
    <?php endif; ?>
    <?php endif; ?>

    <?php bb_profile_data(); ?>

    </div>

    <h3 id="useractivity"><?php _e('User Activity') ?></h3>

    <div id="user-replies" class="user-recent">
    <h4><?php _e('Recent Replies'); ?></h4>

    <?php if ( $posts ) : ?>

    <table id="favorites">
    <tr>
    <th><?php _e('Topic'); ?></th>
    <th><?php _e('Details'); ?></th>
    </tr>

    <?php foreach ($posts as $bb_post) : $topic = get_topic( $bb_post->topic_id ) ?>
    <tr<?php alt_class('replies'); ?>>
    <td><a href="<?php topic_link(); ?>"><?php topic_title(); ?></a></td>
    <td class="num">
    <a href="<?php topic_last_post_link(); ?>">
    <?php if ( $user->ID == bb_get_current_user_info( 'id' ) ) printf(__('You replied %s ago.'), bb_get_post_time()); else printf(__('Latest reply %s ago.'), bb_get_post_time()); ?>
    <span class="freshness"><?php
    if ( bb_get_post_time( 'timestamp' ) < get_topic_time( 'timestamp' ) )
    printf(__('Latest reply %s ago'), get_topic_time());
    else
    _e('No replies since.');
    ?></span>
    </a>
    </td>
    </tr>
    <?php endforeach; ?>
    </table>

    <?php else : if ( $page ) : ?>
    <p><?php _e('No more replies.') ?></p>
    <?php else : ?>
    <p><?php _e('No replies yet.') ?></p>
    <?php endif; endif; ?>

    </div>

    <div id="user-threads" class="user-recent">

    <h4><?php _e('Topics Started') ?></h4>
    <?php if ( $topics ) : ?>

    <table id="favorites">
    <tr>
    <th><?php _e('Topic'); ?></th>
    <th><?php _e('Details'); ?></th>
    </tr>

    <?php foreach ($topics as $topic) : ?>
    <tr<?php alt_class('topics'); ?>>
    <td><a href="<?php topic_link(); ?>"><?php topic_title(); ?></a></td>
    <td class="num">
    <a href="<?php topic_last_post_link(); ?>">
    <?php printf(__('Started: %s ago.'), get_topic_start_time()); ?>
    <span class="freshness"><?php
    if ( get_topic_start_time( 'timestamp' ) < get_topic_time( 'timestamp' ) )
    printf(__('Recent reply: %s ago.'), get_topic_time());
    else
    _e('No replies.');
    ?></span>
    </a>
    </td>
    </tr>
    <?php endforeach; ?>
    </table>

    <?php else : if ( $page ) : ?>
    <p><?php _e('No more topics posted.') ?></p>
    <?php else : ?>
    <p><?php _e('No topics posted yet.') ?></p>
    <?php endif; endif;?>
    </div>

    <div class="nav">
    <?php profile_pages(); ?>
    </div>

    <?php bb_get_footer(); ?>

    #72343

    In reply to: Do I Need a Server?

    _ck_
    Participant

    By the way there are now windows ports of lighttpd and nginx to use on a local PC for testing too for a faster, lighter footprint. But their installs are not as robust as xampp or wamp though and not for novices. Also since they don’t use .htaccess but their own proprietary system you have to hand write the rules for pretty permalinks.

    xampp can be installed and running in under a minute flat, it’s amazing.

    #66138
    andyimages
    Member

    So far I am failing on this. I am going to try the plug-in that xurizaemom has suggested…..my integration is failing and I have tried the suggested method running WP 2.7 and the latest bbpress 0.9.0.4 .

    There is definitely some conflict between the cookies as if I login as admin on wp, then go to bb, clicking on the admin link fails and I am redirected to the front page instead of admin area. Logged out of WP, and logging into BBPress as admin, the link works properly and the admin panel opens…

    The wordpress is in the the root directory and bbpress in its own directory in the root.

    #72341

    In reply to: Do I Need a Server?

    chrishajer
    Participant

    You can use and configure bbPress locally if you like, but it needs to be in a server environment. You need PHP, a web server and a database. It’s easiest to have it on the same type of system it will eventually be hosted on, to minimize problems when you go live, but it’s not essential.

    On Windows there is WAMP:

    http://www.wampserver.com/en/

    On OSX (and for many other systems) there is XAMPP:

    http://www.apachefriends.org/en/xampp.html

    On Linux, well, if you have that I don’t need to tell you what you have.

    The machine you build, test and configure on doesn’t need to be on the Internet, but you do need to have a server environment to make this work.

    softtouch_ph
    Member

    I got an issue. I have Topic View plugin installed, but the theme does not display the views in the forum list, but it displays the views in the “Latest Discussion” section.

    #4969
    Billy Wilcosky
    Participant

    I hate it when something so easy is giving me problems. I have a link to my search page… mysite.com/myforum/search.php… like that. And it works fine, except the font color on the search form itself is a gray or reddish color and it doesn’t go with my dark blue layout… I need the font to be white. With CSS I’ve got the font set to white everywhere else, even the search results are white, but the form itself is not so you can barely read it.

    I’ve tried editing the color with CSS, regular html, I’ve been in my search.php in my forum root and my search.php in my template, and I’ve been in my search-form.php file, and no matter what I do… I can only get the font to change in firefox… for some reason in ie6, which should be illegal to use, the font it not white.

    I simply added <font color=”white”></font> to the form, and again, it works in firefox, but when I test it with ie6 it doesn’t work. Why?

    I even tried adding a new div… I added <div id=”searchcolor”>search form code here</div> then in my CSS file I have #searchcolor {color:white;}, but even that doesn’t work. Nothing seems to change the form font color in ie6.

    This is frustrating because it’s something SO simple! Font color!

    #4968
    swaymedia
    Member

    I want to get the latest version, but I was wondering what would actually go wrong with it.

    I mean dont you just develope it further from 0.9 which was stable…. so.. it should be fine. i mean what could go wrong with it?

    wendel-brume
    Member

    It appears that the ‘deep integration’ between bbPress and WordPress will provide the basis for doing this, I’d need to be able to re-code the registration screen to make the ‘occupation’ field a required field. I also want it to be coded so it’s a dropdown list of choices that I determine.

    This issue is way huge for anyone wanting to monetize a website through advertising. Advertisers on the web want to know who your audience is before they will pay reasonable CPMs. I’m showing videos that will eventually incorporate ads, and I want the site to know how to identify a registered visitor so that the video ads can be targeted based on their self-identified occupation.

    I also need the forum to be incorporated into a WordPress page, the way I have a test of Simple:Press set up here:

    http://architecturecartoon.com/forum/

    Is there a relatively simple way to make bbPress look like that?

    #4956
    batesy
    Member

    Hey guys,

    I just installed bbpress at http://www.halifamous.com/staff for writers of a new blog to discuss ideas for the site. I am able to view the main forum page, and get into the admin section. The problem is that I’m getting a blank page any time I try to click through to the test post or into the ‘Introductions’ forum section I created. I also get a blank page when I try to access my user profile.

    I haven’t touched the code. Any idea why this might be happening?

    Thanks,

    Greg

    #72174
    _ck_
    Participant

    This is a quick and dirty security fix. Only tested on a basic level.

    This code is for the original, not detective’s mod which I will examine tomorrow unless Detective wants to apply the stuff below himself…

    replace around line 100 the entire function pm_new_message

    from:

    function pm_new_message( $id_receiver, $id_sender, $pmtitle, $message ){
    ...
    }

    to this:

    function pm_new_message( $id_receiver, $id_sender, $pmtitle, $message ){
    global $bbdb, $bb_table_prefix;

    $created_on = bb_current_time('mysql');
    $id_receiver = intval($id_receiver);
    $id_sender = intval($id_sender);

    $pmtitle=substr(strip_tags($pmtitle),0,64);
    remove_filter('pre_post', 'post_regulation');
    $message=substr($message,0,2048);
    $message=force_balance_tags($message);
    $message=apply_filters('pre_post',$message,0,0);
    $message=apply_filters('post_text',$message,0);

    $pmtitle=mysql_real_escape_string($pmtitle);
    $message=mysql_real_escape_string($message);

    $bbdb->query("INSERT INTO ".$bb_table_prefix."privatemessages
    (id_sender, id_receiver, pmtitle, message, created_on)
    VALUES
    ('$id_sender', '$id_receiver', '$pmtitle', '$message','$created_on')");
    }

    This patch should in theory make it virtually completely sanitized (but still not completely validated unfortunately) and has the added bonus that most other plugins that affect posts like bb-smilies, etc. should work inside PM’s

    #57552

    In reply to: bbpress wysiwyg status

    shinku
    Member

    I use the latest stable verson and doe not work for me. I think i finnaly i had to use the tinymce and have more secs loading it.

    #72241
    chrishajer
    Participant

    The latest stable bbPress (0.9.0.4) does not integrate nicely with WordPress 2.7.1.

    What does line 14 of wp-blog-header.php look like?

Viewing 25 results - 9,451 through 9,475 (of 11,591 total)
Skip to toolbar