[RC] [forum permission] Allow viewing topics started by others

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Suggested Hosts
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
Post Reply
User avatar
FoFa
Registered User
Posts: 200
Joined: Wed Dec 03, 2008 9:21 am
Name: Daniel L.
Contact:

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

Post by FoFa » Tue Feb 17, 2015 9:58 pm

Yes all of this
Formly ForumsFaciles :wink:

brunoais
QA Team
Posts: 420
Joined: Wed Jun 18, 2008 10:50 am

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

Post by brunoais » Tue Feb 17, 2015 11:36 pm

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.

thunder2006
Registered User
Posts: 3
Joined: Tue Feb 10, 2015 4:35 am

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

Post by thunder2006 » Thu Feb 19, 2015 12:31 am

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

brunoais
QA Team
Posts: 420
Joined: Wed Jun 18, 2008 10:50 am

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

Post by brunoais » Thu Feb 19, 2015 10:31 am

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.

qarclas
Registered User
Posts: 21
Joined: Wed Jan 07, 2015 2:31 am

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

Post by qarclas » Tue Feb 24, 2015 12:08 am

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 ;)

brunoais
QA Team
Posts: 420
Joined: Wed Jun 18, 2008 10:50 am

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

Post by brunoais » Tue Feb 24, 2015 8:18 am

Please make sure the file exists.

qarclas
Registered User
Posts: 21
Joined: Wed Jan 07, 2015 2:31 am

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

Post by qarclas » Tue Feb 24, 2015 10:50 pm

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?

User avatar
advocatus
Registered User
Posts: 290
Joined: Tue Aug 12, 2014 11:58 am
Location: Ontario, Canada.
Contact:

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

Post by advocatus » Wed Feb 25, 2015 12:15 am

Check the permissions for the file.
Hi, I'm advocatus and I own www.forumgames.in.

qarclas
Registered User
Posts: 21
Joined: Wed Jan 07, 2015 2:31 am

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

Post by qarclas » Wed Feb 25, 2015 12:26 am

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)

User avatar
advocatus
Registered User
Posts: 290
Joined: Tue Aug 12, 2014 11:58 am
Location: Ontario, Canada.
Contact:

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

Post by advocatus » Wed Feb 25, 2015 12:34 am

Use an FTP program to check the file's permissions.
Hi, I'm advocatus and I own www.forumgames.in.

qarclas
Registered User
Posts: 21
Joined: Wed Jan 07, 2015 2:31 am

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

Post by qarclas » Wed Feb 25, 2015 2:04 am

0644

brunoais
QA Team
Posts: 420
Joined: Wed Jun 18, 2008 10:50 am

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

Post by brunoais » Wed Feb 25, 2015 8:07 am

Is the OS GNU/linux?

qarclas
Registered User
Posts: 21
Joined: Wed Jan 07, 2015 2:31 am

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

Post by qarclas » Wed Feb 25, 2015 11:18 pm

brunoais wrote:Is the OS GNU/linux?
Linux cPanel server

brunoais
QA Team
Posts: 420
Joined: Wed Jun 18, 2008 10:50 am

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

Post by brunoais » Thu Feb 26, 2015 9:32 am

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.

qarclas
Registered User
Posts: 21
Joined: Wed Jan 07, 2015 2:31 am

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

Post by qarclas » Thu Feb 26, 2015 1:05 pm

is that something I can fix?
you can fix?

needs to be fixed in phpbb itself?

Post Reply

Return to “Extensions in Development”