Add the following code below the <? of the file.
if(!defined("IN_MYBB"))
{
die("This file cannot be accessed directly.");
}
Quote:Direct initialization of this file is not allowed.
Please make sure IN_MYBB is defined.
this keeps showing instead of the image !!
What does this error mean ?
This is an 8 month bump, the code was meant for 1.2.x, not 1.4,
Yeah, probably. Probably more than 8 months though, the original user who posted this (Adam) probably stopped posting a few pages ago but people kept on posting.
yep, i've done my own customization to the code & here are the results:
thanks
(2008-08-31, 06:17 PM)Zash Wrote: [ -> ]This is an 8 month bump, the code was meant for 1.2.x, not 1.4,
I created a better version of this for 1.2x and it works fine on 1.4x. It uses the cache instead of a query so it's much faster and uses less resources.
http://www.mybbcentral.com/thread-616.html
ya but u gotta pay to download it.... aka subscribe
(2008-09-02, 04:52 PM)Goran Wrote: [ -> ]ya but u gotta pay to download it.... aka subscribe
Man, this is getting popular lately isn't it?