Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 21,626 through 21,650 (of 32,481 total)
  • Author
    Search Results
  • #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?

    Positics
    Member

    I have a similar challenge to the earlier topic “Linking back to main website”. It is for a site I have configured for someone, who has asked for the same ability for their logo to have a link associated to it, that will take the user back to the home page of site that pointed them to the blog / forum.

    I have installed bbpress 1.02

    You suggested the following;

    in header.php where the body tag starts.

    ===========================

    <body id=”<?php bb_location(); ?>”>

    <div id=”wrapper”>

    How do I locate this logo in the top right hand corner of the header where the default bb_emblem was located?

    “<a’x’ href=”http://www.reflexology-uk.net/site”><img src=”images/iior.jpg” alt=”ITEC” /><‘x’/a>”

    ===Note===== ‘x’ === added in string above to break code so it will print =====

    At presentI have a logo situated in the CSS file as a background, which you suggest is not the right way to go about achieving this.

    Any pointers will be useful. Thanks.

    #86096
    mr_pelle
    Participant

    dogeil, try these plugins:

    I had a similar need and I modified the former, ending up with a new (yet-to-be-released) plugin which redirect every non-logged-in user to a custom page. =D

    #78850

    I just happened to stumble upon this problem using both codeigniter and bbpress, and the solution was to plain remove all variables settings by references, and let the plain old “=” do the job (thanks @ Cyril Janssens).

    For some reason it doesn’t work if you let those references.

    Edit: You also need to specify global $bbdb, global $whateverVar in your controller, or you’ll get the same errors.

    Cheers!

    #86633

    In reply to: Thesis integration?

    A “Thesis page” is just like any other html/php/css WP page except that it uses Thesis Hooks, which is the framework Chris Pearson created to sit on top of WP and is far more efficient than the underlying WP code. It looks like this…

    <?php

    // Using hooks is absolutely the smartest, most bulletproof way to implement things like plugins,
    // custom design elements, and ads. You can add your hook calls below, and they should take the
    // following form:
    // add_action('thesis_hook_name', 'function_name');
    // The function you name above will run at the location of the specified hook. The example
    // hook below demonstrates how you can insert Thesis' default recent posts widget above
    // the content in Sidebar 1:
    // add_action('thesis_hook_before_sidebar_1', 'thesis_widget_recent_posts');

    /**
    * function custom_bookmark_links() - outputs an HTML list of bookmarking links
    * NOTE: This only works when called from inside the WordPress loop!
    * SECOND NOTE: This is really just a sample function to show you how to use custom functions!
    *
    * @since 1.0
    * @global object $post
    */

    function custom_bookmark_links() {
    global $post;
    ?>
    <ul class="bookmark_links">

    <li><a rel="nofollow">&title=<?php urlencode(the_title()); ?>" onclick="window.open('http://delicious.com/save?v=5&noui&jump=close&url=<?php urlencode(the_permalink()); ?>&title=<?php urlencode(the_title()); ?>', 'delicious', 'toolbar=no,width=550,height=550'); return false;" title="Bookmark this post on del.icio.us">Bookmark this article on Delicious</a></li>
    <?php
    }

    Thesis is on one level, just an additional library of high level functions, and at another, its an incredibly easy way to design and manipulate your theme/template. The structure of the framework and the finished theme it provides also happen to be presented in a very SEO conscious way, which is obviously a big selling point.

    What I would really like to see is a BBPress Template written for Thesis. Hmmm. I wonder. How hard can that be?

    #76041
    chrishajer
    Participant

    If this is the home page of the website:

    http://oakleafmeadowshoa.net/

    Then that is what your link will be. Just like this:

    <a href="http://oakleafmeadowshoa.net/" title="website home">Website Home</a>

    Is it any more complicated than that? You don’t necessarily need a page name in there, the web server will serve up the default index page for that site. If that’s the page you want, then you’re done.

    #86611

    In reply to: Templates for 1.x ???

    johnhiler
    Member

    Glad to hear it! :-)

    #86609

    In reply to: Templates for 1.x ???

    johnhiler
    Member

    bbPress is still a small community… we’re not as big as say, the WordPress community, and we don’t get the sort of corporate commitment and support that they do. So what you’re left with is mostly us volunteers, trying to help each other get the most out of free software that we all use and enjoy. :-)

    There are a couple 1.0 compatible themes on the forums… try some of these links maybe?

    http://www.google.com/search?q=theme+site:bbpress.org/forums

    Here are a few of the ones that support 1.0+:

    https://bbpress.org/forums/topic/new-vanilla-2-inspired-theme

    https://bbpress.org/forums/topic/new-theme-carrington-blog-for-bbpress

    https://bbpress.org/forums/topic/new-theme-superbold-revisited-for-bbpress

    #33951

    Topic: Templates for 1.x ???

    in forum Themes

    Is it me or are there really NO templates out there for BBPress 1.x out there?

    I must say that, as a newcomer to BBPress, I find it very disappointing to find out that template developers not updating their products and leaving cryptic messages on their sites about how BBPress has no cogent leadership. Sorry, can’t remember where I read that or I WOULD leave the URL.

    Code underneath and they way it works looks pretty neat though.

    Oh well, I guess things can only get better… 8^)

    #86596
    johnhiler
    Member

    It’s probably one of your plugins… can you post a list of which plugins you’re using?

    Also – try installing this, so we can get a sense for how many queries you’re using – and how long they take to generate a pageview! :-)

    https://bbpress.org/plugins/topic/bb-benchmark/

    #86584
    Duke
    Member

    My bad.

    When I replaced the auth_key, secure_auth_key, logged_in_key and nonce_key, i pasted it directly from wp-config and didnt add the BB_ before every key.. so it was obviously not working.

    All good now!

    Thank you guys :)

Viewing 25 results - 21,626 through 21,650 (of 32,481 total)
Skip to toolbar