Jump to content

(VQ) Paste Board System


Amged Osman
 Share

Recommended Posts

%7Boption%7D



File Name: (VQ) Paste Board System

File Submitter: Amged Osman

File Submitted: 22 Dec 2013

File Category: Integration

Supported Versions: IP.Board 3.4.x



With the increase of websites that host your codes, we thought IPB should have a locally hosted app that host member's pasted codes
The application works exactly like website as paste-it or pastebin or github's, the difference is Paste Board allow you to store text within your board installation.
Typical description of the application based on Google's description of Pastebin:
Paste Board is a type of IPB application where anyone can store text for a certain period of time. This type of application is mainly used by programmers to store pieces of source code or configuration information, but anyone can basically share any type of text.

Having the application installed within your board installation break's the time limit, as Paste Board will store the files/codes forever in your database.
Here's a full features list

Quick Description
Paste Board: Type plain text or code and share it across IPB or anywhere on the Internet! Host your own pasted content, clip, and modify to your needs. You can even share in forum topics (posts, signatures, about me or any location that uses BBCode feature) with its own formatting and themes to fit your forum skins.

Features List:

  • Host your own pastebin like application
  • No time limit for hosting any code
  • 30 Programing Language (default IPB offers only 6)
  • 9 Styling Themes to match your board skin
  • Private/Public Codes
  • Fully SEO friendly (short urls - meta keywords & description- FURLs)
  • 3 views (Detailed - RAW "codes only" - BBCode)
  • permissions check and per group
  • IPB's auto-share function, share on Facebook & Twitter
  • Based off IPB's parses - as secured as IPB's built-in parses
  • Related Files (to crate set of files)
  • Colored programing language
  • IPB Search fully integrated
  • IPB Tagging system
  • List of Active users (optional)
  • Guests can create files (if allowed from ACP)
  • reCaptcha check for Guests (Just like IPB Posts)
  • Quick view from homepage view or list view
  • Codes sharable in any part of the website that uses BBCode
  • Profile Tab



F.A.Q:

Q. What is the difference between the Paste Board and codes in IPB Editor?
A. Paste Board will allow you to"keep" the code in its own file, you don;t have to search thousands of posts to find your codes, your codes will be in one place (Your Control Panel)
Moreover; Paste Board allows the "related to" feature for registered members, which means you can always find all related codes you share for certain topic
Also, Paste Board uses different highlighter that supports 30 languages

Q. Can guest post their codes?
A. Yes, they can if you allow them from ACP settings of the system, although, they will not be able to use the "related feature" nor can use tagging system.
We have added a notification for guests that will encourage them to register so that they don't have to put the reCaptcha code every time they want to share code files.

Q. Who is it good for?
It's good for anyone, coders/ skinners can use it for sharing their codes and with the amount of support they give, this should come handy
As for other members, since Paste Board support "Private" files, it can be used as Note keeper, where they can access their private notes from their control panel.
Of course there is no limit to the usage of the system, but those were just an example

Q. How to support more languages in the Highlighter?
A. You can PM me with the language and I will create it for you, of course there is additional fees for that.



If you have any suggestions/ ideas please let me know.

We accept custom work, so in-case you need to customize the application for your needs, please let us know, of course additional fees will be added.



Disclaimer:
This application was created for IPB 3.4.x, the update for 4.0 is unknown as no one knows what are the changes in IPB 4.



here to download this file

Link to comment
Share on other sites

  • 2 weeks later...

Never let this app die bro. Such a nice job.

Soon we start using this app it will be a huge loss the day it stops working cause all pastecode will stop displaying properly.

Getting this error when changing to a non default theme (or maybe changing from theme where paste text was submitted not sure atm) on paste board page on latest IPB version:

Fatal error: Call to a member function itemSingle() on a non-object in /xxx/xxx/xxx/xxx/applications_addon/other/paste/modules_public/view/single.php on line 206

Plus when bbcode is used on forum it shows a copy of the topic where we are posting (weird) on a frame and I believe this is the error:

PHP Fatal error: Call to a member function itemsList() on a non-object in /xxx/xxx/xxx/xxx/applications_addon/other/paste/modules_public/home/home.php on line 85

Link to comment
Share on other sites

  • 2 weeks later...

Never let this app die bro. Such a nice job.

Soon we start using this app it will be a huge loss the day it stops working cause all pastecode will stop displaying properly.

Getting this error when changing to a non default theme (or maybe changing from theme where paste text was submitted not sure atm) on paste board page on latest IPB version:

Fatal error: Call to a member function itemSingle() on a non-object in /xxx/xxx/xxx/xxx/applications_addon/other/paste/modules_public/view/single.php on line 206

Plus when bbcode is used on forum it shows a copy of the topic where we are posting (weird) on a frame and I believe this is the error:

PHP Fatal error: Call to a member function itemsList() on a non-object in /xxx/xxx/xxx/xxx/applications_addon/other/paste/modules_public/home/home.php on line 85

Thanks :) I wont

For the error: rebuild your skins, the error caused by templates not the App itself :)

One small bug, the bbcode url is not absolute, and the pastebin is in folder /pst/ so the bbcode and quickview are a 404 , had to make it /index.php.... to work.

It happened on couple of websites and TBH, i have no idea why, but here's a quivk fix for now

Goto BBCode Management in your ACP

and simple add full your domain / board installaion url before the

index.php?app=paste etc

so it would be something like this

  <div class='rawBBCode'><iframe src='http://DOMAIN.COM/index.php?app=paste&module=view&section=raw&from=bbcode&pid={content}' sandbox='allow-scripts'  width='100%' frameborder='0' scrolling='auto' seamless></iframe></div>
Link to comment
Share on other sites

  • 3 months later...

That looks very interesting, but I have slightly different use case. My community is about travelling, so people like to ask questions about planing a vacation, etc. So I am thinking your mod can be perfect for them to store interesting links, some snippets from forum discussions and so on, much like an advanced note taking system.

I am thinking if it is possible to add a button, next to Quote, Multiquote, Report buttons, which will be "Add to note" or something like that. Then a pop up will appear, which will offer to save the text in the reply in an existing or a new note. I think it will be a nice feature for the app.

Link to comment
Share on other sites

  • 3 weeks later...

That looks very interesting, but I have slightly different use case. My community is about travelling, so people like to ask questions about planing a vacation, etc. So I am thinking your mod can be perfect for them to store interesting links, some snippets from forum discussions and so on, much like an advanced note taking system.

I am thinking if it is possible to add a button, next to Quote, Multiquote, Report buttons, which will be "Add to note" or something like that. Then a pop up will appear, which will offer to save the text in the reply in an existing or a new note. I think it will be a nice feature for the app.

That's a very good idea for future development, but for now the development had stopped until the release of IPB 4.

Link to comment
Share on other sites

Maybe it's my fault, but for me the spacing doesnt work.. Look example - I added some snapshots.

I pasted this kind of code, before are spaces and etc..

attachicon.gif4cbe15f46a197da091f484dc8ceaaccb.png

And the result went like that, so messed up :/

attachicon.gif8dad02c43bf2ae5400d9d3cb53ee6b49.png

What do you mean the spacing, do you mean the code indents?

try using the normal editor without enabling the HTML editor and let me know

disable this

4K6g9N0.png

Link to comment
Share on other sites

  • 9 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...