BOT USER ID by rich

Support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
Forum rules
Please only request support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
martin123456
Old member
Old member
Posts: 677
Joined: 30 Mar 2011, 00:32

BOT USER ID by rich

Postby martin123456 » 15 Sep 2015, 13:45

Does any one have the files or edits for the bot user id rich made a while back ?

It does not show up in any of rich's 6000+ posts

22.png
You do not have the required permissions to view the files attached to this post.

User avatar
RMcGirr83
Past Contributor
Past Contributor
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr

Re: BOT USER ID by rich

Postby RMcGirr83 » 03 Oct 2015, 14:23

Open includes/acp/acp_bots.php

FIND

Code: Select all

$sql = 'SELECT b.bot_id, b.bot_name, b.bot_active, u.user_lastvisit

IN-LINE FIND

Code: Select all

b.bot_active

IN-LINE AFTER ADD

Code: Select all

, b.user_id

FIND

Code: Select all

'BOT_ID'      => $row['bot_id'],

AFTER ADD

Code: Select all

'USER_ID'      => $row['user_id'],


OPEN adm/style/acp_bots.html
FIND

Code: Select all

<th>{L_BOT_NAME}

IN-LINE AFTER ADD

Code: Select all

<span style="float:right;">BOT User ID</span>

FIND

Code: Select all

<td style="width: 50%;">{bots.BOT_NAME}

IN-LINE AFTER ADD

Code: Select all

<span style="float:right;">{bots.USER_ID}</span>


Finis

martin123456
Old member
Old member
Posts: 677
Joined: 30 Mar 2011, 00:32

Re: BOT USER ID by rich

Postby martin123456 » 03 Oct 2015, 14:31

Thanx rich this is one edit i really do need :beer:


Return to “Modders MOD support”

Who is online

Users browsing this forum: CommonCrawl [Bot] and 1 guest