Register Members List Search Today's Posts Mark Forums Read

Thread Tools
Old 14 Jul 2006, 16:59
scowby scowby is offline
Join Date: Jul 2006
should I Write Plugin or Hack Code?

I am trying to write functionality which will send out an email whenever a users post is rejected (i.e. deleted) from the system.

I am wondering if I should be trying to write a plugin, or hack the VB code directly to insert hooks to my code?

Are there any good forums for learning how to write plugins? I am going to need to customize this software to suit my needs, how best can I determine if a plugin is the method I should be persuing?

Reply With Quote
Reply With Quote
Old 14 Jul 2006, 17:21
maximux1's Avatar
maximux1 maximux1 is offline
Join Date: Mar 2002
Hi Scowby,

You're always going to be better off writing your custom code as a plugin or product using hooks when possibly. This will greatly improve your upgrade path when vB releases new versions for security/bug fixes, which can be often sometimes. Hacking the PHP files will lead you to rehack those same files each time a new release comes out.

Some links of interest to you; - vb manual - vB API DOCs - templates tutorial API Basics Tutorial DEBUG mode tutorial vB Database Class Custom Datamanagers

There's a lot of great help on these boards too! Feel free to ask your specific questions as you progress on your project.

Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump

New To Site? Need Help?

All times are GMT. The time now is 16:21.

Layout Options | Width: Wide Color: