SimplePortal
Customization => Custom Coding => Topic started by: iroNikK on August 19, 2009, 06:37:15 PM
-
hi
i want to add to the block "users online" the Last Member and how many member are registred in the forum..
i would like that appears like this:
# Guests: 37
# Dot Hidden: 0
# Dot Users: 5
# Dot Users Online:
# Last Member: asd
# Total of Users: 23000
i am using SMF 1.1.10 and SimplePortal 2.2.2
url: click (http://razifae.netau.net)
pd: sory my english
-
?
-
All this you have in admin panel bloks...
-
Moved to the Custom Coding board, this is not a support request. ;)
Try this edit:
<li>', sp_embed_image('dot'), ' ', $txt['users'], ': ', $stats['num_users'], '</li>';
<li>', sp_embed_image('dot'), ' ', $txt['users'], ': ', $stats['num_users'], '</li>
<li>', sp_embed_image('dot'), ' ', $txt[656], ': ', $context['common_stats']['latest_member']['link'], '</li>
<li>', sp_embed_image('dot'), ' ', $txt[488], ': ', $context['common_stats']['total_members'], '</li>';
-
Hi,
in sources i dont have any file called Sportal1-1.php
i use Simpleportal 2.3
-
The edit should still work. The file you need to edit is now called 'PortalBlocks.php' with SP 2.3.
-
in portalblocks i only see this:
<?php /********************************************************************************** * PortalBlocks.php
-
Your file looks alright to me, its probably your editor that is the problem. If you are using Notepad or something similar, then download a real code editor, like Notepad++
-
i download it and i edit that
but when i opened mi site i saw this
Parse error: syntax error, unexpected T_IF in /home/a7502820/public_html/foro/Sources/PortalBlocks.php on line 1
does not matter anyway