Search found 769 matches

by pierredu
Thu Mar 29, 2018 7:22 am
Forum: [3.1.x] Support Forum
Topic: It's not possible to bulk delete posts containing a keyword, right?
Replies: 2
Views: 143

Re: It's not possible to bulk delete posts containing a keyword, right?

I would rather use

Code: Select all

UPDATE phpbb_posts SET post_text = 'Message text deleted' where post_text LIKE '%some_string%'
by pierredu
Tue Mar 27, 2018 1:27 pm
Forum: Extension Writers Discussion
Topic: Why is there no canonical URL in the search results pages?
Replies: 4
Views: 443

Re: Why is there no canonical URL in the search results pages?

I'm the author of this extension (indexing extension) which piggybacks another extension (topic tags).
I just wanted to know what is the situation and why.
I already added a canonical URL in the head of those pages. This is not really difficult.

Thanks anyway for answering.
by pierredu
Tue Mar 27, 2018 8:41 am
Forum: Extensions in Development
Topic: [3.1][3.2][RC] Glossary 2.1.0
Replies: 335
Views: 19282

Re: [3.1][3.2][RC] Glossary 2.1.0

I uploaded on github a new version (2.1.0) which takes in account the remarks of the testers in the validation process. No changes in the user interface.
by pierredu
Thu Mar 22, 2018 2:05 pm
Forum: Extension Writers Discussion
Topic: Why is there no canonical URL in the search results pages?
Replies: 4
Views: 443

Re: Why is there no canonical URL in the search results pages?

Thanks, this would be an explanation. As a matter of fact, those pages are not exactly searches. There are static pages (taxonomic tree) and the leaves of this tree are searches. See https://www.insecte.org/forum/app.php/index?mode=aiguillage for the main tree and https://www.insecte.org/forum/app.p...
by pierredu
Thu Mar 22, 2018 12:22 pm
Forum: Extension Writers Discussion
Topic: Why is there no canonical URL in the search results pages?
Replies: 4
Views: 443

Why is there no canonical URL in the search results pages?

Hello, I was trying to understand why Googlemaps tells me that I have so much pages without canonical URL and tried to find the reason why. I found that the searching scheme doesn't put a canonical URL in the header. This could amount for a fair number of such pages pointed to by Google. More, on my...
by pierredu
Wed Mar 14, 2018 8:54 am
Forum: Extensions in Development
Topic: [3.1][3.2][RC] Autolinks 1.2.3
Replies: 211
Views: 12464

Re: [3.1][3.2][RC] Autolinks 1.2.3

Thanks for pointing this issue.
I just installed a corrected version on github.
by pierredu
Wed Feb 07, 2018 10:51 am
Forum: Extension Writers Discussion
Topic: How to know phpBB version in getSubscribedEvents?
Replies: 9
Views: 408

Re: How to know phpBB version in getSubscribedEvents?

https://github.com/pierrdu/lmdi_gloss

I commented out the trial code in getSubscribedEvents and the version checking is done in both functions (for 3.1.x and 3.2.x).
by pierredu
Wed Feb 07, 2018 7:50 am
Forum: Extension Writers Discussion
Topic: How to know phpBB version in getSubscribedEvents?
Replies: 9
Views: 408

Re: How to know phpBB version in getSubscribedEvents?

Well, it doesn't work.
Here is the code snippet :

Code: Select all

global $phpbb_container;
if ($phpbb_container->has('core.text_formatter_s9e_render_after'))
{
	var_dump ("True. Version 3.2.");
	// return array...
}
else
{
	var_dump ("False. Version 3.1.");
	// return array...
}
by pierredu
Tue Feb 06, 2018 7:55 pm
Forum: Extension Writers Discussion
Topic: How to know phpBB version in getSubscribedEvents?
Replies: 9
Views: 408

Re: How to know phpBB version in getSubscribedEvents?

Marco,

Thanks a lot.
I'll test and report my findings.
by pierredu
Tue Feb 06, 2018 2:47 pm
Forum: Extension Writers Discussion
Topic: How to know phpBB version in getSubscribedEvents?
Replies: 9
Views: 408

Re: How to know phpBB version in getSubscribedEvents?

I just want to keep my extension running under 3.1.x.
The dirty work is done.
by pierredu
Tue Feb 06, 2018 9:07 am
Forum: Extension Writers Discussion
Topic: How to know phpBB version in getSubscribedEvents?
Replies: 9
Views: 408

How to know phpBB version in getSubscribedEvents?

Hello, In an extension, I have two functions hooking different events depending on phpBB version. But the injected $config is not yet accessible when this function gets executed (still null). Several options : 1. Different versions of the extension 2. Hooking both events and checking at execute time...
by pierredu
Tue Feb 06, 2018 7:12 am
Forum: Extensions in Development
Topic: [3.1][3.2][RC] Glossary 2.1.0
Replies: 335
Views: 19282

Re: [3.1][3.2][RC] Glossary 2.0.0

If you used the former version of the extension and uploaded graphic files to illustrate the glossary items, those files were stored in the folder board/ext/lmdi/gloss/glossaire. On the other hand, if you didn't use graphic files, you can ignore what I said.
by pierredu
Mon Feb 05, 2018 12:53 pm
Forum: Extensions in Development
Topic: [3.1][3.2][RC] Glossary 2.1.0
Replies: 335
Views: 19282

Re: [3.1][3.2][RC] Glossary 2.0.0

I just found this one.

Find
$sql = "alter table ${this->table_prefix}glossary convert to character set utf8 collate utf8_unicode_ci";
and replace with
$sql = "alter table {$this->table_prefix}glossary convert to character set utf8 collate utf8_unicode_ci";

I'll update the repository.

Go to advanced search