Jake Hall (@geekserve)

Forum Replies Created

Viewing 16 replies - 1 through 16 (of 16 total)

  • Jake Hall
    Participant

    @geekserve

    Hey,

    There aren’t any plugins that serve this purpose primarily. You would be best taking a look at a form script, such as Ninja Forms or Contact-7, and look at either:

    1. Requesting the fujnctionality from the plugin author -or-
    2. Take a look at how bbPress posts are saved to the DB and try and create a plugin yourself (just be careful with this and make sure you don’t open any holes by not sanitzing data correctly)

    Or alternatively you could pay some to do it. I think it is unlikely this will be created as a standalone plugin so your best bet is to try asking an author of an existing contact form plugin


    Jake Hall
    Participant

    @geekserve

    Hi,

    This is not an issue, it is a feature of the plugin you downloaded, installed and then enabled. That specific part of the plugin (the whitelist) is disabled by default, so you have enabled it yourself.

    Please read the text that is provided alongside the options in the plugin.

    The solution to this without editing the file is to simply disable the whitelist, or add the shortcodes that aren’t being displayed into the whitelist. You can do that within the ‘Extras’ tab.

    – The Plugin author.


    Jake Hall
    Participant

    @geekserve

    As I expected, was something to do with the rewrite rules. Was a very simple fix, I simply started messing with the rewrite until it worked. This is how mine works flawlessly should anyone have the same issur and somehow stumble across this thread.

    Note: This is for lighttpd. This is not an Apache or Nginx solution.

    # This is mainly a fix for bbPress and its functions
    url.rewrite = (
        "^/(wp-admin|wp-includes|wp-content|gallery2)/(.*)" => "$0",
        "^/(.*)\.(.+)$" => "$0",
        "^/(.+)/?$" => "/index.php/$1"
      )
    }

    All I did here was remove the additional forward slash within each rule.

    Now my links work perfectly!


    Jake Hall
    Participant

    @geekserve

    Hi,

    I have now added this functionality to the plugin, no need to add it into your functions file – it something you can do within the plugin itself.

    Thanks for the feedback, and thank you for your assistance Robkk –

    Jake


    Jake Hall
    Participant

    @geekserve

    Thanks guys, I’m glad to have achieved something I can share with others!


    Jake Hall
    Participant

    @geekserve

    I’m pretty happy with what I’ve managed to do with the bbpress installation on my site, rockstarwire.net/community

    I have even released a plugin of my own, bbPress Advanced Statistics, which essentially adds a shortcode that displays a phpbb / vBulletin-esque “who’s online & statistics” section, you can see an example on the bottom of my site or you can check out the screenshots.

    I’m optimistic about the future of bbPress, I just wish my community actually used the forum after all the work I’ve put into it!


    Jake Hall
    Participant

    @geekserve

    I am just wondering why the trac was closed as a dupe of another, where the one it was apparently a duplicate of is something we can already achieve in bbPress.

    The user is asking to be able to style the username, not the user role. There is no mention of the other ticket adding css to the user role element – so why was this ticket closed?


    Jake Hall
    Participant

    @geekserve

    Hey Rob,

    Thanks for that. Why does the Codex not have these details available to the user? I see countless posts on here with people requesting how to do this, and those that help suggest a wide variety of solutions which, in my opinion, aren’t the right way to do it. I guess its the easiest way though, as it avoids the user having to edit 20+ files to remove the breadcrumb, but does that not indicate a design flaw within bbPress itself?

    I’ve essentially fixed that flaw within my installation by removing the breadcrumb in all templates, and adding it to the bbPress.php file. One place to edit, one place to remove – instead of twenty!

    If I ever get the time, I would be more than willing to write up what each template file does within the codex.


    Jake Hall
    Participant

    @geekserve

    Hi Rob,

    Can’t show a live link since it is not currently live.

    Here’s how it looks:
    Current

    Essentially, can you see the breadcrumb inside its own content box? that’s what I have added manually. That is where I want my breadcrumb, it looks much better separate from the forum content.

    However, the breadcrumb then also appears within the forum root / home page.

    I was able to edit this out in every other page via the user of template files found in /bbpress/templates/bbpress and /extras, however, I have been unable to spot a template which I can edit for the forum root page.

    Every other page is working flawlessly. Just this one page.


    Jake Hall
    Participant

    @geekserve

    You are not understanding the problem.

    There is a hardcoded breadcrumb within what I seem to think is within this line of code:

    <?php do_action( 'bbp_template_before_forums_loop' ); ?>

    I am essentially stuck with the breadcrumb only in the forum root page, I have been able to move it via the user of template files in every other part of the forum. It seems to be impossible to remove the breadcrumb from the homepage using templates.


    Jake Hall
    Participant

    @geekserve

    Hey Rob,

    That came out a little rude, I didn’t mean it like that. I was just trying to say I wasn’t interested in hiding it with a CSS Rule, and wanted it removed completely. You say it is a perfectly valid way of removing things, but since when is having duplicate content and useless elements on a page a good thing?

    Secondly, the codex page tells you how to completely disable breadcrumbs, I merely want to move it. I was hoping there was a template file I could edit to remove it, and then manually place it elsewhere on the page – but it doesn’t seem as if that’s possible.

    Either way, CSS hide or Functions edit, neither will work in my case since I still want to make use of Breadcrumbs, I just want to change the DOM location


    Jake Hall
    Participant

    @geekserve

    yes there is its called form-user-login.php

    using the bbp-login shortcode works as one would expect, editing the user-login form works also, as one would expect. However:

    When the user is logged in, it constantly displays a “you are already logged in message”. The reason I want to edit the bbp login widget is because that handles whether or not the user is logged in flawlessly, it just looks plain awful.

    So, if I can easily edit the form that is included within the widget, that would be much better


    Jake Hall
    Participant

    @geekserve

    OK, removing the following from my functions file;

    function SearchFilter($query) {
    	if ($query->is_search) {
    	$query->set('post_type', 'post');
    	}
    		return $query;
    	}
    
    add_filter('pre_get_posts','SearchFilter');

    Seemed to fix the problem. No idea why that broke things, but I can finally start working on my forum!


    Jake Hall
    Participant

    @geekserve

    @robkk yeah, it did. You missed the = after href however!

    Had to add an if{} statement for bbp_get_forum_last_topic_id() to catch whether or not a forum actually had threads / replies, other than that perfect – I have control!

    Cheers dude.


    Jake Hall
    Participant

    @geekserve

    Why has this not been documented anywhere?

    That is probably my biggest problem with bbPress right now, documentation is non-existant. You’ve got to crawl through the plugin code to find what you’re after.


    Jake Hall
    Participant

    @geekserve

    Robin,

    i want to change what is output in the Freshness column, I want it to display the title of the topic instead of the team since a reply was last made.

    The end goal is to achieve the mockup below.

Viewing 16 replies - 1 through 16 (of 16 total)