Need help with plugin to allow only one thread in selected forums
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #4
RE: Need help with plugin to allow only one thread in selected forums
(07-06-2010 11:03 AM)mark-in-dallas Wrote:  I tried placing braces around the 2nd aray, but that didn't work either, so I took them back out.
if-block, not array

PHP Code:
if(condition)
{
  // statements
}


(07-06-2010 11:03 AM)mark-in-dallas Wrote:  The rebuildsettings has worked, but I'll change it anyway.
The function is depreciated, which is why I suggest not using it.
Be careful over something that *works* - things that might work for you might not for others (if you're writing only for yourself, I guess this isn't as big of an issue, but you might get a few surprises when you do an upgrade... so you may as well get it right first time and not have to bother with it later).

My Blog
07-06-2010 11:24 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
RE: Need help with plugin to allow only one thread in selected forums - ZiNgA BuRgA - 07-06-2010 11:24 AM

 Standard Tools
Forum Jump: