Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

Viewing 25 results - 6,101 through 6,125 (of 6,788 total)
  • Author
    Search Results
  • #3823
    csseur3
    Member

    Holé,

    i want to add the possibilty to insert a player for play mp3 songs, with that: http://www.alsacreations.fr/dewplayer

    so, i have try this:

    <?php
    /*
    Plugin Name: bbPress MP3 Dewplayer

    Description: A simple way to add a mp3 player in posts, with bbcode.

    Author: Frédéric

    Author URI: http://bbpress.org/

    Version: 0.1
    */
    add_filter( 'bb_allowed_tags', 'allow_mp3_tag' );
    function allow_mp3_tag( $tags ) {$tags['mp3']; return $tags;}
    ?>

    to have a simply “mp3” bbcode (i use BBcode Buttons Toolbar and BBcode Lite).

    the html code for integrate the player is:

    <object type="application/x-shockwave-flash" data="dewplayer.swf?mp3={LOCATION OF MP3}&showtime=1" width="200" height="20"><param name="wmode" value="transparent" /><param name="movie" value="dewplayer.swf?mp3={LOCATION OF MP3}&showtime=1" /></object>

    but how to integrate that in php code of plugin?

    at the end, i want that the members can post that:

    [mp3]URL OF THE MP3 FILE[/mp3]

    so, i have add that in bbcode-buttons.js:

    function edClick(button) {

    switch (BBcodeButtons[button].id) {

    case 'ed_close': edCloseAllTags(button); break;

    case 'ed_link': edInsertLink(button); break;

    case 'ed_img': edInsertImage(button); break;
    case 'ed_mp3': edInsertMp3(button); break;

    default: edInsertTag(button); break;

    }

    }

    and

    function edInsertMp3() {

    var myValue = prompt('Enter the URL of the mp3 file', 'http://');

    if (myValue) {

    myValue = '[mp3]'+ myValue+'[/mp3]';

    edInsertContent(myValue);

    }

    }

    but this is incomplete, what add in the bbcode-lite.php and my file plugin?

    please help me to finish the plugin :p

    Bye

    #66953
    zappoman
    Member

    Ok, more of a clue here…

    It looks like the insert into term_taxonomy is failing during the upgrade process.

    it appears as if, bb_term_taxonomy has a ‘description’ field which is NOT NULL in the schema:

    // term_taxonomy
    $bb_queries['term_taxonomy'] = "CREATE TABLE IF NOT EXISTS $bbdb->term_taxonomy (
    term_taxonomy_id bigint(20) NOT NULL auto_increment,
    term_id bigint(20) NOT NULL default 0,
    taxonomy varchar(32) NOT NULL default '',
    description longtext NOT NULL,
    parent bigint(20) NOT NULL default 0,
    count bigint(20) NOT NULL default 0,
    PRIMARY KEY (term_taxonomy_id),
    UNIQUE KEY term_id_taxonomy (term_id, taxonomy)
    );";

    but the upgrade code…

    $bbdb->insert( $bbdb->term_taxonomy, array(
    'term_id' => $term_id,
    'taxonomy' => 'bb_topic_tag'
    ) );

    does not set a description, so this insert is failing.

    Not sure how this could be working for anyone else…

    Am I really the only one seeing this?

    #3798
    conspirewire
    Member

    I’ve installed wordpress and bbpress im using the plugin call register plus attached to the wordpress installation. both wordpress and bbpress are integrated but i cant get regsiter plus to integrate. It works with word press and clients can use there user name and password on bbpress… BUT…. when cleints try and register on bbpress it uses th default bbpress registration. can anyone help me redirect bbpress registration to the reister plus plugin?

    #66325

    Member lists just attract spammers in my experience, the only person who needs to be able to see all members are the admin team, and they already can.

    Please, *don’t* make a member list a default option, I like that BBPress is free from this kind of bloat.

    #66854
    holloway
    Member

    Well I fixed that, must have been a bug in the original skin. The issue is apparent on all skins- I’ve just reinstalled the default skin and set that as the current skin if you can have a look.

    I’m really at a loss as to what is causing it to cut off :s.

    #66872

    In reply to: Blank Screen

    chrishajer
    Participant

    If you’re getting a blank screen, it’s likely a 500 Internal Server Errror. If you have access to logs, you will see what caused it.

    Alternatively, you probably have an error in a file you edited. This error does not exist in the default installation. I would look carefully at any file you edited for syntax errors.

    Also, whatever you’re doing you’ve done twice since it happened both times. Look for the common file that you might have edited.

    If that does not work, contact me off-site at information linked to my profile.

    #66324
    thion
    Member

    I agree with _ck_ – the point behind bbPress is to make the easiest and simplest forum script ever – personaly, I see no need for members list, really. It’s not very useful on huge forums like WordPress support, and there’s no point for that on small forums where everyone know each other.

    #66323
    csseur3
    Member

    And I think you are missing the people who will say “oh, we need a plugin for just that! I can’t imagine the others! “

    I have already twenty plugins activated, some of which, as memberlist, which does not change of code (or very little) and they can be integrated safely by default.

    In place of a plugin, a checkbox in the options natives would be better, no?

    As WordPress 2.7 perhaps we should integrate the most simple and the most popular plugins by default, no?

    I thought about it to ensure the development of bbPress and enable it to compete with others. And if there is more interested users = more visitors for the sites of the plugins creators on their “donate” link lol: p

    Please, think at the question^ ^ or create a “plugin integration poll” :p

    Bug fixes are good. New features, too. :)

    #66286
    chrishajer
    Participant

    I just installed r1637 as a test. Installation went well. I can’t believe they added the search by default!

    I will test a little more and post issues to trac.

    #64020

    You can just change the register links in the wordpress template to point to the bbpress login and registration forms… that’s easy enough (you can even copy the login form code into the template directly and it seems to work).

    The problem is, how to get users back to the URL they came from after they login (by default they seem to get bounced to the forum home page instead)… any ideas?

    #66647
    chrishajer
    Participant

    So, http://www.addiva.net is OK, and later, when people type in http://www.addiva.net you will direct them to http://www.addiva.net/blog/home ?

    Sounds like a configuration issue in WordPress. There is an option to choose what is displayed on the front page (Settings > Reading). you can select your latest posts or a static page.

    Yes, the default address for the blog’s main page is index.php, and what is shown there is what I described changing above. Check those options and post back if it’s not what you expect to see based on what is configured.

    #66646
    keress
    Member

    Thanks so much for the reply.

    What I get at http://www.addiva.net is fine and what I expect. What I get at http://www.addiva.net/blog/home is the same and, once we get our htaccess file set up, will be what you get when you type in http://www.addiva.net. What we can no longer call up is the first page of the blog, the one that displays one or more recent posts, you know, the index for the actual blog section.

    I don’t know of any way to call it up in the control panel to check on what the permalink is supposed to be. What’s the default address for the blog’s main page supposed to be? Isn’t it supposed to be http://www.addiva.net/blog/index.php? If I type that in I just get the main page of the site. .

    As I said before, it was all working fine until I made an initial attempt to integrate our new bbpress installation with wordperss, didn’t get it to work and tried to backtrack what I’d done to try again another day. I’m trying to figure out what files might have been affected during this process.

    #66663

    In reply to: Search???

    _ck_
    Participant

    Unfortunately by some oversight, there is no directly link to the search feature on the default bbPress 0.9 templates (this is fixed in the next version – perhaps too prominently given how weak the built-in search is in bbPress).

    You can make a link to search.php yourself in the header.php or footer.php to have it on all pages.

    <a href="<?php bb_option('uri'); ?>search.php">Search</a>

    Or you can make a mini-form that passes the field “search”

    <form action="<?php bb_option('uri'); ?>search.php" method="get">
    <input name="search" id="search"></form>

    #55406
    djuggler
    Member

    I just now got this working! The solution is posted at https://bbpress.org/forums/topic/dropping-multiviews-support#post-16050

    Quite simply, turn 1and1 hosting has MultiViews on by default and it must be turned off in .htaccess with:

    Options -MultiViews

    Then add the /bb-admin/rewrite-rules.php mod_rewrite AFTER the Options -MultiViews.

    That was too simple to take this long to resolve.

    #66597
    _ck_
    Participant

    bb_location is not called by default but still is typically used on every page. It’s easier to track the request_uri and store it with the title (formal name) of the page since bb_location does not track all pages (ie. edit and topic pages are the same, all views are the same, etc). My User Track plugin does this but it’s not available to the public yet.

    bbPress does not use sessions by default (because they slow the system). But there is no need to use them, you can assume after 30 minutes since the last page load the user has left the site. Most tracking plugins work like that.

    update: here you go:

    https://bbpress.org/plugins/topic/mini-track/

    #66416
    _ck_
    Participant

    Oh shoot, you are correct, I allowed them in the end by default. I might remove that.

    update: oh wait, BMP is only allowed for admin, no one else has that allowance – so it’s not an issue, I forgot I did that. The reason you got “denied mime” is because it’s a bug where I didn’t add “image/bmp” to the allowed mime types for admin. I’ve reposted 0.1.9 with that fixed.

    But that’s a strange error I need to explore on the png. Apparently “Error Occurred While Processing Request” is a mysql error? Interesting.

    Did the filename have any strange characters? Quotes? Apostrophies? Unicode?

    #66414
    _ck_
    Participant

    BMP is not an allowed mime by default because they tend to be huge and uncompressed. You can force it to be allowed though by adding it to the mime (and extension types).

    This bug bothers me though, if you can give me steps to reproduce it that would be very helpful:

    [png] Error_Occurred_While_Processing_Request.png (17.7 KB, 0 downloads) [x]

    Did it happen when you uploaded a PNG and a BMP at the same time?

    #66587
    chrishajer
    Participant

    You only need to share databases to have integrated user logins. If you just installed WordPress, it’s probably 2.6, which is not compatible with bbPress at the moment, so you do not want to attempt this right now anyway.

    The difference is, when you share a database, is that bbPress will use the wp_user and wp_user_meta tables for it’s users, rather than creating bb_user and bb_user_meta tables.

    If you don’t care about logging in in bbPress and being logged in in WordPress, and vice versa, then you don’t need to shared the tables.

    If you don’t do an integrated installation (sharing of the wp_users and wp_user_meta tables), then you can just use a different table prefix (by default WordPress uses wp_ and bbPress uses bb_) in the same database and not worry about a thing.

    This is the best documentation I know of:

    https://bbpress.org/documentation/integration-with-wordpress/

    #66545
    _ck_
    Participant

    I think you asked this on the IRC channel but I will also answer here to help others.

    PHP is not processed in style.css (unless you force your server to, and that’s not recommended)

    However you can edit your theme’s header.php and create an additional “inline” stylesheet like so:

    <style>
    body {background: url("<?php echo $_SERVER['REQUEST_URI']; ?>/wp-content/themes/default/images/background.gif") repeat-x top;}
    </style>
    </head>

    (note that </head> at the end, it’s meant to indicate you should put that code at the end of the <head></head> section)

    Also, more importantly, $_SERVER['REQUEST_URI'] is not going to be the variable you want. Probably more like $_SERVER['DOCUMENT_ROOT'] and you’ll have to add the path to wordpress too.

    #3727
    csseur3
    Member

    Hello,

    i want to add in my css an image of the /wp-content folder of my blog, like:

    background: url(“<?php $_SERVER ?>/wp-content/themes/default/images/background.gif”) repeat-x top;

    but doesn’t work. why ?

    bye,

    Fred

    #66531
    csseur3
    Member

    i think the doctype of default skin is bad,

    i use: <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”&gt; and i have no errors and no warnings :)

    ++

    #3719
    csseur3
    Member

    I think the default theme have a problem:

    Conflict between Mime Type and Document Type

    The document is being served with the text/html Mime Type which is not a registered media type for the XHTML 1.1 Document Type. The recommended media type for this document is: application/xhtml+xml

    This is the error when i try to validate it for the w3c validator.

    Why?

    Fred

    #66445
    chrishajer
    Participant

    https is *not* the default protocol when installing bbPress. What gives you the idea that it is? Was a field pre-filled with a https:// value? Did you navigate to the installer from an https page? Or is the link to bbPress coming from an https page?

    Just change it to http:// unless you have an SSL certificate and require the security.

    Oops – edited after _ck_’s message below.

    #3698
    RossB
    Member

    I have a navigation button on my website linking to a bbPress forum, which works fine in IE, but won’t work in Firefox. Apparently it is a security issue.

    My host Support has advised that changing the bbPress URL from https protocol to http will resolve the issue, but I’m wondering why https is the default protocol when you install bbPress?

    I am aware that https ensures security for exchange of credit card info etc, but in the case of my forum, there won’t be any such security issues as far as I know. The forum is just a place for students to post research proposals and the like, and feedback to each other, and for their lecturers to do likewise.

    Does anyone know, please, if there is any reason I should NOT change the forum URL from https to http?

    #66015
    _ck_
    Participant

    Hmm, is this the default in WordPress? define('COOKIEHASH', md5($_SERVER[HTTP_HOST]));

    does that actually appear in wp-config.php by default? Because that would override the cookiehash calculation. Make sure then you have this in your bb-config.php

    define('BB_HASH',md5($_SERVER[HTTP_HOST]));

    also, since you are trying to do “full” (complex) integration. You may want to see here for more ideas: http://www.adityanaik.com/integratepress-part-i/

Viewing 25 results - 6,101 through 6,125 (of 6,788 total)
Skip to toolbar