BuddyPress Forum Posts: how to allow full HTML embed, div and object tags? (no limitations)
-
Hello. I have a controlled network for filmmakers, directors and other audio-visual artists in development over at http://1.subvex.com
I’m running the very latest Buddypress and WordPress 3.0.1. The network is exclusive to a limited number of people, and accounts are opened by invitation only: I have no trust issues with the userbase, as we all work with each other all the time. To this end, here’s my question:
rather than run a blog I would like to allow the members to be able to post full-HTML in forum posts: including div, swf, iframe and object/video embed tags (priority is Vimeo) in Group Forum Posts. I would like these forum posts to be visible to the wider web/site visitors.
Subvex uses group functionality over and above everything else. By keeping all actions visible and centralised in groups, we can manage productions (in early stages) via the website.Right now I have HTML functionality set for group members with this addition to FUNCTIONS.PHP
if( bp_group_is_member()) {
remove_filter( ‘groups_group_description_before_save’, ‘wp_filter_kses’, 1 );
remove_filter( ‘bp_get_group_description’, ‘bp_groups_filter_kses’, 1 );
remove_filter( ‘bp_get_the_topic_post_content’, ‘bp_forums_filter_kses’, 1 );
}but when logged out, the html is stripped again and that defeats the purpose. Non-member visitors can see nothing.
How can I completely remove the code stripping from Buddypress forums and therefore allow visitors to the site to be able to read, watch and (in the case of the flash animation module embeds) interact with the content members will post?
Thanks in advance
You must be logged in to reply to this topic.