MyBB Community Forums

Full Version: Can't find the code to change this?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I need to change the code for this:
http://gyazo.com/78632dd145c744b89d217fa8c941e57d

and the html for that box is here: (index template)
<!--- Members Online Today --->
                        <div class="stats_header">Members Online Today</div>
                        <div id="right_links">[<a href="online.php?action=today">{$lang->complete_list}</a>]</div>
                        <div id="stats_separator"><div id="members_online_separator"></div></div>
                        <div class="stats_contents">{$online_today}</div>

And I tried to edit the text to replace with my own but I don't see it here in plugin's template. (online_today)
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->online_today}</title>
{$headerinclude}
</head>
<body>
{$header}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" align="center" width="50%"><span class="smalltext"><strong>{$lang->on_username}</strong></span></td>
<td class="thead" align="center" width="50%"><span class="smalltext"><strong>{$lang->time}</strong></span></td>
</tr>
{$todayrows}
<tr>
<td align="center" colspan="2" class="trow1" style="white-space: nowrap">{$onlinetoday}</td>
</tr>
</table>
<br />
{$multipage}
{$footer}
</body>
</html>
I even checked the language file!
<?php
/**
 *	Copyright © 2006-2008 CraKteR, crakter [at] gmail [dot] com
 *
 *	This program is free software: you can redistribute it and/or modify
 *	it under the terms of the GNU General Public License as published by
 *	the Free Software Foundation, either version 3 of the License, or
 *	(at your option) any later version.
 *
 *	This program is distributed in the hope that it will be useful,
 *	but WITHOUT ANY WARRANTY; without even the implied warranty of
 *	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *	GNU General Public License for more details.
 *
 *	You should have received a copy of the GNU General Public License
 *	along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 *	@version $Id: onlinetoday.lang.php 3 2008-08-04 15:55:02Z CraKteR $
 *	@copyright $LastChangedDate: 2008-08-04 17:55:02 +0200 (ma, 04 aug 2008) $
 *	@author CraKteR <[email protected]>
 */

$l['whos_online_today'] = "Who has been online today";
$l['online_note_today'] = "{1} {2} active in the past {3} hours ({4} {5}, {6} of whom {7} invisible, and {8} {9}).";
?>

Please help me solve this issue! Website: http://ComingSoon.VisualizeEdits.com/
(2013-07-26, 02:09 AM)VisualizeEdits Wrote: [ -> ]I need to change the code for this:
http://gyazo.com/78632dd145c744b89d217fa8c941e57d

and the html for that box is here: (index template)
<!--- Members Online Today --->
                        <div class="stats_header">Members Online Today</div>
                        <div id="right_links">[<a href="online.php?action=today">{$lang->complete_list}</a>]</div>
                        <div id="stats_separator"><div id="members_online_separator"></div></div>
                        <div class="stats_contents">{$online_today}</div>

And I tried to edit the text to replace with my own but I don't see it here in plugin's template. (online_today)
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->online_today}</title>
{$headerinclude}
</head>
<body>
{$header}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" align="center" width="50%"><span class="smalltext"><strong>{$lang->on_username}</strong></span></td>
<td class="thead" align="center" width="50%"><span class="smalltext"><strong>{$lang->time}</strong></span></td>
</tr>
{$todayrows}
<tr>
<td align="center" colspan="2" class="trow1" style="white-space: nowrap">{$onlinetoday}</td>
</tr>
</table>
<br />
{$multipage}
{$footer}
</body>
</html>
I even checked the language file!
<?php
/**
 *	Copyright © 2006-2008 CraKteR, crakter [at] gmail [dot] com
 *
 *	This program is free software: you can redistribute it and/or modify
 *	it under the terms of the GNU General Public License as published by
 *	the Free Software Foundation, either version 3 of the License, or
 *	(at your option) any later version.
 *
 *	This program is distributed in the hope that it will be useful,
 *	but WITHOUT ANY WARRANTY; without even the implied warranty of
 *	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *	GNU General Public License for more details.
 *
 *	You should have received a copy of the GNU General Public License
 *	along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 *	@version $Id: onlinetoday.lang.php 3 2008-08-04 15:55:02Z CraKteR $
 *	@copyright $LastChangedDate: 2008-08-04 17:55:02 +0200 (ma, 04 aug 2008) $
 *	@author CraKteR <[email protected]>
 */

$l['whos_online_today'] = "Who has been online today";
$l['online_note_today'] = "{1} {2} active in the past {3} hours ({4} {5}, {6} of whom {7} invisible, and {8} {9}).";
?>

Please help me solve this issue! Website: http://ComingSoon.VisualizeEdits.com/

What the text in that you want to change? Also it isn't showing up in your forum ???
(2013-07-26, 12:25 PM)ksr Wrote: [ -> ]
(2013-07-26, 02:09 AM)VisualizeEdits Wrote: [ -> ]I need to change the code for this:
http://gyazo.com/78632dd145c744b89d217fa8c941e57d

and the html for that box is here: (index template)
<!--- Members Online Today --->
                        <div class="stats_header">Members Online Today</div>
                        <div id="right_links">[<a href="online.php?action=today">{$lang->complete_list}</a>]</div>
                        <div id="stats_separator"><div id="members_online_separator"></div></div>
                        <div class="stats_contents">{$online_today}</div>

And I tried to edit the text to replace with my own but I don't see it here in plugin's template. (online_today)
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->online_today}</title>
{$headerinclude}
</head>
<body>
{$header}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" align="center" width="50%"><span class="smalltext"><strong>{$lang->on_username}</strong></span></td>
<td class="thead" align="center" width="50%"><span class="smalltext"><strong>{$lang->time}</strong></span></td>
</tr>
{$todayrows}
<tr>
<td align="center" colspan="2" class="trow1" style="white-space: nowrap">{$onlinetoday}</td>
</tr>
</table>
<br />
{$multipage}
{$footer}
</body>
</html>
I even checked the language file!
<?php
/**
 *	Copyright © 2006-2008 CraKteR, crakter [at] gmail [dot] com
 *
 *	This program is free software: you can redistribute it and/or modify
 *	it under the terms of the GNU General Public License as published by
 *	the Free Software Foundation, either version 3 of the License, or
 *	(at your option) any later version.
 *
 *	This program is distributed in the hope that it will be useful,
 *	but WITHOUT ANY WARRANTY; without even the implied warranty of
 *	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *	GNU General Public License for more details.
 *
 *	You should have received a copy of the GNU General Public License
 *	along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 *	@version $Id: onlinetoday.lang.php 3 2008-08-04 15:55:02Z CraKteR $
 *	@copyright $LastChangedDate: 2008-08-04 17:55:02 +0200 (ma, 04 aug 2008) $
 *	@author CraKteR <[email protected]>
 */

$l['whos_online_today'] = "Who has been online today";
$l['online_note_today'] = "{1} {2} active in the past {3} hours ({4} {5}, {6} of whom {7} invisible, and {8} {9}).";
?>

Please help me solve this issue! Website: http://ComingSoon.VisualizeEdits.com/

What the text in that you want to change? Also it isn't showing up in your forum ???

The text I was wanting to change is in the picture. I gave up working on this since I can't find a solution to solve it and deleted it but will try again later.
What text you wanna change? Please make it clear. As I already see the whole text in the language vars:

$l['whos_online_today'] = "Who has been online today";
$l['online_note_today'] = "{1} {2} active in the past {3} hours ({4} {5}, {6} of whom {7} invisible, and {8} {9}).";
(2013-07-26, 04:46 PM)Cedric Wrote: [ -> ]What text you wanna change? Please make it clear. As I already see the whole text in the language vars:

$l['whos_online_today'] = "Who has been online today";
$l['online_note_today'] = "{1} {2} active in the past {3} hours ({4} {5}, {6} of whom {7} invisible, and {8} {9}).";

Yeah, I modified that code to make it my own text but I'm getting a custom plugin from Yaldaram.