Page 5 of 19

Re: [Dev][forum permission] Allow view topics started by others

Posted: Tue Feb 17, 2015 9:58 pm
by FoFa
Yes all of this

Re: [Dev][forum permission] Allow view topics started by others

Posted: Tue Feb 17, 2015 11:36 pm
by brunoais
Puchahawa wrote:No hurry. RL comes first.
I'm now having some hard issues with the results counter when searching. After solving that one, it will be ready for 0.1.0 to come out. I believe I already solved the situation with the announcements not appearing listed.

Re: [Dev][forum permission] Allow view topics started by others

Posted: Thu Feb 19, 2015 12:31 am
by thunder2006
1- For me every thing work correct except when new user try to open the posts i get this error :-

Code: Select all

Language file ./ext/brunoais\readotherstopics/language/ar/common.php couldn't be opened.
any idea how to solve this ??

2- I want to make a post that all member can see it on this part .. how i can do it ? for example rules for this part ... So every one know what they can do in this part in my forum.
http://www.egkey.com

Re: [Dev][forum permission] Allow view topics started by others

Posted: Thu Feb 19, 2015 10:31 am
by brunoais
thunder2006 wrote:1- For me every thing work correct except when new user try to open the posts i get this error :-

Code: Select all

Language file ./ext/brunoais\readotherstopics/language/ar/common.php couldn't be opened.
any idea how to solve this ??
That is weird... I don't get why it is trying to open the Armenian language if such file doesn't exist.
There's nothing I can do about this. The one at fault is phpBB itself.

Re: [Dev][forum permission] Allow view topics started by others

Posted: Tue Feb 24, 2015 12:08 am
by qarclas
Seems to work for me also on a test forum.

If I try to view direct by link a post I shouldn't be able to see, I get this.
The post isn't visable to click on, it's only if I try to secretly read it from a direct link

Code: Select all

General Error
Language file ./ext/brunoais\readOthersTopics/language/en/common.php couldn't be opened.

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/user.php
LINE: 664
CALL: trigger_error()

FILE: [ROOT]/phpbb/user.php
LINE: 577
CALL: phpbb\user->set_lang()

FILE: [ROOT]/phpbb/user.php
LINE: 596
CALL: phpbb\user->add_lang()

FILE: [ROOT]/ext/brunoais/readOthersTopics/event/main_listener.php
LINE: 288
CALL: phpbb\user->add_lang_ext()

FILE: (not given by php)
LINE: (not given by php)
CALL: brunoais\readOthersTopics\event\main_listener->phpbb_viewtopic_before_f_read_check()

FILE: [ROOT]/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php
LINE: 164
CALL: call_user_func()

FILE: [ROOT]/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php
LINE: 53
CALL: Symfony\Component\EventDispatcher\EventDispatcher->doDispatch()

FILE: [ROOT]/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php
LINE: 167
CALL: Symfony\Component\EventDispatcher\EventDispatcher->dispatch()

FILE: [ROOT]/phpbb/event/dispatcher.php
LINE: 60
CALL: Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch()

FILE: [ROOT]/phpbb/event/dispatcher.php
LINE: 46
CALL: phpbb\event\dispatcher->dispatch()

FILE: [ROOT]/viewtopic.php
LINE: 370
CALL: phpbb\event\dispatcher->trigger_event()
It's great that I can't see the post ! would prefer a more elegant looking error however ;)

Re: [Dev][forum permission] Allow view topics started by others

Posted: Tue Feb 24, 2015 8:18 am
by brunoais
Please make sure the file exists.

Re: [Dev][forum permission] Allow view topics started by others

Posted: Tue Feb 24, 2015 10:50 pm
by qarclas
General Error
Language file ./ext/brunoais\readOthersTopics/language/en/common.php couldn't be opened.


This file exists.

Was there a different one you meant?

Re: [Dev][forum permission] Allow view topics started by others

Posted: Wed Feb 25, 2015 12:15 am
by advocatus
Check the permissions for the file.

Re: [Dev][forum permission] Allow view topics started by others

Posted: Wed Feb 25, 2015 12:26 am
by qarclas
what should the permissions be?

Also, you understand I have to cheat to get this error right? It's not from clicking on a post.
It's from someone sharing a link to the post (one that I cannot see with the new permission)

Re: [Dev][forum permission] Allow view topics started by others

Posted: Wed Feb 25, 2015 12:34 am
by advocatus
Use an FTP program to check the file's permissions.

Re: [Dev][forum permission] Allow view topics started by others

Posted: Wed Feb 25, 2015 2:04 am
by qarclas
0644

Re: [Dev][forum permission] Allow view topics started by others

Posted: Wed Feb 25, 2015 8:07 am
by brunoais
Is the OS GNU/linux?

Re: [Dev][forum permission] Allow view topics started by others

Posted: Wed Feb 25, 2015 11:18 pm
by qarclas
brunoais wrote:Is the OS GNU/linux?
Linux cPanel server

Re: [Dev][forum permission] Allow view topics started by others

Posted: Thu Feb 26, 2015 9:32 am
by brunoais
qarclas wrote:
brunoais wrote:Is the OS GNU/linux?
Linux cPanel server
Although that explains it, whatever causes it is something in phpBB itself and not my extension.

The problem is that "\" that should be a "/" in the path you have shown.

Re: [Dev][forum permission] Allow view topics started by others

Posted: Thu Feb 26, 2015 1:05 pm
by qarclas
is that something I can fix?
you can fix?

needs to be fixed in phpbb itself?