Not Solved Trying to install ChangUonDyU
#1
Not Solved
I have learning mybb by installing it in a private server. So, I could install mybb in my live site.

And after installing mybb I have been trying to install this plugin "ChangUonDyU

" but so far no luck.

I have copied all the files correctly. What to do?

If somebody can provide me a good video to install plugins then it will be really helpful.
Reply
#2
Not Solved
(2018-12-27, 12:25 PM)mrb.frequency Wrote: I have learning mybb by installing it in a private server. So, I could install mybb in my live site.

And after installing mybb I have been trying to install this plugin "ChangUonDyU

" but so far no luck.

I have copied all the files correctly. What to do?

If somebody can provide me a good video to install plugins then it will be really helpful.


If you have uploaded the files correctly already ie: Upload folder equals forum root directory then there is only 2 template edits you need to do after that.

- Edit index template

Find:
{$header}

Add below:
<br />    
{$changstats}
<br />

* note: you can choose to move that anywhere in the index page if you want hence why currently no automatic index template edit was included in the plugin.

* Now previously the instructions added prototype to the index page but a few users reported that it broke the modal on index so the quick solution was to add prototype to the headerinclude template before any of the jquery includes.

In headerinclude add this before the jquery includes:
<script type="text/javascript" src="{$mybb->asset_url}/inc/plugins/changstats/prototype.js?ver=1603"></script>


DONE!!!

Settings Location Instruction:

To change options:

Goto AdminCP > Configuration > Settings > ChangUonDyU - Advanced Statistics
Reply
#3
Not Solved
Inside Upload is considered as 'root directory'. Once I figured it everything became easier. Although the plugin is working but still I don't know I have added the last part correctly which the script before jquery includes.
Reply
#4
Not Solved
(2018-12-27, 03:47 PM)mrb.frequency Wrote: Inside Upload is considered as 'root directory'. Once I figured it everything became easier. Although the plugin is working but still I don't know I have added the last part correctly which the script before jquery includes.

Example:

In headerinclude find something like:


<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.js?ver=1813"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.plugins.min.js?ver=1813"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/general.js?ver=1817"></script>


Include prototype before(above) them for example:

<script type="text/javascript" src="{$mybb->asset_url}/inc/plugins/changstats/prototype.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.js?ver=1813"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.plugins.min.js?ver=1813"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/general.js?ver=1817"></script>
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)