Thread: BB Code Request
View Single Post
  #2  
Old 27 Apr 2015, 03:49
PinkMilk PinkMilk is offline
 
Join Date: May 2010
Real name: Milk Pink
It could be done with iframe...

Title:xboxclips
BB Code Tag Name:xbc
Replacement:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Example:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Description: Whatever you like
Use {option}: No
Remove Tag If Empty: Yes
Disable BB Code Within This BB Code: Yes
Disable Smilies Within This BB Code: Yes
Disable Word Wrapping Within This BB Code: Yes
Disable Automatic Link Parsing Within This BB Code: Yes

However...This could be abused and anything/any page put into it.

The fix for this would be to make members only enter curtain parts of the embed url such as the part highlighted in red:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and change replacement to:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and example to:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

...however this is not a "simple" cut and paste thing for members and most will probably just paste the full link and then wonder why it didn't work. I'm not saying members are stupid but 99.9% would assume/expect it to be a case of the full url not just a part of it.
Attached Images
File Type: jpeg screenshot-localhost 2015-04-27 04-58-50.jpeg (189.5 KB, 10 views)

Last edited by PinkMilk; 27 Apr 2015 at 04:04.
Reply With Quote