buddha-trance (@buddha-trance)

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 71 total)
  • @buddha-trance

    Member

    bb anonymous posting is working fine for me in 1.0.2

    An attempt to make a list of working plugins has been made a month ago. Unless one of these threads becomes a sticky, it will get lost and get into oblivion in a few weeks.

    https://bbpress.org/forums/topic/list-of-working-plugins-with-102

    @buddha-trance

    Member

    Second that. Standalone is much better.

    That info, on what vBulletin is doing and how this can open new doors for bbPress as a standalone platform, should be weighed seriously, before rushing into the plugin idea. The timing of this happening is hardly a coincidence… and a great opportunity.

    In reply to: 1.1 feature poll

    @buddha-trance

    Member

    I voted for anonymous posting. Offering both registered and non-registered options to interact in the forum seems a logical addition to the core platform.

    WP integration should be a given (better cookies and clear instructions), and my other option for the sake of new users.

    In reply to: bbBlog 2.0 (plugin)

    @buddha-trance

    Member

    Great idea, thumbs up!!!

    @buddha-trance

    Member

    @ipstenu – I see… if there is duplication with deep integration, then as a plugin it would be lighter. I was also under the impression that a decision in this direction has been taken already, looking at the IRC chat…

    I’ll continue to use, and love, bbPress regardless (and already use WP), though I’d prefer that it stayed as a standalone, because I think it has more potential this way, and it continues to cater also to those who are not interested in having to run WP at the same time. It is fair that opinions against the plugin idea be expressed and that Automattic becomes aware of the reasons behind them. This will allow for a better final decision.

    It could be that the plugin idea is an impulsive one, based on the long lapse suffered by bbPress, and lack of a “grand” vision for this platform… or maybe they know what they are doing and the direction to take is to create an extra feature for WP, rather than a separate platform. In the end, of course, it’s up to Automattic.

    Obviously, the decision is based on the potential number of new users. And the numbers increase if the platform is easy to use (a one click deal) and it integrates seamlessly with the blog. Though a plugin would deliver all this, it would also take away from a different crowd and future potential, and maybe there is a compromise. Some solution offering the one click deal like BuddyPress, while at the same time being able to run as a standalone and cater to the non-WP users who just want a forum. I don’t know if that is technically possible to achieve.

    If theme integration is the only reason for bbPress to become a plugin, maybe there are alternatives, like something similar to the embed plugin https://wordpress.org/extend/plugins/embed-bbpress/, also mentioned in the IRC chat. One could build on that idea… and bbPress can be run as a standalone for those who choose to do so.

    Maybe that is not the only reason, and the way things unfold will be (catered strictly to WP users + goodbye bbPress plugin developers and community):

    WP(MUmerge) –> platform

    BuddyPress –> plugin

    bbPress –> plugin

    @buddha-trance

    Member

    @radovanx – if you want to use your own default custom avatar for users without gravatars, you can try this plugin

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

    @buddha-trance

    Member

    @Jim R – I see, thanks for the info. Can be helpful for future reference.

    @Olympus – I agree about the theme integration.

    With clear instructions it’s really easy. With a code rewrite, the templates could use the same header and footer calls used to build wp themes, and put the hot tags in a sidebar call.

    Also, with deep integration, the theme works instantly, except that it seems to be discouraged in the installation instructions because of the heavier load. But if bbPress turns into a plugin, wouldn’t the end result (and load) be the same as in deep integration?

    Another option, is to create an “A list” section in the WP themes directory for those themes that already come with bbPress-ready templates. This could encourage theme developers to add those files with a few simple tweaks, and have their themes be the “complete package”. A member of this forum arpowers has done this: https://bbpress.org/forums/topic/new-theme-for-bbpress

    If bbPress turns into a plugin, would it be expandable through extra “modules” (the current plugins)? How would one customize the capabilities?

    @buddha-trance

    Member

    there can’t be a www. in the URL’s

    I’ve seen this mentioned before. Am I missing something? Because I do have www with no problems.

    In reply to: Last Post on Forums

    @buddha-trance

    Member

    I tried what Ben L. suggested and it works fine even with a forum with no topics (in which case there is no topic title shown because there is none, and it shows a view count of 0)

    I implemented it this way:

    <td class="num"><a href="<?php $topic = $GLOBALS['topic'] = current( get_latest_topics( array( 'number' => 1, 'forum' => get_forum_id() ) ) ); ?>"><?php topic_title(); ?></a></td>

    @buddha-trance

    Member

    I would also prefer if bbPress and WordPress stay separate. That would make bbPress much more powerful.

    What we need for new users is very clear instructions on how to integrate. The login cookies was the nightmare part when I first set it up, because of so many different threads and inconsistent advice on how to do it, so it became a trial and error thing, with a great loss of time. The same could be done with clear instructions on how to integrate a WP matching theme. If all the steps are defined clearly, and there is a codex like WP has, having bbPress as a standalone would allow for a lot more customization and expandability than if it were a plugin. Many would rather use certain plugins on WP, and others on bbPress, without bloating either one (and possibly avoid plugin conflicts between the two).

    @buddha-trance

    Member

    @chrishajer, glad it works!

    I did use the template of 1.0.2 for reference.

    For 0.9.0.4 one can try to adapt it from that original template.

    The reference file is tags.php of the Kakumei theme.

    Add the bb_load call on top to create the page, and take off the 80 limit.

    Hopefully, it will work the same way. The basic idea is to take that limit off when tags are called. :-)

    @buddha-trance

    Member

    OK, here is a possible quick workaround for now. Really late at night here, so I don’t have enough neurons to come up with a different solution.

    The popular tags feature has a limit of 80 tags.

    If you create another template and call it all-tags.php, put it in the forum directory, and use the call for the popular tags, but without the limit, it should work.

    all-tags.php

    <?php
    require('./bb-load.php');
    ?>

    <?php bb_get_header(); ?>

    <div class="bbcrumb"><a href="<?php bb_uri(); ?>"><?php bb_option('name'); ?></a> &raquo; <?php _e('All Tags'); ?></div>

    <p role="main"><?php _e('This is the list of all tags that are currently used on the forums.'); ?></p>

    <div id="hottags">
    <?php bb_tag_heat_map( 9, 38, 'pt' ); ?>
    </div>

    <?php bb_get_footer();

    then call for youdomain.com/forums/all-tags.php

    or the path where the file is

    I don’t have that many tags, so I can’t test it.

    At least, this is the principle, maybe there is another template code for that, like bb_get_tags or so…

    @buddha-trance

    Member

    @chrishajer – you are right… I don’t have a lot of tags on mine and I thought it was listing them all… :-(

    I’ll try to find out if there is a complete list option.

    @buddha-trance

    Member

    Is this what you mean?

    yourdomain.com/forums-directory/tags/

    /tags/

    will take you to the list

    @buddha-trance

    Member

    I’m using the Open ID Plugin with 1.0.2 and it’s working fine.

    https://bbpress.org/plugins/topic/openid/

    @buddha-trance

    Member

    Interesting, I never looked into this before (due to the higher number in my settings), now that I tested it it looks like one can only have one setting for both the topics in the front page and the actual posts in a topic. Wondering if it’s possible to have them set differently… For example, if the posts are long bodies of text, one may want to show only 10 posts per page, but 25 topics listed on the front page, so the layout doesn’t look too short…

    In reply to: bbpress theme

    @buddha-trance

    Member

    I was just able to download it from here

    http://bbshowcase.org/themes/bbpress-forum.zip

    Though bbshowcase.org was shut down, the downloads still work for some reason (?!?)…

    Original thread

    https://bbpress.org/forums/topic/bborg

    @buddha-trance

    Member

    @ jackey – The patch will haunt you back the day you upgrade WP, because you have to remember to apply the change again on the new, overwritten, wp-settings.php file… :-)

    If the fix to comment out that line provides a solution, I don’t know why that function is in the core in the first place. There must be a good reason, I am not a programmer…

    @buddha-trance

    Member

    Regarding the number of available plugins for the current version, I started a topic on this

    https://bbpress.org/forums/topic/list-of-working-plugins-with-102

    so far, 34 plugins listed as working, I still have to add a couple more…

    many that are written to be compatible with 0.9 or earlier, do work with 1.0.2 (we should update the plugin directory).

    @buddha-trance

    Member

    Well, there is a way I just tested, by modifying core code (which I really don’t like doing).

    If pointing out where the change occurs could help someone to come up with a way to change it via a plugin, here it is…

    functions.bb-capabilities.php

    line 166

    $roles->add_role( 'member', __('Member'), array(

    change to

    $roles->add_role( 'member', __('Info'), array(

    same goes for the other roles in the same file (Moderator, etc.)

    Hope this helps.

    @buddha-trance

    Member

    @jackey – You could also try what is suggested in one of the links I posted above, to see if it works for you:

    “To get round this, go to around line 388 in “wp-settings.php” file and hash out $_POST = add_magic_quotes($_POST); and hey presto!”

    In this current version, I have it on line 590. To comment out:

    //$_POST = add_magic_quotes($_POST );

    @buddha-trance

    Member

    @jackey, since you deep integrated, the slashes problem could originate from WP, as a “magic quotes” issue

    http://bestservedcold.com/news/bbpress-and-wordpress-magic-quotes/

    http://thedeadone.net/forum/?p=1211

    @buddha-trance

    Member

    @jackey – maybe the problem is theme related. Did you try to activate the default Kakumei theme and see if bbPolls behave normally? This would help pin down the problem.

    @buddha-trance

    Member

    I have a workaround for the navigation issue.

    This does not solve why some plugins are not working with integration (which would still be nice to know, and what code would fix it), but allows to have consistent menu tabs when integrating the theme. It involves using theme options for excluding pages, rather than a plugin.

    Incidentally, my theme already comes with the option to exclude pages from navigation, but I still used PageMash for other handy features… Then it occurred to me to test if the options would be reflected into bbPress, and sure they were!!! This way, no core code changes, all is controlled from within the theme.

    @arpowers – I am sure you already know how to do this. Posting links just in case, for others as well.

    To create the theme options page, there are tutorials, showing code to add to functions.php

    http://forthelose.org/how-to-create-a-theme-options-page-for-your-wordpress-theme

    http://blog.themeforest.net/WordPress/create-an-options-page-for-your-WordPress-theme/

    in the arrays to exclude the pages, this is what I have:

    array(	"name" => "Main Menu Settings",
    "desc" => "The navigation menu tabs at the top.",
    "id" => $shortname."_admin_heading",
    "type" => "info"),

    array( "name" => "Exclude",
    "desc" => "Enter a comma-separated list of Page IDs to be excluded from the main menu tabs (example - 5,9,22).",
    "id" => $shortname."_exclude_pages",
    "std" => "",
    "type" => "text"),

    array( "name" => "Sort by",
    "desc" => "'<strong>menu_order</strong>' - sorts the Pages by Page Order<br /> '<strong>post_title</strong>' - sorts Pages alphabetically (by title)<br /> '<strong>post_date</strong>' - sort Pages by their creation date.",
    "id" => $shortname."_sort_pages",
    "type" => "select",
    "std" => "menu_order",
    "options" => array("menu_order", "post_title", "post_date"))

    I hope this helps!

    @buddha-trance

    Member

    @mrsparex – I see, there was one more! :-)

    You can edit tag-single.php the same way as before, on these lines:

    <th><?php _e('Topic'); ?> — <?php bb_new_topic_link(); ?></th>

    <?php post_form(); ?>

Viewing 25 replies - 1 through 25 (of 71 total)