Search found 397 matches

by tojag
Wed Feb 06, 2019 12:30 pm
Forum: Extension Writers Discussion
Topic: Changing a template var from a template
Replies: 32
Views: 2651

Re: Changing a template var from a template

Kasimi, can You give me a sample of code, how to assign something to postrow.VARIABLE in style file? I can't see any idea how to use merge() in this case. By using attribute() function, as You write I can only read value, not assign. {% set postrow.VARIABLE = VALUE %} doesn't work too Fatal error: U...
by tojag
Wed Feb 06, 2019 7:55 am
Forum: Extension Writers Discussion
Topic: Changing a template var from a template
Replies: 32
Views: 2651

Re: Changing a template var from a template

I tried to do something as Mrgoldy advised me.
I want to change value of var inside style file event in depends on post number. I have never written an extension before, so I have a problems on start. Maybe should I operate on $postrow in php and next assign it to postrow? I don't know.
by tojag
Tue Feb 05, 2019 10:11 pm
Forum: Extension Writers Discussion
Topic: Changing a template var from a template
Replies: 32
Views: 2651

Re: Changing a template var from a template

I can not assign a value to any variable in the 'postrow' block.
This {% set attribute(postrow, VAR)=value always make me an error :(
by tojag
Mon Feb 04, 2019 7:50 pm
Forum: Extension Writers Discussion
Topic: Changing a template var from a template
Replies: 32
Views: 2651

Re: Changing a template var from a template

I don't know why, but it doesn't work for me: {% set attribute(postrow, S_SOMETHING) = attribute(postrow, S_SOMETHING_1) and S_SOMETHING_2 %} Still Fatal error: Uncaught Twig_Error_Syntax: Unexpected token "punctuation" of value "(" ("end of statement block" expected). Even for this {% set attribute...
by tojag
Mon Feb 04, 2019 2:40 pm
Forum: Extension Writers Discussion
Topic: Changing a template var from a template
Replies: 32
Views: 2651

Re: Changing a template var from a template

I try to use this {% set attribute(name, S_SOMETHING) = 0 %} but instead 0 I want to use logical value of another vars eg var.S_SOMETHING1 and var.S_SOEMTHING2 and .... {% set attribute(name, S_SOMETHING) = (var.S_SOMETHING1 and var.S_SOEMTHING2) %} but this make me error: Fatal error: Uncaught Twig...
by tojag
Mon Feb 04, 2019 12:52 pm
Forum: Extension Writers Discussion
Topic: Changing a template var from a template
Replies: 32
Views: 2651

Re: Changing a template var from a template

Hi How to change value for var in template eg. vname.S_SOMETHING ? I try to do this <!-- PHP --> $template->assign_var('vname.S_SOMETHING', 0)); <!-- ENDPHP --> or <!-- PHP --> $template->assign_var('vname', array('S_SOMETHING' => 0)); <!-- ENDPHP --> but no efffect. Something like this {% set name....
by tojag
Tue Jan 22, 2019 11:59 am
Forum: Extensions in Development
Topic: [3.2][RC] New User Default Settings
Replies: 62
Views: 10107

Re: [3.2][RC] New User Default Settings

Tarantino wrote:
Tue Jan 22, 2019 11:47 am
I've already an extension for forcing new profile fields.
Can You write me where can I find it?
by tojag
Tue Jan 22, 2019 11:40 am
Forum: Extensions in Development
Topic: [3.2][RC] New User Default Settings
Replies: 62
Views: 10107

Re: [3.2][RC] New User Default Settings

OT There is an extension for change also old users settings? No - because I do not believe that you should change a user's settings withouth them knowing about it, and if they don't like what you have changed they will only change them back. Honestly that decision should be an Admin decision. There...
by tojag
Sat Dec 01, 2018 8:19 pm
Forum: General Discussion
Topic: How to disable email notifications about delivery error?
Replies: 8
Views: 5134

Re: How to disable email notifications about delivery error?

I know, I know ... I asked You because I thought you had the experience with it. If not, please close this topic.
by tojag
Sat Dec 01, 2018 7:57 pm
Forum: General Discussion
Topic: How to disable email notifications about delivery error?
Replies: 8
Views: 5134

Re: How to disable email notifications about delivery error?

tojag wrote:
Sat Dec 01, 2018 6:53 pm
I know, it is not phpBB problem but is there any possibility to disable it?
I know about it, which is why I wrote in this section. The question is, can I disable / filter it on the mail server instead of using a filter on the client?
by tojag
Sat Dec 01, 2018 6:53 pm
Forum: General Discussion
Topic: How to disable email notifications about delivery error?
Replies: 8
Views: 5134

How to disable email notifications about delivery error?

Is there any possibility to disable returning message to sender, if email delivery failed? I have a few emails per day "This message was created automatically by mail delivery software. A message that you sent could not be delivered to one or more of its recipients. [error description]". It is a bit...
by tojag
Wed Nov 14, 2018 10:04 pm
Forum: Extensions in Development
Topic: [3.2][3.3][ALPHA] EXIR - Exif Image Rotation 📸
Replies: 153
Views: 17405

Re: [3.2][ALPHA] EXIR - Exif Image Rotation

I confirm it. With new plupload 2.3.6 and this fix everything seems to work good.
Good job gentlemens!
by tojag
Sun Oct 28, 2018 9:57 pm
Forum: phpBB Discussion
Topic: Image orientation in plupload, using EXIF
Replies: 58
Views: 16040

Re: Image orientation in plupload, using EXIF

Keypro, I put a picture from iPad but under Firefox in Windows. Before updating the file plupload.full.min.js it was wrong (like 1st picture here ), at the moment is ok. But my user wrote to me that when he putting a photo directly from the iPad, it is still wrong :( I have to check it on the iPad/i...
by tojag
Fri Oct 26, 2018 8:33 pm
Forum: phpBB Discussion
Topic: Image orientation in plupload, using EXIF
Replies: 58
Views: 16040

Re: Image orientation in plupload, using EXIF

Yes! It works! :)
v12mike big thanks! :)
by tojag
Thu Aug 30, 2018 8:37 pm
Forum: [3.2.x] Support Forum
Topic: Problem with quoting
Replies: 2
Views: 232

Re: Problem with quoting

It's so obvious that I did not notice.
Beer for You! Thanks!

Go to advanced search

cron