Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

Viewing 25 results - 6,376 through 6,400 (of 6,773 total)
  • Author
    Search Results
  • #55098
    chrishajer
    Participant

    The bbPress forum is not really a part of the blog, it’s sort of next to it. With integration, you get login information shared between WP and bbPress, but you will need to do the CSS customization to a bbPress template to make it look like your blog.

    And yes, you can play all you want with the bbPress CSS, it won’t affect your blog at all. They’re totally separate files. I would making a new directory for your new template, so you can always revert to the default template if something goes wrong.

    If you search the forums, there are some people who have had a lot of success making their bbPress installation look like their blog.

    #60016
    neyoung
    Member

    I’ve got μ loaded through the config.php file. I’ll look into some of the μ functions and see what I can do.

    I don’t think that trk_addDefaultRole function is being called from bb_new_user at all. Is there a way I can test to see if it is?

    #60015
    fel64
    Member

    I don’t know why nothing would happen, but I’d advise you to use the API instead of a db query. If μ isn’t already loaded when you load bb, it might be good to load it when someone registers and use a μ function to set their role instead.

    #60014
    neyoung
    Member

    Sorry for the duplicate post, I think I was tired when I posted the other one and I’d sort of forgot about it.

    Anyways, I’ve been playing with the two bits of code and I think I’ve ‘almost’ got it working. If I execute Detectives query manually from the terminal it works, but for some reason when I put it all in a little plugin nothing happens. Is there a type-o or a noob error somewhere?

    `<?php

    /*

    Plugin Name: bbpress wpmu default role

    */

    function trk_addDefaultRole($user_id) {

    global $bbdb;

    $bbdb->query(“INSERT INTO wp_usermeta ( user_id, meta_key, meta_value ) VALUES ( ‘$user_id’, ‘wp_1_capabilities’, ‘a:1:{s:10:”subscriber”;b:1;}’ )”);

    }

    add_action(‘bb_new_user’, ‘trk_addDefaultRole’);

    ?>

    #60013
    Trent Adams
    Member

    I would imagine that since no one answered the first time, you won’t get much more on a duplicate type thread…..

    Trent

    #2246
    neyoung
    Member

    As everyone knows, if a user registers in bbpress instead of through wordpress(mu) that user doesn’t get a default role set.

    I’ve dug and dug on both the bbpress and wpmu forums and haven’t found a fix for this. I did find a fix that apparently works for wordpress, but I tried it for wordpress mu with no luck.

    The 4th post in this thread explains a way to set roles in wordpress mu.

    I imagine that a plugin with the combination of the two solutions would allow users to register through bbpress and get a default role on the main wordpress mu blog. But, unfortunately I have no clue what I’m doing. If anyone has a free minute or two to look at the bits of code and maybe hack something together that would be awesome.

    Oh, and I’m using the latest versions of both bbpress and wpmu.

    #2235
    neilogic
    Member

    Hi there, here’s my first attempt on BBpress , although I have been pretty good at making website’s with WordPress but this was my first attempt to have a forum’s at my very new blog.

    Here’s the link to my forums powered by BBpress.

    http://www.aguywitha.com/_main/forum

    I had a choice of integrating it with wordpress using the wordpress header and footer … but in my case i felt that designing a bbpress in itself like my wordpress theme was a bit easy for me as I was having some difficulties with integrating it with my blog interface … so I managed to make the default kakumei theme look my original wordpress blog theme … and integrate the users …

    Although there will always be small changes being made on the forums as this was the first time i went through the BBpress code and I just love the simplicity.

    Thanks a lot …

    #2227
    _ck_
    Participant

    I worked overnight to bring the My Views plugin up to date for public release. I am pleased to announce it now works with both 0.8.2.1 and the trunk!

    But it now goes way beyond that. Be sure to read the readme.txt

    http://bbpress.org/plugins/topic/67

    You can see a demo here: http://bbpress.nfshost.com/forums/view/most-views

    (My Views is a powerful addition to the default “views” in bbPress. It will let you customize output and adds several new views. My Views consists of a main plugin and several optional “module” plugins that can be added if desired for additional new views.)

    Appended bbPress Views by My Views:

    * Latest Discussions

    * Topics I’ve Started

    * Topics I’ve Participated In

    Extended bbPress Views by My Views if optional “bb Topic Views” plugin by Mike Wittmann is installed http://bbpress.org/plugins/topic/53

    * Topics with the most views

    * Topics with the least views

    Extended bbPress Views by My Views if optional “Plugin Browser for bbPress” plugin by Sam Bauers is installed http://bbpress.org/plugins/topic/57

    * Installed bbPress Plugins

    * Available bbPress Plugins

    and many little other tweaks to views including proper titles and headers as well as a dropdown views list box.

    #59863

    In reply to: bbMenu 1.2 released!

    Null
    Member

    Adding new links will be supported in version 2, for now you will have to do it using phpMyAdmin or using a plugin :)

    Excample plugin (not yet tested and the bbmenu plugin needs to be active/working):

    <?php
    /*
    Plugin Name: add bbMenu tab
    Plugin URI: http://www.bbportal.org/
    Description: Adds a tab to the bbMenu list
    Author: Maurice de Regt
    Author URI: http://www.mauricederegt.nl/
    Version: 1.0

    NOTES:
    - for xxxx use something normal like: "googletab" if you make a tab to the google.com page
    - for 'YOUR-TITLE': This will be the text you can edit, make sure it is between the 'tags'
    - for 'URL-OF-PAGE': This will be the page you'll go to when you click the menutab, make sure it's between the 'tags'
    - These added tabs WILL NOT stay highlighted when you are on that page. This requires some more complex stuff
    */

    // Check if the bbPortal menu tab exists
    function xxxx_check_tab() {
    global $bbdb;
    $bbdb->hide_errors();
    $bxxxx_tab = true;
    if (!$bbdb->query("SELECT * FROM ~$bbdb->menu~ WHERE ~location~ = 'xxxx-page'")) {
    return xxxx_add_tab();
    }
    $bbdb->show_errors();
    return $xxxx_tab;
    }

    // If it doesn't, install the menu tab
    function xxxx_add_tab() {
    global $bbdb;
    $query = "INSERT INTO ~$bbdb->menu~ VALUES
    (DEFAULT, 'YOUR-TITLE', 'inactive', 'URL-OF-PAGE', 'xxxx-page', 0);";

    $bbdb->query($query);
    }

    ?>

    NOTES:

    – for xxxx use something normal like: “googletab” if you make a tab to the google.com page

    – for ‘YOUR-TITLE’: This will be the text you can edit, make sure it is between the ‘tags’

    – for ‘URL-OF-PAGE’: This will be the page you’ll go to when you click the menutab, make sure it’s between the ‘tags’

    – These added tabs WILL NOT stay highlighted when you are on that page. This requires some more complex stuff

    REPLACE ALL ~ with backticks, since this forum filters them out

    #59817
    fel64
    Member

    If you’d be so kind as to take all that code out of your post and put it in http://pastebin.ca/ then link to it, that’d be nice. Also, bb doesn’t by default use bbCode. Code is delimited by ` backticks.

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

Viewing 25 results - 6,376 through 6,400 (of 6,773 total)
Skip to toolbar