24.05.2018, 02:45
(Dieser Beitrag wurde zuletzt bearbeitet: 24.05.2021, 10:31 von MyBB.de Bot.)
Eine neue Erweiterung wurde veröffentlicht: ChangUonDyU - Advanced Statistics
Zitat:ChangUonDyU - Advanced Statistics 1.0.2
By: ChangUonDyU & updated by Vintagedaddyo
Original release thread: [AJAX] ChangUonDyU - Advanced Statistics 1.0.1 by: ChangUonDyU 04-16-2009, 05:15 AM 2009
FEATURES:
- Display latest posts in all forum and in specific forums. Auto Refresh using AJAX
- Display Topx: Top posters, newest members, top thanked, most views thread, hottest thread (most reply thread), most popular forum. Choose by Select Menu
- Choose result (by select menu)
Plugin Installation:
- Upload files
inc/plugins/changstats.php
inc/languages/english/changstats.lang.php
inc/languages/english/admin/changstats.lang.php
- Goto admincp > Plugins > active ChangUonDyU - Advanced Statistics
- Edit index template
Find:
Add below:Code:{$header}
* 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.Code:<br />
{$changstats}
<br />
*** (optional) If you want to add it to the portal page you can:
- Edit portal template
Find:
Add below:Code:{$header}
* note: you can choose to move that anywhere in the portal page if you want hence why currently no automatic portal template edit was included in the plugin.Code:<br />
{$changstats}
<br />
* 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 the jquery includes.
NOTE: The following is rather important and must be placed before any jquery includes:
*** (IMPORTANT!) In headerinclude add this before the jquery includes:
Example:Code:<script type="text/javascript" src="{$mybb->asset_url}/inc/plugins/changstats/prototype.js?ver=1603"></script>
In headerinclude find something like:
Code:<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.js?ver=1820"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.plugins.min.js?ver=1820"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/general.js?ver=1820"></script>
Include prototype before(above) them for example:
Code:<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=1820"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.plugins.min.js?ver=1820"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/general.js?ver=1820"></script>
DONE!!!
Settings Location Instruction:
To change options:
Goto AdminCP > Configuration > Settings > ChangUonDyU - Advanced Statistics
Current localization:
- english
- englishgb
- espanol
- french
- italiano
ChangUonDyU - Advanced Statistics works well with Thanks plugin. You can download the latest version of Thanks (compatible with MyBB 1.8) from the link below:
Latest: Thanks_3.9.4.zip ( Mods site )