WordPress: 3.3
Thesis: 1.8
Hi.
The block of code below used to work fine on one of my Wordpress/Thesis sites, but after one of your updates it now displays this:
1 User Online
Users: Administrator%GUESTS_SEPERATOR%%BOTS_SEPERATOR%
1 User Browsing This Page.
Users: Administrator%GUESTS_SEPERATOR%%BOTS_SEPERATOR%
Most Users Ever Online:
19 On November 6, 2011 @ 2:44 AM
Yes, the page actually shows the text:
%GUESTS_SEPERATOR%%BOTS_SEPERATOR%
The code below is and always has been placed in Thesis OpenHook, Before Sidebars:
- Code: Select all
<!-- ---------------- -->
<DIV style="font-family:Arial; font-size:18px; text-align:center; font-weight:bold;">
<br>
<p style="padding-bottom:8px;">Current Website Activity</p>
</DIV>
<DIV style="font-family: Arial; font-size: 14px; margin-left:40px;">
<?php if (function_exists('users_online')): ?>
<p><div id="useronline-count"><?php users_online(); ?></div></p>
<?php endif; ?>
<?php if (function_exists('get_users_browsing_site')): ?>
<div id="useronline-browsing-site">
<?php echo get_users_browsing_site(); ?>
</div>
<?php endif; ?>
<hr style="margin-right:40px;">
<?php if (function_exists('get_users_browsing_page')): ?>
<div id="useronline-browsing-page">
<?php echo get_users_browsing_page(); ?>
</div>
<?php endif; ?>
<hr style="margin-right:40px;">
<?php if (function_exists('get_most_users_online')): ?>
<p style="margin-left:0px; font-weight:bold;">Most Users Ever Online:</p>
<p style="text-align:center;"><?php echo get_most_users_online(); ?> On <?php echo get_most_users_online_date(); ?></p>
<?php endif; ?>
<hr style="margin-right:40px;">
</DIV>
<!-- ---------------- -->