Advertisement:

Navigation

SMF Mod Site

Mod Name:
Pastebin BBC
Created By:
Suki
Type:
BBC
First Created:
December 06, 2011, 06:33:58 PM
Last Modified:
January 01, 2012, 12:53:50 PM
Latest Version:
1.0
Compatible With:
2.0.1, 2.0.2
Total Downloads:
752

Download this mod

PastebinBBC.zip (17kB) [745]
Manual Install Instructions for SMF

Description:

Pastebin BBC mod
Author: Suki


Description

For SMF 2.0.x only

This mod needs cURL library.

This mod will add a BBC tag:  [pastebin][/pastebin] where you can post your code snippet and it will be posted on pastebin.com.

In order to use this mod, you need to register an account on pastebin.com, once you have your account, log in and then go to Pastebin API  there you can find Your Unique Developer API Key.

This BBC acts diferent from the regular BBC mods, this mod will parsed the tag before it goes to the database, by the time it gets stored in the database, the tag is now a link to the pastebin site, this is made to prevent the tag from being parsed (and generate a new pastebin url for the same tag) every time the tag is displayed.


License

 * This SMF modification is subject to the Mozilla Public License Version
 * 1.1 (the "License"); you may not use this SMF modification except in compliance with
 * the License. You may obtain a copy of the License at
 * http://www.mozilla.org/MPL/

 
Settings

- Admin->Configuration->Modifications
-Master enable/disable option.
-Specify the length for the pastebin, options are 1 hour, 1 day, 1 month.


Languages

English/utf8


Changelog

1.0 - Sep 26, 2011,
-Initial Release