Search found 2149 matches

by rxu
Sat Oct 14, 2017 2:29 pm
Forum: Extension Writers Discussion
Topic: Function to dynamically decrement the cache time
Replies: 10
Views: 589

Re: Function to dynamically decrement the cache time

Probably I didn't get it right, but for me it looks like calculating the time interval between the SQL query execution time (which is current time) and the end of the month (in seconds), and then setting that interval as sql query result ttl_cache (which is a parameter of the sql_query() function.
by rxu
Sat Oct 14, 2017 2:22 pm
Forum: Extension Writers Discussion
Topic: Override template viewtopic_body.html
Replies: 8
Views: 515

Re: Override template viewtopic_body.html

I never tested that, but I'd try checking the URL parameter and then reassigning the template body via $template->set_filenames call within the (for example) core.page_footer event listener.
by rxu
Thu Oct 12, 2017 5:35 am
Forum: Extension Writers Discussion
Topic: [Solved] Add custom variable to all outgoing email
Replies: 6
Views: 424

Re: [Solved] Add custom variable to all outgoing email

Instead, you could use core.modify_notification_message event to appeng the message nicely ;)
by rxu
Thu Oct 12, 2017 5:34 am
Forum: Extension Writers Discussion
Topic: [Solved] Add custom variable to all outgoing email
Replies: 6
Views: 424

Re: [Solved] Add custom variable to all outgoing email

Well, that's also an invasion to the core files which is not allowed in extensions system, but whatever.
by rxu
Thu Oct 12, 2017 5:05 am
Forum: [3.2.x] Support Forum
Topic: Users not staying logged in on ios/android
Replies: 10
Views: 573

Re: Users not staying logged in on ios/android

You could try if setting cookie domain to .cobaltchat.com would help (leading dot matters).
by rxu
Thu Oct 12, 2017 4:49 am
Forum: Extension Writers Discussion
Topic: [Solved] Add custom variable to all outgoing email
Replies: 6
Views: 424

Re: Add custom variable to all outgoing email

In common, you need handling class messenger in includes/functions_messenger.php which has methods to assign template variables to emails. But it's rather impossible to add custom variable to all emails as you'd need to put additional placeholder to all email template files. It can be added by editi...
by rxu
Tue Oct 10, 2017 9:57 am
Forum: Extensions in Development
Topic: [CDB] Thanks for posts
Replies: 1118
Views: 138366

Re: [DEV] Thanks for posts

If I was able to see it, it would be easier to decide if it's possible ;)
by rxu
Tue Oct 10, 2017 9:46 am
Forum: Extensions in Development
Topic: [CDB] Thanks for posts
Replies: 1118
Views: 138366

Re: [DEV] Thanks for posts

Like with any "premium" (paid) style - I have no idea as I never bought it and didn't see its code.
by rxu
Tue Oct 10, 2017 4:02 am
Forum: Extensions in Development
Topic: [CDB] Thanks for posts
Replies: 1118
Views: 138366

Re: [DEV] Thanks for posts

That style is prosilver-based, so I assume it should be possible.
by rxu
Mon Oct 09, 2017 4:24 am
Forum: [3.2.x] Support Forum
Topic: Duplicate entry error
Replies: 6
Views: 231

Re: Duplicate entry error

That's weird indeed and should never happen as per the core code, unless... there're some strange things with the cache.
Could you check the /cache folder and its subfolders permissions? Also, are you using OPcache along with PHP7 (and/or other server-side caching probably)?
by rxu
Mon Oct 09, 2017 2:46 am
Forum: [3.2.x] Support Forum
Topic: Duplicate entry error
Replies: 6
Views: 231

Re: Duplicate entry error

Tried to reproduce the error (phpBB 3.2.1) with no "success". Are you getting the error every time for posts approval? Do you have any particular steps to reproduce the bug?
by rxu
Sun Oct 08, 2017 12:33 pm
Forum: [3.2.x] Support Forum
Topic: Enable URL Rewriting not working
Replies: 7
Views: 837

Re: Enable URL Rewriting not working

Have you edited .htaccess in some way? Especially the part handling app.php rewrite rules.
by rxu
Fri Oct 06, 2017 5:24 pm
Forum: [3.2.x] Support Forum
Topic: Enable URL Rewriting not working
Replies: 7
Views: 837

Re: Enable URL Rewriting not working

TheBlueKingLP wrote:
Fri Oct 06, 2017 2:39 pm
'Enable URL Rewriting',but it isn't working
What does it really mean? Why do you think it's not working?
by rxu
Fri Oct 06, 2017 1:46 pm
Forum: Abandoned Extensions
Topic: [ABD] s9e/mediaembed - Embed videos and third-party content without a single BBCode
Replies: 905
Views: 102619

Re: [BETA] s9e/mediaembed - Embed videos and third-party content without a single BBCode

JoshyPHP wrote:
Fri Oct 06, 2017 8:26 am
Do you know how that link was generated?
Yes. F.e. open Youtube video page in browser (paused), set the time slider at 9.00 mins, then click "Share" below and check the "Start at:" checkbox in the window opened. The link generated will get t=9m parameter (without seconds).
by rxu
Fri Oct 06, 2017 1:57 am
Forum: Abandoned Extensions
Topic: [ABD] s9e/mediaembed - Embed videos and third-party content without a single BBCode
Replies: 905
Views: 102619

Re: [BETA] s9e/mediaembed - Embed videos and third-party content without a single BBCode

Can't say if it's a bug or intended behavior: if you use a starting point to play Youtube video, f.e. https://youtu.be/is8GEEwJSVM?t=9m0s , it starts from 9 min as it should. But if you skip the seconds here, like https://youtu.be/is8GEEwJSVM?t=9m , it starts from the 0 mins 9 sec point instead. If ...

Go to advanced search