The Arcive of vBulletin Modifications Site. |
|
Portal Show No Permission Error Details »»
|
|||||||||||||||||||||||||
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. Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
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...
|
|
#3
|
||||
|
||||
|
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. |
|
#4
|
||||
|
||||
|
thanks for the info Black Vivi, I put $bburl in the templates
and the header and footer. |
![]() |
|
|