Solved: 5 Years, 6 Months, 2 Weeks ago [JavaScript] Quick Reply Spinner
#11
Solved: 5 Years, 6 Months, 2 Weeks ago
Which version of jQuery are you using?

Have you tried this code for the load?

<script type="text/javascript">
$(function(){
$(".latestthreads").load("{$mybb->settings['bburl']}/portal.php .latestthreads_portal");
$(".lateststats").load("{$mybb->settings['bburl']}/portal.php .lateststats"); 
$(".whosonline").load("{$mybb->settings['bburl']}/portal.php .whosonline"); 
}); </script>
Random Fish and Sims Maniac
MY PLUGINS
Help MyBBSupport help you - remember to mark your threads as solved


Reply
#12
Solved: 5 Years, 6 Months, 2 Weeks ago
It is the same version that comes as default. I have just added small bits of javascript to pull latest threads etc of the portal and display on the index of the forum. Also, I am using javascript for my header dropdowns.

And yes I believe that is the code I am using to pull the threads.
Reply
#13
Solved: 5 Years, 6 Months, 2 Weeks ago
I edited the code.Instead of using jquery alias it is using the dollar sign. Is your site available on the web?
Random Fish and Sims Maniac
MY PLUGINS
Help MyBBSupport help you - remember to mark your threads as solved


Reply
#14
Solved: 5 Years, 6 Months, 2 Weeks ago
Unfortunately its no. I am developing a theme so its all on localhost.

Would providing you with the javascript I am using suffice? Or do you need more?
Reply
#15
Solved: 5 Years, 6 Months, 2 Weeks ago
Can you provide the headerinclude template contents?
Random Fish and Sims Maniac
MY PLUGINS
Help MyBBSupport help you - remember to mark your threads as solved


Reply
#16
Solved: 5 Years, 6 Months, 2 Weeks ago
Sure, I have sent you them via PM. Thank you.
Reply
#17
Solved: 5 Years, 6 Months, 2 Weeks ago
Finally resolved. The user seems to be using an old 1.8.0 theme and the postbit_quickdelete javascript was wrong. I fixed that and the quick reply worked.
Random Fish and Sims Maniac
MY PLUGINS
Help MyBBSupport help you - remember to mark your threads as solved


Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)