SimplePortal
Support => English Support => Topic started by: teos on January 04, 2013, 04:57:15 AM
-
SMF 2.0.3 default theme curve SP 2.3.5
My problem is alittle bit different.
I have "users online today" mod installed. I sse the output at the bottom of the forum page. (info center)
But when enbaled in the block, it only shows logged in users at that time not today ..
uninstalled 2.0.2 of the mod and installed 2.0.3 of the mod but the problem is the same.
no today info displayed in thewhois online block.
removed block after 2.0.3 installation and redefined again. negative
Any idea ?
-
same here... and no log entrys
i found out.. in PortalBlocks.php at line 351 and 353 there is a reference to a file called
Subs-MembersOnlineToday.php
but the "Users Online Today"-mod installs a file called Subs-UsersOnlineToday.php
i tried to change the name in PortalBlocks.php.. but then the portal freaks out.. only blocks are shown that are loaded before the users online block.. everything else is not shown anymore
EDIT:
ok.. fixed it..
php error log showed me that there was a non existing function called..
how to get this mod working with simpel portal, open Sources/PortalBlocks.php and:
if ($online_today && file_exists($sourcedir . '/Subs-MembersOnlineToday.php'))
{
require_once($sourcedir . '/Subs-MembersOnlineToday.php');
if ($online_today && file_exists($sourcedir . '/Subs-UsersOnlineToday.php'))
{
require_once($sourcedir . '/Subs-UsersOnlineToday.php');
and also
$stats += getMembersOnlineTodayStats($membersOnlineTodayOptions);
$stats += getUsersOnlineTodayStats($membersOnlineTodayOptions);
-
ok.. there is a ugly scrollbar in this block, when there are to many users... how to get rid of this?
"overflow: hidden;"
as custom style in blockĀ“s properties does not work
changing "overflow: auto;" to "hidden" in portal.css at .sp_online_flow deletes the scrollbar.. but its not possible to scroll anymore.. so this is just a makeshift.. no solution
-
ok.. for disabling scrollbars and still be able to scroll, there is a solution with javascript..
as im not a coder i will have many hours to find out to integrate this with simpleportal =)
but if anyone else wanna try before i do.. here is the solution: http://www.simplyeasy.cz/blog/2012/scrollable-textarea-without-scrollbar/