[ABD] Post When Locked

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.
Bruninoit
Registered User
Posts: 499
Joined: Thu Jun 13, 2013 2:34 pm
Location: Florence (Italy)
Name: Bruno Andrew
Contact:

Re: [RC] Post When Locked

Post by Bruninoit »

So, try to disable the extension and lock a Topic and see if the problem continues.

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

Re: [RC] Post When Locked

Post by SalazarAG »

Bruninoit wrote:So, try to disable the extension and lock a Topic and see if the problem continues.
With the extension uninstalled the problem does not happen :(
I'm sorry for my English. Google Translator does a bad job. :D

Bruninoit
Registered User
Posts: 499
Joined: Thu Jun 13, 2013 2:34 pm
Location: Florence (Italy)
Name: Bruno Andrew
Contact:

Re: [RC] Post When Locked

Post by Bruninoit »

Ok, please try this: enable extension, go to a topic and click with right part of mouse->open new tab the lock topic link, so click yes and report exactly what happened.
Thanks.

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

Re: [RC] Post When Locked

Post by SalazarAG »

Bruninoit wrote:Ok, please try this: enable extension, go to a topic and click with right part of mouse->open new tab the lock topic link, so click yes and report exactly what happened.
Thanks.
Hello!
I clicked new tab and the following appears:

Fatal error: Cannot pass parameter 4 by reference in C:\webserv\htdocs\comunidade\ext\bruninoit\pwl\event\pwl.php on line 86
I'm sorry for my English. Google Translator does a bad job. :D

Bruninoit
Registered User
Posts: 499
Joined: Thu Jun 13, 2013 2:34 pm
Location: Florence (Italy)
Name: Bruno Andrew
Contact:

Re: [RC] Post When Locked

Post by Bruninoit »

SalazarAG wrote: I clicked new tab and the following appears:
Fatal error: Cannot pass parameter 4 by reference in C:\webserv\htdocs\comunidade\ext\bruninoit\pwl\event\pwl.php on line 86
Very thanks for the test. I've uploaded an old package. Now it works.
Thanks.

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

Re: [RC] Post When Locked

Post by SalazarAG »

Bruninoit wrote:
SalazarAG wrote: I clicked new tab and the following appears:
Fatal error: Cannot pass parameter 4 by reference in C:\webserv\htdocs\comunidade\ext\bruninoit\pwl\event\pwl.php on line 86
Very thanks for the test. I've uploaded an old package. Now it works.
Thanks.
Perfect, it is working very well! Congratulations for the great work!
I'm sorry for my English. Google Translator does a bad job. :D

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

Re: [RC] Post When Locked

Post by SalazarAG »

I found a mistake BruninoIt

It seems that when making a long text on the ACP, this gives the following error:

Code: Select all

Erro Geral
SQL ERROR [ mysqli ]

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

SQL

UPDATE phpbb_config SET config_value = '[b][color=#FF0040][size=150]Alerta: este tópico está sendo trancado e dentro de instantes será removido[/size]![/color][/b]\n\n[b][size=120]Atenção às seguintes possíveis razões que implicaram no fechamento de seu tópico, abaixo:[/size][/b]\n[size=100]- Título ou conteúdo em caixa alta\n- Conteúdo repetido ou reciclado\n- Tópico destinado a off topics, conversas informais\n- Conteúdo fake ou enganoso\n- Spoiler no título do tópico ou no corpo do mesmo sem o BBcode adequado\n- Ausência da fonte de onde tal conteúdo foi extraído\n- Fonte externa não aprovada pela equipe (sites com baixa reputação em nossa comunidade e etc.)\n- Flood excessivo dos membros (entende-se por vários posts feitos por um mesmo membro, assuntos totalmente desconexos e etc.)\n- A dúvida do autor do tópico foi esclarecida\n- O problema relatado já foi resolvido\n- Conteúdo sexual explícito ou ofensivo;[/size]\n[size=100][align=justify][b]Esses são os motivos genéricos, mais comuns para um tópico ser fechado. No entanto, um moderador tem total liberdade para julgar outros casos na necessidade do tópico ser fechado. Se você acha que seu tópico não infringe nenhuma das nossas regras e o moderador pode ter se equivocado, entre em contato com o mesmo, ou qualquer outro membro da equipe no fórum [url=http://localhost/comunidade/viewforum.php?f=19]Dúvidas, Críticas ou Sugestões[/url] ou enviando mensagem privada individual; [url=http://localhost/comunidade/memberlist.php?mode=team]veja aqui a lista dos membros que compõem a equipe do Today[/url][/b][/align].[/size]\n\nEsta mensagem é automática...' WHERE config_name = 'pwl_text'

BACKTRACE

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

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 852
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]/ext/bruninoit/pwl/acp/main_module.php
LINE: 27
CALL: phpbb\config\db->set()

FILE: [ROOT]/includes/functions_module.php
LINE: 674
CALL: bruninoit\pwl\acp\main_module->main()

FILE: [ROOT]/adm/index.php
LINE: 81
CALL: p_master->load_active()
I'm sorry for my English. Google Translator does a bad job. :D

Bruninoit
Registered User
Posts: 499
Joined: Thu Jun 13, 2013 2:34 pm
Location: Florence (Italy)
Name: Bruno Andrew
Contact:

Re: [RC] Post When Locked

Post by Bruninoit »

Yes, you're right... I'll change config with config_text for the post text.
Thanks.

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

Re: [RC] Post When Locked

Post by SalazarAG »

Thank you! :)

Tip: the option to choose which forum the message will appear after locking
I'm sorry for my English. Google Translator does a bad job. :D

Bruninoit
Registered User
Posts: 499
Joined: Thu Jun 13, 2013 2:34 pm
Location: Florence (Italy)
Name: Bruno Andrew
Contact:

Re: [RC] Post When Locked

Post by Bruninoit »

SalazarAG wrote: Tip: the option to choose which forum the message will appear after locking
There is another ext for moving a Topic when is locked.

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

Re: [RC] Post When Locked

Post by SalazarAG »

Bruninoit wrote:
SalazarAG wrote: Tip: the option to choose which forum the message will appear after locking
There is another ext for moving a Topic when is locked.
Yes I know.

I think I expressed myself badly.
The option would be to choose which forum you will see the moderator's message.
I'm sorry for my English. Google Translator does a bad job. :D

Bruninoit
Registered User
Posts: 499
Joined: Thu Jun 13, 2013 2:34 pm
Location: Florence (Italy)
Name: Bruno Andrew
Contact:

Re: [RC] Post When Locked

Post by Bruninoit »

I don't think I understand... A moderator lock a Topic and so he's redirected to the topic locked natively!

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

Re: [RC] Post When Locked

Post by SalazarAG »

Bruninoit wrote:I don't think I understand... A moderator lock a Topic and so he's redirected to the topic locked natively!
It was really confusing.
It is not really necessary option, sorry. :)

About the size of text, how should I do to get a long message in ACP without giving SQL error?
I'm sorry for my English. Google Translator does a bad job. :D

Bruninoit
Registered User
Posts: 499
Joined: Thu Jun 13, 2013 2:34 pm
Location: Florence (Italy)
Name: Bruno Andrew
Contact:

Re: [RC] Post When Locked

Post by Bruninoit »

SalazarAG wrote: About the size of text, how should I do to get a long message in ACP without giving SQL error?
It isn't simple... It requires some edits. I'll update it soon.

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

Re: [RC] Post When Locked

Post by SalazarAG »

Right. Thank you!
I'm sorry for my English. Google Translator does a bad job. :D

Locked

Return to “Abandoned Extensions”