Introduction and Example
I started doing some gaming on Xbox Live a few months ago, and I noticed the high amount of gaming sites for Xbox that are on the internet. I also noticed that most of them had bbcode or profile option for a gamertag. Since then, I noticed that no one had released this bbcode for Seditio, so I figured that I will show you how to make it. It's quite simple.
Example:
Tutorial
Open:
system/functions.phpFind:
Code:
'[more]' => ''
Replace With:
Code:
'[more]' => '', '[xbox]' => '<iframe src="http://gamercard.xbox.com/', '[/xbox]' => '.card" scrolling="no" frameBorder="0" height="140" width="204"></iframe>'
Open:
plugins/textboxer2/inc/textboxer2.inc.phpFind:
Code:
8,
'page',
// 'pagep',
'user',
// 'link',
// 'linkp',
'flag',
'pfs',
'topic',
'post',
'pm',
Directly Below Add:
Code:
'xbox',
Find:
Code:
//Only in textboxer2
$res['preview'] = array('', '', 43);
Directly Below Add:
Code:
//XBOX
$res['xbox'] = array('[xbox]', '[/xbox]', 36);
$L['bbcodes_ex_xbox'] = "Add your Xbox Live Gamertag.";
$L['bbcodes_xbox'] = "XBL Gamertag";
To Use:
Simply use the following code in any place that allows bbcode.Code:
[xbox]YOURGAMERTAGHERE[/xbox]

