Loading bbPress Signatures last
-
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?
-
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.
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.
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.
@all:
Are there any other signature plugins aside from the one _ck_ created?
Am curious how others might handle signatures…
I don’t know of one – and I don’t think there is another one at all.
Michael, do you have links to both plugins you’re using so I can download them and take a look?
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.
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.
@Chris: Whoops – should’ve noticed – my bad…
What grassrootspa said.
- You must be logged in to reply to this topic.