News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

ez rookie question 1.1.3.

Started by boardgirls, August 12, 2007, 01:12:11 PM

Previous topic - Next topic

boardgirls

First, I must thank babjusi, dragooon and redone for the advice that saved my board ( and my life hehehe ) I just have two minor questions. I must of over looked the place where you can edit the text for the actual email that gets sent to a new registered members email box. And second, at the very bottom of the page where it say's " most online today 1 most online ever 2 " can that be hidden or manipulated? Thanks everyone  :D

www.bigfootwest.com Family & Friends Admin Team

greyknight17

For the first question, take a look at Themes/default/languages/Login.english.php

These lines are most likely what you are looking for:

// For the below three messages, %1$s is the display name, %2$s is the username, %3$s is the password, %4$s is the activation code, and %5$s is the activation link (the last two are only for activation.)
$txt['register_immediate_message'] = 'You are now registered with an account at ' . $context['forum_name'] . ', %1$s!' . "\n\n" . 'Your account\'s username is %2$s and its password is %3$s.' . "\n\n" . 'You may change your password after you login by going to your profile, or by visiting this page after you login:' . "\n\n" . $scripturl . '?action=profile' . "\n\n" . $txt[130];
$txt['register_activate_message'] = 'You are now registered with an account at ' . $context['forum_name'] . ', %1$s!' . "\n\n" . 'Your account\'s username is %2$s and its password is %3$s (which can be changed later.)' . "\n\n" . 'Before you can login, you first need to activate your account. To do so, please follow this link:' . "\n\n" . '%5$s' . "\n\n" . 'Should you have any problems with activation, please use the code "%4$s".' . "\n\n" . $txt[130];
$txt['register_pending_message'] = 'Your registration request at ' . $context['forum_name'] . ' has been received, %1$s.' . "\n\n" . 'The username you registered with was %2$s and the password was %3$s.' . "\n\n" . 'Before you can login and start using the forum, your request will be reviewed and approved.  When this happens, you will receive another email from this address.' . "\n\n" . $txt[130];


To remove/hide the most online users row, open up Themes/default/BoardIndex.template.php

Search for and delete the following lines:

<tr>
<td class="windowbg2" width="100%">
<span class="middletext">
', $txt['most_online_today'], ': <b>', $modSettings['mostOnlineToday'], '</b>.
', $txt['most_online_ever'], ': ', $modSettings['mostOnline'], ' (' , timeformat($modSettings['mostDate']), ')
</span>
</td>
</tr>

boardgirls

I have been watching my guest and user amounts today. Is there any reason this " most online today 1 most online ever 2 " would not keep a real time total, or do I have to turn on a setting for it to function?
www.bigfootwest.com Family & Friends Admin Team

babjusi

Quote from: boardgirls on August 12, 2007, 04:41:50 PM
I have been watching my guest and user amounts today. Is there any reason this " most online today 1 most online ever 2 " would not keep a real time total, or do I have to turn on a setting for it to function?

Go to Admin Panel-Feature and Options-Basic Features  and check if these tow options are ticked :

Track daily statistics     
   Track daily page views (must have stats enabled)


Advertisement: