Notifications
Clear all

Remove embedded content for certain users

10 Posts
2 Users
1 Likes
692 Views
Posts: 34
 fawp
Topic starter
(@fawp)
Trusted Member
Joined: 5 years ago

wpForo 1.9.9.1

 

I want to disable viewing embedded content for certain users (e.g. logged out users).

 

Since there is no CAN permission for embedded content, I created a function using 'wpforoembed_get_wpforo_embed_regexp', which works for some embedded content (e.g. YouTube videos) but not for other (e.g. Twitter).

 

How can I ensure that all embedded content is being blocked?

Thanks

9 Replies
Kyle
Posts: 728
 Kyle
Admin
(@kylew)
Prominent Member
Joined: 3 years ago

Hi @fawp,

We cannot help you with such codes for customization.

However, you can contact with Gvectors Custom Work Team with your request. But note that Custom Work Team Works with wpForo and addons latest version, so for the Customization you would need to update wpForo and the addons to the latest version.

Custom Work Team Contact Email: sales[at]gvectors.com

Reply
Posts: 34
 fawp
Topic starter
(@fawp)
Trusted Member
Joined: 5 years ago

@Kyle

Hi Kyle thanks - so, to clarify, I wasn't looking for code customisation help.

I was trying to understand

 

1) whether Twitter wasn't covered by the hook I mentioned above

2) whether Twitter has been included in the hook I mentioned abovein wpForo embeds for wpForo v. 2.x.x

 

 

 

Reply
Posts: 34
 fawp
Topic starter
(@fawp)
Trusted Member
Joined: 5 years ago

@Kyle

 

I take it the answer to my questions 1 and 2 above is no?

 

In that case, can I ask that Twitter and other embedded content that is not currently included in the 'wpforoembed_get_wpforo_embed_regexp' hook is added to it, as an enhancement for future releases?

Reply
1 Reply
Kyle
 Kyle
Admin
(@kylew)
Joined: 3 years ago

Prominent Member
Posts: 728

@fawp,

Waiting for the Devs response, will come back to you soon.

Reply
Kyle
Posts: 728
 Kyle
Admin
(@kylew)
Prominent Member
Joined: 3 years ago

Hi @fawp,

Sorry for the late response,

This hook is used for all websites, no matter twitter, YouTube, or other.

Reply
Page 1 / 2
Share:
Scroll to top