Thread Rating:
  • 12 Vote(s) - 4.17 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] MyProfile - Profile Comments & more (version 1.2)
Great plugin, however, one issue we had that I thought others would like to know.

For some reason the script/javascript include in header_include was loaded before jQuery was loaded, and well, the plugin just broke. 

So if you have an issue where you make a comment, and you don't see any comments, use your chrome devtools (or the devtools for your browser) and check the console. If it says $ is not defined, you're having the same issue as I was. To fix this:

Go to your templates and go to headerinclude template. Find:


{$myprofile_headerinclude}


Mine was like so:


{$stylesheets}{$myprofile_headerinclude}

Find the script that's loading jQuery (In the same template) and place {$myprofile_headerinclude} after.

<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.js?ver=1800"></script>


<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.js?ver=1800"></script>
{$myprofile_headerinclude}




Thanks for the great plugin. It's awesome.
Reply


Messages In This Thread
RE: MyProfile - Profile Comments & more (version 0.5) - by kawohi - 2015-04-01, 03:19 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)