Search found 15 matches

by nikitasius
Mon Aug 08, 2016 7:22 pm
Forum: Extension Writers Discussion
Topic: Read-only system for phpbb 3.1 boards
Replies: 12
Views: 2006

Re: Read-only system for phpbb 3.1 boards

Moderators do not need to have permission to change group permissions. The group permissions are already there. They just have to be the group leaders of the read-only group and be exempt from their permissions, all doable with the standard phpBB. But with this system you don't need to control when...
by nikitasius
Mon Aug 08, 2016 2:18 pm
Forum: Extension Writers Discussion
Topic: Read-only system for phpbb 3.1 boards
Replies: 12
Views: 2006

Re: Read-only system for phpbb 3.1 boards

How is this different from using permissions and just moving the user to a group with Never permissions set for everything but reading? It's exactly what this system do, except: system add users in a special group, do not move them your moderators don't need to have an access to change group permis...
by nikitasius
Thu Aug 04, 2016 3:39 pm
Forum: Extension Writers Discussion
Topic: Read-only system for phpbb 3.1 boards
Replies: 12
Views: 2006

Re: Read-only system for phpbb 3.1 boards

Brf wrote:
david63 wrote:But that is not an extension
The Extension Writers Discussion, and Mod Writers Discussion before it, has always been the place to talk about code or other additions.
If someone will write the extension based on same idea, that will be great! Code is under GPLv3.
by nikitasius
Thu Aug 04, 2016 3:30 pm
Forum: Extension Writers Discussion
Topic: Read-only system for phpbb 3.1 boards
Replies: 12
Views: 2006

Re: Read-only system for phpbb 3.1 boards

david63 wrote:But that is not an extension
Yes, you're right. That's why i've made my post in "phpBB Discussion" forum. But someone moved it here.

It's 100% work and usable, but it's not the extension.
by nikitasius
Thu Aug 04, 2016 3:13 pm
Forum: Extension Writers Discussion
Topic: Read-only system for phpbb 3.1 boards
Replies: 12
Views: 2006

Read-only system for phpbb 3.1 boards

Hi folks! I've made a read-only "system" what work with pbpbb 3.1+ forum. What's inside : - `triggers` and `schedulers` for mysql, program written on Java 7 and page with statistics on JSP. How does it work : Moderator create a new warning for a user and user became a "read-only user". In the warnin...
by nikitasius
Mon Feb 29, 2016 12:05 pm
Forum: Extension Requests
Topic: Add capability to play HTML5 native formats without bbcode
Replies: 104
Views: 13831

Re: Add capability to play HTML5 native formats without bbcode

That seems to me code for encode a video, we dont want to encode but display and play it. Native html5 will not play .avi or .flv video in safari on ipad. And not all mp4 too. mencode - just as a bonus for people who want to prepare their videos for html5. My recomendation was: nginx parse html out...
by nikitasius
Mon Feb 29, 2016 10:09 am
Forum: Extension Requests
Topic: Add capability to play HTML5 native formats without bbcode
Replies: 104
Views: 13831

Re: Add capability to play HTML5 native formats without bbcode

if someone put link http://example.com/video.mp4 or http://example.com/audio.mp3 You can wrap it in html5 tags using ngx_http_substitutions_filter_module . And nginx will modify html output from apache/php-fpm for user. Just use regexp syntax. And here is mencoder for apple format (and it works in f...
by nikitasius
Mon Feb 29, 2016 9:52 am
Forum: Extension Requests
Topic: ReadOnly for users
Replies: 2
Views: 149

Re: ReadOnly for users

KevC , hi! I mean that moderators can restrict user access via moving them into read-only groups via complaint/warning system. They DO NOT need to have access to usergroups! Just add in warning "RO [time]" like "RO: 1d 2h 3m" in english or in russian "РО: 1d 2h 3m". And 10-30 seconds after (depends...
by nikitasius
Mon Feb 29, 2016 9:11 am
Forum: Extension Requests
Topic: ReadOnly for users
Replies: 2
Views: 149

ReadOnly for users

Hi folks!

I have two questions:
1) I've not found readonly extension for phpbb3.1, is it exist?
2) i have handmade solution (java) for readonly via complaint system and few triggers in mysql. Is it interresting for share here?
by nikitasius
Wed Aug 12, 2015 3:05 pm
Forum: Extension Writers Discussion
Topic: Direct work with database, caching problems
Replies: 3
Views: 203

Re: Direct work with database, caching problems

fond here (on forum), work like a charme:

Code: Select all

<?php

define('IN_PHPBB', true);
$phpbb_root_path = './';  // Relative to your phpBB installation path
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);

$cache->purge();
$auth->acl_clear_prefetch();

die( 'done' );
by nikitasius
Wed Aug 12, 2015 9:38 am
Forum: Extension Writers Discussion
Topic: Direct work with database, caching problems
Replies: 3
Views: 203

Re: Direct work with database, caching problems

VSE wrote:Look into $cache->purge()
Thank you, i'll do it!
by nikitasius
Tue Aug 11, 2015 7:30 pm
Forum: Extension Writers Discussion
Topic: Direct work with database, caching problems
Replies: 3
Views: 203

Direct work with database, caching problems

Hello. I have some selfwritten scripts which work with database and manage "user_group" table. Problem is: after inserting new data i need to purge cache of phpbb manually from ADMIN-panel or forum still see user with old groups and old permission. It there the was to disable this kind of caching or...
by nikitasius
Mon Apr 20, 2015 9:20 am
Forum: Extension Writers Discussion
Topic: Question about links in DB
Replies: 0
Views: 112

Question about links in DB

Hi! When moderator/administrator make new warning for user it affect minimum 3 tables: phpbb_warnings phpbb_notifications phpbb_privmsgs And i've not fond links between them except message_time field. So the question is: How to find private message with notification Body by notification ID except me...
by nikitasius
Thu Apr 16, 2015 3:03 pm
Forum: [3.1.x] Support Forum
Topic: Again composer and twig problems :|
Replies: 1
Views: 268

Re: Again composer and twig problems :|

So... php was 5.6.7 as php version.
Reinstalled php AND php5-fpm again... magic was happen. For the moments - no errors.
by nikitasius
Thu Apr 16, 2015 10:00 am
Forum: [3.1.x] Support Forum
Topic: Again composer and twig problems :|
Replies: 1
Views: 268

Again composer and twig problems :|

Yesterday i've updated my php5-fpm from 5.4.4 to 5.6.7 (from dotdeb) because of problems with paul's shoutbox extention (cannot change style on php 5.4.4). After i've decided to reinstall forum (anyway it was empty). It works under nginx 1.6 + php5-fpm (5.6.7) and msqli protocol with DB. Same time i...

Go to advanced search