Quote:
Originally Posted by skylab
Where to put it.... You had said after global.php statement. Am I just pasting it right after that call? Would it be too much to ask if you could give me an example with everything?
|
Here is just fine:
PHP Code:
require_once('./global.php');
if (!is_member_of($vbulletin->userinfo, x, y, z))
{
// no permission if you aren't a member of usergroupid x, y, or z
print_no_permission();
}
// #######################################################################
// ######################## START MAIN SCRIPT ############################
// #######################################################################
Quote:
Originally Posted by orlybriceno
Hey everyone,
thanks Lynne for the quick reply, sadly I didn't see it on time, great tutorial, I haven't been able to implement it because the server where the vB4 installation that I work with resides doesn't allow me system access, so I only can work within vB.
So I want to know if someone knows where to find a guide or tutorial to accomplishing this, creating a custom page but withing the vB 4 CMS.
Thanks to all in advance
|
The only guides I am familiar with regarding the CMS are the artciles over on vb.com.
If you cannot add pages (can't ftp them), then you may want to look at this article - [HOW TO - vB4] Create a own vBulletin page (without plugin and php file)