[ABD] phpBB 3.2 Topic/Post Attachments on Index and View Forum pages

Extensions in Development[DEV]
Forum rules
Extensions in this forum should be tested locally. ;)
User avatar
Steve
Site Admin
Reactions: 63
Posts: 266
Joined: 13 Dec 2016, 09:43

Re: phpBB 3.2 Topic/Post Attachments on Index and View Forum pages

Post by Steve » 30 Jul 2017, 16:42

Will take a look when on laptop.
1
1 Image
Find: water
Replace with: beer

goldencoin5
Reactions: 0
Posts: 7
Joined: 31 May 2017, 00:12

Re: phpBB 3.2 Topic/Post Attachments on Index and View Forum pages

Post by goldencoin5 » 30 Jul 2017, 19:01

still waiting Steve ...
0

User avatar
Steve
Site Admin
Reactions: 63
Posts: 266
Joined: 13 Dec 2016, 09:43

Re: phpBB 3.2 Topic/Post Attachments on Index and View Forum pages

Post by Steve » 30 Jul 2017, 19:14

Still not on laptop goldencoins5 ....
0
Find: water
Replace with: beer

User avatar
Steve
Site Admin
Reactions: 63
Posts: 266
Joined: 13 Dec 2016, 09:43

Re: phpBB 3.2 Topic/Post Attachments on Index and View Forum pages

Post by Steve » 31 Jul 2017, 10:55

Have you tried not displaying attachments in category's ?
0
Find: water
Replace with: beer

goldencoin5
Reactions: 0
Posts: 7
Joined: 31 May 2017, 00:12

Re: phpBB 3.2 Topic/Post Attachments on Index and View Forum pages

Post by goldencoin5 » 31 Jul 2017, 16:19

Steve wrote:
31 Jul 2017, 10:55
Have you tried not displaying attachments in category's ?
actually this particular option is not working at all (Display latest attachments in forum categories)
by selecting Yes attachments are not showing in categories
likewise
by selecting No attachments are not showing on Index page
0

User avatar
Steve
Site Admin
Reactions: 63
Posts: 266
Joined: 13 Dec 2016, 09:43

Re: phpBB 3.2 Topic/Post Attachments on Index and View Forum pages

Post by Steve » 31 Jul 2017, 17:50

I've just installed this on new phpbb3 forum with no settings changed and works as it should out of the box so I can't tell you why it does not work on your phpbb3 forum.
1
1 Image
Find: water
Replace with: beer

goldencoin5
Reactions: 0
Posts: 7
Joined: 31 May 2017, 00:12

Re: phpBB 3.2 Topic/Post Attachments on Index and View Forum pages

Post by goldencoin5 » 02 Aug 2017, 22:44

steve i also tested it on fresh installation of phpbb 3.2.1 and it is showing on index page also.
actually i upgraded my live board as:
phpbb 3.0.14--->3.1.10--->3.2.0--->3.2.1
but its not showing on index page but on viewforum and viewtopic its is working as expected.
i think this problem is related to issue:
https://tracker.phpbb.com/browse/PHPBB3-14557
https://github.com/phpbb/phpbb/pull/4530/files
kindly adjust the said code in your listener.php file so it could be compatible with those phpbb boards which are upgraded to latest phpbb version boards:

Code: Select all

        public function aif_modify_rows($event)
	{
		if (!empty($event['row']['forum_attach_index']) && $event['row']['forum_type'] != FORUM_CAT)
		{
			$this->forum_ids[] = $event['row']['forum_id'];
		
		}
	}
0

User avatar
Steve
Site Admin
Reactions: 63
Posts: 266
Joined: 13 Dec 2016, 09:43

Re: phpBB 3.2 Topic/Post Attachments on Index and View Forum pages

Post by Steve » 03 Aug 2017, 08:01

I will take a look one day this week 👍🏻
1
1 Image
Find: water
Replace with: beer

DR.HOUSE
Reactions: 0
Posts: 2
Joined: 27 Aug 2017, 23:24

Re: phpBB 3.2 Topic/Post Attachments on Index and View Forum pages

Post by DR.HOUSE » 27 Aug 2017, 23:46

hi Steve,
i installed this extension on version 3.2.1. "clean". I don't installed Post Reactions extension. Attachment on index and view forum page works in all position,but i have a problem.
In localhost a user from me created sees the images posted by admin and other users.Online instead, he sees only his images.Why?
This extension does not require permissions.I dont's see in acp permission group.
Can it depend that Italian support did not translate the language file of 3.2.1?
But, if i (admin) switch language package from italian to english dont's see in permission to assign.
How to solve it?
Thank you.
edit:
sorry for my bad english, i'm italian.

example image in localhost:
user test view images posted from admin
local.png
when test visit a forum online don't see images
onlinedemo.png
In both cases you do not see the folder icon image even if you set it correctly in acp.
0
You do not have the required permissions to view the files attached to this post.

User avatar
Steve
Site Admin
Reactions: 63
Posts: 266
Joined: 13 Dec 2016, 09:43

Re: phpBB 3.2 Topic/Post Attachments on Index and View Forum pages

Post by Steve » 28 Aug 2017, 09:57

I will have a look today.
0
Find: water
Replace with: beer