Sandbach Transport Festival
Collapse
X
-
12 February 2019, 20:44This reply by hkjacko has been deleted by Mark.B
Mark... can you walk me through how you did that? From a user perspective I can only see how to upload 5 photos using the camera icon (above left) or the 'image' icon in the advanced editor which seems to do it one by one.
thx -
12 February 2019, 20:44This reply by Mark.B has been deleted by Mark.B
Originally posted by hkjacko View PostMark... can you walk me through how you did that? From a user perspective I can only see how to upload 5 photos using the camera icon (above left) or the 'image' icon in the advanced editor which seems to do it one by one.
thx
Needs a file edit.
First, change the usergroup permission "Maximum Attachments per Post" to 20. Needs doing for each usergroup.
Then change the same permission in Channel Management > Channel Permissions. Change it on the forum channel and it should cascade down, unless you've customised any lower down the tree.
Then, find the file: core/vb/library/content/gallery.php
Find both instances of this:
PHP Code:$contentInfo[$node]['photopreview'] = ($contentInfo[$node]['photocount'] > 3) ? array_slice($contentInfo[$node]['photo'], 0, 3) : $contentInfo[$node]['photo'];
Change to:
PHP Code:$contentInfo[$node]['photopreview'] = ($contentInfo[$node]['photocount'] > 20) ? array_slice($contentInfo[$node]['photo'], 0, 20) : $contentInfo[$node]['photo'];
MARK.B | vBULLETIN SUPPORT -
12 February 2019, 20:44This reply by Mark.B has been deleted by Mark.B
I chose 20 as it was just a better number to use if you want to create a Gallery like I've done.MARK.B | vBULLETIN SUPPORT
Users Viewing This Thread
Collapse
There is currently 0 user online. 0 members and 0 guests.
Most users ever online was 3,870 at 04:30 on 11 June 2024.
Unconfigured Ad Widget
Collapse