Skip to:
Content
Pages
Categories
Search
Top
Bottom

Loading bbPress Signatures last


  • citizenkeith
    Participant

    @citizenkeith

    I’m running 0.9.0.6 and I’m using _ck_’s bbpress signatures and BBcode Buttons Toolbar plugins.

    Some of my users have images in their signatures… they are “top 10” charts from last.fm. The charts are loaded directly from the last.fm website. Unfortunately, the signatures load before the rest of the page is finished. So you have to wait for last.fm to load before the bbCode toolbar.

    Is there a way for bbPress to load bbpress signatures last, or at least after the toolbar?

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

  • Michael
    Participant

    @michael888

    I highly doubt there is a way of doing this as the only way to add things to posts is by calling post_text() – I think.

    Whichever way it’s done, it has to load with each post as it runs in a loop.

    I just wish there was Async loading in PHP so it could perform loops without having to wait for anything.

    EDIT: I know this can be done in jQuery, however. Though I wouldn’t know if it could be integrated with the bbPress system in any way.


    Ben L.
    Member

    @nightgunner5

    Open up BBcode-buttons.js and change the occurrences of “load” on lines 2 and 3 to “DOMContentLoaded”. That should make the BBcode buttons toolbar load without waiting for all of the images on the page to load first.


    citizenkeith
    Participant

    @citizenkeith

    Thanks Ben. That certainly helps.

    I’m hoping there might be another way to truly load bbpress signatures last, so I won’t mark this “resolved” yet.


    grassrootspa
    Member

    @grassrootspa

    @all:

    Are there any other signature plugins aside from the one _ck_ created?

    Am curious how others might handle signatures…


    Michael
    Participant

    @michael888

    I don’t know of one – and I don’t think there is another one at all.


    chrishajer
    Participant

    @chrishajer

    Michael, do you have links to both plugins you’re using so I can download them and take a look?


    Michael
    Participant

    @michael888

    I said I don’t have another one. I am using _ck_’s one. As far as I know, there is no other signature component out there for bbPress.


    chrishajer
    Participant

    @chrishajer

    Sorry that should have been directed at citizenkeith:

    “_ck_’s bbpress signatures and BBcode Buttons Toolbar plugins”

    I just wanted to look at those two plugins and didn’t really feel like searching for them.


    grassrootspa
    Member

    @grassrootspa


    Michael
    Participant

    @michael888

    @chris: Whoops – should’ve noticed – my bad…


    citizenkeith
    Participant

    @citizenkeith

    What grassrootspa said. :)

Viewing 11 replies - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.
Skip to toolbar