whoisonlineextradetails

The section where we discuss phpBB extensions.
User avatar
alon
Normal Member
Posts: 31
Joined: Tue Feb 22, 2022 7:47 pm
Answers: 0
Reputation: 4
Has thanked: 10 times
Been thanked: 8 times

Re: whoisonlineextradetails

Post by alon »

Forgive me I did everything in a hurry and I didn't obscure the ip. Involuntary error believe me.

As I said, the problem occurs often and with most users but not with some, strange but true.

Some users show them inside the sections, one out of many.

User avatar
J. H. Rasmussen
Administrator
Posts: 1340
Joined: Thu Nov 07, 2019 9:13 pm
Latest blog post: Play » « on Web Browser Games
Answers: 0
Reputation: 619
Location: Copenhagen, Denmark
Has thanked: 45 times
Been thanked: 52 times
Contact:

Re: whoisonlineextradetails

Post by J. H. Rasmussen »

alon wrote: Wed Nov 30, 2022 7:02 pm Forgive me I did everything in a hurry and I didn't obscure the ip. Involuntary error believe me.
You are forgiven. I just thought you saw that i had blurred the private information from the first image you posted, so it surprised me when you posted two more images without the private information blurred.
alon wrote: Wed Nov 30, 2022 7:02 pm As I said, the problem occurs often and with most users but not with some, strange but true.

Some users show them inside the sections, one out of many.
In the last image the location looks to be Italian for the second user, which makes me ask if you have done any changes to Who Is Online Extra Details extension, like translated the English text to Italian in the extension? If you have done a translation or other changes to the extension, maybe you could add the changed file(s) to a post here in this thread, so i can see if there may be a human mistake there somewhere?

User avatar
alon
Normal Member
Posts: 31
Joined: Tue Feb 22, 2022 7:47 pm
Answers: 0
Reputation: 4
Has thanked: 10 times
Been thanked: 8 times

Re: whoisonlineextradetails

Post by alon »

Hi yes I have translated the language file "common.php" with some steps in Italian as you can see.
I am attaching the modified file.
Thank you

Code: Select all

<?php
/**
 *
 * Who Is Online Extra Details by Informed Webmaster. An extension for the phpBB Forum Software package.
 *
 * @copyright (c) 2020, Johnny H. Rasmussen
 * @license GNU General Public License, version 2 (GPL-2.0)
 *
 */

if (!defined('IN_PHPBB'))
{
	exit;
}

if (empty($lang) || !is_array($lang))
{
	$lang = array();
}

// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
//
// Some characters you may want to copy&paste:
// ’ » “ ” …
//

$lang = array_merge($lang, array(
	'WHOISONLINEEXTRADETAILS_VIEWING_PROFILE' => 'Sta visualizzando il profilo di <span class="username-coloured" style="font-weight: bold;%s">%s</span>',
	'WHOISONLINEEXTRADETAILS_VIEWING_TOPICS' => 'Sta visualizzando un topic nel forum <span style="font-weight: bold;">%s</span>',
	'WHOISONLINEEXTRADETAILS_READING_TOPIC' => 'Sta leggendo il topic <span style="font-weight: bold;">%s</span> nel forum <span style="font-weight: bold;">%s</span>',
	'WHOISONLINEEXTRADETAILS_POSTING_TOPIC' => 'Sta inserendo un nuovo topic nel forum <span style="font-weight: bold;">%s</span>',
	'WHOISONLINEEXTRADETAILS_REPLY_TOPIC' => 'Sta rispondendo al topic <span style="font-weight: bold;">%s</span> nel forum <span style="font-weight: bold;">%s</span>',
	'WHOISONLINEEXTRADETAILS_QUOTE_REPLY_TOPIC' => 'Sta quotanto un topic <span style="font-weight: bold;">%s</span> nel forum <span style="font-weight: bold;">%s</span>',
	'WHOISONLINEEXTRADETAILS_EDIT_TOPIC' => 'Sta modificando il topic <span style="font-weight: bold;">%s</span> nel forum <span style="font-weight: bold;">%s</span>',
	'WHOISONLINEEXTRADETAILS_EDIT_POST' => 'Sta modificando un messaggio  <span style="font-weight: bold;">%s</span> nel forum <span style="font-weight: bold;">%s</span>',
	'WHOISONLINEEXTRADETAILS_DELETE_TOPIC' => 'Deleting topic <span style="font-weight: bold;">%s</span> in forum <span style="font-weight: bold;">%s</span>',
	'WHOISONLINEEXTRADETAILS_DELETE_POST' => 'Deleting post from topic <span style="font-weight: bold;">%s</span> in forum <span style="font-weight: bold;">%s</span>',
	'WHOISONLINEEXTRADETAILS_SOFT_DELETE_TOPIC' => 'Soft deleting topic <span style="font-weight: bold;">%s</span> in forum <span style="font-weight: bold;">%s</span>',
	'WHOISONLINEEXTRADETAILS_SOFT_DELETE_POST' => 'Soft deleting post from topic <span style="font-weight: bold;">%s</span> in forum <span style="font-weight: bold;">%s</span>',
));

User avatar
J. H. Rasmussen
Administrator
Posts: 1340
Joined: Thu Nov 07, 2019 9:13 pm
Latest blog post: Play » « on Web Browser Games
Answers: 0
Reputation: 619
Location: Copenhagen, Denmark
Has thanked: 45 times
Been thanked: 52 times
Contact:

Re: whoisonlineextradetails

Post by J. H. Rasmussen »

The language file looks fine. If you are ready to take to the next step, get all files from the ext/iw/whoisonlineextradetails directory(including sub-directories) from your forum and pack it with zip or rar or something and attach the file to a reply in this thread. Then i will set up a test forum based on phpbb 3.3.2 and PHP 7.4 to see if i can replicate the issue(and fix it).

I have to be honest, i don't think the Who Is Online Extra Details extension is the issue, but then it least i can see for my self if there is an issue with the extension or the phpBB/PHP combination you use.

Please also let me know if you want me to remove the code you have posted - Thanks :)

User avatar
alon
Normal Member
Posts: 31
Joined: Tue Feb 22, 2022 7:47 pm
Answers: 0
Reputation: 4
Has thanked: 10 times
Been thanked: 8 times

Re: whoisonlineextradetails

Post by alon »

Here is the file downloaded by root
Attachments
whoisonlineextradetails.rar
(12.14 KiB) Downloaded 64 times

User avatar
J. H. Rasmussen
Administrator
Posts: 1340
Joined: Thu Nov 07, 2019 9:13 pm
Latest blog post: Play » « on Web Browser Games
Answers: 0
Reputation: 619
Location: Copenhagen, Denmark
Has thanked: 45 times
Been thanked: 52 times
Contact:

Re: whoisonlineextradetails

Post by J. H. Rasmussen »

I did setup the test forum yesterday, and added the extension from the data you had uploaded. Only issue i found, was it came with an error that it could not find the English language file in the extension, but i could see you had removed it after adding the Italian language. That would require that your forum only uses the Italian language, or it least the Italian language would need to be set as the default language, so the extension can fall back to the Italian language in case a user can chose another language, for the extension to work.

That lead me to 3 questions, first does your forum only use the Italian language, and second is the Italian language set to be the default language of your forum, and third, is there any users on your forum that uses other language(s) then Italian?

You may also want to enable php and your web server to show errors, in case you have those suppressed, to see if it shows any errors that may help solve the issue you have.

User avatar
alon
Normal Member
Posts: 31
Joined: Tue Feb 22, 2022 7:47 pm
Answers: 0
Reputation: 4
Has thanked: 10 times
Been thanked: 8 times

Re: whoisonlineextradetails

Post by alon »

I think the problem is another. Even if I disable your extension, the problem still occurs on the default one. All users on the forum index. I give up, I don't know what to do anymore. Anyway, thanks for your help and availability.

User avatar
J. H. Rasmussen
Administrator
Posts: 1340
Joined: Thu Nov 07, 2019 9:13 pm
Latest blog post: Play » « on Web Browser Games
Answers: 0
Reputation: 619
Location: Copenhagen, Denmark
Has thanked: 45 times
Been thanked: 52 times
Contact:

Re: whoisonlineextradetails

Post by J. H. Rasmussen »

I don't think its the extension either... Anyway, you're welcome, i hope you find out what the issue is.

User avatar
alon
Normal Member
Posts: 31
Joined: Tue Feb 22, 2022 7:47 pm
Answers: 0
Reputation: 4
Has thanked: 10 times
Been thanked: 8 times

Re: whoisonlineextradetails

Post by alon »

I take this opportunity to wish you and all your users a happy new year! ;)

User avatar
J. H. Rasmussen
Administrator
Posts: 1340
Joined: Thu Nov 07, 2019 9:13 pm
Latest blog post: Play » « on Web Browser Games
Answers: 0
Reputation: 619
Location: Copenhagen, Denmark
Has thanked: 45 times
Been thanked: 52 times
Contact:

Re: whoisonlineextradetails

Post by J. H. Rasmussen »

Thanks, i wish you a happy new year too :)

Post Reply

Return to “PhpBB Extensions”

Who is online

Users browsing this forum: No members and 12 guests