(2013-09-11, 02:35 PM).m. Wrote: @ WC, a couple of friends have been asking for including ASB on search results pages.
I've tried search_results_start & search_results_end hooks but could not get it working.
if possible, could you check & provide guidance please
Okay the thing to remember is that search results are delivered in two different ways: thread lists and post lists.
An example of the thread list (View Today's Posts actually is by thread by default for example):
This is a bare-minimum implementation:
basic search results (threads)
With a little editing of that we can make the tables line up much better:
better search results (threads)
These are both based on the MyBB Default theme so the second one may or may not work on other themes, you'll need to check things out and see.
Also keep in mind that if you don't have anything good to search for in the header, you can always manually add an HTML comment <!-- ASB --> or some other marker to aide the editing.
(2013-09-11, 02:35 PM).m. Wrote: and with the earlier version,
if drag & drop feature was not working in a browser (eg. Chrome) , still we were able to configure
ASB by clicking on the block names. that facility is not available with the new version
I'll have a look, but I didn't know the JS was failing for anyone on Chrome
In my browser Fx, I can deactivate JS on that page and click the add-on titles to add side boxes. IIRC I didn't change any of the JS on the Manage Sideboxes page, but I'll take a look and get back to you.
I did, however notice that I made a mistake with the JS for the Manage Scripts page and I will get a small update to GitHub today some time to fix that.
I got the JS on Script Management straightened out. The GitHub repo has been updated.
I didn't mention it, but on the script edit page there is some hook and template detection to aid in adding scripts. It should now be working.