Chip asked me how did I install OnLineUsersToday in my theme so I thought I would also post it here for others if they need
if you dont have -move the default BoardIndex.template.php to the themes folder you want to use.
then
before you install it make sure you make it compadable with RC1
1. open yor zip file and change the package-info.xml to have this line
<install for="1.1 Beta 3 Public, 1.1 RC1">ÂÃ,Â
then put the file back in the zip file and it should install ok into the default theme. Then all you have to do is change the lines below in the BoardIndex.template.php file in the theme you want to use.
<search>
ÂÃ, Ã‚Ã, // If they are logged in, but SP1 style information is off... show a personal message bar.
<and replace with>
ÂÃ, Ã‚Ã, // "Users online Today"
ÂÃ, Ã‚Ã, echo '
ÂÃ, Ã‚Ã, <tr>
ÂÃ, Ã‚Ã, Ã‚Ã, <td class="catbg" colspan="2">', $txt['158bis'], ' ( ', $context['num_users_today'], ' ', $context['num_users_today'] == 1 ? $txt['user'] : $txt['users'], ' )</td>
ÂÃ, Ã‚Ã, </tr><tr>
ÂÃ, Ã‚Ã, Ã‚Ã, <td class="windowbg" width="20" valign="middle" align="center"><img src="', $settings['images_url'], '/icons/online.gif" alt="', $txt['158bis'], '" border="0" /></td>
ÂÃ, Ã‚Ã, Ã‚Ã, <td class="windowbg2" width="100%"><span class="smalltext">', $context['user_today'], '</span></td>
ÂÃ, Ã‚Ã, </tr>';
// If they are logged in, but SP1 style information is off... show a personal message bar.
ÂÃ,Â
hope this gets you going
Are you right or do I still have to wake up ?
Quote from: Ray on November 06, 2005, 06:44:59 PM
<search>
ÂÃ, Ã‚Ã, // If they are logged in, but SP1 style information is off... show a personal message bar.
<--deleted-->
ÂÃ, Ã‚Ã,Â
also
<search>
ÂÃ, Ã‚Ã, // If they are logged in, but SP1 style information is off... show a personal message bar.
</search>
<--deleted-->
In this way they have to replace two times the same part.
8)
Opps fixed
anyway they have a new mod out noe that works with rc1 and it just installs ok. I would use that one now
http://mods.simplemachines.org/index.php?mod=217
Quote from: Ray on November 12, 2005, 05:09:41 PM
Opps fixed
anyway they have a new mod out noe that works with rc1 and it just installs ok. I would use that one now
http://mods.simplemachines.org/index.php?mod=217
That one works OK 4 me
Hes just updated it to an RC version - updates your stats page
How do I make it work for SMF 1.0.5.ÂÃ, Same fix as above?
Edit - fixed it, thanks!