[ABD] WTR (Welcome Topic Robot)

Any abandoned Extensions will be moved to this forum.

WARNING: Extensions in this forum are not currently being supported or maintained by the original Extension author. Proceed at your own risk.
Forum rules
IMPORTANT: Extension Development Forum rules

WARNING: Extensions in this forum are not currently being supported nor updated by the original Extension author. Proceed at your own risk.
User avatar
3Di
Registered User
Posts: 12685
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [ALPHA] WTR (Welcome Topic Robot)

Post by 3Di » Sat May 14, 2016 10:27 pm

The purpose of this extension has been clearly stated. :)

To add, I do not see the use case.
Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
Extensions, Scripts, MOD porting, Update/Upgrades
My development's activity º PhpStorm's proud user

User avatar
Elias
Registered User
Posts: 4612
Joined: Sat Feb 25, 2006 4:31 pm
Location: In the Water!
Name: Elias
Contact:

Re: [ALPHA] WTR (Welcome Topic Robot)

Post by Elias » Wed May 25, 2016 2:06 pm

Noted bugs:
  • An issue with the post count of the BOT
"Mystery creates wonder, and wonder is the basis of man's desire to understand." - Neil Armstrong
|Installing Extensions|Writing Extensions|Extension Validation Policy|

User avatar
3Di
Registered User
Posts: 12685
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [ALPHA] WTR (Welcome Topic Robot)

Post by 3Di » Wed May 25, 2016 6:31 pm

Elias wrote:Noted bugs:
  • An issue with the post count of the BOT
A bit vague, care to expand please?
Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
Extensions, Scripts, MOD porting, Update/Upgrades
My development's activity º PhpStorm's proud user

User avatar
SalazarAG
Registered User
Posts: 665
Joined: Mon Mar 30, 2015 10:48 am

Re: [ALPHA] WTR (Welcome Topic Robot)

Post by SalazarAG » Wed May 25, 2016 10:44 pm

Hello! After I install and register a user test I get the following error

Code: Select all

 ! ) Fatal error: Call to a member function set_topic_prefixes() on a non-object in C:\wamp\www\forum\ext\imkingdavid\prefixed\event\listener.php on line 198
Call Stack
#	Time	Memory	Function	Location
1	0.0024	311144	{main}( )	..\index.php:0
2	1.3560	14005240	phpbb\user->setup( )	..\index.php:29
3	1.3569	14021344	phpbb\event\dispatcher->trigger_event( )	..\user.php:184
4	1.3590	14037272	phpbb\event\dispatcher->dispatch( )	..\dispatcher.php:46
5	1.3590	14037272	Symfony\Component\EventDispatcher\EventDispatcher->dispatch( )	..\dispatcher.php:60
6	1.3782	14613392	Symfony\Component\EventDispatcher\EventDispatcher->doDispatch( )	..\EventDispatcher.php:46
7	1.3808	14621920	call_user_func:{C:\wamp\www\forum\vendor\symfony\event-dispatcher\Symfony\Component\EventDispatcher\EventDispatcher.php:158} ( )	..\EventDispatcher.php:158
8	1.3808	14622232	elias\welcometopicrobot\event\listener->send_topic( )	..\EventDispatcher.php:158
9	1.4139	14624936	elias\welcometopicrobot\event\listener->create_welcome_topic( )	..\listener.php:74
10	1.6230	16886552	submit_post( )	..\listener.php:168
11	2.1309	18122968	phpbb\event\dispatcher->trigger_event( )	..\functions_posting.php:2460
12	2.1309	18123256	phpbb\event\dispatcher->dispatch( )	..\dispatcher.php:46
13	2.1309	18123256	Symfony\Component\EventDispatcher\EventDispatcher->dispatch( )	..\dispatcher.php:60
14	2.1321	18128136	Symfony\Component\EventDispatcher\EventDispatcher->doDispatch( )	..\EventDispatcher.php:46
15	2.1736	18130464	call_user_func:{C:\wamp\www\forum\vendor\symfony\event-dispatcher\Symfony\Component\EventDispatcher\EventDispatcher.php:158} ( )	..\EventDispatcher.php:158
16	2.1737	18130680	imkingdavid\prefixed\event\listener->manage_prefixes_on_posting( )	..\EventDispatcher.php:158
It seems to be a conflict with the extension [pre] fixed

I looked listener.php of prefixed, and the following error line is this

Code: Select all

		$this->manager->set_topic_prefixes((int) $event['data']['topic_id'], $this->manager->get_submitted_prefixes(), (int) $event['data']['forum_id']);
I'm sorry for my English. Google Translator does a bad job. :D

User avatar
3Di
Registered User
Posts: 12685
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [ALPHA] WTR (Welcome Topic Robot)

Post by 3Di » Wed May 25, 2016 10:54 pm

Fatal error: Call to a member function set_topic_prefixes() on a non-object in C:\wamp\www\forum\ext\imkingdavid\prefixed\event\listener.php on line 198
It is an issue of that extension.
Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
Extensions, Scripts, MOD porting, Update/Upgrades
My development's activity º PhpStorm's proud user

User avatar
SalazarAG
Registered User
Posts: 665
Joined: Mon Mar 30, 2015 10:48 am

Re: [ALPHA] WTR (Welcome Topic Robot)

Post by SalazarAG » Wed May 25, 2016 11:11 pm

3Di wrote:
Fatal error: Call to a member function set_topic_prefixes() on a non-object in C:\wamp\www\forum\ext\imkingdavid\prefixed\event\listener.php on line 198
It is an issue of that extension.
The author gone :(

You do not have a way to fix?
I'm sorry for my English. Google Translator does a bad job. :D

User avatar
3Di
Registered User
Posts: 12685
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [ALPHA] WTR (Welcome Topic Robot)

Post by 3Di » Wed May 25, 2016 11:16 pm

The more logical way is to disable that extension and wait the author to come back, posting your issue there where you got that extension from. I mean, logical.. ;)
Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
Extensions, Scripts, MOD porting, Update/Upgrades
My development's activity º PhpStorm's proud user

User avatar
SalazarAG
Registered User
Posts: 665
Joined: Mon Mar 30, 2015 10:48 am

Re: [ALPHA] WTR (Welcome Topic Robot)

Post by SalazarAG » Wed May 25, 2016 11:51 pm

3Di wrote:The more logical way is to disable that extension and wait the author to come back, posting your issue there where you got that extension from. I mean, logical.. ;)
Okay. I'll do it.
But I received another error in topic settings that will be created in ACP:

Code: Select all

	
Clique aqui para voltar ao índice	
Erro Geral
SQL ERROR [ mysqli ]

Data too long for column 'config_value' at row 1 [1406]

SQL

UPDATE phpbb_config SET config_value = 'Olá %user,\nseja muito bem vindo ao %board. :)\n\nÉ importante frisar sempre que a leitura das regras gerais de convívio deve ser feita. Assim, você evita punições e continua aproveitando o espaço.\n\nUm super abraço!\n[i]Este tópico é automático, mas você pode respondê-lo[/]\n\n%robot' WHERE config_name = 'welcomerobot_detail'

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 855
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 193
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 329
CALL: phpbb\db\driver\mysqli->sql_query()

FILE: [ROOT]/phpbb/config/db.php
LINE: 148
CALL: phpbb\db\driver\factory->sql_query()

FILE: [ROOT]/phpbb/config/db.php
LINE: 122
CALL: phpbb\config\db->set_atomic()

FILE: [ROOT]/includes/functions.php
LINE: 162
CALL: phpbb\config\db->set()

FILE: [ROOT]/ext/elias/welcometopicrobot/acp/welcomerobot_module.php
LINE: 95
CALL: set_config()

FILE: [ROOT]/includes/functions_module.php
LINE: 674
CALL: elias\welcometopicrobot\acp\welcomerobot_module->main()

FILE: [ROOT]/adm/index.php
LINE: 81
CALL: p_master->load_active()

Por favor, contate o administrador ou webmaster deste fórum: lucas_vinicius98@live.com
Powered by phpBB® Forum Software © phpBB Limited 
I'm sorry for my English. Google Translator does a bad job. :D

User avatar
3Di
Registered User
Posts: 12685
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [ALPHA] WTR (Welcome Topic Robot)

Post by 3Di » Thu May 26, 2016 12:27 am

Could you pls post it here within the bbcode code tags what you tried to insert into that ACP/field?
Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
Extensions, Scripts, MOD porting, Update/Upgrades
My development's activity º PhpStorm's proud user

User avatar
SalazarAG
Registered User
Posts: 665
Joined: Mon Mar 30, 2015 10:48 am

Re: [ALPHA] WTR (Welcome Topic Robot)

Post by SalazarAG » Thu May 26, 2016 12:37 am

3Di wrote:Could you pls post it here within the bbcode code tags what you tried to insert into that ACP/field?

Code: Select all

Olá %user,
seja muito bem vindo ao %board. :)

É importante frisar sempre que a leitura das regras gerais de convívio deve ser feita. Assim, você evita punições e continua aproveitando o espaço.

Um super abraço!
[i]Este tópico é automático, mas você pode respondê-lo[/]

%robot
I'm sorry for my English. Google Translator does a bad job. :D

User avatar
3Di
Registered User
Posts: 12685
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [ALPHA] WTR (Welcome Topic Robot)

Post by 3Di » Thu May 26, 2016 12:41 am

Is a bit late for me now but try changing this line

Code: Select all

[i]Este tópico é automático, mas você pode respondê-lo[/]
to be

Code: Select all

[i]Este tópico é automático, mas você pode respondê-lo [/i]
it seems to me you have not correctly closed the Italic bbcode tag i, that could be the culprit, let me know.
Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
Extensions, Scripts, MOD porting, Update/Upgrades
My development's activity º PhpStorm's proud user

User avatar
SalazarAG
Registered User
Posts: 665
Joined: Mon Mar 30, 2015 10:48 am

Re: [ALPHA] WTR (Welcome Topic Robot)

Post by SalazarAG » Thu May 26, 2016 12:48 am

3Di wrote:Is a bit late for me now but try changing this line

Code: Select all

[i]Este tópico é automático, mas você pode respondê-lo[/]
to be

Code: Select all

[i]Este tópico é automático, mas você pode respondê-lo [/i]
it seems to me you have not correctly closed the Italic bbcode tag i, that could be the culprit, let me know.
I did it and the error went :(

It seems to be something related to the character limit allowed.
I'm sorry for my English. Google Translator does a bad job. :D

User avatar
3Di
Registered User
Posts: 12685
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [ALPHA] WTR (Welcome Topic Robot)

Post by 3Di » Thu May 26, 2016 12:52 am

SalazarAG wrote:I did it and the error went
Do you mean the error is still there or the error went away and now it works?
Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
Extensions, Scripts, MOD porting, Update/Upgrades
My development's activity º PhpStorm's proud user

User avatar
SalazarAG
Registered User
Posts: 665
Joined: Mon Mar 30, 2015 10:48 am

Re: [ALPHA] WTR (Welcome Topic Robot)

Post by SalazarAG » Thu May 26, 2016 12:55 am

3Di wrote:
SalazarAG wrote:I did it and the error went
Do you mean the error is still there or the error went away and now it works?
Continued and does not work :(

I had a similar error with the extension Post Message When locked to bruninoit and was caused because he was exceeding the character limit allowed. I think we have to change the maximum value.

Sorry for bad english
I'm sorry for my English. Google Translator does a bad job. :D

User avatar
3Di
Registered User
Posts: 12685
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [ALPHA] WTR (Welcome Topic Robot)

Post by 3Di » Thu May 26, 2016 1:17 am

It seems the issue lies elsewhere by some quick test I did now.
Tomorrow I will give to this a better shot though.

In the meantime you can use a shorter message indeed, I tried:
Olá %user,
seja muito bem vindo ao %board. :)

É importante frisar sempre que a leitura das regras gerais de convívio deve ser feita. Assim, você evita punições e continua aproveitando o espaço.

Um super abraço!

%robot
Edit: this extension should use config_text instead of config for that field, I am just helping out but I will see tomorrow what I can do about that. Is not my code.
Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
Extensions, Scripts, MOD porting, Update/Upgrades
My development's activity º PhpStorm's proud user

Post Reply

Return to “Abandoned Extensions”

Who is online

Users browsing this forum: No registered users and 6 guests