Cannot use [media] bbcode - phpBB Media Embed PlugIn
Re: Cannot use [media] bbcode
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.
- DavidIQ
- Customisations Team Leader
- Posts: 18316
- Joined: Thu Jan 06, 2005 1:30 pm
- Location: Fishkill, NY
- Name: David Colón
- Contact:
Re: Cannot use [media] bbcode
That's a pain It has complex permission setting based on groups, not role.DavidIQ wrote:If you're not using the default roles then just set it for the roles you're actually using. If you're not using any roles at all then yes, you'll need to set the permissions for each of the 30 forums.
edit:
if I add
Code: Select all
['permission.permission_set', ['REGISTERED', 'f_mediaembed', 'group']],
will it set the permission for all forum?
-
- Registered User
- Posts: 204
- Joined: Wed Jan 04, 2012 6:33 pm
- Contact:
Re: Cannot use [media] bbcode
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.
- DavidIQ
- Customisations Team Leader
- Posts: 18316
- Joined: Thu Jan 06, 2005 1:30 pm
- Location: Fishkill, NY
- Name: David Colón
- Contact:
Re: Cannot use [media] bbcode
Problem is, I'm not using roles.DavidIQ wrote:Would probably be easier to just change the permission for the roles instead if you're using them.
uninstall/reinstall as in uninstall -> delete data -> reinstall?unless you go through uninstalling and then reinstalling it.
or just disable then enable (without deleting data)?
Will it have any bad effect? If not, I think this will be easier then going through all 30+ forums.
Please suggest the edits.
-
- Registered User
- Posts: 204
- Joined: Wed Jan 04, 2012 6:33 pm
- Contact:
Re: Cannot use [media] bbcode
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.
- DavidIQ
- Customisations Team Leader
- Posts: 18316
- Joined: Thu Jan 06, 2005 1:30 pm
- Location: Fishkill, NY
- Name: David Colón
- Contact:
Re: Cannot use [media] bbcode
1.0.2 give only problem
-
- Registered User
- Posts: 42
- Joined: Sun Sep 24, 2017 7:15 am
- Location: RU
- Name: Alexander
- Contact:
Re: Cannot use [media] bbcode
Posting this here for anyone else seeing this issue after updating your board to 3.2.4 and/or updating the extension, disable and enable it again, this seems to have fixed the permission error.
-
- Registered User
- Posts: 8
- Joined: Thu Feb 12, 2015 9:04 pm
- Contact:
Re: Cannot use [media] bbcode
For example:
Go to
ACP
Permissions
Forum Permissions
- Select one of your forums (or all of them)
- Select a User or Group and click
Edit permissions
Advanced Permissions
Content
- set
Can use [media] BBCode
Go to
ACP
Permissions
Forum Roles
- Click the edit icon for a forum role
Content
- set
Can use [media] BBCode
- Full Access
- On Moderation Queue
- Standard Access
- Standard Access + Polls
Go to
ACP
Permissions
View Forum Based Permissions
- Select one of your forums (or all of them)
- Select a User or Group and click
View permissions
- View the
Content
tabs of each forum
- MattF
- Extensions Development Coordinator
- Posts: 5859
- Joined: Sat Jan 17, 2009 9:37 am
- Location: Los Angeles, CA
- Name: Matt Friedman
- Contact:
Re: Cannot use [media] bbcode
unnecessary nonsense with a bunch of problems
-
- Registered User
- Posts: 42
- Joined: Sun Sep 24, 2017 7:15 am
- Location: RU
- Name: Alexander
- Contact:
Re: Cannot use [media] bbcode
Thanks - this just fixed it for me.thelorax wrote:I was having the same issue as OP, the forum permissions were already set to allow parsing so the fix offered wasn't helpful, kept getting the error: "You can not use certain BBCodes: [media]"
Posting this here for anyone else seeing this issue after updating your board to 3.2.4 and/or updating the extension, disable and enable it again, this seems to have fixed the permission error.
-
- Registered User
- Posts: 88
- Joined: Thu Mar 02, 2017 10:00 am
- Contact:
Re: Cannot use [media] bbcode
https://www.phpbb.com/extensions/installing/
Just replacing the files is not enough since that will not run new migrations which is why you would be having this problem since the new permission is added via a migration.
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.
- DavidIQ
- Customisations Team Leader
- Posts: 18316
- Joined: Thu Jan 06, 2005 1:30 pm
- Location: Fishkill, NY
- Name: David Colón
- Contact:
Re: Cannot use [media] bbcode
Need swith off permissions systems
-
- Registered User
- Posts: 42
- Joined: Sun Sep 24, 2017 7:15 am
- Location: RU
- Name: Alexander
- Contact:
Re: Cannot use [media] bbcode
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.
- DavidIQ
- Customisations Team Leader
- Posts: 18316
- Joined: Thu Jan 06, 2005 1:30 pm
- Location: Fishkill, NY
- Name: David Colón
- Contact:
Re: Cannot use [media] bbcode
It's not unnecessary nonsense. It's the exact same Forum permissions that are in phpBB's default install for the IMG and FLASH BBCodes. They're there so admin's can control who has the privileges to actually post external media onto their forums.Gubkin wrote:remove please permission in 1.0.3
unnecessary nonsense with a bunch of problems
As detailed in as many ways as we can (in this post and in the FAQ) if you set your permissions correctly, and have magic urls and bbcodes enabled it will work just fine.
Of course if you think you're still having trouble, post an image of your permission masks for us to see.
- MattF
- Extensions Development Coordinator
- Posts: 5859
- Joined: Sat Jan 17, 2009 9:37 am
- Location: Los Angeles, CA
- Name: Matt Friedman
- Contact:
Re: Cannot use [media] bbcode
Code: Select all
public function check_forum_permission($event)
{
if (!$this->auth->acl_get('f_mediaembed', $event['forum_id']) || !$this->auth->acl_get('f_bbcode', $event['forum_id']))
{
$this->disable_plugin = false;
$this->disable_tag = false;
}
}
Its not practical to set permissions to big forums (my forum has 400+ subforums). So, this modification solved this issue in a quick way.
- null2
- Registered User
- Posts: 516
- Joined: Wed Jan 20, 2010 11:03 am
- Contact: