PDA

View Full Version : vB4 Alpha Testers - Plugins (Want to know if these will work)


James Birkett
10-17-2009, 12:22 PM
I posted here because it's still code modification which doesn't belong at the com

This is mainly aimed at any vB4 alpha testers.

I have a few one-liner plugins and was wondering if they would work with the new vB4.

I'm using this line:
if(can_moderate($this->forum['forumid']))
Is this valid vB4 syntax? Do they still use can_moderate etc?

Also, what about the $show array?
Are:
$show['reportlink'] and $show['infractionlink'] still valid for vB4?

I realise this is probably premature, but i'd like to know anyway ;)

Thanks in advance.

Lynne
10-17-2009, 02:44 PM
Most likely they are fine. But, you won't know until you go and install the plugin on your own vb4 forum.

There are several blogs about the new vb4 syntax over on vb.com. You may want to go take a look at them. Most of them have to do with new syntax in the templates. php code, is php code and that will still work. But things like eval templates is done differently.