Cotonti / Open Source PHP Content Management FrameworkContent Management Framework

Extensions / Utilities & Tools / Pastebin

Complete Pastebin Plugin (uses Chilli Highlighter)

#1. Version

1.1 - Siena Download

#2. Description

This plugin creates a pastebin area similar to many other pastebin sites. The purpose is to allow code snippets to be pasted and then a link to them can be provided. Instead of sending all the code directly to someone.
 

#3. Features

  • Allow Private Pastes(doesn't show in recent pastes)
  • Allow Pastes to Never Expire(option)
  • Allow Password Protected Pastes
  • Paste Flagging system to allow users to notify admins
  • Utilizes Tag system
  • Allows for PHP, SQL, HTML, CSS, JS syntax highlighting(via Chili) by default

 

#4. License

 

BSD
 

#5. Demo

http://www.cotonti.com/pastebin/


1. 5uper Mario  2009-12-19 07:31

Thanks: 0

I actually find this useful.

Thanks and good job :)
2. Evil  2012-03-01 20:03

Thanks: 0

В файле pastebin.view.php косяк в коде:

 if (cot_plugin_active('bbcode'))

 {

 require_once cot_incfile('bbcode', 'plug');

 $text = cot_bbcode_cdata($fa_paste['paste_text']);

 }

 else

 {

$text = htmlspecialchars($fa_paste['paste_text']);

 }

 

При включенном ббкод парсере код отображается не верно, исправляется удалением лишней проверки на ббкод парсер.

Total: 2, on page: 2

Only registered users can post new comments