Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '+.+default+.+'

Viewing 25 results - 6,401 through 6,425 (of 6,788 total)
  • Author
    Search Results
  • #2217
    _ck_
    Participant

    Is there a way via config.php or similar to override the local path? I thought it was BBPATH but I tried forcing that to something different and it’s not working, it’s still looking at the old path for the templates?

    UPDATE: ah, I see the problem now. Even if you are using the default template, if you have changed your template and then changed it back to default, bbpress rememebers it as a custom template selection, not the default

    so in template-functions.php ~line 17

    if ( file_exists( bb_get_active_theme_folder() . $file) ) {

    it thinks there is a custom theme and tries to load it’s known path stored in the db, rather than looking at BBPATH

    For now I just deleted “bb_active_theme” from the topic meta table and it reverted to the default path off BBPATH, yay!

    A minor bug I can put into trac.

    #58456
    _ck_
    Participant

    If you can get to “/forums/bb-admin/” (replace forums with whatever you called it) it might be your cookies.

    You need to make sure your cookies are all pointing to the root of your website for both bbpress and wordpress. By default they are not so it’s probably preventing login?

    See here:

    https://bbpress.org/forums/topic/wordpressbbpress-single-sign-on?replies=22#post-9010

    and

    https://bbpress.org/forums/topic/cookie-integration-for-wordpress?replies=3#post-6496

    and a few other threads if you search for “cookies”

    #56752

    In reply to: Plugin: Avatar Upload

    patrace
    Member

    My default avatars don’t seem to be working anymore (just upgraded from .3) I get image html in my posts that looks something like this:

    <img src=”http://forums.lrcd.com/avatars/&#8221; width=”maasman” height=”” alt=”” />

    Shouldn’t it be displaying some default.png action? Maybe I missed a file, I’ll try reinstalling.

    Also, The missing files in the ZIP took a while to figure out, you might want to add something to the readme about that if they can’t fix the bug soon.

    #2185
    _ck_
    Participant

    I decided last night after seeing some bug reports from people testing my plugins that I needed a more conventional bbpress install that I could test my plugins as well as other people’s.

    So I started this little site:

    http://bbpress.nfshost.com/forums/

    I purposedly used low end (slow) hosting since my other sites are on high end setups. This way I can get a feel if anything is slowing bbpress down.

    On the site you can preview my

    bbPress Signatures and bbPress Polls plugins

    by making a test account.

    I’ve also activated “My Views” (which only works on 0.8.2.x for now)

    The goal was to stay as close to bbpress’s default template as possible but after a few hours the bright white was burning my eyes so I had to tone it down. I’ll probably have to revisit that and work on the colours a bit, it’s far too flat right now, sorry.

    Since this host has no web compression options, I’ll be releasing another mini plugin today after some more testing: bbpress gzip. It will let you compress bbpress pages via php and save on bandwidth, even if your host doesn’t have mod_gzip or other options available.

    #52684
    ganzua
    Member

    “I only used a table to match what is already being used on that page by default and there may be future structures that need a table.”

    Yep, I guessed so

    “The svn doesn’t seem to be updating the versions on the extend page here so here’s a direct version:

    http://ckon.wordpress.com/files/2007/08/bb-signatures.txt?v

    I’m going to give it a try right now

    #59778

    In reply to: plugin: bb-Polls

    _ck_
    Participant

    That’s the default bbpress template right?

    I have a very similar setup but not seeing any of that.

    Can anyone else report on this issue?

    0.22 will be out shortly, I have ajax voting done.

    Gotta fix how it calculates totals for multiple answer votes.

    #52683
    _ck_
    Participant

    I only used a table to match what is already being used on that page by default and there may be future structures that need a table.

    The svn doesn’t seem to be updating the versions on the extend page here so here’s a direct version:

    http://ckon.wordpress.com/files/2007/08/bb-signatures.txt?v011

    #59761

    In reply to: plugin: bb-Polls

    _ck_
    Participant

    Okay point taken.

    Like I said earlier, I will give them several default styles to choose from the admin page (basically the top 10 that other people come up with). It’s too tedious to just change each bar colour. Someone can make a style where they all are the same colour or alternating row colours.

    #59758

    In reply to: plugin: bb-Polls

    _ck_
    Participant

    The CSS is fully editable for the bar colours. You can even make the bars fancy images if you so desire.

    I guess I am going to have to make a proof-of-concept to show people that it doesn’t have to look anything like my default. I can even make it look like polldaddy.

    ps. @fel64 v0.17 now tricks bbpress in keeping the poll data completely unserialized until the plugin actually needs it (easy fix). It still has bbpress cache the data with the topic for fast loads. What’s nice about this is the topic title “[poll]” can still tell if the topic has a poll by just checking for the object without deserializing it (ie. $topic->poll_options) – oh it’s also completely compatible with any currently saved poll data and can deal with it already being unserialized, it just fixes it on the next vote

    #59739

    In reply to: plugin: bb-Polls

    _ck_
    Participant

    I highly doubt most bbpress installers will continue to use the default template longer than a week or two. It’s a very sterile 1990’s computer room look, green/white, wide & empty. Ugh.

    Reminds me of that old school continuous computer paper:

    http://www.jwodcatalog.com/imgLg/753000NIB0342.jpg

    I can’t wait until bbpress gets some critical mass of users so we have all those thousands of creative wordpress folks slaving away on themes.


    On a programming note, I’ve got to figure out how to trash the post data that’s sent so when doing a refresh after voting the browser doesn’t nag the member that the post data will be resent (it won’t affect the poll stats if it does but still I don’t want that post data there). Probably have to do a redirect after submit which is a shame as it has to load bbpress twice then.

    #59738

    In reply to: plugin: bb-Polls

    Null
    Member

    Hmm kee, though I should release this plugin (when done) based on the default template (most are using that) :)

    #59737

    In reply to: plugin: bb-Polls

    _ck_
    Participant

    Like I said, everyone can edit the CSS and impress me.

    We can take the top styles and I can allow admin to change the styles from a selection of defaults.

    The polls look *completely* different on my own forums, absolutely nothing like the default styles, even my topic metadata area is 100% different.

    #59735

    In reply to: plugin: bb-Polls

    _ck_
    Participant

    Ah I see.

    Well everyone can work on making it pretty – it’s very easy to do and I’ve laid it out fairly cleanly (css at the top).

    As far as ajax, this will be my learning project, I only know the basics. But I have a strange style in that I like simple = better, so I’ll have to do some research. I also want to use the default bbpress javascript libraries unless I can do it somehow without dependencies.

    Fortunately I have an idea on how to do it. Don’t hold your breath though, might be a couple weeks or more.

    #59727

    In reply to: plugin: bb-Polls

    mazdakam
    Member

    You should really change the default colors to something compatible with bbPress… it’s easy to change them, but still.

    i agree with i! vey bad color :(

    #59726

    In reply to: plugin: bb-Polls

    _ck_
    Participant

    Yeah I don’t have the default template running anywhere to configure it, lol!

    Working right now but will build a test account and do a trunk install tonight so I will be able to change it.

    If you have better css, please post.

    #59725

    In reply to: plugin: bb-Polls

    howtogeek
    Member

    It works!

    You should really change the default colors to something compatible with bbPress… it’s easy to change them, but still.

    Very good work otherwise… I’ll play with it some more.

    #59723

    In reply to: plugin: bb-Polls

    _ck_
    Participant

    v0.13 adds better level control and a few other tweaks

    note that default settings are now set to everyone can view, any member can vote, only moderator+ can add

    (you can edit these of course, but just a caution)

    http://ckon.wordpress.com/files/2007/08/bb-polls.txt?v013

    #59722

    In reply to: plugin: bb-Polls

    _ck_
    Participant

    Make sure you are using v0.11 and then post a new test topic.

    The default setting is polls can be added to topics no more than three hours old (adjustable).

    You must be logged in as a moderator or higher to see the poll options or poll results for the beta. This is to prevent other members from seeing your testing & configuring.

    #2206

    Topic: plugin: bb-Polls

    in forum Plugins
    _ck_
    Participant

    I am pleased to announce a new bbPress Polls plugin.

    Your members can now add polls to their topics, or optionally you can allow *anyone* to add a poll to *any* topic, within a specified time period (hours) since the topic was started.

    bb-Polls allows single answer or multiple answer polls.

    No template edits of any kind.

    There are no additional db tables added, it uses bbpress topicmeta only. Only one entry is created per poll, regardless of size or options (this allow very easy cleanup if desired for some reason).

    This is a *very* early beta, however should be functional except for:

    1. missing admin menu (coming soon – edit plugin directly)

    2. missing administrative editing of existing polls.

    3. missing some visual tweaks (plural case, etc.)

    4. missing some more deluxe options (poll ending time, etc.)

    5. missing multi-language support (coming soon)

    If you can live with these limits and would like to help test and give me some useful, constructive feedback, please download:

    http://ckon.wordpress.com/files/2007/08/bb-polls.txt?v010

    (rename .txt to .php, install, activate, start a new test topic)

    The beta is set so only moderators and above can create/see the polls. This will allow you to test without disturbing visitors.

    Please note the visual styles may be WAY off for the default template or your own template. Unfortunately I am using a very customised template. You’ll probably have to edit the built in css which is kept clearly at the top. (the default styles will be fixed soon when I get a chance to do a trunk install this week)

    Upcoming features include the ability to display all polls and the ability to display a poll anywhere within bbpress templates.

    ps. I need to know if this works as in in the trunk version – I don’t see why it wouldn’t but you never know…

    _ck_
    Participant

    The front page topics plugin was driving me crazy because I really did want to have a different number of topics for the front page, forum pages, view pages, while leaving the posts per topic page alone and not have to hack the core.

    But there is a huge flaw in the fundamental design in that if you force bbpress to see a different number of topics-per-page, it will calculate the last post page entirely wrong, based on the page IT’S ON, vs the destination page.

    ie. front page set to 50 topics, posts-per-topic-page set to 25, last post is #30 on the page -> bbpress will calculate the page number for the last post as PAGE ONE off the front page, because that’s what the topic count is set to for the front page.

    This got me really annoyed so I researched the heck out of it and figured out this trick – it’s nasty but works (for 8.2.1 at least).

    so in config.php you’ve got

    // The number of topics that show on each page.
    $bb->page_topics = 20;

    now you can make a plugin with this, edit each page limit to your heart’s desire (anything without a $limit defined uses the config.php default)

    function custom_topic_limit($limit) {
    switch (bb_get_location()) :
    case 'front-page': $limit=45; break;
    case 'forum-page': $limit=35; break;
    case 'tag-page': break;
    case 'topic-page': break;
    case 'feed-page': break;
    case 'search-page': break;
    case 'profile-page': break;
    case 'favorites-page': break;
    case 'view-page': $limit=50; break;
    case 'stats-page': $limit=50; break;
    case 'login-page': break;
    default: $limit=20;
    endswitch;
    return $limit;
    }
    add_action( 'bb_get_option_page_topics', 'custom_topic_limit' );

    function fix_post_link ($link,$post_id) {
    remove_action( 'bb_get_option_page_topics', 'custom_topic_limit' );
    $bb_post = bb_get_post( get_post_id( $post_id ) );
    $page = get_page_number( $bb_post->post_position );
    return get_topic_link( $bb_post->topic_id, $page ) . "#post-$bb_post->post_id";
    }
    add_filter( 'get_post_link','fix_post_link',10, 2);

    The magic is in fix_post_link where it trashes whatever incorrect calculation that “get_post_link” has now done because of custom topic limits, and relculates it after unhooking the custom_topic_limit.

    No core hacks required!

    #59657

    In reply to: Caching in bbPress?

    _ck_
    Participant

    Oh I didn’t realize xcache is just an opcode cache. I already use eaccelerator which seems to have zero quirks compared to other solutions. But yeah, any opcode cache for wordpress/bbpress is a must for any active site.

    I already create the sidebar statically across my sites, saves a lot of work and repetition on the db.

    the wp-cache “plugin” has flaws in it’s logic. I noticed that unregistered visitors were getting edit links on posts, not good, even if they couldn’t actually edit. Then it has an exclude feature to keep certain parts dynamic, but you can’t have wordpress calls in those dynamic parts because wordpress isn’t actually loaded, which is the whole point. so it won’t work and gives error (#1 confusion to most people trying to use it)

    In the end, I hacked wp-cache to only cache the RSS feeds which were causing the most requests, yet the most static of all the content. Caching rss feeds on bbpress should be an easy, useful thing too, but then on a forum I highly doubt the use of rss feeds on anything but the latest discussions.

    What really worries me about the 0.84 release is the xml-rpc pingbacks. bbpress is going to become known as the spammers forum of choice with a bad rep, until novices are given an easy option to turn it off, or better yet it’s off by default. I cannot disagree more highly with the entire feature idea. It defeats the entire purpose of a forum. What they are trying to do is have a universal way to cross post across forums but the whole point of a forum is *community* and getting people to actually visit, not stay away.

    What they really should do instead of pingbacks if they want easy cross communication, is have a universal login based on a database at wordpress.com – Basically anyone with a wordpress account could visit your wordpress or bbpress site and instantly post if they wanted as “wp.membername” without having to register again and again. Sure there are security issues to be tackled but it’s better than anonymous spam heaven on pingbacks. Akismet won’t protect pingbacks, I see spam in my wordpress.com account every week.

    #58110

    In reply to: bbSync

    crowspeaker
    Member

    fel,

    It did in fact create a f00_capabilities entry.

    Also, when posting, it seems to post only the title, not any of the post at all (even if full post is the default).

    #58107

    In reply to: bbSync

    crowspeaker
    Member

    fel,

    I posted this on the plugin in page as well:

    The upgrade did not fix my problem. Trying to post with default forum left blank failed to create a post in BBpress. Posting with a default forum would post only to that forum (no override on the writing page). User_meta with the key capabilities still being created.

    Sorry.

    #59584
    _ck_
    Participant

    I’m now getting a median response time of about 0.125 seconds for 8 queries on the top page and 0.205 seconds for 12 queries on a topic page.

    That’s like night and day compared to what you had before. It was taking almost a full second in some cases, look at the bottom source of the static.html !!!

    Now can you believe most shared hosting environments have mysql cache turned off by default!!! Even your VPS neighbours may have it turned off which is causing high disk load that’s affecting you. This is where all those who claim how VPS is superiour are wrong. Disk access is the achilles heel of VPS (and shared hosting).

    Next performance improvement you can do is install eaccelerator. Though it’s nowhere near as easy as editing mysql and restarting services.

    Do you know how much guaranteed ram you have on your vps? Because the mysql and eacellerator cache will eat into that. If you have less that 128mb it will limit the sheer number of simultaneous connections you can have. Though for your needs I don’t think it’s a big deal unless all the search engines start scanning you at once.

    ps. don’t worry any more about mysql tuning and phpmyadmin status reports, it’s really all you can do for now – the rest is a limit of how wordpress/bbpress works and can’t be avoided

    pps. most of your pages are now coming up in 1.5 seconds for me when they were taking up to 6 seconds before – there are still some weird delays sometimes though which must be OS loads

    #52662
    _ck_
    Participant

    Dumb question: What should I add to post.php?

    Nothing. My version of this plugin requires absolutely no template or core edits. It’s why I made it ;-)

    It’s optional to put the style in your style.css to prevent an extra stylesheet but that’s trivial and not necessary.

    Note that I’ve turned on the default options of “one signature per user per page” and “only moderators and above can have signatures”. You can edit this in the plugin (change “moderate” to “participate”)

    There are still many, many things not checked in this, like they could trick it to post 100 lines in a signature or use a HUGE image if you have “allow images” installed. This for now comes down to moderators doing their job.

Viewing 25 results - 6,401 through 6,425 (of 6,788 total)
Skip to toolbar