Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 30,376 through 30,400 (of 32,489 total)
  • Author
    Search Results
  • #55703
    AphelionZ
    Participant

    Thanks. Yeah I hear where you’re coming from, TinyMCE slows my site down a bit and im having trouble with blockquotes, but you can slim it down and make it tiny, so i’ll stick with it for now… ive already started copying over all my emotions into it :)

    #55559

    In reply to: Hooks & Filters Docu

    fel64
    Member

    so here it is http://bbpulp.org

    Fantastic!

    What’s the pulp thing about, though? :P

    #55702
    Null
    Member

    Like fckEditor…

    But to be honest, these scripts are too big for bbPress. bbPress only supports a blockquote br code em strong ul ol li and not colors, images, tables, font types etc.

    I am thinking of writing a wysiwyg editor that only supports these standard markups and when an extention/plugin is installed (smilies, images) it will support these too. And it will be skinable ofcourse to match the theme installed.

    But I am a busy man, so this will not happen anytime soon :(

    #56377

    In reply to: Plugin: bbMenu 1.1

    Null
    Member

    @ box87, can you give me/sent me what you have changed and where? This error also seems to effect people that use php 5+, so if your changes fixes these errors, I realy would like to have them :D (mauricederegt[at]gmail.com)

    About adding menutabs (not pages); it will be in the next release. You can create new tabs in the admin area and drag&drop them around. Only downside is that the tabs won’t be highlighted when you are on the page where the new tab points too. This has to do with the bb_location and knowing-on-what-page-you-are issue (is_pagename) .

    It already is possible to automaticly add a menu tab to your list when activating a plugin that has a page on its own (like the memberlist plugin). But I need to do some more testing for this and documentation of how to do this will proberly be released when bbPress 1.0 (with plugin activation) is released (cause the way this works can be changed)…

    Also I am thinking of rewriting this plugin after the bbPress 1.0 release to use jQuery. 1.0 uses this libary, so why not make use of this and reduce the extra files needed to drag&drop the tabs around :D

    Well for now, send me your fix so I can put it in the next release. Big things are ahead!

    #57117

    In reply to: BBLD problem

    archasek
    Member

    finally, i added this code to my script and it works perfectly. line 238:

    else {
    get_currentuserinfo();
    global $user_ID, $user_identity;

    if ( $user_ID ) {
    echo '<li>&raquo; <a href="' . get_option('wpbb_path') . '/topic.php?id=' . $bbtopic->topic_id . '&page&replies=' . '">' . __("$title_text") . '</a>';
    }
    else {
    echo '<li>&raquo; <a href="' . get_option('wpbb_path') . '/topic.php?id=' . $bbtopic->topic_id . '&page' . '">' . __("$title_text") . '</a>';
    }

    hope that’ll help anybody.

    #55555

    In reply to: Hooks & Filters Docu

    Sam Bauers
    Participant

    I think you started with looking at the wrong plugin.

    I’ve got the code here if you want it, if you want a challenge, then *don’t* read on…:

    <?php
    /*
    Plugin Name: Disable registration
    Plugin URI:
    Description: Disables registration
    Author: Sam Bauers
    Version: 0.0.1
    Author URI:
    */

    add_action('bb_init', 'disable_registration');

    function disable_registration() {
    global $bb;
    if ($_SERVER['PHP_SELF'] == $bb->path . 'register.php') {
    bb_die(__('Registration is temporarily disabled for this forum.'));
    }
    }
    ?>

    Make a new file from this code and drop it into your plugins folder. You may need to add some values in the header part to allow it to be registered in the admin area.

    #57132
    benbeltran
    Member

    @detrom: Claro, en que necesitas ayuda?

    @fel64:

    #thread li {
    padding: 1.5em 1.0em;
    display: block;
    }

    :) that’s about it…

    #57140
    chrishajer
    Participant

    Can you make sure you can still send email from your server? If you have ssh/command line access, you can try this:

    php -r 'mail( 'you@yourdomain.com', "subject: test", "message: test", 'From: you@yourdomain.com');'

    If you have FTP access, put this into a file called mailer.php (or whatever.php you want) and then navigate to it with a browser”

    <html>
    <body>
    <?php
    mail( 'you@yourdomain.com', "subject: test", "message: test", 'From: you@yourdomain.com');
    echo "Mail should have been sent, check your inbox";
    ?>
    </body>
    </html>

    Once you know if you can send email from your server, you can move forward.

    #55551

    In reply to: Hooks & Filters Docu

    Sam Bauers
    Participant

    > I love it :D

    So do I, so here it is http://bbpulp.org

    Registration required to contribute.

    All articles to be submitted under the GPL Free Documentation License.

    #57176

    In reply to: Display Username

    fel64
    Member

    <?php echo bb_get_current_user_info( 'name' ); ?>

    Drop that into HTML wherever you want it. :)

    The default theme puts a “Welcome, USER! View your profile (Log out)” at the top left of every page, right where the login box would be otherwise.

    Edit: strange, is the overflow: hidden property gone again?

    #56878

    In reply to: Outlet

    AphelionZ
    Participant

    I just added the TinyMCE editor to my site. Does anybody know a solution to the wierd indentation stuff it does with the <blockquote> tags?

    #56232
    yujin
    Member

    Hi, Felix.

    I also got Redirect Loop error. bbPress keeps redirecting me to the same tag page as it compares decoded actual uri string and non-decoded should-be string.

    $bb->debug = 1 will show the actual- and should-be- request URLs for the tag page, instead of redirecting former to the latter.

    This trouble is issued as a difect at https://trac.bbpress.org/ticket/585 , which I may have mixed up.

    #57137
    Null
    Member

    Nice, love the design, shame bbpress.nl is already taken :(

    #56376

    In reply to: Plugin: bbMenu 1.1

    M
    Member

    The error is caused by using mysql_query instead of the ezSQL syntax, $bbdb->get_results(). The error shows up several times… I don’t know how Null got bbMenu working, unless he has a mysql_connect somewhere. I had to change 4 or so lines to get this thing functional.

    Null, are you going to add an easy way to add pages? Using phpMyAdmin is cool and all, but it’s just not smooth at all.

    #57131
    fel64
    Member

    I’m quite interested in how you did it, but I don’t see display:block property on your .threadpost anymore? :/

    Yeah I think that’s the same thing, I was making it too complicated. :)

    #57093

    In reply to: Code backtick bug

    Arlo
    Member

    What I mean is, when I wrap text in backticks, it actually converts it to <pre><code> and removes the contents, replacing it with a random character, like an “n” or whatever.

    I want to be able to just use backticks for code, but I can’t. That’s the problem.

    Edit: Here’s an example. I created a post that looks like this (swapping a backtick for “[backtick]” so it won’t get eaten:

    [backtick]test[backtick]

    What it spit out is this (swapping parens for brackets so it wont get eaten):

    (pre)(code)s`

    (/code) `

    #57129
    benbeltran
    Member

    yeah, it was a workaround before … i don’t think it matters much anymore since i changed .threadpost to display:block so it stretches all the way instead of depending on line-height.

    :)

    and about the badges plug-in … i’m not sure what you mean (sorry, i’m very new to bbpress so i still don’t know my way around that much). I changed the profile/admin keys on functions.php :(

    #57092

    In reply to: Code backtick bug

    fel64
    Member

    What do you mean? Backticks wraps text in bothpre and code tags?

    Not sure of the effects of code in standard XHTML, could be styled pretty easily … but perhaps it’s just easiest to use both pre and code?

    #1767
    Arlo
    Member

    If I post code with the <code> tag it works fine, but if I use the backticks, ” ` “, it munges the code like this:

    <pre><code> [garbage] </code></pre>

    Oddly, if I go in and edit a post having used the “code” tag, it changes them to backticks.

    Ideas?

    #56231
    fel64
    Member

    Thanks for posting a solution!

    What does bb->debug do? What was the error you got?

    #57128
    fel64
    Member

    It looks very nice :) Does the badge plugin work via the usermeta table?

    I see you also took the approach of min-height to make your posts large enough for the avatar and userdetails on the side. I do that too, but it bothers me slightly; I’d rather have something properly fluid – can’t figure out a way of doing it without tables or tag soup though. :(

    By the way, if you put the min-height property on .threadpost rather than on .post it will also take the signature into account, which might make quite a difference.

    #1781
    benbeltran
    Member

    These forums use the Spanish Translation and some extra language tweaks i added on my own …

    Forums for Temporada de Patos

    the plugins i use are:

    Allow Images

    Avatar Upload

    BB-Emoticons

    BB-Ratings

    BB-Signature

    Front Page Topics

    Indicate New Posts

    Page Links for bbPress

    Post Count

    Private Message

    Quicktags 4 bbPress

    Quote

    Simple Online List

    And a Custom BB-Badge Plug-in i made :)

    The skin is an edit of the original bbpress theme, i made it to fit the main site (a WordPress blog). The icons are from the Tango Project.

    The most noticeable changes in the layout are on the forum displays (front page and the one for each forum) and the profile.

    :)

    #56230
    yujin
    Member

    Hi, same problem here in Japan (no wonder;-p)

    The error is caused by a function bb_repermalink() in bb-includes/functions.php, which redirects the request to the correct permalink. You will see what is happening by setting the debug flag in your config file and access the tag page which causes the error

    config.php

    $bb->debug = 1;

    Must be lacking utf8_uri_encode() somewher. I tried adding this right before the evaluation part at the bottom of the function and it seems to be working so far.

    $domain = bb_get_option('domain');
    $domain = preg_replace('/^https?/', '', $domain);
    $check = preg_replace( '|^.*' . trim($domain, ' /' ) . '|', '', $permalink, 1 );
    $check = utf8_uri_encode($check); // add this line

    Well, I don’t really understand the structure of the bbPress source code so the solution here is something very opportunistic and may cause a side-effect.

    #52907
    citizenkeith
    Participant

    Hi spencerp! :)

    I am not using WP, so the integration is taking place between MW and BB only. BB was already installed, and I have 26 users. Integration took place *after* I installed MW in the same database as BB.

    #52905
    citizenkeith
    Participant

    Here’s what I’ve done so far:

    Installed Mediawiki. Put Authpress in the extensions folder. Added code to LocalSettings.php. In that file, I tried both with and without these lines, uncommented and with my database information:

    # Only include the following if you aren't using the same db as MediaWiki
    $wgAuth->setAuthPressDBServer ('FIXME');
    $wgAuth->setAuthPressDBName('FIXME');
    $wgAuth->setAuthPressUser('FIXME');
    $wgAuth->setAuthPressPassword('FIXME');

    I added false, 0, as described here:

    http://comox.textdrive.com/pipermail/wiki-tech/2005-August/000028.html

    I’ve tried every combination, but MediaWiki still looks for the table mw_bb_users instead of bb_users.

    My only option is to re-install MediaWiki without the table prefix, but I’d prefer to avoid that.

Viewing 25 results - 30,376 through 30,400 (of 32,489 total)
Skip to toolbar