Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 21,651 through 21,675 (of 32,516 total)
  • Author
    Search Results
  • #65583
    johnhiler
    Member

    I believe that the code above should honor the “user can edit a post for this many minutes after submitting” setting? What’s it set to on your install (just as a way of checking if that might be an issue here!). :-)

    #33979
    jurasiks
    Participant

    Who can help us to keep bbPress as standalone CMS engine?

    We will clear up all wp trash from code and will continue bbPress life as new engine.

    Simpler, faster, more elegant

    #86738
    oli_75
    Member

    Thanks! That makes sense ;-)

    #33972
    bramruiter1
    Member

    I’ve updated the layout of my forum last night and I ran into a few problems. I didn’t update bbPress from 0.9.0.2 because the Unread Posts plugin wouldn’t work. I have not changed anything internally, I have not updated the Unread Posts plugin, but even when I turn on my old template, it doesn’t seem to show that I have already read the topic in particular. It stays bold. And it also goes bold when I post in it myself.

    Now I have read the plugin page, where someone said something about changing the login code because a certain code wasn’t called for, but that doesn’t seem to do the trick. I’m really lost here and since _ck_ has gone, no one seem to figure out how this thing works.

    Other plugins that do the same just don’t seem to work either.

    Please help.

    #70046
    Anonymous User
    Inactive

    Oh … so stupid…!

    in WordPress my German language file is named de_DE.mo in bbPress the language file is named de.mo. After the deep integration bbPress seems to search for a file named de_DE.mo in ‘my-languages’.

    So just renaming the language files made my day :)

    Markus

    PS. hmpf…

    #70045
    Anonymous User
    Inactive

    In the german bbpress board (http://support.bbpress.de/topic/installation-der-sprachdatei) i found for the language problem the following code:

    // Load the default text localization domain.

    if ( !(defined('DB_NAME')) ) { // Include localization the bbPress-way when WP is not running.

    load_default_textdomain();

    }

    else {

    $locale = get_locale();

    $mofile = BB_LANG_DIR . "$locale.mo";

    load_textdomain(‘default’, $mofile);

    };

    But this seems not to work with the new version. :(

    Markus

    #85626
    mr_pelle
    Participant

    Hi! I’ve worked all day on the plugin, but now it finally works as it should! ^_^

    I’ve also implemented 2 functions that grab both “plugin activated” and “plugin deactivated” events in order to swap .htaccess and the new file. Unfortunately you still have to change .htaccess permissions if you want the plugin to update it, but the only other way is manual edit…

    I’ve embedded them in the plugin by Ashish Mohta and Mark Robert Henderson, but I don’t know how to proceed: what do you think would be the better way to publish the updated plugin?

    #86032
    mr-zee
    Participant

    hmmm, my code is the same as that but the user names are not clickable. Is there a workaround?

    #86031
    zaerl
    Participant

    Are you using <strong><?php post_author_link(); ?></strong> on your post.php template file? I see that you output is: <strong><a href="http://www.forumetudiants.net/">Radovan</a></strong> which is not correct.

    Are you using “Post Count Plus”? If the answer is “yes” then be sure to set “Where should their USERNAME link to?” to “profile”.

    #33967

    Topic: BuddyBar in bbPress

    in forum Plugins
    Anonymous User
    Inactive

    Hi gerikg,

    i saw your post about your problems with the integration of the BuddyBar in bbPress – (http://bbpress.org/forums/topic/buddypress-default-theme-for-bbpress). I found it after a short research in Google – because I’ve the same problems yesterday.

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'bp_core_admin_bar_css' was given in /homepages/0/00/htdocs/wpbpbbp/wordpress/wp-includes/plugin.php on line 339

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid call

    But … I think I have an “hack” for you – I changed a few lines of code in my installation and now it seems to work. :)

    These was “myWay”:

    1. Deep Integration between WordPress and bbPress

    2. Plugins on bbPress: buddybar-in-bbpress

    3. Edit bp_buddybar.php – I only comment out the following lines

    /* add_action( 'bb_head', 'bp_core_admin_bar_css', 1 );

    add_action( 'bb_head', 'bp_core_add_js', 1 );

    add_action( 'bb_admin_head', 'bp_core_admin_bar_css', 1 );

    add_action( 'bb_admin_head', 'bp_core_add_js', 1); */

    4. Edit bp-core-adminbar.php

    Here I’ve a error code because auf “$wpdb” – so I commet out:

    /* $blog_prefix = $wpdb->get_blog_prefix( $current_blog->id );*/

    5. header.php in my theme

    I put the Stylesheet-Link to my header.php file.

    <link rel=”stylesheet” href=”http://www.mysteria3000.de/wp/wp-content/plugins/buddypress/bp-themes/bp-default/_inc/css/adminbar.css&#8221; type=”text/css” />

    No the best solution – but it works for me. :)

    Greetings

    Markus

    #84763

    In reply to: Plugins You Want !!!

    bb-lover
    Member

    Thank you all,

    Its nice to listen that lot of friends need lot of plugins. But I’ve not lot of money to develop these plugins, developers need money to work on. From my budget I’m starting to develop 5 plugins from my developers. Which I’ve decided after lot of thinking.

    I need your comments…. so that should I start work on these plugins?

    No. 1 :- Social Connect

    With this plugin; users can register to your forums via their some social networking accounts like Facebook, OpenID, Twitter, Myspace etc. My developers says its not possible to fetch email id of a user who will register from fb or like other social networking sites, but it will be possible to show the link of a register user in his profile. where we can trace a user that from where he/she came.

    No. 2 :- Better Moderation Suite ( Remake)

    There are some issues with this old plugin. we will fix it soon and add more fields in it. second we will add two more section in this plugin. these are about moderators

    a) simple moderator,

    if anyone is running one board ( one bbpress ) then he/she can assign a user as simple moderator for his/her work.

    b) Super Moderator,

    if any one is running more then one bbpress installation suppose

    http://www.example.com/forums-01 ( one bbpress about hockey discussion )

    http://www.example.com/forums-02 ( one bbpress about football discussion )

    http://www.example.com/forums-03 ( one bbpress about dance discussion )

    http://www.example.com/forums-so-on ( one bbpress about other discussion )

    then super moderator can handle these 4 fourms ( 4 integrated bbpress ) from one panel.

    its means . a simple moderator can handle just http://www.example.com/forums-01 ( one bbpress about hockey discussion )

    and super moderator can handle other 4 or more forums discussion.

    there are more functions will be add in this plugin which i don’t want to disclose right now :). Because I need your thoughts that what should add more functionality in this plugin.

    No. 3 :- BBMI ( BBpress Multiple Integration)

    Integration of One wordpress with multple bbpress

    Read again my second plugin. Then you’ll understand the requirement of this plugin called BBMI.

    Its not possible right now to create multiple forums like Worpdress MU, but if someone want more then one forums ( bbpress installation ) for more topics then its not possible to integration these multiple forums with one WordPress and each other.

    Because if you’ll successful in integrate more forums ( shared user table, and user meta plus shared database… which not a big deal) then you’ll definitely fail in the integrate of cookies.

    “Because now integration is possible just for one bbpress and one wordpress”

    Not for multiple bbpress with one wordpress. ( Think about it, isn’t cool? )

    Note: some settings and plugin will involve to run this idea. and i also need your ideas.

    No. 4 :- Link Protection

    About this plugins, if register user paste a link to your forums via (post or topic). Then the guest cannot view this link till after the completion of his/her registration to your forums.

    No. 5 :- BBpress Statistics

    If you’ll see the _ck_ plugin

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

    its all about bbpress statistics it not tells about tracking report about users online, where they came from, what keywords they use to find your website, what referral sites they use, first visit, last visit, traffic detail, monthly weekly report, duration of user’s stay on ur site blah blah blah, but my plugin will be a comprehensive plugin for your site to track traffic reports.

    these are five plugins. now i’m starting work on them. All will go from my own pocket which is a really big amount, but if someone is interested to make a donation to me and wanna support me ( if he like my idea and plugins ) then I’ll post my contact detail in my next post.

    After that I want to make more plugins if I’ll get your support and positive feedback.

    See you again, same place, same post but soon some other time :)

    Stay Connect………………

    Regards,

    bb-lover

    #86452

    In reply to: jquery loading

    zaerl
    Participant

    It’s not a big deal. You can change the plugin in order to prevent the inclusion of jQuery on those pages that you know that will not need the special treatment. Change line:

    add_action('bb_init', 'jquery_please_initialize');

    with:

    // Add here all the template files that need special treatment
    add_action('bb_topic.php', 'jquery_please_initialize');
    add_action('bb_edit-post.php', 'jquery_please_initialize');
    // et cetera

    #86709
    zaerl
    Participant

    I have deleted that div as well, it takes a lot of space (I have placed the hot tags section just before the footer). Have a nice day.

    #85624
    mr_pelle
    Participant

    Hi! After 3 hours of brute-force testing, I found a working configuration:

    # BEGIN bbPress

    Options -MultiViews

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /forum/

    #handle admin stuff
    RewriteRule ^bb-admin/.*$ - [L,QSA]

    # handle the rest
    RewriteRule ^page/([0-9]+)/?$ ?page=$1 [L,QSA]

    RewriteRule ^profile/([^/]+)/page/([0-9]+)/?$ profile.php?id=$1&page=$2 [L,QSA]
    RewriteRule ^profile/([^/]+)/([^/]+)/?$ profile.php?id=$1&tab=$2 [L,QSA]
    RewriteRule ^profile/([^/]+)/([^/]+)/page/([0-9]+)/?$ profile.php?id=$1&tab=$2&page=$3 [L,QSA]
    RewriteRule ^profile/([^/]+)/?$ profile.php?id=$1 [L,QSA]
    RewriteRule ^profile/?$ profile.php [L,QSA]

    RewriteRule ^rss/?$ rss.php [L,QSA]
    RewriteRule ^rss/topics/?$ rss.php?topics=1 [L,QSA]
    RewriteRule ^rss/forum/([^/]+)/?$ rss.php?forum=$1 [L,QSA]
    RewriteRule ^rss/forum/([^/]+)/topics/?$ rss.php?forum=$1&topics=1 [L,QSA]
    RewriteRule ^rss/topic/([^/]+)/?$ rss.php?topic=$1 [L,QSA]
    RewriteRule ^rss/tags/([^/]+)/?$ rss.php?tag=$1 [L,QSA]
    RewriteRule ^rss/tags/([^/]+)/topics/?$ rss.php?tag=$1&topics=1 [L,QSA]
    RewriteRule ^rss/profile/([^/]+)/?$ rss.php?profile=$1 [L,QSA]
    RewriteRule ^rss/view/([^/]+)/?$ rss.php?view=$1 [L,QSA]

    RewriteRule ^tags/([^/]+)/page/([0-9]+)/?$ tags.php?tag=$1&page=$2 [L,QSA]
    RewriteRule ^tags/([^/]+)/?$ tags.php?tag=$1 [L,QSA]
    RewriteRule ^tags/?$ tags.php [L,QSA]

    RewriteRule ^view/([^/]+)/page/([0-9]+)/?$ view.php?view=$1&page=$2 [L,QSA]
    RewriteRule ^view/([^/]+)/?$ view.php?view=$1 [L,QSA]

    # handle forums
    RewriteRule ^([^/]+)/page/([0-9]+)/?$ forum.php?id=$1&page=$2 [L,QSA]
    RewriteRule ^([^/]+)/$ forum.php?id=$1 [L,QSA] # no '?' before the closing '$' this time: very important!

    # handle topics
    RewriteRule ^([^/]+)/([^/]+)/page/([0-9]+)/?$ topic.php?id=$2&page=$3 [L,QSA]
    RewriteRule ^([^/]+)/([^/]+)/$ topic.php?id=$2 [L,QSA] # no '?' before the closing '$' this time: very important!

    # handle non-existent pages
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^.*$ index.php [L]
    </IfModule>

    # END bbPress

    Anonymous User
    Inactive

    Great Examples :) … I think these examples would be great in the documentation for bbPress.

    #86648

    In reply to: Thesis integration?

    chrishajer
    Participant

    gerikg, no bbcode here. To quote something, use the HTML blockquote

    #86707
    zaerl
    Participant

    on bb-templates/kakumei/front-page.php delete:

    <div id="hottags" role="main">
    <h2><?php _e('Hot Tags'); ?></h2>
    <p class="frontpageheatmap"><?php bb_tag_heat_map(); ?></p>
    </div>

    #86662

    In reply to: Continuing Topic Icons

    paulhawke
    Member

    Take a look at another “topic icons” plugin – this time, one I wrote – https://bbpress.org/plugins/topic/bb-topic-icons/.

    It is written to allow you to upload new image sets – new “skins” – and detects them automatically, making them available in its admin area. The code was written to be modular and allow another plugin to supply new “rules” to determine which icons go where, and I’d be happy to work with you on a small extension plugin that implements your rule-set, so that you get the icons you want.

    How do you want icons on your bbPress install to behave?

    #86659
    gerikg
    Member

    The code seem incomplete or am I missing something? “If you want the code, here it is: http://pastie.org/896738.txt.&#8221;

    and I don’t think that answers my question.

    I would like the categories to be in one table (which I got) and the topics that aren’t in a category in its own table (which I can’t get)

    #86646

    In reply to: Thesis integration?

    gerikg
    Member

    I’ll content myself with creating my own template to match my current Thesis/WP theme.

    It’s not hard it’s mostly editting header.php, footer.php, and style.css. Other than that it’s making “Tags” into a seperate file like “sidebar.php” in WP and calling it. I usually call it bbp-sidebar.php and call it by the include functions. It’s getting users so fustrating that I offered to help. If you need help let me know.

    And the IRC chats I think someone has to initiate it and others will follow. I would do it but I feel that since I can’t code I would feel like I’m commanding people without helping them. Like chrishajer said “Right now, there are no developers” so leadership isn’t there only a lot helpful users.

    (I don’t know the quote bbcode)

    #75247

    In reply to: BBPRess friends plugin

    Kevin Ryman
    Participant

    I’m actually looking for something like this. I mean I don’t want to use BuddyPress just because you can add friends. I rather have a bbPress plugin for that purpose. :)

    #86660

    In reply to: Continuing Topic Icons

    Kevin Ryman
    Participant

    Funny thing! I was about to email you about this! Like Gerik said, this would be very useful! Anyone up for the job? :)

    gerikg
    Member

    This is going to be complex to explain but I’m going to try.

    This is from front-page.php

    <?php if ( bb_forums() ) : ?>
    <h2><?php _e('Forums'); ?></h2>
    <table id="forumlist">

    <tr>
    <th><?php _e('Main Theme'); ?></th>
    <th><?php _e('Topics'); ?></th>
    <th><?php _e('Posts'); ?></th>
    </tr>
    <?php while ( bb_forum() ) : ?>
    <?php if (bb_get_forum_is_category()) : ?>
    <tr<?php bb_forum_class('bb-category'); ?>>
    <td colspan="3"><?php bb_forum_pad( '<div class="nest">' ); ?><a href="<?php forum_link(); ?>"><?php forum_name(); ?></a><?php forum_description( array( 'before' => '<small> – ', 'after' => '</small>' ) ); ?><?php bb_forum_pad( '</div>' ); ?></td>
    </tr>
    <?php continue; endif; ?>
    <tr<?php bb_forum_class(); ?>>
    <td><?php bb_forum_pad( '<div class="nest">' ); ?><a href="<?php forum_link(); ?>"><?php forum_name(); ?></a><?php forum_description( array( 'before' => '<small> – ', 'after' => '</small>' ) ); ?><?php bb_forum_pad( '</div>' ); ?></td>
    <td class="num"><?php forum_topics(); ?></td>
    <td class="num"><?php forum_posts(); ?></td>
    </tr>
    <?php endwhile; ?>
    </table>
    <?php endif; // bb_forums() ?>

    This basic says the table headings are Main Theme, Topics, and Post. I wanted each category to be in it’s own table.

    So if you have a category, let’s say category “Welcome” and a child forum “Welcome to Our Site” and a category “Support” and child forum “PHP Help” it will display: (the dashes are spaces, ignore them)

    -Main Theme


    Topic–Post

    -Welcome


    —Welcome to Our Site


    0


    0

    -Support


    —PHP Help



    0


    0

    but I wanted:

    –Welcome


    Topic–Post

    —Welcome to Our Site


    0


    0

    -Support


    Topic–Post

    —PHP Help



    0


    0

    SO I thought it was easy so I did this:

    <?php if ( bb_forums() ) : ?>
    <h2><?php _e('Forums'); ?></h2>

    <?php while ( bb_forum() ) : ?>
    <?php if (bb_get_forum_is_category()) : ?>
    <table id="forumlist">
    <tr<?php bb_forum_class('bb-category'); ?>>
    <th><?php bb_forum_pad( '<div class="nest">' ); ?><a href="<?php forum_link(); ?>"><?php forum_name(); ?></a><br /><?php forum_description( array( 'before' => '<small>', 'after' => '</small>' ) ); ?><?php bb_forum_pad( '</div>' ); ?> <th><?php _e('Topics'); ?></th>
    <th><?php _e('Posts'); ?></th></td>
    </tr>
    <?php continue; endif; ?>
    <tr<?php bb_forum_class(); ?>>
    <td><?php bb_forum_pad( '<div class="nest">' ); ?><a href="<?php forum_link(); ?>"><?php forum_name(); ?></a><br /><?php forum_description( array( 'before' => '<small>', 'after' => '</small>' ) ); ?><?php bb_forum_pad( '</div>' ); ?></td>
    <td class="num"><?php forum_topics(); ?></td>
    <td class="num"><?php forum_posts(); ?></td>
    </tr>

    <?php endwhile; ?>
    </table>
    <?php endif; // bb_forums() ?>

    Which works great but I have to have every title under a category now. If I have a forum title “Websites” not under a category, this is what I get:

    Websites00

    –Welcome


    Topic–Post

    —Welcome to Our Site


    0


    0

    -Support


    Topic–Post

    —PHP Help



    0


    0

    Or it latches itself to another category

    –Welcome


    Topic–Post

    —Welcome to Our Site


    0


    0

    —PHP Help


    0


    0

    -Support


    Topic–Post

    —PHP Help



    0


    0

    So I need a statement that says if it’s not in a category it will print the title ONCE

    <tr>
    <th><?php _e('Main Theme'); ?></th>
    <th><?php _e('Topics'); ?></th>
    <th><?php _e('Posts'); ?></th>
    </tr>

    So it will print:

    –Welcome


    Topic–Post

    —Welcome to Our Site


    0


    0

    -Support


    Topic–Post

    —PHP Help



    0


    0

    -Main Theme


    Topic–Post

    —PHP Help


    0


    0

    Make sense?

    #86623
    zaerl
    Participant

    Modify #header and eliminate the background property. Then on bb-templates/kakumei/header.php put your code at line 30. If you don’t want that h1 points to the forum change <?php bb_uri(); ?> with your link.

    This is a HTML/CSS question and not a bbPress one.

    #86641

    In reply to: Thesis integration?

    @chrishajer – I thought some more about what you wrote regarding the WordPress plugin idea.

    I imagine, having worked with BBPress for so long, you guys are no longer concerned or have forgotten just what a royal pain in the butt it is to set up. Most of the pain could be avoided if it had been scripted and become a simple CPanel/Softaculous install, for example, but it hasn’t.

    I am new to BBPress, and I have to say that my first impression is, compared with BuddyPress installation/integration (which is already that simple WordPress plugin), BBPress has a looooong way to go.

    And I suspect, one of the reasons why there is such a big difference in the size of the respective communities, is that most of you guys don’t mind/quite like to fiddle with the technical stuff.

    Haven’t you got the engine room steering the ship? Where are the ‘marketing guys’ out there finding out what the people really want, and steering the development, rather than what interests the coders?

    It might surprise you to know (well I know it would surprise the coders), most people (WAY more people in the world), just want THEIR WordPress to load a plugin right into THEIR existing theme, and off they go.

    Badabing badaboom!

    I can’t see how, if the developers of BBPress can’t make it that simple, and also a darn site more compatible with WordPress itself, how its ever going to survive. Really.

    And with the release of the merged v3.0 not far away, is that opportunity going to be grabbed or lost?

Viewing 25 results - 21,651 through 21,675 (of 32,516 total)
Skip to toolbar