PDA

View Full Version : Parse .diff or .patch file attachments like Project Tools?


yankidank
08-24-2008, 07:49 AM
I've recently discovered that vBulletin Project Tools is able to parse .diff and .patch files attached to projects. I was curious if anyone knew of a way to bring this functionality to a normal (non-Project Tools) forum? Does a product exist that lets you do this or is there a way to bridge Project Tools so I can get the functionality in my normal forum?

Any suggestions would be much appreciated.

Dismounted
08-24-2008, 08:55 AM
You need to pass the files through the class 'vB_PatchParser', then use the function 'build_colored_patch' to display it.

yankidank
08-24-2008, 09:03 AM
You need to pass the files through the class 'vB_PatchParser', then use the function 'build_colored_patch' to display it.
I've seen your work for the nzb parser Dismounted, any way I could hire you to develop this into a vBulletin plugin? The final product would then be offered for free to the vBulletin community. Email/PM me if you could give me a quote.

Marco van Herwaarden
08-24-2008, 09:21 AM
Please post such a request in the Paid Requests forum.

yankidank
08-24-2008, 05:13 PM
<a href="https://vborg.vbsupport.ru/showthread.php?p=1605939" target="_blank">Moved to a paid services thread.</a>