Search found 1042 matches

by javiexin
Mon Jul 10, 2017 10:15 am
Forum: Extension Writers Discussion
Topic: Detecting if your extension is disabled
Replies: 5
Views: 822

Re: Detecting if your extension is disabled

An extension cannot detect that it is disabled, ever: if it is disabled, none of its code will execute, so there is no way to test it from within the extension. Another thing is testing for the cron job. Have you tried the "Cron Status" extension? It might help you debug the situation... https://www...
by javiexin
Sun Jul 09, 2017 10:48 am
Forum: Extension Writers Discussion
Topic: Looking for advice: best way to add a new "visibility"
Replies: 9
Views: 894

Re: Looking for advice: best way to add a new "visibility"

Next big (huge) hurdle found: content_visibility is NOT ready to EXPAND the visibility, but only to RESTRICT it. In fact, that is halfway true: the real issue here is not content_visibility, but the very big amount of times where the content_visibility conditions are hardcoded in the core rather tha...
by javiexin
Sun Jul 09, 2017 1:25 am
Forum: Extension Writers Discussion
Topic: Looking for advice: best way to add a new "visibility"
Replies: 9
Views: 894

Re: Looking for advice: best way to add a new "visibility"

The "VIP posts" extension is interesting as it does some things that I want to achieve... Thanks a lot, I didn't know that!
-javiexin
by javiexin
Sat Jul 08, 2017 11:09 pm
Forum: Extension Writers Discussion
Topic: Looking for advice: best way to add a new "visibility"
Replies: 9
Views: 894

Re: Looking for advice: best way to add a new "visibility"

Thanks Marco. I have started working on option 2 above, and... well, a disaster. The first thing I want to achieve is SIMPLY to allow the poster of a unapproved post/topic to see it, and then, to have some specific visuals to make it clear it is unapproved. When I complete this, I will probably rele...
by javiexin
Fri Jul 07, 2017 9:22 pm
Forum: Extension Writers Discussion
Topic: Looking for advice: best way to add a new "visibility"
Replies: 9
Views: 894

Looking for advice: best way to add a new "visibility"

Hello all, For an extension I am working on, I want to add a new "visibility", different from the standard ones. What I want to achieve is a post that is only visible to the poster and moderators, that may be edited by either, even (soft)deleted. But that nobody can reply, quote or otherwise see (ex...
by javiexin
Fri Jul 07, 2017 11:16 am
Forum: Abandoned Extensions
Topic: [ABD] Advanced Polls 1.2
Replies: 257
Views: 34959

Re: [3.1][BETA] Advanced Polls 1.2

Review all files in the folder language/de, and compare to language/en. They should have the same entries with the same meaning. En language is correct and complete.

Sorry
-javiexin
by javiexin
Fri Jul 07, 2017 10:38 am
Forum: Abandoned Extensions
Topic: [ABD] Advanced Polls 1.2
Replies: 257
Views: 34959

Re: [3.1][BETA] Advanced Polls 1.2

Sure: the translation is not up to date. I don't speak German, so... I cannot help there.
by javiexin
Tue Jul 04, 2017 4:57 pm
Forum: phpBB Custom Coding
Topic: Can I share phpBB variables with included PHP file?
Replies: 12
Views: 1314

Re: Can I share phpBB variables with included PHP file?

Impossible without more information.
And, if you are planning to use it "for a myriad of things" then you should really learn how to program extensions, and not try to hack the code.
by javiexin
Fri Jun 30, 2017 6:59 pm
Forum: Extension Writers Discussion
Topic: [Tutorial] Convert to Twig Syntax
Replies: 59
Views: 37659

Re: [Tutorial] Convert to Twig Syntax

Thanks a lot kasimi!!!
by javiexin
Fri Jun 30, 2017 6:20 pm
Forum: Extension Writers Discussion
Topic: [Tutorial] Convert to Twig Syntax
Replies: 59
Views: 37659

Re: [Tutorial] Convert to Twig Syntax

Another question: how to perform simple arithmetics with template variables, like {{ TOTAL }} - {{ USED }} and use the resulting value?
-javiexin
by javiexin
Fri Jun 30, 2017 5:49 pm
Forum: Extension Writers Discussion
Topic: [Tutorial] Convert to Twig Syntax
Replies: 59
Views: 37659

Re: [Tutorial] Convert to Twig Syntax

Hello again, I am trying to do something like this, but I cannot make it to work in Twig. An interesting effect of this, is that now, in the Twig template syntax, you CAN use language keys with parameters! So you could write something like {{ lang('KEY', 3) }} or even nesting vars, if that is allowe...
by javiexin
Tue Jun 27, 2017 7:21 pm
Forum: Extension Requests
Topic: Give the option to users to list a thread in more than one subforums?
Replies: 9
Views: 1451

Re: Give the option to users to list a thread in more than one subforums?

Why not use shadow topics?

You create the topic in one forum, and post a link to it under the other.
May not be perfect, but will help you achieve your goals.

-javiexin
by javiexin
Sun Jun 25, 2017 4:08 pm
Forum: Abandoned Extensions
Topic: [ABD] Advanced Polls 1.2
Replies: 257
Views: 34959

Re: [3.1][BETA] Advanced Polls 1.2

Thanks, i will consider these for future versions.
I don't know about the mentioned mod but i will check it.
-javiexin
by javiexin
Sun Jun 18, 2017 3:40 pm
Forum: Abandoned Extensions
Topic: [ABD] Advanced Polls 1.2
Replies: 257
Views: 34959

Re: [3.1][BETA] Advanced Polls 1.2

Only Poll Notifications.
by javiexin
Sun Jun 18, 2017 3:33 pm
Forum: phpBB Discussion
Topic: [Discuss] How to set up a development environment on Windows
Replies: 33
Views: 680218

Re: [Discuss] How to set up a development environment on Windows

Thanks a lot for both blog posts, useful and needed!

May I suggest a third blog post covering how to configure and use phpstorm for effective phpbb development?

Thanks again,
-javiexin

Go to advanced search