Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 26,976 through 27,000 (of 32,481 total)
  • Author
    Search Results
  • #67299

    In reply to: Is BBPress Any Good?

    _ck_
    Participant

    bbPress is also very young so expectations should not be as high as WordPress (ie. robust plugin library). It’s about equal to WordPress back in 2003. While it benefits from code development on WordPress, it’s still 5 years younger.

    But writing plugins for bbPress is as easy for WordPress (and in some cases easier because of improvements over WordPress’s legacy design). I’m definitely an example of this as I had never written a full PHP program or plugin of any kind before my bbPress plugins.

    #3919
    meitershaker
    Member

    Hi,

    like phpBB, i think it is interesting to open a wiki (with dokuwiki? :) )

    why? because for example, i have many ideas of plugins, but the documentation is too small for i can understand how to do that :/

    so, it is possible or not? :p

    please please please :p

    #67296

    In reply to: Is BBPress Any Good?

    thion
    Member

    For me it’s clear – bbPress puts user first, but it sucks without developer – I’m talking about board developer, not script developers ;). Someone need to set up forum first, and he is using this great engine-core as I’m calling it with additional plugins he need – if one is creating forum for php coders, then he don’t need bbcode or any form of editor, as users will know stuff. This forum for example don’t need editor because its target is people who are developing using bbPress.

    For me, it’s a library of functions ready to set up a great, huge and fast forum – if you want a board like “set up and forget about it” then go and use phpbb3 – huge, slow with thousands of useless options. But if you’re a developer, then there’s nothing better than bbPress for you.

    #67295

    In reply to: Is BBPress Any Good?

    lstelie
    Member

    Hello,

    Notice : there is no pun intended in what follow, no troll intended, no critic, no aggressive talk and so on.

    Pat1953 question is an interesting one, a question that I asked to myself sometimes.

    The « problem » with BBpress is that for an average user (perhaps it’s different for developers) there is no clear direction about where the software is going.

    I was very early WP user (and I’m still a very happy WP user) so when BBPress appears a lot of years (in internet time) ago, i tried it.

    Then I used several other package more polished, more feature packed and so on.

    I came back to BBPress learning that Automattic was founded hopping this could mean a strong development for the forum software and hopefully a real integration with WP.

    What is strange with BBPress is that despite it’s a rather old forum software, it is still (from a user perspective) far behind scripts that are developped by a single guy (for example in the WP world, Simple :Press is far more sophisticated and integrated) and it has a very strange way of describing it self.

    For example reading The Philisophy it’s written “Put the user first”… despite the fact BBpress is now probably the only forum script without any editor (even a BB code functionality requires a third part plug in), the only one which end users are supposed to know a little bit of HTML.

    The integration with WP is also a very strange aspect. By integration I’m not talking about sharing users base and connection, but real semantic integration.

    WP lacks a forum part. I maintain a personal website since now close to 10 years and it’s clear for me now (it was not clear at first) that comments, and forum discussions are not the same things, and that they address different needs.

    A comment will be buried in the weblog archives after a few days so finding it will be near impossible for a classic visitor.

    On the other hand, forum post are better ordered, easier and more natural to find out and son on.

    So if I write a blog post about my holidays and two readers answer “cool, it seem it was great”.. comments are exactly what I need.

    If I write a blog post about a very interesting thing that will be still of a great interest two years later (even two months later) its better to redirect people to a forum topic, because the discussion will be interesting and deserve to be kept and easy to find out.

    So after many years of WP use, I think BBpress is a required integrated part of WP.

    But nothing is very clear in BBpress documentation about where the project is heading.

    Luc

    #3915
    meitershaker
    Member

    Hi,

    with this plugin: http://bbpress.org/plugins/topic/live-comment-preview/

    with the 1.0 alpha, the ajax effect doesn’t work, i have only the button :/

    the author is here?

    i think it is necessary to put a “last visit” field in the profile of developers here lol

    Bye!

    #66702

    In reply to: bbPress 1.0 alpha

    thion
    Member

    So how do you think, when Official 1.0 will be ready? :)

    #67294

    In reply to: Is BBPress Any Good?

    thion
    Member

    > What do I get with bbPress?

    The most coder-friendly Engine Core I ever seen :P. If you know how to code of course – coding plugins for bbPress is a pure pleasure.

    #3913
    pab1953
    Member

    In vBulletin, if I want to pay $180, I could get the Porsche (reportedly) of message boards. In phpBB, if I want to grapple with a sizable infrastructure, I could get perhaps the most seasoned of the free forum systems.

    What do I get with bbPress? Is it secure? Will it get spammed to death? Is it stable? Is it designed for personal sites or can businesses use it with confidence?

    Here’s one very specific question: How do I add a link to bbPress to take people back to my WordPress home page?

    BTW, the installation was a breeze. :)

    #67275

    In reply to: Dreampush.com

    meitershaker
    Member

    very nice! bravo!

    little question: how to add “Joined: Apr ’08, Posts: 11” under the avatar in posts? thanks :p

    nice theme ;)

    ++

    #3907

    Topic: Dreampush.com

    in forum Showcase
    haagendazs1
    Member

    Come check out my bbpress forum for lucid dreamers!

    http://dreampush.com is the main site

    http://dreampush.com/forums/ is the bbpress forum

    Tell me what you think! :)

    #67258
    _ck_
    Participant

    You’d need to add a filter, something like this (untested)

    function edit_link_icon($r,$post_id) {return "<img src='/images/edit_link_icon.png'>".$r;}
    add_filter('bb_get_post_edit_link', 'edit_link_icon',10,2);

    #3900
    meitershaker
    Member

    Hi,

    i would like to add icons at the function bb_post_admin in post;php

    i see that is template-functions. but how to add this within edit the core files?

    example, add icon at:

    1401 function bb_get_post_edit_link( $post_id = 0 ) {

    1402 $bb_post = bb_get_post( get_post_id( $post_id ) );

    1403 if ( bb_current_user_can( 'edit_post', $bb_post->post_id ) ) {

    1404 $uri = bb_get_uri('edit.php', array('id' => $bb_post->post_id));

    1405 $r = "post_id ) ) . "'>". __('Edit') ."";

    1406 return apply_filters('bb_get_post_edit_link', $r, get_post_id( $post_id ) );

    1407 }

    1408 }

    in $r

    thanks,

    bye!

    _ck_
    Participant

    Technically you’re not supposed to have more than one H1 on any given html page (though browsers don’t care and will render anyway). The trailing BR is a problem with bbPress’s parser.

    Why don’t you use the built in ability of BBcode to do SIZE instead?

    Large Text
    [size=+1]text larger than default size[/size]
    default size
    [size=-1]text smaller than default size[/size]

    meitershaker
    Member

    help please, i’m very lost lol.

    so, it is possible to add colors in bbcode, like in phpbb or punbb?

    thanks.

    #67257
    _ck_
    Participant

    It’s very simple get_forum_id();

    <?php echo "<div id='forum-".get_forum_id()."'>"; ?>

    #67255
    chrishajer
    Participant

    I don’t see how the cookie has anything to do with google indexing your pages. Forums hidden with the “Hidden Forums” plugin won’t be indexed either. If you want to prevent anyone (including search engines) from seeing certain forums, protect them with the Hidden Forums plugin. If you want to prevent search engines from caching public forums, then use the mini-plugin that _ck_ posted.

    To use it as a plugin, just create a plugin file. The only difference between what _ck_ posted and a full blown plugin is the header.

    <?php
    /*
    Plugin Name: No Archive
    Description: Prevent some search engines from caching your forum
    */

    function noarchive() {
    echo "n".'<meta NAME="robots" CONTENT="noarchive">'."n";
    }
    add_action('bb_head', 'noarchive');
    ?>

     

    Now, save that as a file, something like “noarchive.php” and save it in your my-plugins folder. Active the plugin in the admin and then load a forum page and check the headers to see if it worked.

    _ck_ likes to create one plugin called bb-tweaks.php that contains all these little function tweaks. Then you just need one header and all the little functions can be dropped into the one file.

    #65963
    chrishajer
    Participant

    It’s too bad the pastebin code is no longer available. :-(

    dss
    Member

    where do we put this code?

    #67252
    _ck_
    Participant

    If you don’t want Google to make a cached copy of any your forum pages, use this mini-plugin (Google will still scan and return results for your site, it just won’t show the “cache” link)

    function noarchive() {echo "n".'<meta NAME="robots" CONTENT="noarchive">'."n";
    } add_action('bb_head', 'noarchive');

    Note that some search engines won’t obey “noarchive” and give away a cached copy anyway. This includes Alexa and others. Also note that installing this plugin doesn’t make existing “cache” links disappear instantly, Google has to re-scan your site (eventually) and then “cache” will disappear.

    #3897
    meitershaker
    Member

    Hi,

    i want to add simply sessions in my wordpress’s header (not the completed integration), how to that? like the phpbb session system ;)

    bye!

    #54926
    _ck_
    Participant

    By the way, for those on a linux server with shell and want to just install SVN as a client (and not the full blown server function) this is how you do it:

    wget http://subversion.tigris.org/downloads/subversion-1.6.5.tar.gz
    wget http://subversion.tigris.org/downloads/subversion-deps-1.6.5.tar.gz

    tar -xzvf subversion-1.6.5.tar.gz
    tar -xzvf subversion-deps-1.6.5.tar.gz
    cd subversion-1.6.5

    ./configure --prefix=$HOME --without-berkeley-db --with-ssl --with-editor=/usr/bin/vim --without-apxs --without-apache
    make
    make install

    Then you are ready to use it via the command line svn

    #67214
    meitershaker
    Member

    no, no.

    i try to explain more:

    – with your mod, CODE tags are generated at the beginning and the end of text, no?

    – so i want there is to more code generated :)

    – in my example, “test test” is the text

    – i would like, when i write “test test”, that the dl/dd are generated too :)

    -simply example: i would like to add a class at the code tag, in your mod, how to do that? :)

    thanks

    i hope that i’ts more clear :p

    bye!

    #65577
    _ck_
    Participant

    It’s a mini-plugin, just make a plugin out of it.

    I keep a single plugin composed of all my mini-plugins called tweaks.php but you can call it anything.

    <?php
    /*
    Plugin Name: Tweaks (mini-plugins)
    */

    function delete_own_post($retvalue, $capability, $args) {
    if ($capability=="delete_post") {return bb_current_user_can( 'edit_post', $args[1]);}
    return $retvalue;
    }
    add_filter('bb_current_user_can', 'delete_own_post',10,3);

    ?>

    #67213
    _ck_
    Participant

    I don’t follow.

    You want to add dd/dt tags or do you want PHP code formatting/colouring?

    There already is another plugin to do code formatting/colours but due to the spectacularly bad search and lack of 3rd party tagging on plugins, I can’t find it :-(

    Ah here it is:

    BBPress:Syntax Hiliter

    https://bbpress.org/plugins/topic/bbpresssyntax-hiliter/

    _ck_
    Participant

    This mini-plugin will fix your layout/graphics

    for visitors that insist on using IE 8.0

    function fix_ie8() {if (strpos($_SERVER['HTTP_USER_AGENT'],"MSIE 8")) {header("X-UA-Compatible: IE=7");}}
    add_action('bb_send_headers','fix_ie8'); // for bbPress
    add_action('send_headers','fix_ie8'); // for WordPress

    Essentially it makes IE8 render like IE7 by sending a special (invisible) header only to IE8 users.

    Problem solved.

    It blows my mind that a page that can render perfectly in Opera – which is THE standards browser – can be messed up by Microsoft attempting to conform to standards. What a (continued) waste of everyone’s time.

    ps. For those that don’t want to install IE8 permanently to just test their sites, this version will run in it’s own virtual box so it doesn’t affect the rest of your system:

    http://start-o.xenocode.com/layers/ie8/8-0-0-0__2/ie8.exe

Viewing 25 results - 26,976 through 27,000 (of 32,481 total)
Skip to toolbar