Separate User and Bots on Index

Post Reply
User avatar

Topic author
RocknRoll
Active Member
Posts: 8
Joined: 7. March 2010 22:34
phpBB.com User: _RocknRoll

Separate User and Bots on Index

Post by RocknRoll »

I would like to get 'Separate User and Bots on Index' Mod to work in the "Who is online" block for Portal version 1.0.6

Forum index "Who is online"
Image

Portal "Who is online"
Image

As you can see installing the MOD half worked because it separated 'Registered users' and 'Bots' in the "{TOTAL_USERS_ONLINE}"
In total there are 5 users online :: 2 registered, 0 hidden, 0 bots and 3 guests
But doing the matching template edit did not work
OPEN: ./template/index_body.html
FIND:

Code: Select all

<td class="row1" width="100%"><span class="genmed">{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /><br />{LOGGED_IN_USER_LIST}</span></td>
REPLACE WITH:

Code: Select all

<td class="row1" width="100%"><span class="genmed">{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /><br />{LOGGED_IN_USER_LIST}<br />{ONLINE_BOTLIST}</span></td>
OPEN: ./template/portal/block/whois_online.html
FIND:

Code: Select all

<td class="row1" width="100%"><span class="genmed">{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /><br />{LOGGED_IN_USER_LIST}</span></td>
REPLACE WITH:

Code: Select all

<td class="row1" width="100%"><span class="genmed">{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /><br />{LOGGED_IN_USER_LIST}<br />{ONLINE_BOTLIST}</span><br /><br /></td>


Thanks in advance.
User avatar

Topic author
RocknRoll
Active Member
Posts: 8
Joined: 7. March 2010 22:34
phpBB.com User: _RocknRoll

Re: Separate User and Bots on Index

Post by RocknRoll »

** bump **
User avatar

WileCoyote
Active Member
Posts: 41
Joined: 8. August 2011 06:33
phpBB.de User: WileCoyote
phpBB.com User: WileCoyote

Re: Separate User and Bots on Index

Post by WileCoyote »

Open portal.php

Find

Code: Select all

define('IN_PHPBB', true);
Add before

Code: Select all

define('IN_FORUM_INDEX', true);
Save File

Danach sollte die Anzeige wie gewünscht funktionieren.
lg,
WileCoyote
________________________________________
Get some German MOD Translations at
wu-systems.at - An Austrian phpBB Community
User avatar

Topic author
RocknRoll
Active Member
Posts: 8
Joined: 7. March 2010 22:34
phpBB.com User: _RocknRoll

Re: Separate User and Bots on Index

Post by RocknRoll »

Thank you, WileCoyote.
Post Reply

Return to “Modifications Support”