PDA

View Full Version : Portal Show No Permission Error


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.

Black Vivi
05-03-2003, 09:34 AM
open username_loggedout, and username_loggedin, and specify the full forum url, can be a bit annoying when chnaging url, but it's the quickest way...

irn-bru
05-03-2003, 10:06 AM
were do I find username_loggedout, and username_loggedin.

do you mean error_nopermission_loggedin error_nopermission_loggedout. I can change the register
link yes but that still leaves the header and footer.

irn-bru
05-03-2003, 05:34 PM
thanks for the info Black Vivi, I put $bburl in the templates
and the header and footer.