Previous Thread
Next Thread
Print Thread
Hop To
#260341 08/01/2017 11:57 AM
Joined: Oct 2007
Posts: 464
Likes: 11
Addict
Addict
Joined: Oct 2007
Posts: 464
Likes: 11
Our forum has a worldwide audience. Some of our members are using 2400 baud modems, so we have a strict no posting policy for images. We tell our members to use image hosting sites and put a link in their post. (We allow avatars only for "staff", i.e. mods and admins)

Now the owner has asked me a question that I can't answer.
Quote
In reading through the members forum at the UBB site, it seems, with the 7.6.0 update, we might be able to do what we want to do finally... But let me bounce this off you to see if I'm understanding it correctly ...

UBB calls images "attachments"

It is possible to set the permissions to allow uploading "attachments" and even specifying permissions for groups of users as to which forums they can have permission to upload an attachment to

That thumbnails are generated for attachments.

That we can specify/limit file formats (say just to .jpg, .gif, .png for example and NOT allow .doc or .txt
I'm not even sure this is possible. I know I can limit attachments to specific forums, and I know I can create gallery forums where pictures can be posted, but I'm not clear on how to handle permissions. Could a create a new group for image posting? I think it would be best to do that to have the ability to ban someone who was abusive from posting images while not banning them from all the forums.

Pointers to docs are fine. Advice from anyone with experience doing this would be appreciated.


The Stovebolt Geek
https://www.stovebolt.com/ubbthreads/ubbthreads.php

Server Information
UBB.threads Version 8.0.0
Release 20240826
Server OS Linux
Server Load 0.11
Web Server Apache/2.4.37
PHP Version 8.3.11
MYSQL Version 8.0.39
Database Size 1.82 GB
Joined: Jun 2006
Posts: 16,369
Likes: 126
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,369
Likes: 126
UBB.threads has always had attachments, and has had Gallery Forums for much of the v7.5 series. Permissions are all handled through the Forum Permissions area (for both features), the difference really is:

Gallery Forums are treated like a standard, run of the mill photo gallery, images are compressed as their uploaded. Attachments are basically the same thing, only they are not compressed and you can enter the TYPE of files to allow to be uploaded (hence "attachments" as it's more than photos), and images are not compressed (until v7.6.1 is released).

With attachments there are several areas for customization (and as I'm building this list off of v7.6.1 it'll vary wording based on whatever version you're currently using; keep in mind that most of this has existed for most of v7.5.x):
Forum Permissions: CP -> Permissions -> Forum
Attachment Settings: Attachment Options: CP -> Master Settings -> Feature Settings -> Attachments Tab (Attachment storage directory, URL, and Allowed Extensions)
Gallery Settings: CP -> Master Settings -> Gallery Settings (graphics library, max height/width, image quality)

The following are attachment permissions for each forum (again, in the forum permission section):
Can Download Attachments, Max Size of File Attachments, Total # of Attachments

You can toggle the size of the "Show Images Inline" option by going to CP -> Display Settings -> General -> Topic & Post Page Settings and changing "Max File Size for Displaying Uploaded Images Inline" setting (if you WANT them to automatically display vs display as a list of uploads).


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Oct 2007
Posts: 464
Likes: 11
Addict
Addict
Joined: Oct 2007
Posts: 464
Likes: 11
Thanks. Guess I need to talk to the owners some more to see exactly what they're trying to accomplish.


The Stovebolt Geek
https://www.stovebolt.com/ubbthreads/ubbthreads.php

Server Information
UBB.threads Version 8.0.0
Release 20240826
Server OS Linux
Server Load 0.11
Web Server Apache/2.4.37
PHP Version 8.3.11
MYSQL Version 8.0.39
Database Size 1.82 GB

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Profile avatar storage settings
by SenecaFlyer - 12/05/2024 1:24 PM
Not allowing attachment over 2m
by ehill - 12/03/2024 3:16 PM
New Admin Here
by SenecaFlyer - 12/02/2024 4:14 PM
Who's Online Now
2 members (Ruben, Gizmo), 1,193 guests, and 124 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)