PDA

View Full Version : Administrative and Maintenance Tools - Save+Reload for plugin editor


Carnage
09-19-2008, 10:00 PM
Really simple idea. It provides a save and reload button similar to the one in the template editor for the plugin editor.

This is supplied as a patch file as it edits core VB files.

To run the patch file type this command in your ssh/telnet window


patch plugin.php plugin.patch

ForumsMods
09-20-2008, 09:32 PM
Patch doesnt work.

gdoner
09-20-2008, 09:44 PM
i will try it.

Carnage
09-20-2008, 10:04 PM
use this command to patch the file

patch plugin.php plugin.patch

This has only been tested on vb 3.7.2

Lionel
09-20-2008, 10:42 PM
Great idea! Patch works fine, thanks

Wadie
09-21-2008, 03:55 AM
i will try it.

bchertov
09-21-2008, 05:35 AM
How does this compare to the similar patch for 3.6? Is by the same person?

MrZeropage
09-21-2008, 06:59 AM
no normal instructions for manual edit of plugin.php?

Carnage
09-21-2008, 01:24 PM
The patch file is plain text and can be applied manually.

It is split into several sections beginning @@ followed by a line number and 3 lines of context. it then has lines beginning - for items you need to remove and + for items to add. Finally there is 3 trailing lines of context.

The mod for 3.6 was reported as no longer working. So I wrote this up.