2014-12-22, 02:08 AM
2014-12-23, 08:41 AM
-------EDIT--------
i was copas this code from forum/index.php to index.php in root
boadstats html is showing but dynamic boardstats not showing, i can't see whosonline, last member and etc.
where exactly integrate them?
i was copas this code from forum/index.php to index.php in root
// Show the board statistics table only if one or more index statistics are enabled.
$boardstats = '';
if(($mybb->settings['showwol'] != 0 && $mybb->usergroup['canviewonline'] != 0) || $mybb->settings['showindexstats'] != 0 || ($mybb->settings['showbirthdays'] != 0 && $bdaycount > 0))
{
if(!isset($stats) || isset($stats) && !is_array($stats))
{
// Load the stats cache.
$stats = $cache->read('stats');
}
$post_code_string = '';
if($mybb->user['uid'])
{
$post_code_string = '&my_post_key='.$mybb->post_code;
}
eval('$boardstats = "'.$templates->get('index_boardstats').'";');
}
if($mybb->user['uid'] == 0)
and add following script at $templatelist .=$templatelist .= ",portal_welcome_guesttext,postbit_attachments_thumbnails_thumbnail,postbit_attachments_images_image,postbit_attachments_attachment,postbit_attachments_thumbnails,postbit_attachments_images,postbit_attachments,portal_pms,index_boardstats";
boadstats html is showing but dynamic boardstats not showing, i can't see whosonline, last member and etc.
where exactly integrate them?
2014-12-29, 06:26 AM
anyone help me pls ^_^
2015-01-07, 08:51 AM
its solve
i just move {$stats} and {$whosonline} to above footer
but looking different with ur index boardstats
i think we can make it same type in some place
thanks to @mmadhankumar for help me via PM ^_^
i just move {$stats} and {$whosonline} to above footer
but looking different with ur index boardstats
i think we can make it same type in some place
thanks to @mmadhankumar for help me via PM ^_^
2015-01-07, 09:28 AM
your site seems to be "under construction" now... what happened... and what you mean by "same type in some place".. can you share a screenshot of what you want to change...
2015-01-07, 12:19 PM
hi, mmadhankumar
glad u reply,
my site change domain to dota2id.com
i was sent u screenshot on PM
display in portal like this
![[Image: 2dri444.jpg]](https://camo.mybb.com/c6773f27ef94a1c749046ba06592ef73d803c5d7/687474703a2f2f6936312e74696e797069632e636f6d2f326472693434342e6a7067)
and forum like this
![[Image: t8rgad.jpg]](https://camo.mybb.com/59c100436ec68d1bf706fa0a17fbdb0bf742baca/687474703a2f2f6936302e74696e797069632e636f6d2f7438726761642e6a7067)
i want boardstats in forum same display with boardstats in portal , where i should change the code?
bad english btw, i hope u understand what i mean haha
^_^
glad u reply,
my site change domain to dota2id.com
i was sent u screenshot on PM
display in portal like this
and forum like this
i want boardstats in forum same display with boardstats in portal , where i should change the code?
bad english btw, i hope u understand what i mean haha
^_^
2015-01-08, 09:45 AM
are you referring to the structure and style or the text... you can make the style to be same with simple template edits.. but the text are from language files and these lang variables have its own scope and cannot be used in all places unless its declared globally...
2015-01-08, 11:06 AM
i want exactly the same all of them
later i try ur suggest,
thank u for ur help @mmadhankumar, i want ask some question more, in another thread, and i hope u'll help me again ^_^
later i try ur suggest,
thank u for ur help @mmadhankumar, i want ask some question more, in another thread, and i hope u'll help me again ^_^