irn-bru
05-03-2003, 09:23 AM
lo
I am running vbportal and have added this to some of the
links like, weblinks ,downloads, topics ect ect that I dont wish
guest to view.
if ($bbuserinfo[userid]==0) {
show_nopermission();
}
When I put this in it works ok but the links on the nopermission
page dont include forums/ just the root of the site, hence the
register links and the rest dont work cause the url is wrong.
So what I want to do is somehow get the links to go
to the correct path or maybe even make a new show
nopermission template for vbportal like show_vbpnopermission
and include the header and footer.
This problem would apply also to vbindex and vbhome and
anyother portal that has a page below the forums and calls
a show_nopermission template.
example. http://www.l33tville.com/download.php
thanks.
I am running vbportal and have added this to some of the
links like, weblinks ,downloads, topics ect ect that I dont wish
guest to view.
if ($bbuserinfo[userid]==0) {
show_nopermission();
}
When I put this in it works ok but the links on the nopermission
page dont include forums/ just the root of the site, hence the
register links and the rest dont work cause the url is wrong.
So what I want to do is somehow get the links to go
to the correct path or maybe even make a new show
nopermission template for vbportal like show_vbpnopermission
and include the header and footer.
This problem would apply also to vbindex and vbhome and
anyother portal that has a page below the forums and calls
a show_nopermission template.
example. http://www.l33tville.com/download.php
thanks.