Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

r-a-y

By: a guest on Jul 27th, 2010  |  syntax: None  |  size: 0.72 KB  |  views: 33  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. //*Turn off* oEmbed for the following components:
  2.  
  3. define( 'BP_OEMBED_DISABLE_ACTIVITY', true );
  4.  
  5. define( 'BP_OEMBED_DISABLE_ACTIVITY_REPLIES', true );
  6.  
  7. define( 'BP_OEMBED_DISABLE_FORUM_POSTS', true );
  8.  
  9.  
  10. //*Turn on* oEmbed for the following components:
  11.  
  12. define( 'BP_OEMBED_DISABLE_GROUP_DESCRIPTION', false );
  13.  
  14. define( 'BP_OEMBED_DISABLE_XPROFILE', false );
  15.  
  16.  
  17. // Resizing embed items
  18.  
  19. define( 'BP_OEMBED_ACTIVITY_STREAM_WIDTH', '200' );
  20.        
  21. define( 'BP_OEMBED_ACTIVITY_PERMALINK_WIDTH', '400' );
  22.        
  23. define( 'BP_OEMBED_FORUM_POST_WIDTH', '300' );
  24.  
  25. define( 'BP_OEMBED_GROUP_DESC_WIDTH', '200' );
  26.  
  27. define( 'BP_OEMBED_XPROFILE_WIDTH', '200' );
  28.  
  29.  
  30. // Whitelist carat
  31.  
  32. define( 'BP_OEMBED_WHITELIST_CARAT', '%' );