Pavulon87 Posted October 20, 2011 Posted October 20, 2011 File Name: (Pav32) PastebinFile Submitter: Pavulon87File Submitted: 20 Oct 2011File Updated: 02 Jan 2012File Category: Applications This application allows you to store and share code. Instead of pasting a lot of code from another website you can do that with this application and share just a link. Highlighting of syntax is possible due to external, a free, constantly being developed script with many coloring schemes. Also availble on: http://forum.invisio...pav32-pastebin/Click here to download this file
Cyrem Posted October 20, 2011 Posted October 20, 2011 Awesome mod! Suggestion though, have the main application page show a list of recent pastes, then have an 'Add Paste' button on that page to make new pastes. Another suggestion would be to allow editing of the paste. 2 Bugs: Despite changing the syntax highlighting, the combobox remains on the orginally chosen syntax highlighting. When changing the highlighting to text I got PHP errors which flashed up and disappeared. I see if I can grab them before they disappear.
Pavulon87 Posted October 21, 2011 Author Posted October 21, 2011 1. Ok, I have to fix that combobox. 2. It's could be a error about deprecated is_a() function. What is your PHP version? It occurs from version 5.0 to 5.3Version Description 5.3.0 This function is no longer deprecated, and will therefore no longer throw E_STRICT warnings. 5.0.0 This function became deprecated in favour of the instanceof operator. Calling this function will result in an E_STRICT warning. I think that, I could add your suggestions in a new version, whenever I have free time
Cyrem Posted October 22, 2011 Posted October 22, 2011 Yes that is the error. Also, on the settings page, it would be good to have a list to select which usergroups can access pastebin because there isn't really a clear setting in usergroups to turn off their access other than setting the paste size to 0kb. Just had guests posting spam pastes :tongue:
Pavulon87 Posted October 23, 2011 Author Posted October 23, 2011 Yes that is the error. The error should not be visible in the next version I work on: But I do not see the edition of the pastes, because they can cause more problems than benefits.Also, on the settings page, it would be good to have a list to select which usergroups can access pastebin because there isn't really a clear setting in usergroups to turn off their access other than setting the paste size to 0kb. Just had guests posting spam pastes :tongue: Ok, I can add this option.
Cyrem Posted November 3, 2011 Posted November 3, 2011 Just some ideas to think about if you want to further improve this mod. - Show your paste size limit (e.g 100kb) on the 'Add Paste' page. - Maybe not allow single character pastes. - Mod/Admin Approval/Un-Approval - Move the 'Text'/'Download' buttons to under the change syntax (or even on the same line), Just seems weird that the buttons are after that text on a left. - Paste views(could go on the right side of the pastebin front page to fill that space) or download statistics. - Paste title search. Enjoy :)
Pavulon87 Posted November 7, 2011 Author Posted November 7, 2011 Maybe if someday I will have more free time I will add it.
Cyrem Posted December 31, 2011 Posted December 31, 2011 Found some problems related to the removal of the app. Posts with pastes in them cause DB Driver errors if the app is not install. You cannot view that topic. After uninstalling then reinstalling, attempting to uninstall again causes a DB error and application is not fully removed.
Pavulon87 Posted January 2, 2012 Author Posted January 2, 2012 You could try a new version or remove/disable paste bbcode.
Ravage Posted February 2, 2012 Posted February 2, 2012 on visualbasic im getting slashes before " eg: original >> Lib "user32" pastebin > Lib "user32" any fix for this?
Pavulon87 Posted February 6, 2012 Author Posted February 6, 2012 Do you have latest version of this app and GeSHi?
Pavulon87 Posted April 16, 2012 Author Posted April 16, 2012 Tested on 3.3.1 ( http://pavulon.net/pastebin/ ) without problems.
netrix64 Posted April 16, 2012 Posted April 16, 2012 I get this error when I try to save the settings in the ACP: Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /...../admin/sources/base/core.php(1560) : eval()'d code on line 3
Pavulon87 Posted April 17, 2012 Author Posted April 17, 2012 There is probably a bug in field "Raw PHP code to eval before showing and saving?" IPS decided to change $this->settings into ipsRegistry::$setting and after that function eval() return errors. At this moment you could try to open:admin/sources/base/core.php[/CODE] find: [CODE]$data['conf_evalphp'] = str_replace( '$this->settings', 'ipsRegistry::$settings', $data['conf_evalphp'] ); and change to: //$data['conf_evalphp'] = str_replace( '$this->settings', 'ipsRegistry::$settings', $data['conf_evalphp'] );[/code]
netrix64 Posted May 1, 2012 Posted May 1, 2012 Might it be possible to get a tab for the pastebin in the UserACP? equal to Downloads or Galerie. That would be nice if you disable the memberlist and have no more access to the user profile.
Ravage Posted July 5, 2012 Posted July 5, 2012 it would be awesome to have a bbcode that would write the code into db and show it on topics instead of having to go in the app itself. maybe passing more then one par for all the options in pastebin or at least the type of pastebin only. just an idea e.g.: [pastebin, .VB] content[/pastebin] reason for this is that bbcode from IPB sucks and its not formatted well
CODECALL Posted January 4, 2013 Posted January 4, 2013 Great plugin! Any plans to allow filtering by "language"? This way, someone can look up code snippets by programming language.
Ari Gold Posted May 9, 2013 Posted May 9, 2013 Just curious if this works on ipb 3.4.x? Considering it had problems with 3.3.x, It will most likely have problems with 3.4.x. I could be wrong though. Anyone know if this has scrolling? If the paste is too large I wouldn't want this, but if it scrolls, size wouldn't matter.
AlterEgo121 Posted November 30, 2013 Posted November 30, 2013 It doesn't work with 3.4.x I just wasted $12.00 for nothing. Tried to get support from the author's website and it was taken over by porn spammers. I will send a request for a refund but I'm not going to hold my breath.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.